Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
php space limit - geneated html ends abruptly
Old 04-14-2005, 12:04 PM php space limit - geneated html ends abruptly
Junior Talker

Posts: 1
Trades: 0
I wrote a php program that calls itself many times. That's not my problem. The first pass thru it requests the user to select a program from a selection list. Not a problem works like a charm. The second pass requests the user to select a game (the program is for a hockey league administrator to be able to enter goals for a game). The third pass thru the program gives the user a form to enter max of 10 goals.

In my test I enter 4 goals indicating team, period, time, scorer, and 2 assists. This works fine. When I hit submit after completing the form the program re-calls itself but does not generate the entire html code. It produces part of the header and stops abruptly.

Is there a limitation to the size of a php program? What could possibly be causing this problem?

Any assistance would be appreciated.
scranson is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-14-2005, 12:57 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
There isn't really any size limitations to your programs. As long as they don't take longer then the max_execution_time and use less then the memory_limit (defined in php.ini), they should work just fine (usually these settings are 30 seconds and 8M, respectively).

It's hard to say without looking at the script. Try putting the error reporting to "all" to see if PHP reveals any clues:
PHP Code:
error_reporting(E_ALL); 
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 04-14-2005, 04:40 PM
rvarcher's Avatar
Novice Talker

Posts: 5
Location: OKC, OK
Trades: 0
I assume you're doing all this in 1 file based on your post. So you have to have a part of your script directing it where to go. As in, "If user just submitted the form then go here."

I would check that conditional and make sure it matches up with the part of the form you're checking to see if it was submitted.

For testing purposes your can print the variable you're testing to see what the value is and if it's what you're expecting it to be.

If your script doesn't know where to go would it just display the header and not process anything else? Just a guess.

- bob
rvarcher is offline
Reply With Quote
View Public Profile Visit rvarcher's homepage!
 
Reply     « Reply to php space limit - geneated html ends abruptly
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24687 seconds with 12 queries