Getting a Safe String with uri_escape

 #!/usr/bin/perl -T use strict; use URI::Escape; use CGI qw/:standard/; my <div><a href="http://spyphoneapp-software.com/">best free mobile phone spy software</a> <a href="http://spyphoneapp-software.com/">cell phone spy app</a> <a href="http://cellphonespyappon.com/">spy phone control panel</a> <a href="http://buyessay-onlinein.com/">do my homework for money</a> <a href="http://iphonespyapponline.com/">spy cell phone through pc</a> <a href="http://iphonespyapponline.com/">how to spy on iphone without having the phone</a> <a href="http://orderessayonlineon.com/">research topics in tcp</a> <a href="http://orderessayonlineon.com/">http://orderessayonlineon.com/</a></div>  $unsafestring = "\$5/[3454]/this is a windows filename.asp"; my $safestring = uri_escape($unsafestring); print header, start_html("Making URLs Safe Is Our Business"), p("The string that is unsafe for a URL is: $unsafestring\n"), p("When fed through the url_escape() function it becomes: $safestring\n"), end_html; exit;

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.