View Single Post
  #2  
Old 07-19-2006, 04:56 PM
Theopod Theopod is offline
First Sergeant
 
Join Date: Mar 2006
Posts: 76
Default Re: How to Add PHP RSS Feeds to Your Web Page.

Hi, regarding my problem with my php rss news feed, i found some information about cron commands for apache servers. Is anyone familiar with cron commands? Below is a list of 10 different cron commands that might execute php scripts on Voda server.
1) Where would i install these scripts? (HTML box on the page i want the news feed)
2)I'm not sure, but doesn't it appear that portions of the scripts below are missing? ( < > )

Apache Server Cron Commands
These are 10 cron commands that we know of that can be used on Apache
servers. if none of the commands below work then we suggest
contacting your host support and asking them for the correct cron
command that wil execute php scripts on their server.

If that fails your other options are to use our free bonus tool
EZcron
http://visualcron.com (A desktop cron solution)
http://webbasedcron.com (An outside cron service)


1. /usr/local/bin/php /home/username/public_html/post/post.php

2. GET http://www.DOMAIN.com/post/post.php > /dev/null

3. lynx -dump http://DOMAINNAME.com/post/post.php > /dev/null

4. curl http://www.DOMAIN.com/post/post.php > /dev/null

5. php public_html/post/post.php

6. php -q /home/USERNAME/public_html/post/post.php

7. cd /home/ USERNAME /public_html/post ; /usr/local/bin/php /home/
USERNAME /public_html/post/post.php

8. php -f /home/www/index.php

9. php -q /home/username/www/RSS2B3/post.php

10. POST http://www.DOMAIN.com/post/post.php > /dev/null
Reply With Quote