freelanceprogrammers.org Forum Index » PHP
problems using $_POST
Joined: 18 Mar 2005
Posts: 21
problems using $_POST
Hi Friends,
I was posting some xml data inside a textarea to a URL
via post but when i receive the data to the
$_POST[xml] variable all the ` is converted into `
and so i cannot parse the data correctly.
Pl. tell me a way to disable this feature of php if
there is.
I shall be very grateful.
--
Regards
Abhishek jain
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Joined: 06 Sep 2005
Posts: 16
problems using $_POST
$cleaned_data = stripslashes($_POST[xml]);
;)
On Jan 17, 2006, at 1:32 PM, abhishek jain wrote:
> Hi Friends,
> I was posting some xml data inside a textarea to a URL
> via post but when i receive the data to the
> $_POST[xml] variable all the ` is converted into `
> and so i cannot parse the data correctly.
> Pl. tell me a way to disable this feature of php if
> there is.
Joined: 05 Apr 2005
Posts: 11
problems using $_POST
Look at tip #2 at http://www.phpbuilder.com/columns/vaska20050722.php3
-Derek
> > -----Original Message-----
> > From: php-objects@yahoogroups.com
> > [mailto:php-objects@yahoogroups.com] On Behalf Of abhishek jain
> > Sent: Tuesday, January 17, 2006 12:32 PM
> > To: php mailing list; in-phpug
> > Subject: [php-objects] problems using $_POST
> >
> >
> > Hi Friends,
> > I was posting some xml data inside a textarea to a URL
> > via post but when i receive the data to the
> > $_POST[xml] variable all the ` is converted into `
> > and so i cannot parse the data correctly.
> > Pl. tell me a way to disable this feature of php if
> > there is.
> >
> > I shall be very grateful.
> > --
> > Regards
> > Abhishek jain
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
> > PHP Data object relational mapping generator
> > http://www.metastorage.net/
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>
>
Joined: 08 Apr 2005
Posts: 10
problems using $_POST
This is due to the magic_quotes_gpc in your php.ini file
http://www.zend.com/manual/ref.info.php
-jmb
abhishek jain wrote:
>Hi Friends,
>I was posting some xml data inside a textarea to a URL
>via post but when i receive the data to the
>$_POST[xml] variable all the ` is converted into `
>and so i cannot parse the data correctly.
>Pl. tell me a way to disable this feature of php if
>there is.
>
>I shall be very grateful.
>--
>Regards
>Abhishek jain
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>
>PHP Data object relational mapping generator
>http://www.metastorage.net/
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







