Jump to content

"Redirecting"


Recommended Posts

My host provided me with a script for a form for getting emailed results and redirecting after completion.  It seems the redirecting is being prefixed "my" url.  As in: http:\\www.myurl.comhttp:\redirected.url.com.  They suggested I download the script, fix it and re-upload it.  :\  Closest I came to scripting was basic, lol.  Showing my age.  Anyway, the script is attached.  For someone with php background will probably be easy to spot.  :P

 

Any help appreciated!  Thanks!

 

The Philster

18398_.php

Link to comment
https://forums.phpfreaks.com/topic/262695-redirecting/
Share on other sites

No, in the script there are no prefixed settings.

As I can see the landingpage has to be by passing the parameter 'redirect={landingpage}' eighter by GET or by POST Method.

Maybe you have an hidden field (<input type='hidden' name='redirect' value='{landingpage}'>)  in your HTML-Form?

 

{landingpage} is only the filename you want to redirect to (without the servers name and without any slashes)!

 

Link to comment
https://forums.phpfreaks.com/topic/262695-redirecting/#findComment-1346549
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.