[nyphp-talk] Need About creating search

2007-11-20 Thread birgunj birgunj
Dear All, i am making website using php and mysql.i want to add search option in mysite so that when user search ,it search my entire site and display the result with respective page? i have no exprience about creating search.if anybody has any idea or article or material ,please sh

Re: [nyphp-talk] DOM XML questions

2007-11-20 Thread Rob Marscher
On Nov 19, 2007, at 6:05 PM, Ajai Khattri wrote: Anyone here familiar with the DOM XML functions in PHP? ...snip... But how do I "cast" the DOM Element to DOM Nodes that appendChild() needs? Not sure you'd want to consider this... but I've found the SimpleXML library *much* easier to work

Re: [nyphp-talk] Re: can connect to MySQL from command line, but not from script

2007-11-20 Thread Allen Shaw
David Mintz wrote: Solved. You guys are the greatest!! (-: Always happy to help, David. - A. -- Allen Shaw slidePresenter (http://slides.sourceforge.net) ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk N

[nyphp-talk] Re: can connect to MySQL from command line, but not from script

2007-11-20 Thread David Mintz
'tail /var/log/messages' outputs the hot tip to run sealert which tells you flat out: '/usr/sbin/setsebool -P httpd_can_network_connect=1' Solved. You guys are the greatest!! (-: On Nov 20, 2007 3:34 PM, David Mintz <[EMAIL PROTECTED]> wrote: > Wait a second. When invoked from the command line

[nyphp-talk] Re: can connect to MySQL from command line, but not from script

2007-11-20 Thread David Mintz
Wait a second. When invoked from the command line, PHP can do it: [EMAIL PROTECTED] test]# php test.php alleluyah But not when Apache runs same code -- ah, we have one of those SELinux issues, don't we? On Nov 20, 2007 3:30 PM, David Mintz <[EMAIL PROTECTED]> wrote: > I just installed CentOS 5 a

[nyphp-talk] can connect to MySQL from command line, but not from script

2007-11-20 Thread David Mintz
I just installed CentOS 5 and I need to connect to a MySQL server on another box. I can do it from the command line but not from PHP. These old scripts use PEAR DB. Thus: mysql -utestuser -psecret -hinterps2 test Your MySQL connection id is 20491 to server version: 5.0.17-standard-log mysql> But

Re: [nyphp-talk] My first symfony site

2007-11-20 Thread Ajai Khattri
On Tue, 20 Nov 2007, Paul Houle wrote: > Doctrine ORM , however, looks like a dream. My next symfony > project will use Doctrine, even though that means fewer plugins and > builders will be available. Yeah, migrations rock. > Symfony's documentation is better than other PHP framewo

Re: [nyphp-talk] My first symfony site

2007-11-20 Thread Jon Baer
Thanks for sharing your experience. The migrations technique looks extremely promising (and familiar :-) ... http://doctrine.pengus.net/index.php/documentation/manual?chapter=migration - Jon On Nov 20, 2007, at 7:42 AM, Paul Houle wrote: I just finished a small project with symfony at htt

[nyphp-talk] My first symfony site

2007-11-20 Thread Paul Houle
I just finished a small project with symfony at http://spoonriveranthology.net/ There are a lot of cool things about the site, such as a drag and drop editor for relationships between people, that are in an administrative interface that you can't see. Overall I like the symfony ap