Jump to content

Detect if fsocksopen disabled


dimik2

Recommended Posts

Hi

 

I have applications where I use fsocksopen but its disabled at many webhosting providers.

I want to inform my application's users that it's disabled by the host but how do I check for it?

 

I tried

 

if (function_exists('fsockopen'))

        echo 'Fsocks enabled';

 

Doesn't work.

Link to comment
https://forums.phpfreaks.com/topic/208587-detect-if-fsocksopen-disabled/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.