Log in

View Full Version : Script help?



Erica
20-03-2007, 12:54 AM
Hey everyone.
k I have an image grabber [ex. http://deluxehabbo.freehostia.com/habbo.php?habbo=junkie87 ] and I want to have a form where someone types their habbo name and when submitted, this url [ http://deluxehabbo.freehostia.com/habbo.php?habbo= (http://deluxehabbo.freehostia.com/habbo.php?habbo=)] will be altered so their habbo name goes at the end, and the image is shown to them. any help on how to do the form?

Thanks to anyone who can help,
Erica.

Dentafrice1
20-03-2007, 01:50 AM
Form:


<form method="POST" action="habbo.php">
<p><b><font face="Verdana" size="1">Habbo Name: </font></b><br>
<input type="text" name="name" size="20"><br>
<br>
<input type="submit" value="Submit" name="B1"></p>
</form>


Change in Habbo.php where you see $_GET[habbo] to $_POST[name]

Kevin

Erica
20-03-2007, 10:45 PM
Thanks so much! Thank you thank you (:

Want to hide these adverts? Register an account for free!