[thelist] PHP file_put_contents help

Mark Groen evolt at markgroen.com
Tue Jan 23 10:14:43 CST 2007


On Tuesday 23 January 2007 08:01, Pringle, Ron wrote:

> $filename = '//10.1.1.5/aurorasite/feeds/KARR.xml'.

escape the forward slashes so that they don't look like a php comment?

$filename = '\/\/10.1.1.5/aurorasite/feeds/KARR.xml'.

May be possible to replace some of that URL with a predefined $_SERVER 
variable too?
http://ca3.php.net/reserved.variables

-- 
cheers,

        mark



More information about the thelist mailing list