Jump to content

[SOLVED] Removing GET variable from a url once processed?


Niccaman

Recommended Posts

I have a variable in the URL which i wanted for one-time processing. Obviously once the page is loaded the client still has this variable and its value still in the URL, meaning, if they refresh, some code will be processed again. So what i want to do is remove this variable from the url.

 

e.g. "./something.php?variable=true"

 

... how will i remove "?variable=true" using php??

 

Thanks in advance.

Ok, i guess you guys would know if anybody.

Thankyou for your time guys, i really appreciate it.

 

...Problem is, any error messages from the one time script wont echo as i am effectively reloading the page. Any ideas? either way topic solved :)

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.