austgl / phpsocks5

Automatically exported from code.google.com/p/phpsocks5
0 stars 0 forks source link

不知道问题出在哪儿 #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
每次上传文件后都显示同样的错误

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in 
safe mode in /home/masker/public_html/one/one.php on line 94

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 
'masker_110'@'s1.freehosting.md' (using password: YES) in 
/home/masker/public_html/one/one.php on line 98

Warning: Cannot modify header information - headers already sent by (output 
started at /home/masker/public_html/one/one.php:94) in 
/home/masker/public_html/one/one.php on line 62
3[IAMuRFUWDC^ITRSMCVo[NKC5X
Warning: mysql_close(): no MySQL-Link resource supplied in 
/home/masker/public_html/one/one.php on line 64

Original issue reported on code.google.com by laisheng...@gmail.com on 24 Mar 2011 at 6:23

GoogleCodeExporter commented 9 years ago
你好,你的php空间set_time_limit()这个函数被禁用了,提示php在�
��全模式下禁用了这个函数。

还有就是php的mysql配置不正确,连接不上'masker_110'@'s1.freehostin
g.md'。

Original comment by lehui99 on 24 Mar 2011 at 9:24

GoogleCodeExporter commented 9 years ago
set_time_limit()这个函数被禁用了有什么影响吗?我把94行的代码�
��除后还是可以使用.不知道有什么影响.

Original comment by laisheng...@gmail.com on 24 Mar 2011 at 2:18

GoogleCodeExporter commented 9 years ago
还有244行也有set_time_limit()。

影响就是不能下载一个文件超过30或60秒。比如说使用phpsocks5�
��载1个文件,这个文件有100MB,需要5分钟才能下载完毕,而ph
p默认如果一个请求30或60秒没有结束那么php解释器会强制结束
本次请求。set_time_limit()可以延迟php解释器强制结束本次请求�
��时间,如果这个函数不可用,那么到了30或60秒后请求会被��
�制结束,那么文件下载了30或60秒也就断了,无法一次下载完
毕。

Original comment by lehui99 on 25 Mar 2011 at 6:37

GoogleCodeExporter commented 9 years ago
哦,谢谢了.............

Original comment by laisheng...@gmail.com on 25 Mar 2011 at 2:01