php login script

matt1213

New Member
Messages
52
Reaction score
0
Points
0
on some login sites i see this in the URL

monstermatt2.pcriot.com/login.php?redirurl=/mail/index.php

monstermatt2.pcriot.com/login.php?redirurl=/blog/index.php

monstermatt2.pcriot.com/login.php?redirurl=/forum/index.php

when you type any of the url's the browser first brings you to the login page to login and after when ur logged in the page redirects you to the what ever page is after ?redirurl=

im thinking of making a login page with that kind of script

anyone know whats the name of script this is

thx
 
Last edited:

TheMan177

New Member
Messages
179
Reaction score
0
Points
0
It doesn't really have a particular name, all that script is doing is storing the user's referral information and sending them back to that location once the script has processed. Your example stores the data via GET, but things such as sessions and cookies are commonly used as well.
 

compwhizii

Banned
Messages
779
Reaction score
0
Points
0
TheMan already said it, It's not a script. Anyone can do that, just store the users current session and redirect to the page specified.
 
Top