Hi,
I have a php script that opens a text file saved in Files folder on website, extracts some data, and then stores it in a SQL data base.
Works great on local machine, but when loaded to byethost32 free servers, wont extract any data. I've tried both .html and .txt extensions (html is what I really want to end up with) but is returning blank variables.
It has found the file ( I put an error trap in the code to message if it cant find it) just wont extract anything.
new 2.txtnew 2.txt
I turned on error messages and get this ….
Warning: filesize(): stat failed for https://www.xxxxxx.byethost32.com/FILES/DOC.txt in /home/vol7_4/byethost32.com/xxxxxxx/htdocs/filehandling.php on line 11 Warning: fread(): Length parameter must be greater than 0 in /home/vol7_4/byethost32.com/xxxxxxx/htdocs/filehandling.php on line 11
Any tips on this?
Thanks in advance