Firstly thanks for all who have helped me here - made tasks so much easier!
Now I have some php code on my server which takes a bunch of text files and saves it to a directory on the server.
Code: Select all
if (is_uploaded_file($_FILES['words']['tmp_name'])){
move_uploaded_file($_FILES['words']['tmp_name'],$SCRIPT_PATH."task_$suffix/words.txt");- test_$suffix/words.txt
How do I get a copy saved? I can't seem to get it to work
The other question I have is how can I get a cron job to run every 7 seconds? At present I'm only able to run it every 1 minute.
Thanks in advance!
Nikhil