Hi,
i am a bloody php-newbie, who just is able to adjust php scripts...but who is overexerted with creating new ones.
Now i have got a task to create a php-script that just executes another script ("g.php") in the same directory like the php-script is in ("/g").
The purpose for this is that i only get a chron-job for starting the "g.php" every day if i can ensure that the script exits itself EVERY time after it is started by the chron job. So i have to create this small script that is started by the job, executes the g.php and ends itself immediately.
This is what i am thinking about:
<?php
$file_starting = @fopen ("g.php", "r");
exit ();
?>
Do you think thats enough and will work?
Help is very appreciated.
uuzuka