php-windows Digest 21 Jun 2003 09:42:29 -0000 Issue 1787
Topics (messages 20467 through 20478):
Subject: Re: What is the best way to post here?
20467 by: Jon Harrell
Re: Access denied for user: '[EMAIL PROTECTED]'. Dreamweaver MX
20468 by: christian astrup bakke // chasm
20469 by: Stephen
20470 by: Ildiko Nyari
20471 by: Stephen
20472 by: Ildiko Nyari
20478 by: Stephen
Re: Phpinfo.php
20473 by: Dean Hayes
20474 by: Stuart Felenstein
Re: Parse error what's this, what to do?
20475 by: Ildiko Nyari
20476 by: Max Graham
Re: Password generator
20477 by: Manuel Lemos
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Subject: Re: What is the best way to post here?
From: Erythros <[EMAIL PROTECTED]>
Newsgroups: php.windows
what do you mean ignored? do you mean no one
responds to your posts?
"Jon Harrell" <[EMAIL PROTECTED]> wrote in
message
news:[EMAIL PROTECTED]
com...
> It seems that most if not all of my NG posts are
> ignored through my news client... but I can
email
> the list... What is the most effective way of
> posting here?
>
>
> jh
>
>
The NG Server never posts my messages... but the
email Server does. jh
--- End Message ---
--- Begin Message ---
this is a mailinglist for php*, not mysql.
--
with best regards,
christian astrup bakke // chasm
www.chasm.nu
[EMAIL PROTECTED]
[note: this mail is scanned with norton antivirus 2003]
----- Original Message -----
From: "Ildiko Nyari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 10:27 PM
Subject: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'. Dreamweaver MX
Does anybody have a clue about this?
I get this error message:
Warning: mysql_pconnect(): Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO) in C:\Program Files\Apache
Group\Apache2\htdocs\www\Connections\storeunclesam.php on line 9
Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)
and line 9 is:
$storeunclesam = mysql_pconnect($hostname_storeunclesam,
$username_storeunclesam, $password_storeunclesam) or die(mysql_error());
in the Connections file.
Do you have any guess?
thanks.
--- End Message ---
--- Begin Message ---
ODBC I believe is the default connection name when none is specified. You
have the code mysql_pconnect($hostname_storeunclesam,
$username_storeunclesam, $password_storeunclesam), but have you set a value
to all the variables? You need to set $username_storeunclesam and
$password_storeunclesam to the username and password used for your MySQL
account.
Stephen
P.S. This is very much a PHP issue, as it is to do with php connecting to
MySQL rather than MySQL itself. "If you don't have something useful to say,
don't say anything!"
----- Original Message -----
From: "Ildiko Nyari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 9:27 PM
Subject: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'. Dreamweaver MX
Does anybody have a clue about this?
I get this error message:
Warning: mysql_pconnect(): Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO) in C:\Program Files\Apache
Group\Apache2\htdocs\www\Connections\storeunclesam.php on line 9
Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)
and line 9 is:
$storeunclesam = mysql_pconnect($hostname_storeunclesam,
$username_storeunclesam, $password_storeunclesam) or die(mysql_error());
in the Connections file.
Do you have any guess?
thanks.
--- End Message ---
--- Begin Message ---
Thanks,
I have the username and password entered in mySQL for that specific table
and also in the php file at $username_storeunclesam .... so on, the same
username and password, however I have this ODBC issue.
What else might be wrong?
THANKS.
ildiko
----- Original Message -----
From: "Stephen" <[EMAIL PROTECTED]>
To: "Ildiko Nyari" <[EMAIL PROTECTED]>
Cc: "Windows Helplist (PHP)" <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 5:26 PM
Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'. Dreamweaver
MX
> ODBC I believe is the default connection name when none is specified. You
> have the code mysql_pconnect($hostname_storeunclesam,
> $username_storeunclesam, $password_storeunclesam), but have you set a
value
> to all the variables? You need to set $username_storeunclesam and
> $password_storeunclesam to the username and password used for your MySQL
> account.
>
> Stephen
>
> P.S. This is very much a PHP issue, as it is to do with php connecting to
> MySQL rather than MySQL itself. "If you don't have something useful to
say,
> don't say anything!"
>
> ----- Original Message -----
> From: "Ildiko Nyari" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 20, 2003 9:27 PM
> Subject: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'. Dreamweaver
MX
>
>
> Does anybody have a clue about this?
> I get this error message:
>
> Warning: mysql_pconnect(): Access denied for user: '[EMAIL PROTECTED]' (Using
> password: NO) in C:\Program Files\Apache
> Group\Apache2\htdocs\www\Connections\storeunclesam.php on line 9
> Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)
>
>
> and line 9 is:
>
> $storeunclesam = mysql_pconnect($hostname_storeunclesam,
> $username_storeunclesam, $password_storeunclesam) or die(mysql_error());
> in the Connections file.
>
> Do you have any guess?
> thanks.
>
>
>
--- End Message ---
--- Begin Message ---
No, you misunderstand. You have
mysql_pconnect($hostname_storeunclesam, $username_storeunclesam,
$password_storeunclesam)
but there is no value to the variables so what you are actually doing is
mysql_pconnect( , , )
You need to define the variables before calling the function like so:
$hostname_storeunclesam = 'localhost';
$username_storeunclesam = 'my_name';
$password_storeunclesam = 'my_pass';
BTW, you should NEVER put your password into the php.ini file. The sheer
security risk in doing so is huge! Really a bad idea. Also, I do not
recommend using pconnect as this establishes a permanent connection. This
means even when the user leaves your site, your MySQL is STILL CONNECTED! It
is much less resouce intensive just to use mysql_connect, as that way the
connection is automatically closed when the php page is finished being made.
Stephen
Yes, I am right. Why? Because the error message says "Using password? No",
which means you have provided no password.
----- Original Message -----
From: "Ildiko Nyari" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 10:30 PM
Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'. Dreamweaver
MX
> Thanks,
> I have the username and password entered in mySQL for that specific table
> and also in the php file at $username_storeunclesam .... so on, the same
> username and password, however I have this ODBC issue.
>
> What else might be wrong?
>
> THANKS.
> ildiko
>
>
>
> ----- Original Message -----
> From: "Stephen" <[EMAIL PROTECTED]>
> To: "Ildiko Nyari" <[EMAIL PROTECTED]>
> Cc: "Windows Helplist (PHP)" <[EMAIL PROTECTED]>
> Sent: Friday, June 20, 2003 5:26 PM
> Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'.
Dreamweaver
> MX
>
>
> > ODBC I believe is the default connection name when none is specified.
You
> > have the code mysql_pconnect($hostname_storeunclesam,
> > $username_storeunclesam, $password_storeunclesam), but have you set a
> value
> > to all the variables? You need to set $username_storeunclesam and
> > $password_storeunclesam to the username and password used for your MySQL
> > account.
> >
> > Stephen
> >
> > P.S. This is very much a PHP issue, as it is to do with php connecting
to
> > MySQL rather than MySQL itself. "If you don't have something useful to
> say,
> > don't say anything!"
> >
> > ----- Original Message -----
> > From: "Ildiko Nyari" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, June 20, 2003 9:27 PM
> > Subject: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'. Dreamweaver
> MX
> >
> >
> > Does anybody have a clue about this?
> > I get this error message:
> >
> > Warning: mysql_pconnect(): Access denied for user: '[EMAIL PROTECTED]'
(Using
> > password: NO) in C:\Program Files\Apache
> > Group\Apache2\htdocs\www\Connections\storeunclesam.php on line 9
> > Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)
> >
> >
> > and line 9 is:
> >
> > $storeunclesam = mysql_pconnect($hostname_storeunclesam,
> > $username_storeunclesam, $password_storeunclesam) or die(mysql_error());
> > in the Connections file.
> >
> > Do you have any guess?
> > thanks.
> >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Thank you.
I have entered the variables and seems to be OK.
THANKS.
Why do you think that I have put the put the password into the php.ini file?
And where can I define the type of connection? I just sad make mysql
connection, and it was created as pconnect. How do I make mysql_connect?
Where?
THANKS.
I would like to understand it.
ildiko
----- Original Message -----
From: "Stephen" <[EMAIL PROTECTED]>
To: "Ildiko Nyari" <[EMAIL PROTECTED]>
Cc: "Windows Helplist (PHP)" <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 5:37 PM
Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'. Dreamweaver
MX
> No, you misunderstand. You have
> mysql_pconnect($hostname_storeunclesam, $username_storeunclesam,
> $password_storeunclesam)
>
> but there is no value to the variables so what you are actually doing is
> mysql_pconnect( , , )
>
> You need to define the variables before calling the function like so:
> $hostname_storeunclesam = 'localhost';
> $username_storeunclesam = 'my_name';
> $password_storeunclesam = 'my_pass';
>
> BTW, you should NEVER put your password into the php.ini file. The sheer
> security risk in doing so is huge! Really a bad idea. Also, I do not
> recommend using pconnect as this establishes a permanent connection. This
> means even when the user leaves your site, your MySQL is STILL CONNECTED!
It
> is much less resouce intensive just to use mysql_connect, as that way the
> connection is automatically closed when the php page is finished being
made.
>
> Stephen
>
> Yes, I am right. Why? Because the error message says "Using password? No",
> which means you have provided no password.
>
> ----- Original Message -----
> From: "Ildiko Nyari" <[EMAIL PROTECTED]>
> To: "Stephen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, June 20, 2003 10:30 PM
> Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'.
Dreamweaver
> MX
>
>
> > Thanks,
> > I have the username and password entered in mySQL for that specific
table
> > and also in the php file at $username_storeunclesam .... so on, the same
> > username and password, however I have this ODBC issue.
> >
> > What else might be wrong?
> >
> > THANKS.
> > ildiko
> >
> >
> >
> > ----- Original Message -----
> > From: "Stephen" <[EMAIL PROTECTED]>
> > To: "Ildiko Nyari" <[EMAIL PROTECTED]>
> > Cc: "Windows Helplist (PHP)" <[EMAIL PROTECTED]>
> > Sent: Friday, June 20, 2003 5:26 PM
> > Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'.
> Dreamweaver
> > MX
> >
> >
> > > ODBC I believe is the default connection name when none is specified.
> You
> > > have the code mysql_pconnect($hostname_storeunclesam,
> > > $username_storeunclesam, $password_storeunclesam), but have you set a
> > value
> > > to all the variables? You need to set $username_storeunclesam and
> > > $password_storeunclesam to the username and password used for your
MySQL
> > > account.
> > >
> > > Stephen
> > >
> > > P.S. This is very much a PHP issue, as it is to do with php connecting
> to
> > > MySQL rather than MySQL itself. "If you don't have something useful to
> > say,
> > > don't say anything!"
> > >
> > > ----- Original Message -----
> > > From: "Ildiko Nyari" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, June 20, 2003 9:27 PM
> > > Subject: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'.
Dreamweaver
> > MX
> > >
> > >
> > > Does anybody have a clue about this?
> > > I get this error message:
> > >
> > > Warning: mysql_pconnect(): Access denied for user: '[EMAIL PROTECTED]'
> (Using
> > > password: NO) in C:\Program Files\Apache
> > > Group\Apache2\htdocs\www\Connections\storeunclesam.php on line 9
> > > Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)
> > >
> > >
> > > and line 9 is:
> > >
> > > $storeunclesam = mysql_pconnect($hostname_storeunclesam,
> > > $username_storeunclesam, $password_storeunclesam) or
die(mysql_error());
> > > in the Connections file.
> > >
> > > Do you have any guess?
> > > thanks.
> > >
> > >
> > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Dreamweaver uses pconnect by default, so if you want to use the more
standard connect, just delete the p from the code! More can be found at
http://uk.php.net/manual/en/function.mysql-connect.php
I suggest using the manual whenever you have a problem. At first, it might
seem quite confusing but once you get used to it theres a lot of helpful
information waiting to be found!
Stephen
----- Original Message -----
From: "Ildiko Nyari" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 10:57 PM
Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'. Dreamweaver
MX
> Thank you.
>
> I have entered the variables and seems to be OK.
> THANKS.
>
> Why do you think that I have put the put the password into the php.ini
file?
> And where can I define the type of connection? I just sad make mysql
> connection, and it was created as pconnect. How do I make mysql_connect?
> Where?
>
> THANKS.
>
> I would like to understand it.
> ildiko
>
>
> ----- Original Message -----
> From: "Stephen" <[EMAIL PROTECTED]>
> To: "Ildiko Nyari" <[EMAIL PROTECTED]>
> Cc: "Windows Helplist (PHP)" <[EMAIL PROTECTED]>
> Sent: Friday, June 20, 2003 5:37 PM
> Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'.
Dreamweaver
> MX
>
>
> > No, you misunderstand. You have
> > mysql_pconnect($hostname_storeunclesam, $username_storeunclesam,
> > $password_storeunclesam)
> >
> > but there is no value to the variables so what you are actually doing is
> > mysql_pconnect( , , )
> >
> > You need to define the variables before calling the function like so:
> > $hostname_storeunclesam = 'localhost';
> > $username_storeunclesam = 'my_name';
> > $password_storeunclesam = 'my_pass';
> >
> > BTW, you should NEVER put your password into the php.ini file. The sheer
> > security risk in doing so is huge! Really a bad idea. Also, I do not
> > recommend using pconnect as this establishes a permanent connection.
This
> > means even when the user leaves your site, your MySQL is STILL
CONNECTED!
> It
> > is much less resouce intensive just to use mysql_connect, as that way
the
> > connection is automatically closed when the php page is finished being
> made.
> >
> > Stephen
> >
> > Yes, I am right. Why? Because the error message says "Using password?
No",
> > which means you have provided no password.
> >
> > ----- Original Message -----
> > From: "Ildiko Nyari" <[EMAIL PROTECTED]>
> > To: "Stephen" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Friday, June 20, 2003 10:30 PM
> > Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'.
> Dreamweaver
> > MX
> >
> >
> > > Thanks,
> > > I have the username and password entered in mySQL for that specific
> table
> > > and also in the php file at $username_storeunclesam .... so on, the
same
> > > username and password, however I have this ODBC issue.
> > >
> > > What else might be wrong?
> > >
> > > THANKS.
> > > ildiko
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Stephen" <[EMAIL PROTECTED]>
> > > To: "Ildiko Nyari" <[EMAIL PROTECTED]>
> > > Cc: "Windows Helplist (PHP)" <[EMAIL PROTECTED]>
> > > Sent: Friday, June 20, 2003 5:26 PM
> > > Subject: Re: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'.
> > Dreamweaver
> > > MX
> > >
> > >
> > > > ODBC I believe is the default connection name when none is
specified.
> > You
> > > > have the code mysql_pconnect($hostname_storeunclesam,
> > > > $username_storeunclesam, $password_storeunclesam), but have you set
a
> > > value
> > > > to all the variables? You need to set $username_storeunclesam and
> > > > $password_storeunclesam to the username and password used for your
> MySQL
> > > > account.
> > > >
> > > > Stephen
> > > >
> > > > P.S. This is very much a PHP issue, as it is to do with php
connecting
> > to
> > > > MySQL rather than MySQL itself. "If you don't have something useful
to
> > > say,
> > > > don't say anything!"
> > > >
> > > > ----- Original Message -----
> > > > From: "Ildiko Nyari" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Friday, June 20, 2003 9:27 PM
> > > > Subject: [PHP-WIN] Access denied for user: '[EMAIL PROTECTED]'.
> Dreamweaver
> > > MX
> > > >
> > > >
> > > > Does anybody have a clue about this?
> > > > I get this error message:
> > > >
> > > > Warning: mysql_pconnect(): Access denied for user: '[EMAIL PROTECTED]'
> > (Using
> > > > password: NO) in C:\Program Files\Apache
> > > > Group\Apache2\htdocs\www\Connections\storeunclesam.php on line 9
> > > > Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)
> > > >
> > > >
> > > > and line 9 is:
> > > >
> > > > $storeunclesam = mysql_pconnect($hostname_storeunclesam,
> > > > $username_storeunclesam, $password_storeunclesam) or
> die(mysql_error());
> > > > in the Connections file.
> > > >
> > > > Do you have any guess?
> > > > thanks.
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Did you add the lines
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
to your httpd.conf file????
Dean "The Insane Guy" Hayes
Mystical Web Designs
http://www.mystical-sector.com
<-- I design and i redesign but still i never designed true beauty like you
-->
From: "Mathias" <[EMAIL PROTECTED]>
Reply-To: "Mathias" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Phpinfo.php
Date: Fri, 20 Jun 2003 11:31:30 -0500
I use Microsoft Windows XP Pro, and PHP4. Im reading the book Sams teach
yourself PHP, Mysql and Apache.
I setup mysql apache2 and php4. I cannot get <? phpinfo(); ?> to work. Can
anyone HELP PLEASE?!?!???
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
Hotmail is now available on Australian mobile phones. Go to
http://ninemsn.com.au/mobilecentral/signup.asp
--- End Message ---
--- Begin Message ---
I also put php.ini, php4ts, php4apache2 all into my system32 directory.
Stuart
Dean Hayes <[EMAIL PROTECTED]> wrote:
Did you add the lines
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
to your httpd.conf file????
Dean "The Insane Guy" Hayes
Mystical Web Designs
http://www.mystical-sector.com
<-- I design and i redesign but still i never designed true beauty like you
-->
From: "Mathias"
Reply-To: "Mathias"
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Phpinfo.php
Date: Fri, 20 Jun 2003 11:31:30 -0500
I use Microsoft Windows XP Pro, and PHP4. Im reading the book Sams teach
yourself PHP, Mysql and Apache.
I setup mysql apache2 and php4. I cannot get to work. Can
anyone HELP PLEASE?!?!???
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
Hotmail is now available on Australian mobile phones. Go to
http://ninemsn.com.au/mobilecentral/signup.asp
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
And how can I do, that this selected option will select from the database
(products) the appropriate one's, and show the results?
Dreamweaver MX.
Sorry, but I appreciate your help.
Thanks,
ildiko
----- Original Message -----
From: "Cristian MARIN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 8:24 PM
Subject: [PHP-WIN] Re: Parse error what's this, what to do?
> It's very wrong your code:
> I don't know what should do but it should look like this:
>
> <td align="right" class="TDinfo"> search by</td>
> <td class="TDinfo">
> <?php require("file_name_here.php"); ?>
> <select name="select3" class="SELECTSize">
> <option selected>new</option>
> <option>used</option>
> </select></td>
>
> You have mixed the php with the HTML in a very wrong way. You cannot
require
> a html code, you have to require a file. Please the PHP manual first.
>
> -------------------------------------------------
> Cristian MARIN - Developer
> InterAKT Online (www.interakt.ro)
> Tel: +4021 312.53.12
> Tel/Fax: +4021 312.51.91
> [EMAIL PROTECTED]
>
>
> "Ildiko Nyari" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello, Thank you
> > line129: <td class="TDinfo"><?php require(<select name="select3"
> > class="SELECTSize">
> >
> > But the whole stuff look-a-like this:
> >
> > <td align="right" class="TDinfo"> search by</td>
> > <td class="TDinfo"><?php require(<select name="select3"
> class="SELECTSize">
> > <option selected>new</option>
> > <option>used</option>
> > </select>); ?></td>
> >
> > What I want is the option selected should be an input for the search,
> that's
> > what I try to figure out in Dreamweaver MX
> >
> >
> > THANKS,
> > ildiko
> >
> >
> > ----- Original Message -----
> > From: "Max Graham" <[EMAIL PROTECTED]>
> > To: "Ildiko Nyari" <[EMAIL PROTECTED]>
> > Sent: Thursday, June 19, 2003 11:34 PM
> > Subject: Re: Parse error what's this, what to do?
> >
> >
> > > What does your code look like? Can you show us what line 129 looks
like
> in
> > > advanced3.php?
> > >
> > >
> > > ----- Original Message -----
> > > From: "Ildiko Nyari" <[EMAIL PROTECTED]>
> > > Newsgroups: php.windows
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, June 19, 2003 6:43 PM
> > > Subject: Parse error what's this, what to do?
> > >
> > >
> > > Hello
> > > Parse error: parse error, unexpected '<' in C:\Program Files\Apache
> > > Group\Apache2\htdocs\advanced3.php on line 129
> > >
> > > what's this?
> > > I always get this error when I want to display the php files on the
web,
> > so
> > > can't.
> > > What do I do wrong?
> > >
> > > thanks,
> > > ildiko
> > >
> > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
This might require two separate files. In the first, you'd have to set up a
form in the first file, advanced3.php:
-------------------------------
<form action="processform.php" method="post">
<select name="select3" class="SELECTSize">
<option value="new" selected>new</option>
<option value="old">old</option>
</select>
</form>
-------------------------------
and then in the second, the processform.php file, you'd have this line:
-------------------------------
require $select3;
-------------------------------
or however you'd want it. I'm guessing that this is what you're trying to
do, to use a form to tell a script what components are required ... am I
correct in guessing that?
----- Original Message -----
From: "Ildiko Nyari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Max Graham" <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 8:12 AM
Subject: Re: Parse error what's this, what to do?
> Hello, Thank you
> line129: <td class="TDinfo"><?php require(<select name="select3"
> class="SELECTSize">
>
> But the whole stuff look-a-like this:
>
> <td align="right" class="TDinfo"> search by</td>
> <td class="TDinfo"><?php require(<select name="select3"
class="SELECTSize">
> <option selected>new</option>
> <option>used</option>
> </select>); ?></td>
>
> What I want is the option selected should be an input for the search,
that's
> what I try to figure out in Dreamweaver MX
>
>
> THANKS,
> ildiko
>
>
> ----- Original Message -----
> From: "Max Graham" <[EMAIL PROTECTED]>
> To: "Ildiko Nyari" <[EMAIL PROTECTED]>
> Sent: Thursday, June 19, 2003 11:34 PM
> Subject: Re: Parse error what's this, what to do?
>
>
> > What does your code look like? Can you show us what line 129 looks like
in
> > advanced3.php?
> >
> >
> > ----- Original Message -----
> > From: "Ildiko Nyari" <[EMAIL PROTECTED]>
> > Newsgroups: php.windows
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, June 19, 2003 6:43 PM
> > Subject: Parse error what's this, what to do?
> >
> >
> > Hello
> > Parse error: parse error, unexpected '<' in C:\Program Files\Apache
> > Group\Apache2\htdocs\advanced3.php on line 129
> >
> > what's this?
> > I always get this error when I want to display the php files on the web,
> so
> > can't.
> > What do I do wrong?
> >
> > thanks,
> > ildiko
> >
> >
>
>
>
--- End Message ---
--- Begin Message ---
Hello,
On 06/17/2003 06:45 AM, Davy Obdam wrote:
I have to make a password generator, but i have a little problem.
You may also want to try any of these classes:
http://www.phpclasses.org/password%20generation
--
Regards,
Manuel Lemos
Free ready to use OOP components written in PHP
http://www.phpclasses.org/
--- End Message ---