11 Jan 15, 06:36PM
I like this but one suggestion:
Instead of having your predefined ip as a fallback, don't you think it would be safer to assume local host or 127.0.0.1?
[SELECT ALL] Code:
if(!empty($getServer)){
$server = $getServer;
}else{
$server = "5.231.63.236";
}
Instead of having your predefined ip as a fallback, don't you think it would be safer to assume local host or 127.0.0.1?