Re[2]: [PHP] How to hide URL but it's not from a form just a link ?

2003-07-11 Thread Tom Rogers
Hi,

Saturday, July 12, 2003, 12:45:26 PM, you wrote:
JF> What about sessions?  Depends on your circumstances and the flow of  
JF> pages, but storing all these vars in a session, then only passing the  
JF> session id around in the URL could be an alternative

JF> Justin

Yes you can do it with sessions, but that may open a whole new
learning curve :)
For quick links I usually encode anything that maybe 'fiddled' with to
cause trouble.

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to hide URL but it's not from a form just a link ?

2003-07-11 Thread Justin French
What about sessions?  Depends on your circumstances and the flow of  
pages, but storing all these vars in a session, then only passing the  
session id around in the URL could be an alternative

Justin

On Saturday, July 12, 2003, at 12:21  PM, Tom Rogers wrote:

Hi,

Saturday, July 12, 2003, 4:05:34 AM, you wrote:
J> How can I hide this link so value can't be changed?
J> I don't want to change anything at the server level, and its not  
from a
J> form so I cant do a post -vs- a get.

J>  
http://www.abcd.com/ 
SearchSet.php?searchby=cust_no&search=1&value=WOR032

J> Thanks !

Encrypt then base64_encode the query string before adding, that way
they can't stuff with it.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
[This E-mail scanned for viruses]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] How to hide URL but it's not from a form just a link ?

2003-07-11 Thread Tom Rogers
Hi,

Saturday, July 12, 2003, 4:05:34 AM, you wrote:
J> How can I hide this link so value can't be changed?
J> I don't want to change anything at the server level, and its not from a 
J> form so I cant do a post -vs- a get.

J> http://www.abcd.com/SearchSet.php?searchby=cust_no&search=1&value=WOR032

J> Thanks !

Encrypt then base64_encode the query string before adding, that way
they can't stuff with it.

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to hide URL but it's not from a form just a link ?

2003-07-11 Thread Mark
As someone mentioned earlier, put them into a session (or a cookie).

Is this a repost, or is it a duplicate?

--- Joey <[EMAIL PROTECTED]> wrote:
> How can I hide this link so value can't be changed?
> I don't want to change anything at the server level, and its not
> from a 
> form so I cant do a post -vs- a get.
> 
>
http://www.abcd.com/SearchSet.php?searchby=cust_no&search=1&value=WOR032
> 
> Thanks !
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


=
Mark Weinstock
[EMAIL PROTECTED]
***
You can't demand something as a "right" unless you are willing to fight to death to 
defend everyone else's right to the same thing.
***

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] How to hide URL but it's not from a form just a link ?

2003-07-11 Thread Joey
How can I hide this link so value can't be changed?
I don't want to change anything at the server level, and its not from a 
form so I cant do a post -vs- a get.

http://www.abcd.com/SearchSet.php?searchby=cust_no&search=1&value=WOR032

Thanks !

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php