Re: Crypted link
| From: | Mike Glover | Date: | Mon, 09 Oct 2000 09:53:41 +0000 |
| Subject: | Re: Crypted link | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19170@lists.php.net to get a copy of this message | ||
Sure, why not? just do something like this:
<?php
$command = my_encrypt("var1=value&var2=value2");
?>
Go to <A HREF=page.php?cmd=<?php echo $command?>>this
page</A>
And then read it like this:
<?php
$query_string = my_decrypt($cmd);
parse_str($query_string);
/* now you have all of your crypted
variables set as globals */
?>
is that what you mean?
-mike
On Mon, 9 Oct 2000, Daniel Rezny wrote:
>
> Hello Josh,
>
> Monday, October 09, 2000, 11:13:12 AM, you wrote:
>
> JM> can you please explain exactly what you mean?
>
> JM> -Gfunk007
>
> JM> "If I'm gonna get my balls blown off for a word, my word is poontang"
> JM> - Animal Mother, Full Metal Jacket
>
> JM> :::: visit me - http://www.gfunk007.com/ :::: ICQ
> JM> 74477509 ::::
>
> I mean: I want to use some variables in link for switch and for some
> if statement. And I don't want to use a frames.
> Now if I add to location bar in a browser:
> www.domain.com/index.php3?mail=list it switched variable mail to
> value list. So I want to have a mail=list not visible for user on
> client side.
> I hope that this explanation is good. If not let me know.
>
> Thank you in advance.
> --
> Best regards,
> Daniel mailto:daniel@mail.viapvt.sk
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
--
"don't you know about the new fashion, honey?
all you need are looks and a whole lotta money"
-- billy joel
GnuPG key available at http://devel.duluoz.net/pubkey.asc
Key ID = 1024D/9A256AE5 1999-11-13 Mike Glover <mpg4@duluoz.net>
Key fingerprint = EF6E 8BCB 4810 E98C F0FD 4596 367A 32B7 9A25 6AE5