Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread David Merryweather
MAMP does support SSL by default (OpenSSL). On 2/14/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: But does MAMP support SSL? Not when I tried it. I got Xampp working, although some extensions appear a bit flakey. But so far, everything works -- SSL, curl, mhash, mcrypt...GD as soon as I get my fon

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread David Merryweather
I haven't tried the Zend IDE with the current MAMP. I do know that it has built in support for the Zend Optimizer. On 2/14/07, Mark Withington <[EMAIL PROTECTED]> wrote: I agree, MAMP is nice although I did have trouble getting the Zend IDE to work with it. Could be a problem with Zend on MacO

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
But does MAMP support SSL? Not when I tried it. I got Xampp working, although some extensions appear a bit flakey. But so far, everything works -- SSL, curl, mhash, mcrypt...GD as soon as I get my fonts worked out... Has anyone tried Komodo for the MAC? On Wed, 14 Feb 2007 21:59:45 -0500, Mark Wi

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Mark Withington
I agree, MAMP is nice although I did have trouble getting the Zend IDE to work with it. Could be a problem with Zend on MacOSX - at the time they didn't have the Mac binary (as I recall) On 2/14/07, David Merryweather <[EMAIL PROTECTED]> wrote: I would suggest using MAMP (http://www.mamp.info/

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread David Merryweather
I would suggest using MAMP (http://www.mamp.info/en/index.php) I'm not impressed with Apple's job on their Apache implementation. MAMP is elegant, efficient and easy to use and implement. The whole thing loads to a folder, start and stop MySQL and Apache with a gui utility and it runs fast. It

Re: [nyphp-talk] OT: Random MySQL question

2007-02-14 Thread Flavio daCosta
On 02/14/2007 05:14 PM, Jon Baer wrote: > Interesting how you can walk down the entire list to produce the order > you need like that. Yes, and to elaborate a bit more from my earlier post, you could put the series in the FIELD() and then sort strictly from that. SELECT id, categories FR

Re: [nyphp-talk] capricious submission of forms

2007-02-14 Thread csnyder
On 2/14/07, Chris Shiflett <[EMAIL PROTECTED]> wrote: Tedd Sperling wrote: > > Can you explain what a screen reader would do with this? > > > > Please click the accessibility icon. > > > data="access.swf" style="width: 30px; height: 30px;"> > > > > > > No, I can't explain what a screen reader

[nyphp-talk] php web search engine

2007-02-14 Thread Corey Fogarty
This is a pretty good system from the O¹Reilly PHP Cookbook, page 514 Program: Site Search. Corey Corey Fogarty BMF Enterprises www.bmfenterprises.com 908.995.4711 > Message: 2 > Date: Wed, 14 Feb 2007 17:00:05 -0500 > From: David Krings <[EMAIL PROTECTED]> > Subject: Re: [nyphp-talk] php web

[nyphp-talk] Debugging PHP w/ Firebug

2007-02-14 Thread Jon Baer
Article detailing nice simple tips on how to embed Javascript code for dumping info to the console ... http://ajax.phpmagazine.net/2007/02/how_to_use_firebug_to_debug_ph.html http://www.appelsiini.net/~tuupola/312/debugging-php-with-firebug - Jon ___

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Jon Baer
You would create it on your own ... mkdir ~/.MacOSX; nano ~/.MacOSX/environment.plist This is what my file looks like, YMMV ... www.apple.com/DTDs/PropertyList-1.0.dtd"> RUBY /opt/local/bin/ruby CVS_RSH ssh SSH_AUTH_SOCK /tmp/501/SSHKeychain.s

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
XAMPP is working. And I'm looking for another IDE. Goodbye Zend. I've been faithful, but time to move on... Perhaps Komodo? Compiling from scratch seems to be a tedious, albeit worthwhile exorcise. There are lots of tutorials on the web, but perhaps it would make a good phundamentals. This entire

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
The key is just to make sure that your PATH is pointing to the correct apachectl (even the one in ~/.MacOSX/environment.plist) > > - Jon > I don¹t see that file. Where is it? ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/li

Re: [nyphp-talk] php web search engine

2007-02-14 Thread Néstor
I just download several search engines from freshmeat.net and I will look into it to see which one fits us better internally. The only java base search engine that I downloaded is Lucene, but I need to install tomcat, the rest of them are php or perl based. Thanks for your replies, Néstor On 2

Re: [nyphp-talk] PHP/SQL ECommerce Solutions

2007-02-14 Thread Ben Sgro \(ProjectSkyline\)
Hello Hans, Thanks so much. I have limited experiance w/Joomla, and have recently been implementing smarty templates in my new applications. I really like the templates. Thanks for the example site. I have adjusted my quote to provide *enough* time to learn this new tool. Thanks for your resp

Re: [nyphp-talk] php web search engine

2007-02-14 Thread Jon Baer
It really depends on how many documents you are looking to index + how much content you want in memory for fast retrieval ... what makes the GSA stand out is clearly the PageRank algorithm used. - Jon On Feb 14, 2007, at 5:09 PM, Donald J Organ IV wrote: They make something a little cheaper

Re: [nyphp-talk] PHP/SQL ECommerce Solutions

2007-02-14 Thread Hans C. Kaspersetz
I will take a shot at this one. My group has installed/customized X-Cart a handful of times for clients. It is a very feature rich eCommerce solution. Their support is pretty darn good and the software works well. The problem with X-Cart is it is a very feature rich piece of software and i

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
I got PHP 5.2 running again using Xampp. Think I¹ll just stick with that and wait for Zend supports OSX Intel remote debugging. Any other debugging solutions out there? On 2/14/07 4:59 PM, "Phillip B. Roberts" <[EMAIL PROTECTED]> wrote: > Cliff, > > I don't have a ton of experience with OSX, o

Re: [nyphp-talk] php web search engine

2007-02-14 Thread Jon Baer
Depending on the size of the index you need to produce the ZendFrameworks has a port of Lucene in PHP5 ... http://framework.zend.com/wiki/display/ZFDOCDEV/20.+Zend_Search The nice thing is that the file formats are fully compatible so you can use already available Lucene tools to build ...

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Rob Marscher
I have XAMPP for Mac OSX running. Seems to be ok... although the current version for my Intel-Mac installed PHP 5.2... so that's not a help for you. I sort of prefer compiling from source because there's usually something missing that I need from these apache/php bundles and they tend put th

Re: [nyphp-talk] OT: Random MySQL question

2007-02-14 Thread Jon Baer
Interesting how you can walk down the entire list to produce the order you need like that. On Feb 14, 2007, at 3:51 PM, Flavio daCosta wrote: On 02/14/2007 03:37 PM, Jon Baer wrote: Interesting question but this *would* seem to work ... select id, categories from dd_categories where id in (

Re: [nyphp-talk] php web search engine

2007-02-14 Thread Daniel Leslie
Hi Néstor, We've had success with variations of Lucene, the Java-based engine developed by the Apache folks. In particular you may wish to explore PyLucene (Python) and Zend_search_lucene (PHP). Regards, Dan Néstor wrote: Guys, I need to install a php search engine in our intranet. an

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Jon Baer
On the Developer CD there should be a package file you can run which should get you back (this may be the same as http://www.apple.com/ downloads/macosx/unix_open_source/apache.html), Ive been using MacPorts more and more after trying every other alternative (MAMP included) and find it to be

Re: [nyphp-talk] php web search engine

2007-02-14 Thread Donald J Organ IV
They make something a little cheaper called the google mini, dont know hwo much cheaper though. Néstor wrote: Donald thanks for your recommendation but that is too expensive. Sorry, I did not explained myself better. I need a free search engine for our intranet(as within the company only), pr

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
I checked that out. No problems there. On 2/14/07 4:57 PM, "Mark Withington" <[EMAIL PROTECTED]> wrote: > Did you check your "personal" httpd.conf? Should be in the etc/httpd/users > folder. There might be some hocus-pocus going on there > > On 2/14/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote:

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
On 2/14/07 4:54 PM, "Kenneth Downs" <[EMAIL PROTECTED]> wrote: > Cliff Hirsch wrote: >> Apache/PHP on MAC OSX I asked before, but I¹m still having trouble. I blew >> up the default OSX Apache after trying to switch from Entropy PHP 5.2 to >> 5.1.6 because Zend doesn¹t support 5.2 for remote debug

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Phillip B. Roberts
Cliff, I don't have a ton of experience with OSX, other than my wife runs OSX 10.3 on her Macintosh, however, when my *nix box was broken for awhile I was running XAMPP on her Macintosh with out problem. Thanks, pbr On Wed, 2007-02-14 at 16:48 -0500, Cliff Hirsch wrote: > I asked before, bu

Re: [nyphp-talk] php web search engine

2007-02-14 Thread Néstor
Donald thanks for your recommendation but that is too expensive. Sorry, I did not explained myself better. I need a free search engine for our intranet(as within the company only), preferable in perl, php or Java(as a last resource). I was wondering what you guys recommend. Thanks, Néstor :-)

Re: [nyphp-talk] php web search engine

2007-02-14 Thread David Krings
Néstor wrote: Guys, I need to install a php search engine in our intranet. any recommendations? Thanks, Néstor :-) I made good experiences with swish-e. Very easy to use after reading the documentation and it also searches PDFs, something that most search engines do not do...I mean the

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Mark Withington
Did you check your "personal" httpd.conf? Should be in the etc/httpd/users folder. There might be some hocus-pocus going on there On 2/14/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: I asked before, but I'm still having trouble. I blew up the default OSX Apache after trying to switch from Ent

RE: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Timothy Boyden
You could do an Archive and Re-Install installation of your O/S, that should restore the original configuration without affecting your user data and installed applications... http://docs.info.apple.com/article.html?artnum=107120 -Tim From: [EMAIL PROTECTED] [m

Re: [nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Kenneth Downs
Cliff Hirsch wrote: I asked before, but I'm still having trouble. I blew up the default OSX Apache after trying to switch from Entropy PHP 5.2 to 5.1.6 because Zend doesn't support 5.2 for remote debugging. Now I can't get the default OSX Apache to run. I have MAMP running, but it doesn't appe

[nyphp-talk] Apache/PHP on MAC OSX

2007-02-14 Thread Cliff Hirsch
I asked before, but I¹m still having trouble. I blew up the default OSX Apache after trying to switch from Entropy PHP 5.2 to 5.1.6 because Zend doesn¹t support 5.2 for remote debugging. Now I can¹t get the default OSX Apache to run. I have MAMP running, but it doesn¹t appear to support SSL, althou

Re: [nyphp-talk] Writing Database Agnostic Code

2007-02-14 Thread Kenneth Downs
Brian Dailey wrote: A lot of the books and other material that I've been reading talk about database abstraction - developing your application so that you can use different database backends without significant (or maybe any) changes to your code. Pear::DB seems to really do a good job with th

Re: [nyphp-talk] php web search engine

2007-02-14 Thread Donald J Organ IV
http://www.google.com/enterprise/gsa/ Néstor wrote: Guys, I need to install a php search engine in our intranet. any recommendations? Thanks, Néstor :-) ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listi

Re: [nyphp-talk] OT: Random MySQL question

2007-02-14 Thread Flavio daCosta
On 02/14/2007 03:37 PM, Jon Baer wrote: > Interesting question but this *would* seem to work ... > > select id, categories from dd_categories where id in (21, 20, 13, 3, 22, > 31) order by id = 21 desc; > > Anyone else test, confirm or answer why? id = 21 is evaluated to TRUE or FALSE and then s

[nyphp-talk] php web search engine

2007-02-14 Thread Néstor
Guys, I need to install a php search engine in our intranet. any recommendations? Thanks, Néstor :-) ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com

Re: [nyphp-talk] OT: Random MySQL question

2007-02-14 Thread Jon Baer
Interesting question but this *would* seem to work ... select id, categories from dd_categories where id in (21, 20, 13, 3, 22, 31) order by id = 21 desc; Anyone else test, confirm or answer why? - Jon On Feb 14, 2007, at 1:46 PM, Adrian Noland wrote: Hi all, I have an obscure MySQL quest

Re: [nyphp-talk] PHP/SQL ECommerce Solutions

2007-02-14 Thread Ben Sgro \(ProjectSkyline\)
Hello Again, To be more specific, since this email has generated no responses, can anyone elaborate on experiances they have had w/X-Cart? Reading about it online, it would appear as a pretty good solution. Again, this is my firms first ecommerce site, so I'd rather not make too many beginner m

Re: [nyphp-talk] capricious submission of forms

2007-02-14 Thread Phillip B. Roberts
True, very true :) On Wed, 2007-02-14 at 14:35 -0500, tedd wrote: > At 2:24 PM -0500 2/14/07, Phillip B. Roberts wrote: > >I have come across sites where the CAPTCHA is so horridly impossible > >to read that I get frustrated and move on. I have 20/20 eye vision, > >and no other known handicapp

