Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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