RE: [PHP-DB] PHP Forms - upload VS text
| From: | Norland, Martin | Date: | Fri, 30 Sep 2005 14:36:39 +0000 |
| Subject: | RE: [PHP-DB] PHP Forms - upload VS text | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-40429@lists.php.net to get a copy of this message | ||
<form action="<?php tpl($_SERVER['REQUEST_URI']) ?>"
method="post"
enctype="multipart/form-data">
Beyond that it's just the $_FILES array and $_POST array.
cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
-----Original Message-----
From: Rui Cruz [mailto:ruicruz@fidelizarte.pt]
Sent: Friday, September 30, 2005 8:18 AM
To: php-db@lists.php.net
Subject: [PHP-DB] PHP Forms - upload VS text. .
Hi, I'm a fairlly experienced developer but there's something that just
really gets to me...
I can:
- Use a form to upload a file or files
- Use a form to write text to whaever is needed (DB, e-mail
contents,
etc...)
but I CAN'T
- Use the same form to do both.
I've tried so many diferent things and never got my scripts to upload a
file
and insert data to a DB.
I find it dificult to accept this. Is this normal or am I doing things
wrong? Could anyone shed some light on this issue please?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php