RE: [PHP] i think i broke require()

From: Date: Thu, 24 Apr 2003 14:09:58 +0000
Subject: RE: [PHP] i think i broke require()
Groups: php.general 
Request: Send a blank email to php-general+get-145169@lists.php.net to get a copy of this message
> -----Original Message----- > From: Andrew Brampton [mailto:andrew@bramp.freeserve.co.uk] > Sent: 23 April 2003 05:23 > > Yup you could just write > $path='c:\program files\abria merlin\apache\htdocs\lib\conf\'; Nope -- you'd still have to escape the last \ since \' is legal in single-quoted strings to insert a single quote! $path='c:\program files\abria merlin\apache\htdocs\lib\conf\\'; would work -- but why not use regular forward slashes, since PHP on Windoze will convert them for you: $path='c:/program files/abria merlin/apache/htdocs/lib/conf/';> Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#145169) next »