|
|
|
|
![]() ![]() |
Aug 17 2007, 06:43 AM
Post
#1
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 21 Joined: 15-August 07 Member No.: 48,203 |
Hi,
I have VPS (virtual private server) and I have access to php.ini file. Is there any script that will show that fsockopen function is enabled or where do I have to enable it? Searched google and here and couldn't find anything. Thanks! |
|
|
|
Feb 29 2008, 08:33 PM
Post
#2
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 29-February 08 Member No.: 58,672 |
Check if the function exists
CODE if(!function_exists("fsockopen")) {
echo "Function Exists"; } |
|
|
|
Feb 29 2008, 08:56 PM
Post
#3
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 198 Joined: 30-January 08 Member No.: 57,072 |
i think trap17 already have fsockopen function.
you no need to reenable it. but if you visit your control panel, then look into phpinfo for examining it. the rows like this appear: disable_functions dl, system, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_six_setuid. then i dont know what's the different between pfsockopen and fsockopen., I already try what zainal wrote, i didnt show function exist in this trap17 |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 27th July 2008 - 01:07 AM |