hi
i want to hide my URL ..i.e when the user uses my application i dont want to show my url but i want to store another url
please do tell how to do tat

Recommended Answers

All 2 Replies

hi
i want to hide my URL ..i.e when the user uses my application i dont want to show my url but i want to store another url
please do tell how to do tat

There's no way of hiding it completely but do you mean like this: instead of having http://www.daniweb.com/forums/newreply.php?do=newreply&p=618933 you just have http:/www.daniweb.com/forums - no matter what page or link they go on?

If that's the case you need to have a look at Mod_Rewrite

Proberbly you don't have access to the PHP.ini. If you just want to hide a file you can put it into a directory with a .htpasswd (a 403 pops up) and then read these files with PHP, eg

echo readfile("./forbidden/test.html");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.