Jump to content

clearing a url string


journeyman73

Recommended Posts

Hi

i have a page that passes an url string of

http://www.blah.co.uk/admin/list_links.php?upload_message=image%20uploaded&upload_message_type=success&show_image=FLSGAL23860_home.jpg

when my image is uploaded.

But i also have another form on this page that does not require the string, but when i submit this form the url string remains.

Is there a way of clearing the string and just having http://www.torbaypoetryfestival.co.uk/admin/list_links.php when the form is submitted?

I have included the code for the page.

Cheers

Kev

 

[attachment deleted by admin]

Link to comment
Share on other sites

As far as I know, there's no way to "clear" a post value, but you could add a processing page in between the two pages (if that makes sense) to act as a "middle-man".

 

Others here might have a different knowledge base though.

Link to comment
Share on other sites

how do i clear it for get?

Cheers

 

GET and POST are just methods of sending/recieving info, so once the info is there, there's no way to get rid of it short of redirecting to a new page (hence the suggestion for a processing page in the middle.) At least that's my understanding.

 

Can anyone else shed some light on this?

Link to comment
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.