Really Simple Php Script.

Really Simple Php Script.
I need a PHP script that will be copied in my PC where needed and do this:

1. Login to a certain site.
2. In my PC. Go 1 level deep to the first directory found.
3. Read a file from that directory, first line of text is the first parameter, the next lines is the second.
4. Post that data to a web site using Curl (or whatever you want).
5. Delete the local file.
6. Wait 5 seconds (a variable).
7. Loop till you get to certain number (a variable).

Leave a Reply

Your email address will not be published.