Re: [PHP] Getting the contents of a file

2004-11-25 Thread Burhan Khalid
Octavian Rasnita wrote: Hi all, I am trying to use the file() function, but without success. Here is the code: $url = "http://www.rasd.ro/Quotes/11-24-2004.txt"; $file = file($url); You are missing a ; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

RE: [PHP] Getting the contents of a file

2004-11-25 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 25 November 2004 10:11, Octavian Rasnita wrote: > Hi all, > > I am trying to use the file() function, but without success. > > Here is the code: > $url = "http://www.rasd.ro/Qu

[PHP] Getting the contents of a file

2004-11-25 Thread Octavian Rasnita
Hi all, I am trying to use the file() function, but without success. Here is the code: $url = "http://www.rasd.ro/Quotes/11-24-2004.txt"; $file = file($url); And this is the error: PHP Parse error: syntax error, unexpected T_VARIABLE in [FILE] on line 13 The line 13 contains: $file = file($ur