Jump to content

URL should be same


jeeva

Recommended Posts

hi frnds,

i think u can help me,

How can i hide the url query?. For example
url is [i]www.sitename.com[/i] If i click [i]register.php?uid=5[/i] in the application
the url should not be change like [i]www.sitename.com/register.php?uid=5.[/i] the url must be [i]www.sitename.com[/i] even we are in register.php.

i have seen some site like this.so i am trying to do the same for my application

can i make like this? will u please tell me wt i have to do for this?

any help will be appreciated...
Link to comment
Share on other sites

[quote]How can i hide the url query?. For example
url is www.sitename.com If i click register.php?uid=5 in the application
the url should not be change like www.sitename.com/register.php?uid=5. the url must be www.sitename.com even we are in register.php.[/quote]

i dont realy know what you mean but..
whats the point of having links if they are'nt supposed to do anything...
anyways i think what you're trying to get is:

[code]<a href="#">link</a>[/code]
Link to comment
Share on other sites

I think you could do this a few ways:

1) Make the link a small form that does a POST request. That way there's no URL data.
2) Make a JavaScript function that basically creates and submits a form POST style.
3) Design your register page so that it automatically redirects after processing the data.

Of all the ways, method1 is, I believe, the most common and easiest.
Link to comment
Share on other sites

thanks for reply...

if i used post method the file name will be display but it should not be.

i think by using post method we can avoid just query not file name.
i want to avoid the file name and query

for ur understand see this url.this will eanble u to know wt i am saying

www.dinamalar.com
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.