Re: Tr: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread Philip Olson
t; To: TGL <[EMAIL PROTECTED]> > Sent: Wednesday, May 01, 2002 11:47 PM > Subject: Re: [PHP] New to PHP - Undefined variable: ?? > > > > Well, I think the first 2 lines of your script should be : > > > > echo "\$FILE : $FILE"; > > var_dump($FILE

Tr: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread nico_free
- Original Message - From: nico_free <[EMAIL PROTECTED]> To: TGL <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 11:47 PM Subject: Re: [PHP] New to PHP - Undefined variable: ?? > Well, I think the first 2 lines of your script should be : > > echo "\

Re: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread Philip Olson
Undefined variables errors are errors of level E_NOTICE. Instead of if ($File) use if (isset($File)) or similiar (such as empty()). Depending on your mission. A similiar example: if (empty($form_submitted)) { include 'form.html'; } else { include 'process_form.php'; } It's worth mention

[PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread TGL
I'm new to PHP and can't get through my first script. I want to create a form that will allow the user to attach a file. I started with the file upload part of the form thinking that it ould give me the most problem, and it has. This is the error message that shows when I view the page in the bro