Enter this:
Code: Select all
../eg_email_site_stats_to_boss.php
included with phpJobScheduler.
If you need the path to a file on your root folder (http://www..mydomain/myfile.php) you would enter:
Code: Select all
../../myfile.php
Assuming you have installed phpJobScheduler in the root of your website
(http://www..mydomain/phpJobScheduler/)
Running REMOTE scripts:
- phpJobScheduler now uses PHP CURL:
http://uk3.php.net/manual/en/ref.curl.php
or fsockopen:
http://uk3.php.net/manual/en/function.fsockopen.php
to run remote scripts.
To run remote scripts you need to enter the FULL url like this:
Code: Select all
http://www.dwalker.co.uk/phpjobscheduler/eg_email_site_stats_to_boss.php
Test it... by clicking test path.
NEW features below:
Arguments
You can now add arguments (variables) like this:
$url="http://www.TheDomainName/folder/file.php?q1=1&q2=2";
This will POST the variables q1 and q2 to file.php
Secure pages
Also you can now fire scripts in secure password protected areas like this:
$url="http://user:pass@www.TheDomainName/folder/file.php";
where:
user = your username to access the protected area.
pass = your password to access the protected area.
Port
And finally you can now specify which port to connect to:
$url="http://www.TheDomainName:90/folder/file.php";
Above port 90 is specified (port 80 is the default).
Hope it works for you
Dave.