RE: [PHP] OO question

2001-12-11 Thread Chris Bailey
You can use the special name parent. e.g.: parent::baseClassFunction(); -Original Message- From: christian calloway [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 08, 2001 2:16 PM To: [EMAIL PROTECTED] Subject: [PHP] OO question I want to be able to override a

RE: [PHP] Good host needed

2001-11-29 Thread Chris Bailey
Check the mailing list archives. This topic comes up about once a month or so, and a lot of good hosts have been listed, all of which support PHP, MySQL, and typically have SSH or at least telnet access, FTP access, etc. -Original Message- From: Rudi Ahlers [mailto:[EMAIL PROTECTED]]

RE: [PHP] Very interesting and challenging question

2001-11-28 Thread Chris Bailey
You could read the file in with file(), which will give you each line as an array. Then, depending on how those strings are separated (are they by tabs, or is it just whitespace?), use strtok() to tokenize each line. If they are by space, not tab, but you know the column width, then you can

RE: [PHP] Re: Version Contol for PHP site

2001-11-19 Thread Chris Bailey
I'm maybe a little unclear on exactly what you want. It says Version Control in the subject, but then PHP debugging and such is discussed below. To me the two are independent subjects. So, some more general info... For version control I'd suggest either CVS or Perforce, depending on budget :)

RE: [PHP] Re: PHP versus all other languages

2001-11-16 Thread Chris Bailey
PEAR is another db abstraction layer, and potentially will be integrated into PHP. I use it for all my DB access (in PHP) now. In fact, I'd say it's more powerful and easier than using the mysql_ methods for example. PEAR uses the standard factory design pattern to determine which DB it's

RE: [PHP] Books for PHP and MySQL Class

2001-11-15 Thread Chris Bailey
PHP and MySQL Web Development by Welling and Thomson, from SAMS. ISBN 0-672-31784-2. An easy read, but covers everything you'd need. I'm a little biased as a reviewer for your particular needs, since I've been coding for many years, and thus skipped a bunch of the intro PHP language chapters,

RE: [PHP] PHP Highlighting Text Editors

2001-11-02 Thread Chris Bailey
Also, Visual SlickEdit works on Windows (in addition to Linux as mentioned), and FreeBSD, OS/390, and a slew of others. There is a list of editors out there somewhere, I know someone has posted a link before. There are many editors that do this. -Original Message- From: TD - Sales

RE: [PHP] Text Editor with Highlighting

