Jump to content

$get and encoded url


chaoswarriors

Recommended Posts

im a noob w/ php, but learning fast!
i made a website (html) for a friend in an hour (it pwns face)
still learning php so help be appreciated =)

[code]<form action="welcome.php" method="get">
Name: <input type="text" name="name" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>[/code]

When the user clicks the "Submit" button, the URL sent looks something like this:

[code]http://www.wowl33tskillzomgpwnd.com/welcome.php?name=Peter&age=37[/code]

Is there anyway to scramble it so they cant comprehend it?

[code]http://www.wowl33tskillzomgpwnd.com/welcome.php?!adgkn-0234tnm0h2en09u4[/code]

Not to be exactly like that, (its just random letters)  but where its encoded =D

welcome.php
[quote]Welcome <?php echo $_GET["name"], <?php echo $_GET["age"]; ?>.<br />
[/quote]
Link to comment
https://forums.phpfreaks.com/topic/26897-get-and-encoded-url/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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