On Wed, Oct 15, 2008 at 6:24 AM, Nathan Rixham <[EMAIL PROTECTED]> 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 ( [EMAIL PROTECTED] )

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

Reply via email to