Re: new php developer
| From: | Jason G. | Date: | Thu, 07 Feb 2002 07:46:42 +0000 |
| Subject: | Re: new php developer | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-16596@lists.php.net to get a copy of this message | ||
Hi,
At 12:17 AM 2/7/2002 -0500, John George wrote:
I am a student a the University of Pittsburgh, and a new php developer. Is it possible to have a mysql database that is made up of html documents that can be accessed using php? This question may sound strange, but I'm not sure of any other way to say it.Not strange, sounds like a content management system... Store the HTML in a mysql TEXT field or like... (make SURE to use addslashes() before inserting the data)
Another question I have was, is it possible to have php recognize a user, by say password or ip address, and determine which which files or links to show them. Example, say I had a user Joe. When Joe accessed the password protected directory, he would be prompted to a page where php would then recognize "Joe" and then create a list of files (links) that he would be able to access.Sure, you need to look into session management probably... I have written a system like that from scratch, but there may be easier ways...
Is php the right scripting language for this job?DEFINITLY
Thank you for your time, it is greatly appreciated. John George tobin46@attbi.com-Jason Garber IonZoft.com
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php