Re: [PHP] Stripslashes

2010-11-16 Thread Adam Richardson
On Tue, Nov 16, 2010 at 10:10 PM, Gary wrote: > I was doing a test of stripslashes on a $_POST, when I recieved the email, > all of the slashes were still in the data posted. > > I used : > > $fname = stripslashes($_POST['fname']); > > I input G\\a//r\y\\, and was expecting, according to the manu

[PHP] Stripslashes

2010-11-16 Thread Gary
tion from ESET Smart Security, version of virus signature database 5625 (20101116) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mod rewrite - DMXzone's PHP Pagination

2010-11-16 Thread Richard West
Hello Guys, Gals, I've been working on a project of mine creating a custom little cms. I've managed to go by tutorials and reference material from the php site to get as far as I have. I've got search engine friendly links working with mod rewrite using mysql entry of page alias and my code is l

RE: [PHP] mysql help (sorry, a bit OT)

2010-11-16 Thread Tommy Pham
> -Original Message- > From: Gary [mailto:php-gene...@garydjones.name] > Sent: Tuesday, November 16, 2010 5:35 AM > To: php-general@lists.php.net > Subject: [PHP] mysql help (sorry, a bit OT) > > Is there a way to check the syntax of a query, short of running it? I've got an > insert to do

RE: [PHP] php running as module or cgi?

2010-11-16 Thread Tommy Pham
-Original Message- > From: John Hicks [mailto:johnl...@gulfbridge.net] > Sent: Friday, November 12, 2010 12:11 PM > To: php-general@lists.php.net > Subject: Re: [PHP] php running as module or cgi? > > On 11/11/2010 02:14 PM, Didier Gasser-Morlay wrote: > > On 11/11/2010 12:04 PM, Richard

RE: [PHP] Updating a GET variable

