Purpleonyx schrieb:
Greetings all, I ran into a problem today and was
hoping someone could provide an answer.

I am fetching a web page, and attempting to parse
certain variables from it. I've done this plenty of
times in the past with no problem. The only
difference this time is the file that I am parsing is
much larger. The HTML file is about 42kb in size
(usually I only parse ~4kb worth). In the web
browser, the script seems to just shut down, but
reports no errors, not even to the web server logs. Is there some specific max size that it can accept or
a setting in php.ini I need to modify?


Thanks

hi,


i don't think, that 42k is too much for the size of your file. mut maybe php simply times out while parsing? there is a php.ini-parameter max_execution_time and a runtime-function set_time_limit(). try set_time_limit(0) at top of your script fo debugging.

also take a look at preg_* functions instead of ereg_*. they are said to be much faster.

hth SVEN

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to