[PHP-DB] Zend IDE anyone?

2001-08-24 Thread Grant Boggs

Does anyone use the Zend IDE for development?

My code is getting complicated enough that I need a step-execute capable
debugger.  Where I can set breakpoints, watches, etc.  The normal type stuff
with any other language's IDE.

Zend IDE looks to fill the gap.  Any other recommendations?

--
==
Grant Boggs
http://www.cornersonesoftware.ws



-- 
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]




[PHP-DB] Re: Installation problem w MySQL

2001-08-24 Thread Grant Boggs

George Pitcher [EMAIL PROTECTED] wrote in message
01e501c12c7d$e9c831f0$[EMAIL PROTECTED]">news:01e501c12c7d$e9c831f0$[EMAIL PROTECTED]...
 I'm trying to compile PHP 4.0.6 on LinuxPPC and I keep tripping over the
 MySQL part. It just won't compile (can't find headers during the MySQL
bit).

 All the documentation points to there being a /usr/local/mysql/ folder but
 after my MySQL install (rpm) I don't have such a folder. The nearest I
have
 is:

 /usr/bin/which seems to have all the client stuff;
 /usr/bin/include which has several files with '.h' extensions
(headers?)
 /var/lib/mysqlwhich has the server/engine stuff
 /usr/local/php-4.0.6/ext/libmysql/  which appears to have more '.h' files.

Do a

locate mysqld

And see what that pops up.  If you did it by rpm, mysql is probably in a
/etc/mysql  directory.

--
======
Grant Boggs
http://www.cornersonesoftware.ws



-- 
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]




[PHP-DB] Re: Zend IDE anyone?

2001-08-24 Thread Grant Boggs

Grant Boggs [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Does anyone use the Zend IDE for development?

 My code is getting complicated enough that I need a step-execute
capable
 debugger.  Where I can set breakpoints, watches, etc.  The normal type
stuff
 with any other language's IDE.

 Zend IDE looks to fill the gap.  Any other recommendations?

I guess I should also note that I'm using Red Hat 7.1, Apache, mySQL,
and PHP 4.0.6.

--
======
Grant Boggs
http://www.cornersonesoftware.ws




-- 
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]




[PHP-DB] Re: Zend IDE anyone?

2001-08-24 Thread Grant Boggs

Steve Brett [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I have used the Zend IDE for php dev and found it to be superb.

 unfortunately the company i work for takes an age to get license
agreements
 arranged so our eval period had run out.

 it's very easy to set up - try the eval version first.

 Steve

Great!  Thanks!  I'm working on installing it now.

I'm a relative newbie to Linux, but it looks like because I use PHP with
Apache and mySQL, I have to recompile both of these products to get the Zend
debugger installed?

Recompiling now... heh

--
======
Grant Boggs
http://www.cornersonesoftware.ws



-- 
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]




[PHP-DB] Re: Zend IDE anyone?

2001-08-24 Thread Grant Boggs

Grant Boggs [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Steve Brett [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  no need to recompile.
 
  the debug server is a .so and only needs added lines php.ini

Woohoo!!!

I had a typo in my php.ini file!

Works like a charm.  Very cool.  I think this is what I might be
needing.  Was testing some stuff with it.  I like it so far!  Thanks for the
helpful pointers and saving me the headaches of recompiling!!!

--
======
Grant Boggs
http://www.cornersonesoftware.ws



-- 
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]




[PHP-DB] Komodo?

2001-08-24 Thread Grant Boggs

Anyone use Komodo to do remote debugging?

I can't get the remote debugger feature to work.  I have Linux Red Hat
7.1, apache, php 4.0.6.

When I start Komodo IDE, and load a web-page in my browser, the Komodo
IDE never seems to get connected.  It just sits in the listening mode
indefinitely.  The web page loads as normal BAH!
--
==
Grant Boggs
http://www.cornersonesoftware.ws



-- 
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]




[PHP-DB] Getting key of row just inserted into mySQL

2001-08-22 Thread Grant Boggs

What's the best way to get the primary key of a row just inserted into a
mySQL database?

If the primary key is autoincrement, I insert a row.  It's successful,
but now how to do I read back the key of this table?

Right now I'm adding a md5 hash of the session id into the row I'm
inserting, and then will read that row back.  But this seems clunky

Should I just go for a keytable approach?  Where I have a no
autoincrement fields and just a table that holds the key value for each
table.  When I insert a row, I lock the row of the keytable I'm inserting
int, update it's value, write it back, then use that key to insert into the
main table?

--
==
Grant Boggs
http://www.cornersonesoftware.ws



-- 
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] Getting key of row just inserted into mySQL

2001-08-22 Thread Grant Boggs

Matthew Loff [EMAIL PROTECTED] wrote in message
002b01c12b64$92e1cc80$0100a8c0@bang">news:002b01c12b64$92e1cc80$0100a8c0@bang...

 This has been covered countless times on the list...  :)

 http://www.php.net/manual/en/function.mysql-insert-id.php

I figured as much.  Thanks guys!

--
======
Grant Boggs
http://www.cornersonesoftware.ws



-- 
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]