hi,
i have a php proxy script and i have installed it on my website
when downloading through proxy it downloads the first 6 to 7 mb of data.if the file is greater than 7 mb it timesout what can i do for that
ofcourse i my connection speed is 128 kb
but can the code be changed so that it does not timeout?
i have attached the code
why does downloading timeout in this script?
Moderator: General Moderators
why does downloading timeout in this script?
- Attachments
-
- p.rar
- (12.53 KiB) Downloaded 4 times
-
nowaydown1
- Forum Contributor
- Posts: 169
- Joined: Sun Apr 27, 2008 1:22 am
Re: why does downloading timeout in this script?
My guess is that you're blowing out the PHP memory limit (From line 857):
I believe the default memory_limit is 8M. Concatenating the file contents into a string like that is going to eat up memory like crazy.
Code: Select all
$_response_body .= $data;