Hello,
Here is the deal any help pointing me in the right direction would be more than greatly apprectiated.
I am writing a script that goes out and scrapes a page. I am running this in the background and when I am done I write the contents to a txt file called status.txt. My question is there a way in php to go out and check to see if the file is created. Also is there a way to this continuously without resetting the page. I was thinking about reading in the file and then keep using meta refresh until the file exists. I am just wondering if there is a better way of going about doing this.
Thanks for the help
Mark
Here is the deal any help pointing me in the right direction would be more than greatly apprectiated.
I am writing a script that goes out and scrapes a page. I am running this in the background and when I am done I write the contents to a txt file called status.txt. My question is there a way in php to go out and check to see if the file is created. Also is there a way to this continuously without resetting the page. I was thinking about reading in the file and then keep using meta refresh until the file exists. I am just wondering if there is a better way of going about doing this.
Thanks for the help
Mark