Jump to content

HOw to escape or unescape the data from a php form..


tommytx

Recommended Posts

http%3A%2F%2Fmydomain1.com%2Fping3.php%0D%0Ahttp%3A%2F%2Fmydomain2.com%2Fping3.php%0D%0Ahttp%3A%2F%2Fmydomain3.com%2Fping2.php%0D%0A

 

This is the $_Get from a form sent by a text area...

 

How do  I escape or unescape this to get the basic original data that was in the

 

Here is the origina data before the form sent it to a php program that grabbed the data via $_GET

 

<textarea>

http://mydomain1.com/ping3.php

http://mydomain2.com/ping3.php

http://mydomain3.com/ping2.php

</textarea>

 

Thanks for any help.

 

Tom

 

Thanks a bunch... worked great....

Small note.. for anyone else using this... I could not get it to work with the url_decode function, but when looking it up it appears it should be urldecode.... but you are the best... thanks..... problem solved...

But what is a little _ here and there among friends..

 

Thanks again....

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.