| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|t variable error|
I am trying to use the following code to wirte a page contents to a file. I however get the error:
Parse error: parse error, unexpected T_VARIABLE ....on line 2.
$str$fh = fopen("http://blabla.com/bla.htm","r");
$fo = fopen("test1.txt","w");
Could you please help with this error?
change the first line to this
$fh = fopen("http://blabla.com/bla.htm","r");
I'm guessing the error refers to this '$str$fh.' It looks like you have two variables put together.
Hi rlansi, welcome to Webmaster World. :)
I`m guessing this is your problem:
What is that exactly?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved