Links for php scripts

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 27
Joined: Sat Jul 05, 2003 5:08 pm
Location: england uk


Postby nathanwebb6 » Sat Jul 26, 2003 10:10 am

hey, i know how to make a login script using databases, and using a cookie after the login has been confirmed. What code do i need to type for the following:

1) with cookies after you login setCookie is used. what do i need to type with session id.

2) on the site what code do i need to use when using session ids to do the equivilent of this:

if ($cookieusername == "nathan"){
print ("hello nathan");
print ("you are not admin");

Return to “PHP Scripts”

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 2 guests