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:
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:
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:
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
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
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
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.
?
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
-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
9 matches
Mail list logo