Re: forms

From: Date: Mon, 11 Oct 2004 03:48:00 +0000
Subject: Re: forms
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-199139@lists.php.net to get a copy of this message
Thanks-- i got that going-GREAT ! now i have a form that creates the database and tables, any ideas how i can get this info to change the connect_db file so that it doesnt have to be done manually.
See fopen(), fwrite(), and fclose(): http://php.net/manual/en/ref.filesystem.php Not sure exactly what you're doing, but having PHP (via http) use a mysql account with create privileges and write your configuration files is a gaping security hole - fine for a personal/internal/ephemeral/testing project, but terrible security practice for any application or site that faces the outside world. ------------------------------------------------------ michal migurski- contact info, blog, and pgp key:
sf/ca            http://mike.teczno.com/contact.html


« previous php.general (#199139) next »