![]() |
| |||||||
| Web Hosting Discussions on all aspects of web hosting, choosing a host, reviews and technical things. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| You cant execute a php script by calling itself because the php runs from within the web server! Your best option is to set up cron to run "lynx - source http://youraddress/yourphp.php" lynx is a command line web browser which most linux systems have installed by default! |
| |||
| You need to verify that GoDaddy's PHP installation includes a command-line interpreter. If it does, its location must be referenced within the script, for example: #!/usr/bin/php <?php // script starts here ?> Alternatively, the interpreter must be called explicitly in the command line, for example: /usr/bin/php myscript.php If there is no command-line interpreter on the system, you need to call a command-line browsing utility such as lynx or wget, which would activate your script via HTTP. |
| |||
| You've probably long since given up on this or solved it yourself, but I had the same issue and here's how I fixed it. LINK Last edited by VirtualOdin; 02-14-2008 at 11:41 PM. Reason: typo |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free virtual cc in 30 seconds dont pay for virtual cc | akmmanjunath | Business & Legal Issues | 17 | 07-08-2008 11:04 AM |
| Script that I made that searches deleted domains with high PageRank | alexts | Domains | 4 | 10-19-2007 08:13 PM |
| Does GoDaddy.com have an advanced script editor so I can program my own HTML? | Walin | Web Hosting | 1 | 09-17-2006 08:52 AM |
| are yahoo domains cheaper then godaddy at the end of the day? | Raphs | Domains | 1 | 08-04-2006 11:57 AM |
| (WS2003E, GoDaddy Virtual Server, SMTP, Plesk) How do you get outgoing email to work in IIS6.0? | nitinparwal | Web Hosting | 1 | 04-23-2006 08:50 AM |