[PHP-DB] Re: can PHP handle the new mysql-4.1.1 authentication method?

2004-04-17 Thread Felix Rabinovich
Oh, my god - I am so embarrassed. I thought I tried that, too; but obviously I didn't ;-/ Now, anybody knows about the plans to retrofit mysql_ functions to support 4.1, so we don't have to rewrite all mysql code? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sa

RE: [PHP-DB] Double Submission into DB if Hit Refresh

2004-04-17 Thread Peter Lovatt
Hi Add a hidden field into the form with a unique transaction ID. When the data is submitted first time save the transaction ID to a table. Before you do anything check to see if the transaction ID exists in the table, if not then you are ok to save the transaction ID and then add/update the dat

[PHP-DB] Double Submission into DB if Hit Refresh

2004-04-17 Thread Craig Hoffman
What is the best way to avoid data being resubmitted (entered twice) to DB (mysql) if the user hits refresh after POSTING data via a form? __ Craig Hoffman - eClimb Media v: (847) 644 - 8914 f: (847) 866 - 1946 e: [EMAIL PROTECTED] w: www.eclimb.net ___

[PHP-DB] can PHP handle the new mysql-4.1.1 authentication method?

2004-04-17 Thread Felix Rabinovich
Was anybody successful in connecting from PHP to MySQL with new (41-character) password authentication? All I am getting is "Client does not support authentication protocol requested by server. Consider upgrading MySQL client". I assume PHP needs to be recompiled with new MySQL client binaries. Is

Re: [PHP-DB] New To PHP

2004-04-17 Thread Tom Cloyes
Thanks again for all of your help. Not having any programming background makes for a lot of fun with PHP. T At 01:59 PM 4/15/04 +0100, Mikael Grön wrote: What I did to learn PHP was to surf to http://www.hotscripts.com/ and look at other peoples code. Writing it yourself looking at the hotscript

Re: [PHP-DB] Basic Doubts

2004-04-17 Thread Tom Cloyes
There is a program that I've found that will write the code for you from what you have set up in your MySQL database. It's called PHPMaker, and it is free to download a trial version which is good for 30 days. http://www.hkvstore.com/ is the URL. Being a newbie to PHP, this thing really helps.

Re: [PHP-DB] Problems switching from MySQL 3.23 -> 4.0

2004-04-17 Thread Eric George
Bump? [EMAIL PROTECTED] wrote: Hi, I have a page that grabs some data from a MySQL 3.23.58 database on a RedHat 9 box. I'm trying to migrate the db to a Suse box running MySQL 4.0.15. When I connect to the MySQL 4.0 DB, I get strange results. For example, there's a certain query that just retur

[PHP-DB] Re: Fatal error: Call to undefined function: mysql_connect()

2004-04-17 Thread David Robley
[EMAIL PROTECTED] (Tim) wrote in news:[EMAIL PROTECTED]: > Setup: > 2 servers, one with PHP 4.1.2 and no MySQL installed, the other has > MySQL and PHP 4.1.2 > > Problem: > I am attempting to connect to the MySQL server from the server without > MySQL, but I get the error that shows in the subje

[PHP-DB] Create subdomain using php in a linux machine

2004-04-17 Thread dhanya philip
Hi, I like to know how to create subdomain using php in a linux machine. Thank You Dhanya Yahoo! India Matrimony: Find your partner online.