Reply to Re: PHP & Crontab

Your name:

Reply:


Posted by Hilarion on 09/08/05 16:08

> At first I thought the script was running twice, but the script creates a
> table and it is not repeated. What is doubled is the rows in the table. If I
> use the full URL it creates the correct amount of rows, if not, I get each
> row twice. It is the oddest thing I think I have come across with PHP.


Looks like your PHP module in Apache (or other webserver) is configured
differently that PHP executable you are using with Cron. I do not see
how it could influence the amount of rows generated, but it's the only
thing that is different here.
You should also try checking the source of doubling by outputing
contents of $item_array and $the_array (before sorting, after sorting
and after final loop).


Hilarion

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация