[prev in list] [next in list] [prev in thread] [next in thread] 

List:       phpug-ie
Subject:    Re: [Phpug] Code Question
From:       Brian Gallagher <sinkingfish () gmail ! com>
Date:       2009-06-26 11:20:53
Message-ID: d8f074780906260420t184f3aefqb9fbcac755b23d46 () mail ! gmail ! com
[Download RAW message or body]

Magic quotes could be on in your php.ini file. Check
phpinfo()<http://us2.php.net/manual/en/function.phpinfo.php>to see,
and if so amend your ini file.

-Brian



On Fri, Jun 26, 2009 at 9:24 AM, Gerard Hooton <g.hooton@ucc.ie> wrote:

> I am using PHP/5.2.6-1+lenny3
>
>
> -----Original Message-----
> From: Christian van den Bosch <cjb@cjb.ie>
> Reply-To: Irish PHP User Group <phpug@lists.iephpug.org>
> To: Irish PHP User Group <phpug@lists.iephpug.org>
> Subject: Re: [Phpug] Code Question
> Date: Fri, 26 Jun 2009 09:19:08 +0100
> Mailer: Thunderbird 2.0.0.21 (X11/20090318)
>
> Actually, it's worth noting that if magic quotes are enabled, you're
> probably running a very old version of PHP no longer supported by
> security updates.
>
> It looks like you also have register_globals enabled, which is also very
> much deprecated. Google that too.
>
> Cheers
>
> cjb
>
> Christian van den Bosch wrote:
> > You're getting bitten by "magic quotes". Have a google for same.
> >
> > Gerard Hooton wrote:
> >> Sorry for such a rudimentary question!
> >>
> >>
> >> I have a variable $name = "O'Sullivan"
> >> When I do echo ("$name");
> >> I Get O\'Sullivan
> >> How do I get rid of the \ ?
> >>
> >>
> >>
> >>
> >
> >
>
>
> --
> Gerard Hooton.
> Department of Microelectronic Engineering U.C.C.
> Butler Building,
> Enterprise Centre,
> North Mall.
> Cork.
>
> Tel: +353 21 4904576
> Fax: +353 21 4904573
> http://www.ue.ucc.ie/
>
>
>
> _______________________________________________
> Phpug mailing list
> Phpug@lists.iephpug.org
> http://lists.iephpug.org/mailman/listinfo/phpug
> Member Map http://www.frappr.com/irishphpusersgroup/
> Membership Planner Calendar: http://tinyurl.com/opjd5
>
_______________________________________________
Phpug mailing list
Phpug@lists.iephpug.org
http://lists.iephpug.org/mailman/listinfo/phpug
Member Map http://www.frappr.com/irishphpusersgroup/
Membership Planner Calendar: http://tinyurl.com/opjd5

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic