Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old September 22nd, 1999, 05:25 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: MySQL Table for the article

This table dump has also been added to the <a href=/Server_Side/PHP/Cookies/page2.html>second page</a> of the article text making it much easier to understand, and allowing the table structure to be included in the "<a href=/Server_Side/PHP/Cookies/print.html>printer-friendly</a>" version of the article.

Reply With Quote
  #17  
Old September 23rd, 1999, 01:20 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Login you Personalization Items

Hi..
<br>
<br>
Anyone could help me?
<br>
<br>
How can I do it?
<br>
<br>
If Login already exist, check if password is right and if it is right, change the options
<br>
<br>
Tks.
<br>
<br>
Richard
<br>
RDBrazil
<br>
<br>
PS: Sorry, I`m not so good in English

Reply With Quote
  #18  
Old September 24th, 1999, 07:09 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
User Login

I am not sure what I am doing wrong but my newuser.php3 doesn't seem to be writting to the database. Cookie is set but when I review the tables no data!
<br>
Nor do I get any errors until I return to the index.. the errors there are all based on no data in the database.
<br>
<br>
any ideas?
<br>
<br>
J--

Reply With Quote
  #19  
Old September 25th, 1999, 12:37 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Mosque.com

This is a nice web site
<br>

Reply With Quote
  #20  
Old September 27th, 1999, 02:03 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: User Login

Hi. Itīs the same for me, it doesnīt write to database and it return this message:
<br>
<br>
Warning: Using scalar variable $row as an array or object in /www/htdocs/headlines/index.php3 on line 18
<br>
Yx
<br>
<br>
Thanx

Reply With Quote
  #21  
Old September 28th, 1999, 02:47 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Story is way to brief

I thought this story did a very good job of presenting the necessary information very succinctly. For readers who would like additional instructions for setting up a mySQL database, I recommend some of the other great tutorials on this site in the mySQL section or the online docs at www.mysql.com.

Reply With Quote
  #22  
Old September 28th, 1999, 10:44 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
explorer / opera ?

Hi !
<br>
<br>
I'm doing an intranet and I'm going to use
<br>
Apache, PHP3 and mySQL at the serverside,
<br>
and the clients are going to run Netscape,
<br>
Internet Explorer and Opera.
<br>
Now I've tried my "scripts" at home and
<br>
everything works fine with Netscape, but
<br>
when I try it with Opera or Internet Explorer it won't work. It won't set/read the cookies.
<br>
I've searched c:\windows\cookies\* for my cookie, but haven't found anyhthing.
<br>
<br>
Anyone got any clue ?
<br>
<br>
ps. _YES_ I have cookies enabled.
<br>
<br>
// myspys

Reply With Quote
  #23  
Old September 28th, 1999, 04:11 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: User Login

There was an error in the article that should be fixed now. It is possible that this error may have been causing your problems.
<br>
<br>
To fix this error you need to place an apostrophe (') before the variable $news3.
<br>
<br>
Check out the <a href=/Server_Side/PHP/Cookies/page3.html>third page</a> of the article to see the correct code.

Reply With Quote
  #24  
Old October 4th, 1999, 01:52 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Nice to see: Show an "end result" page.

At the end of articles like this one, it would be nice to have one more page, demonstrating the techniques explained in the article - a sort of "this is what it will look like" page, so that the reader can examine the end result without having to create an entire new MySQL database, and the accompanying php3 pages to go with it.

Reply With Quote
  #25  
Old October 6th, 1999, 06:13 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Any complete packages?

Are there any complete packages for use customization avaialbel for free or for sale?

I've had one done for me, custom, but am open to see other packages....

I know www.go2net.com uses php for their personalization (which is pretty impressive!) their system is cool and something of the osrt, or like my.yahoo.com, would be cool...

Reply With Quote
  #26  
Old October 18th, 1999, 05:24 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Best way to keep user track ?

Hello,
<br>
<br>
I appreciated the article but would like to know more :
<br>
<br>
I have to transmit the username to other PHP pages via GET (POST isn't always available).
<br>
<br>
Some users won't enable cookies all the time, so I have a cookie feature at the beginning just to avoid remembering l/p for people who want this (BTW, should it be encrypted when written to a cookie ?).
<br>
<br>
So, to navigate through the pages, I'd like to avoid links like store.php?login=toto&pass=tata
<br>
<br>
I can't use hidden paths all the time (POST), should I use the session number as unique ID (I use PHP4) ?
<br>
Is it secure enough to transmit encrypted login+pass through GET requests ?
<br>
Should I transmit username only (secure enough ?) ?
<br>
<br>
Thanks in advance. (I checked slashdot.org and 32bitsonline.com's cookies but cannot make up my mind for a secure method when browser is cookie-disabled :)
<br>
<br>
Olivier.

Reply With Quote
  #27  
Old October 23rd, 1999, 01:25 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
user validation high overhead

I was given the address to this article as an approach for setting up user authentication to pages on my web site.

How to setup user authentication is clear and thanks to your explanation, it seems very simple.

In essense, I have to include the special code at the top and bottom of each document that I want to require user authentication on. This seems like a lot of work.

Is there a way for me to use user authentication for each web page without having to include the special code in each document?

I've used apache's .htaccess files. The problem with them is that they are a manual solution. My preference is to have an automated solution. As an example:

The user tries to access the page. If they aren't authenticated, it prompts them for user name and password. A check is made against the mysql database. If they can't validate, it takes them to a new membership form so that they can sign up.

Thanks in advance for any feedback / ideas you might have :)

-Ed

Reply With Quote
  #28  
Old November 4th, 1999, 10:41 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Passwords not *** in index.php3?


This may be my own ignorance,
but why is the password showing clear
instead of the usual **** index.php3?

thanks,
jamie

Reply With Quote
  #29  
Old November 5th, 1999, 04:47 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Multiple Values in Cookies

Does SetCookie() set only one variable? Can I store five values on the same cookie? If so how do I do it?

If I call SetCookie() five times will it make five different cookies or will it append to the one cookie for my domain?

TIA.
All help is appreciated.

Reply With Quote
  #30  
Old November 5th, 1999, 08:20 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Multiple Values in Cookies

I read somewhere that it is possible to have more than one value stored in a cookie. Unforunately I do not remember the URL.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Developing a User Personalization System with PHP and Cookies


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




</