System: PHP4.06 + Mysql3.23.41 Win32 + Apache 1.3.20 Win32 + Win98
?
..
..
$res=mysql_query($query);
$num=mysql_num_rows($res);
for($i=0; $i$num; $i++){
$arr=mysql_fetch_array($res);
...
}
...
When PHP is running at the line: $arr=mysql_fetch_array($res);
The IE always show info as
G'day folks:
I have a seemingly simple problem:
I keep my passwords as simple MySQL hashes in a users' table. The rest of the system
is reliant on
this fact (othewise I'd change it quick sharp!)
I've just constructed a simple username/password retrieval system, but don't know how
to unhash
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Russ
Michell
Sent: 25 September 2001 18:32
To: [EMAIL PROTECTED]
Subject: [PHP-DB] MySQL Hash Function
G'day folks:
I have a seemingly simple problem:
I keep my passwords as simple MySQL hashes in a
http://www.phpbuilder.com/columns/
good articles on sessions
Steve
Nirat [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
can anyone guide me to using sessions in PHP i've tried it a lot of times
but its not working. any help tutorials would be helpful...
--
there doesn't look to be any problem with the code you've shown.
it would be helpful, however, if you included the full error including the
line and the lines surrounding this point as the error probably lies in
previous code.
Steve
Web User [EMAIL PROTECTED] wrote in message
I need to know if it is possible with PHP to write a script
that will pull the individual lines of this text file and store
them into a mysql database line by line.
use file() and then loop through the array.
Chris
Does anyone know of a good tutorial/walkthrough on how to get apache2,
mysql, and php working in linux?
Thanks,
Mike Dolan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
Hello. Does anybody know how to send an array to a stored procedure. I
am using OCI libraries. I found an example at
http://conf.php.net/pres/index.php?p=slides%2Fociid=oci
but I just can't get it to work.
If anybody has managed to get it to work, it would be great to hear from
them.
Really
I agree with Steve.
Also, print value of $num; is it 0? Is $res valid; is it NULL?
We need far more details than what you think we need.
-Original Message-
From: Steve Brett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 6:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB]
Hello,
has anybody already succeeded in installing Apache-1.3.20 with
php-4.0.6 and Oracle-8.1.7 on Compaq systems with
OSF V. 5.1?
First I tried to use DSO for php (--with-apxs, --with-oci8).
the compilation went through, but the apache server cannot be
started and breaks with segmentation
On Tue, 2001-09-25 at 13:32, Russ Michell wrote:
G'day folks:
I have a seemingly simple problem:
I keep my passwords as simple MySQL hashes in a users' table. The rest of the system
is reliant on
this fact (othewise I'd change it quick sharp!)
I've just constructed a simple
Hello!!
A simple question...
Has anybody had a performance hit, when using multiple Require() and
Include() functions??
Just askingI use them all the timeBut want to simplify the code.
Tanks!!
Dan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
I am in the progress of setting up a script where a user can goto a certain website,
supply info like a message and their name and instantly page someone on their cell
phone by using the PHP based web form. The text would then be sent to the cell phone
reciepents screen as it was typed on the
http://www.nextel.com/support/faq/textnumericmessagingfaq.shtml
basically it says to put in the 10-digit nextel number
@messaging.nextel.com and you can send it with SMTP. I dunno if this is
what you need but hope it helps..
Eric O'Connell
I am in the progress of setting up a script where a
I get the following error:
Warning: Supplied argument is not a valid MySQL result resource in
/usr/local/www/htdocs/php/PHPMyEdit.inc on line 793
I have not changed a thing on phpmyedit.inc...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
show us code
-Original Message-
From: Wild ! [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 3:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] warning/error
I get the following error:
Warning: Supplied argument is not a valid MySQL result resource in
Hi folks.
I am attempting to 'append' information to an Oracle CLOB and I seem to
be hitting snags everytime I try. We have a stored procedure for
appending to the CLOB but I can't seem to run it through the parser.
Here is the code in question:
// Append comment code
$clob =
Hello,
Can you give me a piece of code, where I could see, how to create random
written numbers and letters?
For example, I'd like to give my visitor temporary passwrord: BS0147. To
another HF0124 and so on...
How to generate it with PHP?
Sorry, if I didn;t explained clearly what I want.
At 25.09.2001 21:00, Rick Emery wrote:
show us code
Agreed!
But if I were you I'd check my query and optionally the output of
mysql_error() or try
the query with the mysql client...
8 out of 10 times it's a error in the query, 1 out of 10 it's a spelling
error (eg. $result and $rseult)
At 25.09.2001 22:46, Saulius Jankauskas wrote:
Hello,
Can you give me a piece of code, where I could see, how to create random
written numbers and letters?
For example, I'd like to give my visitor temporary passwrord: BS0147. To
another HF0124 and so on...
How to generate it with PHP?
Sorry,
For sprint it is [EMAIL PROTECTED]
-Original Message-
From: Eric O'Connell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 2:45 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Sending text messages to cell phone with PHP?
I got this message when i call the php script,
Fatal error: Call to undefined function: mysql_connect() in
/home/jaelee/public_html/test01.php on line 6
what's wrong?
thx
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
-Original Message-
From: Jae [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2001 12:18
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Error on connecting to mysql database
I got this message when i call the php script,
Fatal error: Call to undefined function: mysql_connect() in
thx a lot
Jason Wong [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó
01c14646$74b41ae0$[EMAIL PROTECTED]">news:01c14646$74b41ae0$[EMAIL PROTECTED]...
-Original Message-
From: Jae [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2001 12:18
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Error on connecting
24 matches
Mail list logo