[PHP] input type=file problem (Maybe 0T)

2005-07-30 Thread Ryan A
Hey, Heres what I am doing, I have a form where a user can enter values and in the form I have a FILE box so the user can upload her pic, if she screws up anywhere (eg: putting an alphabet in her date of birth) I send her back to the form and her date of birth gets highlighted plus the value she

Re: [PHP] input type=file problem (Maybe 0T)

2005-07-30 Thread Edward Vermillion
Ryan A wrote: Hey, Heres what I am doing, I have a form where a user can enter values and in the form I have a FILE box so the user can upload her pic, if she screws up anywhere (eg: putting an alphabet in her date of birth) I send her back to the form and her date of birth gets highlighted

Re: [PHP] input type=file problem (Maybe 0T)

2005-07-30 Thread Ryan A
clip setting a VALUE=path/file but that does not work. /clip As far as I know, you can't set the initial values for 'file' inputs. It's a security thing. H, you're right,saw the same thing on google after digging a little deeper, thanks mate. Cheers, Ryan -- PHP General Mailing

Re: [PHP] input type=file name=txt_file /

2003-03-06 Thread Marek Kilimajer
Everything you need is here: http://www.php.net/manual/en/features.file-upload.php#features.file-upload.post-method John Taylor-Johnston wrote: Instead of using fread, I want to upload a *.txt file using: input type=file name=txt_file / and display it in a textarea. Where do I go now?

[PHP] input type=file name=txt_file /

2003-03-05 Thread John Taylor-Johnston
Instead of using fread, I want to upload a *.txt file using: input type=file name=txt_file / and display it in a textarea. Where do I go now? Specifically, how do I get $contents? Thanks, John ?php $filename = /usr/local/something.txt; $handle = fopen ($filename, r); $contents = fread

[PHP] INPUT type=file value=????

2001-08-20 Thread Al
I realize that this isn't a PHP issue, but I'd like find out they why's/wherefore's of this: The W3C HTM 4x spec(s) say that when using the file type on a form input element, User agents may use the value of the value attribute as the initial file name. I can't get Mozilla, Netscape, nor IE to

[PHP] input type=file

2001-02-16 Thread Jerry Lake
this doesn't relate directly to PHP, but it will when I am done. How can I create a file input that reads from a directory on the server instead of the users machine Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online -

RE: [PHP] input type=file

2001-02-16 Thread Joe Sheble (Wizaerd)
a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP, and mySQL http://www.wizaerd.com = -Original Message- From: Jerry Lake [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 4:57 PM To: [EMAIL PROTECTED] Subject: [PHP] input

RE: [PHP] input type=file

2001-02-16 Thread Jerry Lake
, 2001 4:16 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] input type=file so then maybe, if I understand it correctly (which may or may not be true) I could read the contents or a directory and populate a dropdown list...? Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications

RE: [PHP] input type=file

2001-02-16 Thread Joe Sheble (Wizaerd)
, 3D, Graphics, ColdFusion, PHP, and mySQL http://www.wizaerd.com = -Original Message- From: Jerry Lake [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 5:16 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] input type=file so then maybe, if I