|
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
Navigation:
[Reply to this message]
|