Search found 7 matches

by Altec88
Mon Mar 06, 2006 6:34 pm
Forum: PHP - Code
Topic: Reading cookies
Replies: 9
Views: 356

My login page: (login.php) <"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmls = "http://www.w3.org/1999/xhtml"> <head> <title>Login Page</Title> <link rel=stylesheet href="default.css" type="text/css"> <?php $log = $_cookie['login']; if (($...
by Altec88
Mon Mar 06, 2006 6:25 pm
Forum: PHP - Code
Topic: Reading cookies
Replies: 9
Views: 356

feyd wrote:What for? Post what you've got so far that sets and reads the cookies. We can nudge you from there.
Ok give me a minute :)
by Altec88
Mon Mar 06, 2006 5:47 pm
Forum: PHP - Code
Topic: Reading cookies
Replies: 9
Views: 356

feyd wrote:it doesn't have to be "on the web" to be able to set cookies. So long as you, yourself, can access it via a browser, you can transmit a cookie.
I give up, theres no hope :(
by Altec88
Mon Mar 06, 2006 5:18 pm
Forum: PHP - Code
Topic: Reading cookies
Replies: 9
Views: 356

feyd wrote:you can't enumerate the cookies unless you have some to enumerate ;)
Well i'm not putting any files on the web until they're all done. Doesn't that make it ok? Sorry, i'm new.
by Altec88
Mon Mar 06, 2006 4:55 pm
Forum: PHP - Code
Topic: Reading cookies
Replies: 9
Views: 356

feyd wrote:have you set cookies?
No, that's the 2nd and 3rd setup (for my class)

Why, do I have to do that first?
by Altec88
Mon Mar 06, 2006 3:44 pm
Forum: PHP - Code
Topic: Reading cookies
Replies: 9
Views: 356

Reading cookies

Hello, I'm trying to set up a user name/password setup to my site. The username/password system works now. BUT now, I need cookies. I'm having problems trying to make it so when you go to the homepage, it tells you if your logged in or not in the upper right corner. The cookies are called register a...
by Altec88
Mon Feb 20, 2006 8:55 pm
Forum: PHP - Code
Topic: I can't understand brackets
Replies: 2
Views: 260

I can't understand brackets

Ok, I'm trying to make a simple username,password system, and I need to know where the { } marks go. This is my first time with php. Here is the code: <?php $found=0; $filefopen("members.dat", "r"); (!feof($file)) $line=fgets($file,255); $line=chop($line); $field=split("#&qu...