Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Redirecting to the index page if a user haven't logged in yet..
Old 01-29-2007, 05:05 AM Redirecting to the index page if a user haven't logged in yet..
Novice Talker

Posts: 10
Name: Vincent
Trades: 0
hi webmasters...
i'm currently working on a website
lets say that the webpage is "http://www.mypage.com/"
i'm planning to create a login page where u can enter your username n password
just say that this page is called the index.htm
i also have a page called profile.htm
then a person who have ever gone to my website can just type in "http://www.mypage.com/profile.htm/" and enter my website without logging in.
How to solve this??
vincentsiow is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-29-2007, 05:11 AM Re: Redirecting to the index page if a user haven't logged in yet..
Novice Talker

Posts: 8
Name: Matt
Trades: 0
Redirect them to the index.htm. If you want also you could insert a message at the top of index.htm when they are redirected there and you could tell them they have to log in to view that page.
Devourer09 is offline
Reply With Quote
View Public Profile
 
Old 01-29-2007, 05:32 AM Re: Redirecting to the index page if a user haven't logged in yet..
Novice Talker

Posts: 10
Name: Vincent
Trades: 0
by the way, how to redirect???
Sorry i'm quite a noob... hahaha
know just a little bit..

Thanks a lot for replying..Appreciate that
vincentsiow is offline
Reply With Quote
View Public Profile
 
Old 01-29-2007, 06:06 AM Re: Redirecting to the index page if a user haven't logged in yet..
Skilled Talker

Posts: 96
Name: Tudor Barbu
Trades: 0
Do you use a server-side language on your website?
__________________

Please login or register to view this content. Registration is FREE
Tudor.b is offline
Reply With Quote
View Public Profile Visit Tudor.b's homepage!
 
Old 01-29-2007, 06:14 AM Re: Redirecting to the index page if a user haven't logged in yet..
Novice Talker

Posts: 10
Name: Vincent
Trades: 0
yeah i used both php and html for my website..
vincentsiow is offline
Reply With Quote
View Public Profile
 
Old 01-29-2007, 07:23 AM Re: Redirecting to the index page if a user haven't logged in yet..
Average Talker

Posts: 28
Name: Ben Allen
Trades: 0
Take a look here, its the login script I used, may need editing if you dont want the groups, but thats fairly painless. You'll need a mySql database as well.

http://www.intranetjournal.com/artic...11_08_04a.html
ballen is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Redirecting to the index page if a user haven't logged in yet..
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24210 seconds with 12 queries