[webmasterworld.com...]
Because of that problem, I created a new script in an alternate location that does not make any shell calls. In lieu of shell calls, I created text files with a listing of the directory that I entered manually. This was not as automated as my original plan, but this way after I had a new picture uploaded, I only had to change the text files to include the new pictures instead of changing my script or rewriting a huge stand-alone HTML page.
The new CGI reads these text files, and displays the picture files listed in them.
This script actually runs and displays some pictures now that it has no shell calls. However, it does not display them ALL. The script now freezes after display approximately 20 pictures. I thought it was cutting out one of my loops after so many iterations. Now, I think it's stopping after outputting so many lines of HTML code from the server. This is because I have two scripts, one of which has more HTML, and the one with less ends up displaying all of the page and pictures.
Here are the locations of the two scripts:
www.mysite.com/management/comment.cgi
www.mysite.com/index.cgi
Notice that the second one always displays the full page. The first one stops after approximately 20 pictures. Notice on the first one, if you click on the "BattleStations" or the "Graduation" links (which run the same script, but opens files in a different directory) that the page does load all the way, as there are far less pictures in these two sections.
What problems on the server could cause this issue? Is it a lack of memory or something? It just stops sending data at some point for no apparent reason.
[edited by: jatar_k at 1:32 am (utc) on Dec. 28, 2003]
[edit reason] no specific urls thanks [/edit]
You'll just have to take my word for it that they did what I said and base your judgement off that, I guess.