Re: [nyphp-talk] capricious submission of forms

2007-02-14 Thread tedd
At 2:24 PM -0500 2/14/07, Phillip B. Roberts wrote: I have come across sites where the CAPTCHA is so horridly impossible to read that I get frustrated and move on. I have 20/20 eye vision, and no other known handicapps except being a crazed php programmer :) Well, that should be enough reason

Re: [nyphp-talk] OT: Random MySQL question

2007-02-14 Thread David Krings
Adrian Noland wrote: Hi all, I have an obscure MySQL question I hope someone can answer: I have the following query: select id, categories from dd_categories where id in (21, 20, 13, 3, 22, 31); I want category 21 to show up first in the list. It appears the default order is by id which puts

Re: [nyphp-talk] capricious submission of forms

2007-02-14 Thread tedd
At 2:08 PM -0500 2/14/07, Chris Shiflett wrote: Tedd Sperling wrote: > Can you explain what a screen reader would do with this? > > Please click the accessibility icon. > data="access.swf" style="width: 30px; height: 30px;"> > > No, I can't explain what a screen reader would do with i

Re: [nyphp-talk] capricious submission of forms

2007-02-14 Thread Phillip B. Roberts
I have come across sites where the CAPTCHA is so horridly impossible to read that I get frustrated and move on. I have 20/20 eye vision, and no other known handicapps except being a crazed php programmer :) On Wed, 2007-02-14 at 14:19 -0500, Chris Shiflett wrote: > Tedd Sperling wrote: > > I've

