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
https://forums.phpfreaks.com/topic/205060-clearing-a-url-string/
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?

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.