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

From: Date: Wed, 15 Oct 2008 13:44:27 +0000
Subject: Re: Re: Brain dead... write image to file
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-281949@lists.php.net to get a copy of this message
On Wed, Oct 15, 2008 at 6:24 AM, Nathan Rixham <nathan@kraya.co.uk> 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@kraya.co.uk ) 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

« previous php.general (#281949) next »