Re: [PHP] Re: Parse error, unexpected T_STRING!!

2004-03-05 Thread Brian V Bonini
On Thu, 2004-03-04 at 21:39, Andre Cerqueira wrote: ? is tag for php code start Enrique Martinez wrote: Hello, I'm getting an error that says: Parse error, unexpected T_STRING on line 73 line 73 is: ?xml version=1.0 encoding=iso-8859-1 ? this is what I have below line 73:

RE: [PHP] Re: Parse error ???

2004-03-04 Thread Mike Mapsnac
brackets solve the probleb. But why I have the warning messages? The permission on the directory is correct. Any ideas what can cause such messages? Warning: move_uploaded_file(/var/www/html/upload/): failed to open stream: Is a directory in /var/www/html/uploadproc.php on line 11 Warning:

Re: [PHP] Re: Parse error ???

2004-03-04 Thread Neil Freeman
If I remember correctly the second parameter of move_uploaded_file() needs to be the full filename, ie path plus required filename. so... if(!move_uploaded_file($_FILES['myfile']['tmp_name'], (/var/www/html/upload/ . $_FILES['myfile']['name']))) Neil Mike Mapsnac wrote:

Re: [PHP] Re: Parse error ???

2004-03-04 Thread Mike Mapsnac
PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] Re: Parse error ??? Date: Thu, 04 Mar 2004 13:58:26 + If I remember correctly the second parameter of move_uploaded_file() needs to be the full filename, ie path plus required filename. so... if(!move_uploaded_file($_FILES['myfile']['tmp_name

RE: [PHP] Re: Parse error ???

2004-03-04 Thread Sam Masiello
is apache:apache. Why the owner of the file is not mike ? thanks From: Neil Freeman [EMAIL PROTECTED] To: Mike Mapsnac [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] Re: Parse error ??? Date: Thu, 04 Mar 2004 13:58:26 + If I remember correctly the second

Re: [PHP] Re: Parse error not understood

2003-08-08 Thread Ivo Fokkema
Miles Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, I'm top posting, pls forgive. This is a situation where an editor which has built-in brace matching really helps - if in the midst of looking one remembers to use it. Another tip, although it probably wouldn't help

Re: [PHP] Re: Parse error not understood

2003-08-06 Thread Miles Thompson
Yes, I'm top posting, pls forgive. This is a situation where an editor which has built-in brace matching really helps - if in the midst of looking one remembers to use it. Another tip, although it probably wouldn't help here: Save the code with a .phps extension and look at it in the browser.

RE: [PHP] Re: parse error, unexpected $end ...

2003-01-24 Thread John W. Holmes
? include(includes/encabezado_xml.php); include(includes/conexion.php); mysql_select_db(latinencounters); $u_login=; $u_pwd=; if(isset($url_login)){ $u_login=$url_login; // parametro login del usuario } if(isset($url_pwd)){ $u_pwd=$url_pwd; // parametro password del usuario

Re: [PHP] Re: Parse Error(newbie)

2002-05-29 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Kevin Lowe declared Looks OK to me, could it be that youa re missing a semi colon ; or a brace } from a previous line, in this case PHP often reports the parse error as being the line where the next ; is? Yep, that would be me