/    Sign up×
Community /Pin to ProfileBookmark

redirect user

ok, after a user register succesfully on the page that im building, they get a Confirmation on the screen that it was granted, but it just sits at that page, i want to redirect them to a protected page. how can i go about doing this.

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyAug 11.2005 — [code=php]header("Refresh: 3; URL=http://www.php.net");[/code]
change 3 to number of seconds you want
Copy linkTweet thisAlerts:
@keko2005authorAug 11.2005 — thnaks
Copy linkTweet thisAlerts:
@ShrineDesignsAug 11.2005 — [code=php]header('Location: http://www.php.net');[/code]or[code=php]header('Location: /path/to/file.ext');[/code]
×

Success!

Help @keko2005 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...