login box

freeskiing04

Active member
the login box always redirects you to the news page. can it direct you to the page you came from? might be helpful, maybe not..

-Ira

Member No. 8857

*Northeast Cult*
 
never heard of that before but it would be pretty cool

In the words of AC/DC: We roll tonight... to the guitar bite... and for those about to rock... I salute you.
 
I reckon its possible. Just need the login script to know which page you came from and that can be doens using the $_SERVER'PHP_SELF' superglobal....

.:PABLO:.

Member No: 12718


I am just a worthless liar, I am just an imbecil, I will only complicate you, trust in me and fall aswell...

www.MOUNTAINCANON.com

'I honestly dont have the slightest fucking clue of what I'm talking about' - DSpin_9
 
i dunno how to do it in php but in jscript you can get the address of the last page in history and refer back to it... i guess if you have global variables that are visible from all pages it will be extremely easy

-Ira

Member No. 8857

*Northeast Cult*
 
yeah but javascript is only dynamic on the one page. The old link would have to be passed to the login page via the url or as a POST method. Spose javascript could write that for you but using the PHP would be much quicker.

.:PABLO:.

Member No: 12718


I am just a worthless liar, I am just an imbecil, I will only complicate you, trust in me and fall aswell...

www.MOUNTAINCANON.com

'I honestly dont have the slightest fucking clue of what I'm talking about' - DSpin_9
 
Back
Top