CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 how can I scramble a URL

Print topic Send  topic

Author Message
Moshail
Posted: 09/29/2004, 3:02 PM

8-)
Hi for all:-D
Does someone teach me how can I scramble a URL?

I am sending digitally signed files for my customers and I would like to dont turn so obvious the URL of files sent:(

I have got this snippet code:

<?
// Put it at the begining of you PHP code
// créate object and unhide parameters if they are hide
require_once("phpsecureurl.pclass");
$codep = new phpsecureurl ;
?>

<? // parameters of your application
$parametre1="var1=12345";
$parametre2="par=page12";
$parametre3="qw=ID2301";
// $parameters ...
$link="http://".$_SERVER['HTTP_HOST'].$PHP_SELF."?".$parametre1."&".$parametre2."&".$parametre3;
$link0=$link; // memory parameters just for demo
?>
<?
// $link=$codep->encode($link); in your code : uncomment your link is hide comment is normal
// in the boths case you php code works wirhout other change
if($_REQUEST[test_ok]){$link=$codep->encode($link);}

?>

===========================================
But I cant implement it
feha


Posts: 712
Posted: 10/15/2004, 2:39 PM

use HTTPS:// :-)
_________________
Regards
feha

www.vision.to
feedpixel.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.