Re: [PHP] Using '

2004-09-22 Thread François Moreau
Hi Juan, You might consider using the Heredoc syntax, as presented here : http://www.php.net/manual/en/ language.types.string.php#language.types.string.syntax.heredoc Your code snippet would look like this and do exactly what you had intended : $html = << YOUR HTML

Re: [PHP] Getting free space of remote directory

2004-09-10 Thread François Moreau
Hi Benkovich, Le 04-09-10, à 07:23, Benkovich Mishail a écrit : I have some paths, for example: \\192.168.0.254\C\Windows\SomeDir\ or ftp://myhost.com/folder/ (login and password I also know) How I can check writable this dirs or no? - I can try to write temporary file or use touch() funktion.

Re: [PHP] preg_replace_callback clarification

2004-09-09 Thread François Moreau
Thank you very much for your quick answer! Le 04-09-09, à 10:10, John Holmes a écrit : From: "François Moreau" <[EMAIL PROTECTED]> The piece of code you have submitted (see under) is interesting, although there is one thing I don't find meaning to, even after RTFM, and STF

[PHP] preg_replace_callback clarification

2004-09-09 Thread François Moreau
The piece of code you have submitted (see under) is interesting, although there is one thing I don't find meaning to, even after RTFM, and STFG(Searching The Funky Google). In your regular expression pattern '#.*#Uis', what does this do : #...#Uis Thank you very much Piece of code : [snip] $st