Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

php redirect to same page after submit?

Ads
make money online
letsplay Offline referral

Posts: 274
Joined: Jul 2013
Reputation: 1

#1
Senior Member
How can I redirect to the same page after you click on submit button with PHP?
marcus_avrelius Offline referral

Posts: 2,515
Joined: May 2013
Reputation: 107

#2
Support Team
You can use PHP header.
PHP Code:
header('Location: '.$_SERVER['HTTP_REFERER']); 
Rapidsoft technologies Offline referral

Posts: 224
Joined: Sep 2015
Reputation: 1

#3
Member
Nice! PHP header is good to use.



Google this topic


User(s) browsing this thread: 1 Guest(s)