I'd like to use a script such as this
$text = @file("file.txt"); echo implode("<BR>",$text);
to pull information from a text file in one site's directory to a seperate site. Is this possible?
Sure you can get content from any page by using this you may want to consider using $text = @file("http://somedomain.com"); to make sure you can get it across servers thjough
I've already attempted this. It seems to not work on this end. Let me know if you have had any luck using it. I read somewhere that the / simply eliminates the character following it.
What's not working--the file() statement or the implode() statement?
I use this in my code to grab a page from ebay and it works fine: $file = file("http://cgi5.ebay.com/aw-cgi/eBayISAPI.dll?ListItemForSaleShow"); $lines_string = implode( '', $file);