Re: [PHP-DB] Apache 2

2001-09-26 Thread Edward Marczak

On 9/25/01 8:49 AM, Mike Dolan [EMAIL PROTECTED] pressed the keys
forming the message:

 Does anyone know of a good tutorial/walkthrough on how to get apache2,
 mysql, and php working in linux?

I recently set up a server aiming at this...couldn't get PHP running under
Apache 2.0.  Downloaded 1.3.20, and have the above combination working
perfectly.  So, unless you need something in 2.0, perhaps you'd consider the
latest 1.x.
-- 
Ed Marczak
[EMAIL PROTECTED]


-- 
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 administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Dynamic Drop Down Box

2002-03-06 Thread Edward Marczak

On 3/5/02 3:34 PM, Leotta, Natalie (NCI/IMS) [EMAIL PROTECTED]
wrote:

 This can be done with JavaScript - I don't know if you can do it in PHP.

...unless the drop-downs are on separate pages.  E.g.: page 1 just asks for
make, once selected, load up page 2 with choices appropriate to the first
drop down.  Certainly, javascript is cooler.
-- 
Ed Marczak
[EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] mail() function

2002-06-10 Thread Edward Marczak

On 6/10/02 5:02 AM, Dib, Walid (MED, Stagiaire GEMS) [EMAIL PROTECTED]
pressed the keys forming the message:

 Hello
 
 I want to test the mail() function locally, i'm using esays php, how can I
 do that?

Not sure what esays php is, but you don't say what platform you're on.
Basically, you need some kind of mail server.  If you're on Linux or MacOS
X, great: you've got sendmail built in.  If you're on Windows, you either
need an SMTP product running locally, or you need one you can connect to.
-- 
Ed Marczak
[EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] Get the ts of the last change???

2002-06-18 Thread Edward Marczak

On 6/17/02 5:18 AM, Alex Elderson [EMAIL PROTECTED] pressed the keys forming
the message:

 Hi,
 
 Is it possible to get the time of the last change of a mysql table?? in php?

Sure.  Try this:

$info = mysql_fetch_array(mysql_query(show table status from dbname like
'tablename'));
echo Last update for tablename: .$info[Update_time];

Enjoy.
-- 
Ed Marczak
[EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] MySQL Clustering, redundancy

2002-06-18 Thread Edward Marczak

On 6/18/02 9:19 AM, Adam Voigt [EMAIL PROTECTED] pressed the keys
forming the message:

 I have never actually tried to program against something which talks to
 multiple DB's, the quickest way would be in your DB connection code to
 have something that will either:
 
 A. Try the first DB and connect to the second if it's down.
 B. Randomly choose a SQL server.
 
 The most fluid solution I could think of would be an application
 gateway of some sort which will load balance properly to different IP's
 while in your code you only point to one.

I vaguely remember an article talking about how to implement your choice A.
Try weberdev or maybe even webmonkey (heck - just try google.).
-- 
Ed Marczak
[EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] Debugging/monitoring traffic to MySQL

2002-07-18 Thread Edward Marczak

On 7/18/02 8:30 PM, Clive Bruton [EMAIL PROTECTED] wrote:

 Is there a way to see the traffic between PHP and MySQL, ie see the
 statements/raw data that is sent between the two processes.
 
 I've tried running the MYSQL client, but there doesn't seem to be any
 obvious command to do this. Some other terminal process?
 
 I'm running MacOS X.

If you fire up mysql with the --log option, you can tail the log and watch
everything that's going on in your database.  Otherwise, if you want to make
life difficult, do a packet trace.
-- 
Ed Marczak
[EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php