both of them not working ..
can u tell me how new orkut works ..
everything is dynamic over there .. !
my case is similar to orkut scrapbook ... now . .!
Printable View
both of them not working ..
can u tell me how new orkut works ..
everything is dynamic over there .. !
my case is similar to orkut scrapbook ... now . .!
check gmail standard version address bar
http://mail.google.com/mail/?shva=1#inbox
similar to what i get
something/?username=abcd#members
if i use the GET variable ....
they too have a ajax page loaded dynamically in the right ... !
Yea google and orkut work together. They use and ajax. Trying to explaing everything they have going on would take a while if you just want the address bar to look like that make the form action to "?userid=<?php echo $userid; ?>#home" you'd have to use a sql statment to get the id though and validate the login.
How is REQUEST better?Quote:
The variables in $_REQUEST are provided to the script via the GET, POST, and COOKIE input mechanisms and therefore could be modified by the remote user and cannot be trusted.
$_REQUEST holds the values of GET, POST and COOKIE, so it is more general and will work regardless of how a variable is sent: for example, if you don't know whether a value will be send in the url or by a form with method="post", or maybe even in a cookie, then that will hold all of them and you don't need to worry about it.
However, using $_REQUEST is lazy and bad practice if you know the variable will only becoming from one source. It's like a lesser version of register_globals, though at least it doesn't end up conflicting with anything else in the script.
whatever variable passing it is , in the child page it is not working
i tried this
when i use the $_get/post/request var in members.php it is not workingCode:action="?user=<?php echo $userid; ?>#members"
BUT when i use it in the main index.php it is working ......
.........
Is that the action of a form? You can use get variables as the action only if the form itself is set to method="post", so that the values do not conflict.
action="?ex=ample" would remove that when submitted if the method="get".
yeah .. i dint use like that ...
even when directly using address bar , navigating to
doesnt workCode:something/?user=abcd#members
....
is it a problem that the entire page "members.php" is included as innerHTML ...
Then that is not part of the request, so it won't be available in the php. Sorry if I'm not helping-- I jumped in this halfway.