Re: [nyphp-talk] capricious submission of forms

2007-02-14 Thread Chris Shiflett
Tedd Sperling wrote: > I've tried that scheme before, but it was shot down by the > accessibility movement. No matter how simple the questions, it > was problematic. Asking users to enter my first name is no less accessible than asking them to provide their own. What is this accessibility movement

Re: [nyphp-talk] OT: Random MySQL question

2007-02-14 Thread Flavio daCosta
On 02/14/2007 01:46 PM, Adrian Noland wrote: > I have the following query: > select id, categories from dd_categories where id in (21, 20, 13, 3, 22, > 31); > > I want category 21 to show up first in the list. SELECT id, categories FROM dd_categories WHERE id IN (21, 20, 1

Re: [nyphp-talk] capricious submission of forms

2007-02-14 Thread Chris Shiflett
Tedd Sperling wrote: > > Can you explain what a screen reader would do with this? > > > > Please click the accessibility icon. > > > data="access.swf" style="width: 30px; height: 30px;"> > > > > > > No, I can't explain what a screen reader would do with it. However, > if someone could explain t

[nyphp-talk] OT: Random MySQL question

2007-02-14 Thread Adrian Noland
Hi all, I have an obscure MySQL question I hope someone can answer: I have the following query: select id, categories from dd_categories where id in (21, 20, 13, 3, 22, 31); I want category 21 to show up first in the list. It appears the default order is by id which puts #3 at the front. I can't

Re: [nyphp-talk] capricious submission of forms

2007-02-14 Thread tedd
At 1:37 PM -0500 2/13/07, Dan Cech wrote: Chris Shiflett wrote: Before anyone notes my hypocrisy, my blog requires people to indicate my first name in order to post a comment, and although I might adopt a > better approach, at least this approach is accessible. I haven't needed to implement

Re: [nyphp-talk] capricious submission of forms

2007-02-14 Thread tedd
At 12:22 PM -0500 2/13/07, Chris Shiflett wrote: Tedd Sperling wrote: I dislike CAPTCHA's as well, but am trying to come up with some alternate solutions, such as: http://xn--nvg.com/captcha Granted, they are not prefect -- but they do offer more accessibility. The audio solution is curre

Re: [nyphp-talk] Writing Database Agnostic Code

2007-02-14 Thread David Krings
Brian Dailey wrote: A lot of the books and other material that I've been reading talk about database abstraction - developing your application so that you can use different database backends without significant (or maybe any) changes to your code. Pear::DB seems to really do a good job with thi

Re: [nyphp-talk] Writing Database Agnostic Code

2007-02-14 Thread Allen Shaw
Brian Dailey wrote: So my question boils down to this: how does one balance writing code that works regardless of the backend and still keep things optimized for speed and clarity? Are there any generalized tips that any of you can share from your experiences? Don't forget to ask how portable

[nyphp-talk] PHP/SQL ECommerce Solutions

2007-02-14 Thread Ben Sgro \(ProjectSkyline\)
Hello all, I know this is a questions that has been covered before, so I am hoping someone can point me to an URL or white paper. I'm looking to build something similiar to shopzilla.com (w/out the comparision mechanism). An e-commerce site w/the ability for my client to update content, post

RE: [nyphp-talk] Writing Database Agnostic Code

2007-02-14 Thread Timothy Boyden
>From my experience the answer is "it depends". If you use the PHP ODBC functions, you'll pretty much be able to communicate with any database that supports ODBC access without having to change your code. However you will be restricted to the basic ODBC functions and database specific optimizatio

[nyphp-talk] Writing Database Agnostic Code

2007-02-14 Thread Brian Dailey
A lot of the books and other material that I've been reading talk about database abstraction - developing your application so that you can use different database backends without significant (or maybe any) changes to your code. Pear::DB seems to really do a good job with this. However... In the p