[PHP-DB] Re: mySQL Binaries for Linux

2003-09-08 Thread nabil
You just untar it and copy it to a directory like /ur/local/mysql then copy php.ini to /etc you read the read me that is in the same directory shell> groupadd mysql shell> useradd -g mysql mysql shell> cd /usr/local shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf - s

[PHP-DB] Re: Newbie help

2003-09-08 Thread DragonEye WebDesign
> configuring PHP with apache is not that difficult, here's how you should do > it: > > You should get 2 files: php4apache.dll and php4ts.dll , normally you only get these files when you compile > PHP manually but conecting to PHP is much safer when you use these files, so if you need to download b

[PHP-DB] Re: All this spam crap

2003-09-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Spam may be a problem, but the solution seems to be even > more of a problem at the moment. > > Can anybody do something about all these spam warnings - > even if it means killing valid users until they fix their > copy of 'SPAMASSASIN

[PHP-DB] 2 problems

2003-09-08 Thread Balaji H. Kasal
Hi, I am facing 2 problems while using PHP along with form based HTML file. It takes inputs from the user and updates the DB. Problems, 1) Not able to grab and store the checkbox status. 2) Not able to check the correctness of entered interger value. I realized that form always submits (POST)

RE: [PHP-DB] 2 problems

2003-09-08 Thread Hutchins, Richard
Not really sure of the second part of your question, but, if I remember correctly, check boxes only appear in the POST vars if they're checked. And I'm pretty sure their values are ON. So, if you have a color checkbox named "red" and tha user checks it, it should show up as $_POST['color'] = ON. If

RE: [PHP-DB] 2 problems

2003-09-08 Thread jeffrey_n_Dyke
the value will be what ever you set the value to be in your html tag. if checked $_POST['color'] will equal "red". if unchecked, the index 'color' will not be in the $_POST array. hth Jeff

RE: [PHP-DB] Selection problem

2003-09-08 Thread Gary . Every
Try unset after the if statement if ($nameb == ""){ $query = "SELECT * FROM recipes WHERE points $pointsb"; } else { $query = "SELECT * FROM recipes WHERE name = '$nameb'"; $new_nameb = $nameb; unset($nameb); } Gary Every Sr. UNIX Administrator Ingram Entertainment (615) 287-4

[PHP-DB] Re: [SPAM?] [PHP-DB] Re: Approved - WARNING!!!!

2003-09-08 Thread jsWalter
This is the soBig virus! Do not open attachement! Do not open attachement! Some SMTP servers bounce entire messages, even with attachements! I hope the admin in here can remove this message from the server and NNTP server so other do not get catch opening this! Walter -- PHP Database Mailing

[PHP-DB] Re: [SPAM?] [PHP-DB] Re: Approved

2003-09-08 Thread jsWalter
This is the soBig virus! Do not open attachement! Do not open attachement! Some SMTP servers bounce entire messages, even with attachements! I hope the admin in here can remove this message from the server and NNTP server so other do not get catch opening this! Walter -- PHP Database Mailing

[PHP-DB] Where is libmysqlclient.so.10 file required for installing php-mysql rpm ?

2003-09-08 Thread shiv shukla
Hi All, We are using a seperate machine as mysql database server. we have few other machines as application server which will use mysql database from database server using php. Environment Redhat 8.0, Php 4.2.2-8.0.8, apache 2.0 I do not have mysql server or mysql client installed on applicati

[PHP-DB] Is it possible to open a .txt file into a recordset for validation?

2003-09-08 Thread karen97214
Want to allow users to upload .txt file and then loop through it's contents to validate and reject/accept based on results. Is this possible? Got any links, code, etc? Thanks __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://

Re: [PHP-DB] Is it possible to open a .txt file into a recordset for validation?

2003-09-08 Thread John W. Holmes
[EMAIL PROTECTED] wrote: Want to allow users to upload .txt file and then loop through it's contents to validate and reject/accept based on results. Is this possible? Got any links, code, etc? Yes. http://us2.php.net/manual/en/features.file-upload.php and then http://us2.php.net/manual/en/ref.f

[PHP-DB] Best method to search mySQL with PHP?

2003-09-08 Thread Jeff Lewis
Looking for input on best way to search an mySQL table using PHP. Using LIKE can't be good at all so I was looking into FULLTEXT but then I started to hear horror stories about the length of time it takes to build an index and return results on very large databases. Does anyone have any experi

[PHP-DB] Clueless abt Error with MySql

2003-09-08 Thread Robin Kopetzky
Good Evening! I have installed Mysql from RedHat 8.0 and am having difficulties starting mysql. I check the my.cnf file and it appears fine as all files it calls for are in the right directories. When I attempt to start mysql, I get a cannot connect through mysql.sock. What is causing this or put

Re: [PHP-DB] Clueless abt Error with MySql

2003-09-08 Thread John Coder
On Mon, 2003-09-08 at 19:56, Robin Kopetzky wrote: > Good Evening! > > I have installed Mysql from RedHat 8.0 and am having difficulties starting > mysql. I check the my.cnf file and it appears fine as all files it calls for > are in the right directories. When I attempt to start mysql, I get a ca