2001-11-01 Thread Chris Bailey
Check the list archives, this topic gets covered almost weekly. But, for Linux (and various others): - Visual SlickEdit is awesome, but commercial (the cost is absolutely worth it, I'm extremely satisfied). It has function name completion, parameter completion (for PHP and many other langs),

RE: [PHP] Debugging aids (after the style of: Error management)

2001-10-26 Thread Chris Bailey
Sounds like getting a stack trace in various other languages. I know that Komodo and I think maybe a couple others has a built in debugger. It may (or may not) show you a stack trace/call trace display. -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: Friday, October

RE: [PHP] Looking for a text editor for Mac

2001-10-25 Thread Chris Bailey
Out of curiosity, what's wrong with BBEdit, that'd be my choice. It has color syntax highlighting for PHP, and is IMHO, the best editor on MacOS. Another one I used briefly was Alpha. So, if BBEdit isn't to your liking, maybe check out Alpha. I don't know if Alpha is still being kept up or

RE: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Chris Bailey
Check out the manual section on default parameters... But the basics are: function top($image = null) { if ($image) ... else ... } Or maybe: That will set image to be null, so that you can call top either as: top(); or

RE: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Chris Bailey
It could be, but then you would have two spaces in between the 2nd and 3rd blah, instead of just the one space. But, depending on your actual application, this may work out. -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 10:41 AM To: Arpad

RE: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Chris Bailey
: [PHP] how do i give optional arguments to functions?? Chris Bailey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Check out the manual section on default parameters... But the basics are: function top($image = null) { if ($image) S

RE: [PHP] IDE for Linux

2001-10-21 Thread Chris Bailey
You can try ActiveState's Komodo. http://www.activestate.com/Products/ASPN_Komodo/ It supports PHP, Perl, Python, etc., has a debugger, pretty cool editor, etc. It's only a 1.0 (at least the last time I used it), but was pretty solid for a 1.0. What are you looking for in an IDE?

RE: [PHP] IDE for Linux

2001-10-21 Thread Chris Bailey
Visual SlickEdit is available on Linux, Win32, and about a dozen other platforms (except MacOS). I use it on both Windows and Linux (was one of the reasons I chose it, although now that I've used it, I have many others :) It's a great editor, worth every penny I spent on it. Komodo has a Win32

RE: [PHP] PHP editing

2001-10-21 Thread Chris Bailey
If you're on RedHat, then you could also use vi/vim/gvim, Emacs/XEmacs, and I think RH 6.2 probably also had Glimmer, NEdit, and some others. You could also search the archives of this list since this topic gets asked a lot :) Try Active State's Komodo (http://www.activestate.com), which is an

[PHP] Articles on OO apps in PHP, also Object-Relational mapping in PHP?

2001-10-19 Thread Chris Bailey
, and there is no encapsulation/data hiding, and classes/objects aren't used much. Pointers to any material of this nature would be appreciated. Chris Baileymailto:[EMAIL PROTECTED] Code Intensity http://www.codeintensity.com -- PHP General Mailing List (http://www.php.net

RE: [PHP] PHP with Java

2001-10-18 Thread Chris Bailey
Did you enable the java extension? In your php.ini file, you need to enable the extension, and then also enable/properly set all the stuff in the [Java] section. This will tell PHP where your JDK is, etc. -Original Message- From: Aku [mailto:[EMAIL PROTECTED]] Sent: Thursday, October

RE: [PHP] Database editor

2001-10-05 Thread Chris Bailey
Also try Mascon and FreeMascon. Note, these run on Win32, so the other tool someone mentioned is not the one and only Win32 tool for this :) FreeMason will let you edit tables and such. Step up to Mascon to get things like administrative editing.

RE: [PHP] Database editor

2001-10-05 Thread Chris Bailey
As a couple others posted, if you want it to be PHP, then phpMyAdmin, http://sourceforge.net/projects/phpmyadmin. -Original Message- From: MrBaseball34 [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 9:45 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Database editor In article

RE: [PHP] Re: PHP is a Bloated Kludge, discuss!

2001-10-04 Thread Chris Bailey
Ben, I think you hit on one of the key points of PHP in the latter part of your email. My take is that PHP is designed to be quick to learn, quick to use, and somewhat simple (not in a bad way). I agree that as compared to most languages, more than usual is packed into the base system. But,

RE: [PHP] A powerful editor!

2001-10-03 Thread Chris Bailey
I personally use Visual SlickEdit as my primary editor for almost any coding work. But, it's commercial. Having said that, in light of this being a PHP list, another one to throw out there is Active State's Komodo (which doesn't run on the Mac, so stick with BBEdit there - which is a superb

RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Chris Bailey
You could also consider possibly the reverse of what you're doing. I'm not sure if it would actually work well, nor can I give you real details on how to do it, but you can always use Java classes from PHP. Depending on how much SOAP is needed/used across your site, you could continue with PHP

RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Chris Bailey
don't get a feeling that I'd have near the level of functionality, and quality (or solidity/maturity of code) as I would with the various Java based tools. -Original Message- From: Dahnke, Eric [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 10:46 AM To: 'Chris Bailey' Cc: '[EMAIL

RE: [PHP] GOOD web hosting

2001-09-04 Thread Chris Bailey
Someone else just mentioned this one to me, looks very inexpensive: http://www.simonweb.com/standardunix/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP] How to do Add More/expanding forms?

2001-08-30 Thread Chris Bailey
of the buttons. I've looked around online for solutions to this, but haven't found any. Can someone point me in the right direction? Chris Baileymailto:[EMAIL PROTECTED] Code Intensity http://www.codeintensity.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail