[PHP-DB] Renaming a file uploaded by a form.

2003-01-01 Thread [EMAIL PROTECTED]
I have a script that uploads form data to a MySQL server then emails the form data to alert people that an upload occurred. I am having trouble getting the form to upload my file with the actual filename. The filename seems to be created by the PHP machine (wild guess) but it looks like this:

Re: [PHP-DB] Renaming a file uploaded by a form.

2003-01-01 Thread Jason Wong
On Thursday 02 January 2003 07:25, [EMAIL PROTECTED] wrote: I have a script that uploads form data to a MySQL server then emails the form data to alert people that an upload occurred. I am having trouble getting the form to upload my file with the actual filename. The filename seems to be

Re: [PHP-DB] Renaming a file uploaded by a form.

2003-01-01 Thread Jeffrey_N_Dyke
copy($_FILES['userfile']['tmp_name'],/real/path/to/$_FILES['userfile'] ['name']); what you really want is... http://www.php.net/manual/en/features.file-upload.php hth jeff

[PHP-DB] Drawing chart

2003-01-01 Thread Matthias Steiner
I'd like to have PHP drawing a chart based on temperature data in a mySQL database. Before I start inventing the wheel: does anybody know about finished code which produces a *.png-Chart from a table of values in a database? Gruss, Matthias -- Steiner Matthias Student of Telematics

Re: [PHP-DB] Drawing chart

2003-01-01 Thread Jason Wong
On Thursday 02 January 2003 07:27, Matthias Steiner wrote: I'd like to have PHP drawing a chart based on temperature data in a mySQL database. Before I start inventing the wheel: does anybody know about finished code which produces a *.png-Chart from a table of values in a database? google

Re: [PHP-DB] Drawing chart

2003-01-01 Thread John Coder
On Wed, 2003-01-01 at 18:27, Matthias Steiner wrote: I'd like to have PHP drawing a chart based on temperature data in a mySQL database. Before I start inventing the wheel: does anybody know about finished code which produces a *.png-Chart from a table of values in a database? I've already

Re: [PHP-DB] Drawing chart

2003-01-01 Thread John Coder
On Wed, 2003-01-01 at 21:37, John Coder wrote: On Wed, 2003-01-01 at 18:27, Matthias Steiner wrote: I'd like to have PHP drawing a chart based on temperature data in a mySQL database. Before I start inventing the wheel: does anybody know about finished code which produces a *.png-Chart

RE: [PHP-DB] Drawing chart

2003-01-01 Thread Cal Evans
check www.zend.com www.freshmeat.net http://www.planetsourcecode.com/vb/default.asp?lngWId=8 to start with. * * Cal Evans * The Virtual CIO * http://www.calevans.com * -Original Message- From: Matthias Steiner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 01, 2003 5:28 PM To: