Re: [PHP-DB] Uploading files

2004-02-28 Thread Pavel Lobovich
Try to change the following limits in your php.ini file: max_input_time = 120 ; Maximum amount of time each script may spend parsing request data memory_limit = 10M ; Maximum amount of memory a script may consume (8MB) ; Maximum size of POST data that PHP will accept. post_max_size = 10M

[PHP-DB] Connect to MySQL Database Using PHP

2004-02-28 Thread Paul Higgins
I currently connect to my database (MySQL) through PHP with the following lines: $db = mysql_connect( 'host', 'userName', 'password'); mysql_select_db( database_name, $db); The host, userName, and password are all hard coded into the PHP document. I would prefer not to do this. How can I

Re: [PHP-DB] Connect to MySQL Database Using PHP

2004-02-28 Thread Paul Higgins
Thanks, I will try both suggestions. Much appreciated! Paul From: Mathias Hunskår Furevik [EMAIL PROTECTED] To: Paul Higgins [EMAIL PROTECTED] Subject: Re: [PHP-DB] Connect to MySQL Database Using PHP Date: Sat, 28 Feb 2004 21:51:30 +0100 You can include a file with: ?php $host = host;