PHP functions and running PHP5.3 on web cluster....

Web hosting discussion, programming, and shared and dedicated servers.
1 post Page 1 of 1
by darnold » Thu Dec 29, 2011 8:05 pm
I saw there was a posting in the general area (not under hosting) that was asking questions that were more pertaining to web hosting. This is the answer to that question, I will post the link for this posting as a reply to that posting.


One easy way to see what functions are enabled would be to setup a program such as this:


<?php
if (function_exists($_GET['function'])){
echo "Function is installed on server<br />";
}
else {
echo "Function is not installed on server<br />";
}
?>

and then simply browse to url of the script with a query string such as: function=fsockopen, so the whole URL would look like this: http://www.sonic.net/~<username>/functi ... =fsockopen given that the script is directly under your public_html directory and you've named the script function_script.php.

On the web cluster, we are using an older version of PHP by default, You can find out how to use a newer version of PHP by going here. https://wiki.sonic.net/wiki/Php5

Hope this helps, cheers!
__
Sonic.net Technical Support
707-547-3400
1 post Page 1 of 1

Who is online

In total there are 34 users online :: 0 registered, 0 hidden and 34 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: No registered users and 34 guests