Re: Re: Brain dead... write image to file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 15, 2008 at 6:24 AM, Nathan Rixham <nathan@xxxxxxxxxxx> wrote:
> Ryan S wrote:
>>
>> $uploaddir = 'C:\\wamp\\www\\ezee\\funny\\';
>
> delimited backslashes in a string that doesn't need delimited (single quotes
> not double.
>
> $uploaddir = 'C:\wamp\www\ezee\funny\';
>
> --
> nathan ( nathan@xxxxxxxxxxx )

That last backslash needs something so PHP doesn't think it is
escaping the single quote at the end of the string. The rest should be
OK.

$uploaddir = 'C:\wamp\www\ezee\funny';

$uploaddir = 'C:\wamp\www\ezee\funny' . DIRECTORY_SEPARATOR;

etc.


Andrew

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux