Jump to content

ShashankGaurav

New Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by ShashankGaurav

  1. Server Version on godaddy - 5.5.33
  2. i am trying to upload a .sql file on godaddy database and i am getting this error . Help me.
  3. <?php function ipchecker() { $http_client = $_SERVER['HTTP_CLIENT_IP']; $http_x_forwarderd_for = $_SERVER['HTTP_X_FORWARDED_FOR']; $http_remote_addr= $_SERVER['REMOTE_ADDR']; if (!empty($http_client)) { $ip_address=$http_client; } else if (!empty($http_x_forwarderd_for)) { $ip_address=$http_x_forwarderd_for; } else if (!empty($http_remote_addr)) { $ip_address= $http_remote_addr; } return $ip_address; } ?>
  4. I am a php newbie.Can anyone explain me this line of code ? echo "<option value=\"$c\">$c</option>\n"; Why do we use "\" around $c?
×
×
  • 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.