Re: [PHP-DB] Error on connecting to mysql database

2001-09-25 Thread Jae
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

RE: [PHP-DB] Error on connecting to mysql database

2001-09-25 Thread Jason Wong
>-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 >/hom

[PHP-DB] Error on connecting to mysql database

2001-09-25 Thread Jae
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, e

RE: [PHP-DB] Sending text messages to cell phone with PHP?

2001-09-25 Thread olinux
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? http://www.nextel.com/support/faq/textnumericmessagi

Re: [PHP-DB] random created numbers and letters

2001-09-25 Thread Andreas D. Landmark
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?

RE: [PHP-DB] warning/error

2001-09-25 Thread Andreas D. Landmark
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) a

[PHP-DB] random created numbers and letters

2001-09-25 Thread Saulius Jankauskas
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. Than

[PHP-DB] Appending to a CLOB

2001-09-25 Thread Tom Tsongas
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 = OCINewDescriptor($

RE: [PHP-DB] warning/error

2001-09-25 Thread Rick Emery
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 /usr/local/www/htdoc

[PHP-DB] warning/error

2001-09-25 Thread Wild !
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 ad

RE: [PHP-DB] Sending text messages to cell phone with PHP?

2001-09-25 Thread Eric O'Connell
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

[PHP-DB] Sending text messages to cell phone with PHP?

2001-09-25 Thread Brian Tegtmeier
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 w

[PHP-DB] Require() and Performance hit...

2001-09-25 Thread Dan Brunner
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: [EMA

Re: [PHP-DB] MySQL Hash Function

2001-09-25 Thread Mitrana Cristian
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 user

[PHP-DB] php + oracle + apache on Compaq systems

2001-09-25 Thread Sabine Hoefler-Thierfeldt
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 fau

Re: [PHP-DB] Re: mysql_fetch_array() doesn't work

2001-09-25 Thread Andrey Hristov
My opinion is that there is a problem with the $query. May be the problem is like this select fname from some_table where lname=Smith; this is not good sql. I missed the quotes around Smith. or you make varaible substitution in the query string. Debug the code, instead of mysql_query($query); do

RE: [PHP-DB] Re: mysql_fetch_array() doesn't work

2001-09-25 Thread Rick Emery
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] Re:

[PHP-DB] sending an array into a stored procedure

2001-09-25 Thread Sumesh Nair
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%2Foci&id=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

[PHP-DB] Apache 2

2001-09-25 Thread Mike Dolan
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 admi

RE: [PHP-DB] Individual Lines of text

2001-09-25 Thread Boget, Chris
> 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

[PHP-DB] Re: mysql_fetch_array() doesn't work

2001-09-25 Thread Steve Brett
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 008501c1459e$5

[PHP-DB] Re: sessions in PHP

2001-09-25 Thread Steve Brett
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...

RE: [PHP-DB] MySQL Hash Function

2001-09-25 Thread Jason Wong
>-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

[PHP-DB] MySQL Hash Function

2001-09-25 Thread Russ Michell
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 th

[PHP-DB] mysql_fetch_array() doesn't work

2001-09-25 Thread Web user
System: PHP4.06 + Mysql3.23.41 Win32 + Apache 1.3.20 Win32 + Win98 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]