Jump to content

$_SERVER['REMOTE_PORT'] wierd output

PC Nerd

Recommended Posts



Im using the remote addr and remote port in SERVER, as part of my site, but im getting wierd port numbers.  Instead of getting port 80 ( which i thought was default), im getting 3245 or somethign wierd like that.  it really ranges from every time the script runs.  Ive had friedns test out the script, and its the same, different and random port numbers appearing.


Could someone confirm that my idea about port 80 is correct, or have i completely misunderstood ports?



Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.