Du!
It would have made sense to direct it to /phpbb/login.php
Not
/phpbb/index.php
I know, the keyboard and the chair!
Brad
Really sorry for taking up so many people's time on such a small issue.
--
-
Michael Mason
Arras People
www.arraspeople.co.uk
-
"Harlequin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've checked my syntax but obviously
Put all your values in the following {}...
So:
VALUES('{$Title}','{$ChristianName}','{$MiddleName}','{$Surname}'. and
so on.
HTH
Craig
"Harlequin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've checked my syntax but obviously missing something.
>
> Would anyone mind a q
Hello.
Cannot find any unexpected dollar-sign ($) in this code.
But please enclose the associative array-indexes within quotation-marks
and run your script again.
[code]
$foo = $_POST['assoc_index'];
[/code]
Daniel
Harlequin wrote:
I've checked my syntax but obviously missing something.
Would any
Did the error actually say "Unexpected $end" ? That would mean that PHP hit the
end of the script before it expected to, and could be caused by an unclosed string.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
Using PHP 4 with this code:
if ($csvfile = fopen($csvpath, "r")) {
while (!feof ($csvfile))
{
$filestring = fgets( $csvfile , 255);
}
}
I get a parse error on the line :
$filestring = fgets( $csvfile , 255);
Any ideas why this is happening?
replaci
"Lasse Motroen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have received some code and am trying to run it. However, I get the
> following error:
>
> *Parse error*: parse error, unexpected '=', expecting ')'
>
> It happens on this line when &$args=array() is reached:
>
> fun
On Thu, 2004-03-04 at 21:39, Andre Cerqueira wrote:
>
> Enrique Martinez wrote:
> > Hello, I'm getting an error that says:
> >
> > Parse error, unexpected T_STRING on line 73
> >
> > line 73 is: > ?>
> >
> > this is what I have below line 73:
> >
> > > Transitional//EN"
> > "http://www.w3.
Enrique Martinez wrote:
Hello, I'm getting an error that says:
Parse error, unexpected T_STRING on line 73
line 73 is:
this is what I have below line 73:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
I have PHP-4.2.2, Apache 2.0 on RedHat Linux 9.
Hello Mike,
Thursday, March 4, 2004, 6:16:17 PM, you wrote:
MM> I run the script as user mike and mike:mike is owner of the directory, when
MM> I upload something to directory the owner of the file is apache:apache.
MM> Why the owner of the file is not mike ?
Because Apache is not running as "mi
of the file 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 ??
CTED]>
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 parameter of move_uploaded_file() needs
to be the full filename, ie path plus required filename.
so...
if(!move_uploaded_file($_F
1
Error Moving the uploaded file failed.
From: Michael Nolan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Parse error ???
Date: Thu, 04 Mar 2004 13:40:46 +
Mike Mapsnac wrote:
The script should upload files (images).
Error message is give below, any ideas why I get this
led to open
stream: Is a directory in /var/www/html/uploadproc.php on line 11
Warning: move_uploaded_file(): Unable to move '/tmp/phpiMrdlQ' to
'/var/www/html/upload/' in /var/www/html/uploadproc.php on line 11
Error Moving the uploaded file failed.
From: Michael Nolan <
: move_uploaded_file(): Unable to move '/tmp/phpiMrdlQ' to
'/var/www/html/upload/' in /var/www/html/uploadproc.php on line 11
Error Moving the uploaded file failed.
From: Michael Nolan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Parse error ???
Date: Thu,
Mike Mapsnac wrote:
The script should upload files (images).
Error message is give below, any ideas why I get this errror message?
Parse error: parse error in /var/www/html/uploadproc.php on line 3
die() needs brackets around its arguments, eg:
die("Error! The expected file wasn't a part of the s
Hi,
The prototype for mysql_connect is:
resource mysql_connect ( [string server [, string username [, string
password [, bool new_link [, int client_flags ] )
As you can see you get parse error because the fourth argument
should be boolean, not string.
Cheers,
Catalin
35: /
> //If "Delete User" is selected--
> if ( $_REQUEST['useroption'] == 'delete')
> {
> //First, check that the user already exists
> $query = "select count(*) from pbpc_client where username = '" .
> $_REQUEST['usernamebox'] . "';";
> $result = mysql_query($query);
> if(!$result)
> {
> echo '
Holy schmoley...something so small.I must get off this green tea,
all this good health stuff is causing havoc in my brain...
Thanks Fokkema, and Johnfor pointing out an obvious error...
Regards
On Wed, 2003-08-06 at 14:48, Fokkema, I.F.A.C. (HKG) wrote:
> > //If "Delete User" is selecte
"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 wo
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 pa
This is the source code
Your Login or Password is
Incorrect";
}else{
echo "\n";
for($a=0;$a<$filas;$a++){
$fila=mysql_fetch_array($rs);
echo " \n";
echo " ".$fila["id"]."\n";
echo " ".$fila["name"]."\n";
echo " ".$fila["born"]."\n";
echo " ".$fila["occupation"]."\n";
echo "
Everything works great now. Thanks for the quick responses everyone.
"Brent Lee" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm new to PHP and am slowly learning it. I have the following code that
is
> giving me errors could someone take a look and suggest
In addition to the other errors pointed out...
I assume you want a loop. change
while($row = mysql_fetch_array($response));
to
while($row = mysql_fetch_array($response))
{
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
> while($row = mysql_fetch_array($response));
>
>
> echo("
I had experienced similar problem like that in the past. Part of it had to
do with the header() function. Your script checked out fine, just like mine
did. Try remarking the line of code where hte header is and see if you
don't have hte parse error, if this is the case then it's the header().
"
>
> If ('GET' == $HTTP_SERVER_VARS['REQUEST_METHOD']) {
> $MailToAddress = '[EMAIL PROTECTED]';
> $MailSubject = 'Get Involved List';
> ?>
>
>exit;
> }
> ?>
You appear to be moving in and out of PHP Mode that could be pretty
tough to follow... I've practically been looking at php Code
-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 g
Hi JJ,
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?
EG
$var1 = "x"
$var2 = "y";
This will show an error on the second line.
KEvin
In article <003601c20541$fdc31970$0100a8c0@JohnH>, [EMAIL PROTECTED]
says...
> I know it is probably something obvious but the following gives me a parse error and
>as a newbie I am having trouble locating it.
>
> $query = "select * from news WHERE id = "$_get['id']"";
>
> JJ Harrison
> [EMAIL
Error is absolute.
Don't use " (double quotation mark) in yur queries. Use ' (single quot.)
instead
$query = "SELECT DATE_FORMAT( exp_date, '%W, %M > %d, %Y') AS thedate from
tifrequest where user='$user' limit 1,1";
Because the preprocessor think that your string is finished when it sees a
doub
Try this:
var $VAL_ID;
var $VAL_TICKER;
var $VAL_ID_FEED;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Jaxon,
do you have a line of white space after your closing tag?
Anyway, this looks fishy to me:
if (!isset($page_id))
{
$sql="select page_id from table where fieldname = $value";
$link_id = mysql_connect($host, $usr, $pass) or die (mysql_error());
mysql_select_d
33 matches
Mail list logo