View Full Version : How to create a form which redirects the submitter to the submitted URL?

Feb 26th, 2012, 04:14 PM

Thanks in advance for your help. I am having trouble creating code that allows my users to submit their URL. When they press submit, they are directed to the exact URL which was entered. Does anyone have any advice on how I can create this?



Feb 26th, 2012, 05:12 PM
Its easily done if you send data to your email or something like that with PHP file, which means your form action="something.php", also doable with JavaScript.

If you use PHP file then you can just google php redirecting code, and if you want to do it with JavaScript you can search something like; onSubmit redirecting.


Sorry I'm like this but I prefer providing people with links and little knowledge about stuff so they can read and learn by theirselfs, rather writing the whole code form them. This way learning is more affective. :)

Will help you more if you can't get the hang of it!