Re: PHP script that fills forms ?
| From: | Prashant | Date: | Wed, 26 Nov 2003 12:45:16 +0000 |
| Subject: | Re: PHP script that fills forms ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171045@lists.php.net to get a copy of this message | ||
Dear Mr Justin
There are some queries regarding PHP 4.1.As you mentioned in php 4.1
register_globals=off. are set for security reasons.
Is it Required to have Form attribute as enctype="multipart/form-data" if
i have a File Upload on the Particular Form.
<form name=form1 action="test.php3" method="Post"
enctype="multipart/form-data">
i.e <input type=file name=filename>
I am Facing a Problem as when i am removing the enctype attribute in Form
object, i am able to pass form values data from one form to another form
i.e the destination form will able to
retrieve the form values, but from the source form when i keep the enctype
attribute
in the source form object, i am unable to pass the values i.e the
destination form is unable to retrieve
the values passed from source form.
Second Problem is I am unable to retrieve the image name using
$_FILES['filename']['name']; in the Destination form.
The source form has the file upload html tag
<form name=form1 action="test.php3" method="Post"
enctype="multipart/form-data">
i.e <input type=file name=filename>
<input type=submit value=submit>
Awaiting Your Prompt Reply,
Thanks & Regards,
Prashant S Akerkar
----- Original Message -----
From: Justin French <justin@indent.com.au>
To: Nathan Taylor <Lakario@msn.com>
Cc: <php-general@lists.php.net>; Anonymous <catchall@catpat.com>
Sent: Wednesday, November 26, 2003 6:18 PM
Subject: Re: [PHP] PHP script that fills forms ?
> On Wednesday, November 26, 2003, at 09:48 PM, Nathan Taylor wrote:
>
> > You're not making any sense my friend. If you want to fill form field
> > then supply them
> > with a value="" value. There's nothing more to it.
>
> he wants PHP to act as a 'user at a keyboard and mouse', entering
> values into a form, which of course can't be done, but my other post on
> this topic offeres alternatives.
>
> Justin French
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>