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($url); I get the content of $url in a more complex way, so I cannot put the url to that file directly in the function file(). Why it is not possible to use a var in file()? Thanks. Teddy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php