2010-11-16 Thread Tommy Pham
> -Original Message- > From: Nathan Rixham [mailto:nrix...@gmail.com] > Sent: Thursday, November 11, 2010 8:18 AM > To: Marc Guay > Cc: Tamara Temple; PHP General > Subject: Re: [PHP] Updating a GET variable > > Marc Guay wrote: > >> So all you need to do, is take a look at > >> $_SERVER['

Re: [PHP] protecting email addresses on a web site

2010-11-16 Thread Daniel P. Brown
On Tue, Nov 16, 2010 at 16:29, a...@ashleysheridan.co.uk wrote: > Sorry for top post on phone. > > Depending on the type of site and location an email address might be legally > required. For example, a business website in the UK requires a value email > address to be made accessible to all your

Re: [PHP] protecting email addresses on a web site

2010-11-16 Thread a...@ashleysheridan.co.uk
Sorry for top post on phone. Depending on the type of site and location an email address might be legally required. For example, a business website in the UK requires a value email address to be made accessible to all your visitors, which includes blind people, so no image-only addresses. Spam

Re: [PHP] protecting email addresses on a web site

2010-11-16 Thread TR Shaw
On Nov 16, 2010, at 4:02 PM, Bastien Koert wrote: > On Tue, Nov 16, 2010 at 3:36 PM, Grega Leskovšek wrote: >> I tried this: >> > class=\"safety\">sss>a/> a>"; >> ?> >> and css: >> .safety { direction:rtl; unicode-bidi: bidi-override; } >> for the address jocplus@gmail.com >> but I haven't m

Re: [PHP] protecting email addresses on a web site

2010-11-16 Thread Bastien Koert
On Tue, Nov 16, 2010 at 3:36 PM, Grega Leskovšek wrote: > I tried this: > class=\"safety\">sss>a/ a>"; > ?> > and css: > .safety { direction:rtl; unicode-bidi: bidi-override; } > for the address jocplus@gmail.com > but I haven't managed it to display properly > Could someone please direct me,

Re: [PHP] protecting email addresses on a web site

2010-11-16 Thread Grega Leskovšek
I tried this: sss>a/"; ?> and css: .safety { direction:rtl; unicode-bidi: bidi-override; } for the address jocplus@gmail.com but I haven't managed it to display properly Could someone please direct me, I believe if I put the mailto:jocplus@gmail.com";>vicaversa... it does not really protect

Re: [PHP] DOMDocument/DOMElement problem

2010-11-16 Thread Adam Richardson
Hmmm... Nothing really stands out to me, but as my wife would attest, I'm often less than observant. I would probably try sifting through fixes/upgrades in the change logs for possible conflicts and/or changes in behavior. Nothing jumped out at me after a quick glance. Sorry, Adam On Tue, Nov

[PHP] APC 3.1.5 never hitting cache - PHP-5.3.3 with APC-3.1.5-beta with Apache under Fedora Core 13

2010-11-16 Thread Yermo Lamers
Is this the correct place to ask questions about the APC extension? I'm evaluating APC. After installation, in my test cases it does not seem to be doing anything. The apc.php reports 1 hit, 1 miss regardless of how many times I hit pages on my site. I have also attempting to explicitly call

Re: FW: [PHP] Why the PEAR hate?

2010-11-16 Thread Steve Staples
On Tue, 2010-11-16 at 10:25 -0700, Hansen, Mike wrote: > > -Original Message- > > From: Hansen, Mike > > Sent: Tuesday, November 16, 2010 10:24 AM > > To: 'Daniel Brown' > > Subject: RE: [PHP] Why the PEAR hate? > > > > > -Original Message- > > > From: paras...@gmail.com [mailto:p

Re: FW: [PHP] Why the PEAR hate?

2010-11-16 Thread Daniel Brown
On Tue, Nov 16, 2010 at 12:25, Hansen, Mike wrote: > > Is PEAR supposed to be the CPAN for PHP, or is there another  repository of > PHP modules that is used by the typical PHP developer? PEAR is to PHP what CPAN is to Perl, yes but there's really no such thing as PHP modules that are "u

Re: FW: [PHP] Why the PEAR hate?

2010-11-16 Thread Richard Quadling
On 16 November 2010 17:25, Hansen, Mike wrote: >> -Original Message- >> From: Hansen, Mike >> Sent: Tuesday, November 16, 2010 10:24 AM >> To: 'Daniel Brown' >> Subject: RE: [PHP] Why the PEAR hate? >> >> > -Original Message- >> > From: paras...@gmail.com [mailto:paras...@gmail.com

FW: [PHP] Why the PEAR hate?

2010-11-16 Thread Hansen, Mike
> -Original Message- > From: Hansen, Mike > Sent: Tuesday, November 16, 2010 10:24 AM > To: 'Daniel Brown' > Subject: RE: [PHP] Why the PEAR hate? > > > -Original Message- > > From: paras...@gmail.com [mailto:paras...@gmail.com] On > > Behalf Of Daniel Brown > > > > Some of

Re: [PHP] Why the PEAR hate?

2010-11-16 Thread knl
On Tue, 16 Nov 2010 09:54:30 -0700 "Hansen, Mike" wrote: > http://www.reddit.com/r/PHP/comments/e6zs1/how_many_of_you_use_pear_in_your_projects/ > > I'm still pretty new to PHP. Why the hate for PEAR? I've used a > couple of PEAR modules without any issues. The few times I have looked at PEAR

Re: [PHP] Why the PEAR hate?

2010-11-16 Thread Daniel Brown
On Tue, Nov 16, 2010 at 11:54, Hansen, Mike wrote: > > http://www.reddit.com/r/PHP/comments/e6zs1/how_many_of_you_use_pear_in_your_projects/ > > I'm still pretty new to PHP. Why the hate for PEAR? I've used a couple of > PEAR modules without any issues. Some of the PEAR stuff is older and un

[PHP] Why the PEAR hate?

2010-11-16 Thread Hansen, Mike
http://www.reddit.com/r/PHP/comments/e6zs1/how_many_of_you_use_pear_in_your_projects/ I'm still pretty new to PHP. Why the hate for PEAR? I've used a couple of PEAR modules without any issues. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Kevin Kinsey
Richard Quadling wrote: On 16 November 2010 13:21, Jay Blanchard wrote: [snip] Hi Folks, is it possible to install PHP on IIS? If yes, can someone please guide me on how to go about doing it? Thanks [/snip] http://www.wampserver.com/en/ Jay, if that had been wimpserver ... I think it's

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Rico Secada
On Tue, 16 Nov 2010 12:16:25 +0530 Himani Aggarwal wrote: > Hi Folks, is it possible to install PHP on IIS? If yes, can someone > please guide me on how to go about doing it? Thanks Now, why would you wanna do something crazy like that?! :) -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] mysql help (sorry, a bit OT)

2010-11-16 Thread a...@ashleysheridan.co.uk
It's always best practice to have a staging server for testing these sorts of things. If in doubt, run it in a transaction, but don't commit it, I.e. roll it back. That way you'll see if it would run but nothing actually changes. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message

RE: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Jay Blanchard
[snip] http://www.wampserver.com/en/ [/snip] And yes, I know that this is Apache - I am just not a fan of IIS. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Richard Quadling
On 16 November 2010 13:21, Jay Blanchard wrote: > [snip] >>> Hi Folks, is it possible to install PHP on IIS? If yes, can someone > please guide me on how to go about doing it? Thanks > [/snip] > > http://www.wampserver.com/en/ > Jay, if that had been wimpserver ... -- Richard Quadling Twitter :

RE: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Jay Blanchard
[snip] >> Hi Folks, is it possible to install PHP on IIS? If yes, can someone please guide me on how to go about doing it? Thanks [/snip] http://www.wampserver.com/en/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Bastien
On 2010-11-16, at 6:55 AM, Richard Quadling wrote: > On 16 November 2010 06:46, Himani Aggarwal wrote: >> Hi Folks, is it possible to install PHP on IIS? If yes, can someone please >> guide me on how to go about doing it? Thanks >> > > PHP on IIS. Certainly. > > http://docs.php.net/manual/e

[PHP] DOMDocument/DOMElement problem

2010-11-16 Thread Peter Lind
I'm currently trying to parse a document with DOMDocument, and I'm having some serious problems. I created a script that runs fine on php 5.2.9, ripping out content using DOMNode::nodeValue. The same script fails to get any content on php 5.3.3 - even though it correctly navigates to the proper nod

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Richard Quadling
On 16 November 2010 06:46, Himani Aggarwal wrote: > Hi Folks, is it possible to install PHP on IIS? If yes, can someone please > guide me on how to go about doing it? Thanks > PHP on IIS. Certainly. http://docs.php.net/manual/en/install.windows.iis7.php : IIS7 specific instructions. http://docs.