Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


kicken last won the day on December 18 2022

kicken had the most liked content!

1 Follower

About kicken

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Bonita, FL
  • Age

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

kicken's Achievements

Prolific Member

Prolific Member (5/5)




Community Answers

  1. You shouldn't have to decode the value, PHP does that automatically when it parses the query string and builds the $_GET array. If you're having to decode it, then you're encoding it unnecessarily.
  2. urlencode or http_build_query.
  3. If you use a header redirect then the browser will not render the output of that request and instead just fetch the next page. So you need to delay the redirect by returning a normal response that the browser will render and have that page then perform the redirect. That delay can be accomplished by using either JavaScript or a meta refresh to issue the redirect after the page has loaded.
  4. You cannot send any more information other than the downloaded file's content. Any other information you try and send will just be part of the download. If you want a thank you message or similar to appear you either need to show it before you start the download, or after a delay using javascript. Before is easier, which is why you'll often see places take to you a page that read like: They show that page, then issue a redirect to the download URL so the browser will start the download.
  5. If you want to send data but not show an input then you use input type="hidden" <input type="hidden" name="something" value="hidden">
  6. Don't try and do content columns with float. Use grid or flexbox.
  7. Try increasing max_execution_time. Might be your script is taking too long to process the data and getting killed as a result.
  8. x is the center of the ball horizontally, y is the center of the ball vertically.
  9. $_SERVER['REMOTE_ADDR'] will be the address of the remote socket endpoint that has connected to your server. For local development, this is going to be ::1 (ipv6) or (ipv4). If you connect to the server from some other machine, you'd get that machine's endpoint. It's worth keeping in mind that this is not necessarily the user's actual IP address. It may be the address of a proxy or load balancers instead. Using the function provided by gizmola will attempt to grab what would more likely be the user's IP if the proxy/lb provides it.
  10. Given the code you posted, there is no reason for any of that HTML. Looks like your request is being intercepted or sent to some other server which is then trying to issue a redirect using JS.
  11. Are you saying if you upload your files to Godaddy and then load them using your domain that you see $_SERVER['REMOTE_ADDR'] as ::1? If your doing your work locally then ::1 is normal, since your loading files from the local host.
  12. What is the HTML you are getting?
  13. On Linux you could try parsing /proc/mounts but otherwise I don't think so.
  14. ::1 is the IPv6 version of
  • 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.