Page 1 of 1

URL mapping

Posted: Wed Apr 09, 2003 2:19 pm
by desmondlk
Dear all,

Any idea on how to mapping the URL?

For example, if a hyperlink is localhost/testing?id=123&name=test

how to map it to localhost/testing

This means that i do not want to show the passing variables.

Any idea insteads of using frame on page?

Thanks in advance.

Posted: Thu Apr 10, 2003 2:16 am
by twigletmac
If you want to pass variables between pages and don't want them to be visible to users you should consider cookies or sessions:

COOKIES
http://www.php.net/manual/en/features.cookies.php
http://www.php.net/manual/en/function.setcookie.php

SESSIONS
http://www.php.net/manual/en/ref.session.php
http://www.php.net/manual/en/function.session-start.php
viewtopic.php?t=6521 (an example of using sessions)

Mac