Jump to content


Photo

How is it done?? sending people to a database defi


  • Please log in to reply
1 reply to this topic

#1 webtrix

webtrix
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 15 February 2004 - 04:30 PM

How is it done?? sending people to a database defined url.

Idea is that people log in with username and password, and from that get a level of access so it´s controlled what they are alled to see this much i do have down. But i want them to be directed after pressing login to a specified page. So table 1 in the database has the username, password and level and table 2 in the same database has the url they are to be sendt to.. how is it done to send people to the link / url stated in the database table 2.

Hope to get some replies.. and if any questions please write me for more information

#2 pugs421

pugs421
  • New Members
  • Pip
  • Newbie
  • 2 posts
  • LocationSouth Florida

Posted 16 February 2004 - 02:32 PM

This is the code used to redirect someone. Just insert the $variable in place of <new page>


<?php
Header ("Location: <new page>");
?>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users