is there a way to hide in the url bar that the page is a php page?
for example :
<!-- m --><a class="postlink" href="http://www.htmlforums.com/newthread.php">http://www.htmlforums.com/newthread.php</a><!-- m -->
would become -->
<!-- m --><a class="postlink" href="http://www.htmlforums.com/newthread.htm">http://www.htmlforums.com/newthread.htm</a><!-- m -->
or html, whatever.
so you let them think there are on a STATIC page..
one problem: if you give information through the url
<!-- m --><a class="postlink" href="http://www.htmlforums.com/newthread.php?id=457">http://www.htmlforums.com/newthread.php?id=457</a><!-- m -->
can you get that id to built the page?
why?
-------
why i want this, just out of curiousity if it's possible and maybe security reasons?
thx for readingthere's no added security from doing this - so there is no point.
you can make your server parse any file as PHP, so long as you tell your server to associate that extension with the parser program.thx,
yes i tought so too.
thx for replying.You could use .htaccess to parse .html pages as PHP, but there is no point. No one can see your PHP source just the HTML output.
for example :
<!-- m --><a class="postlink" href="http://www.htmlforums.com/newthread.php">http://www.htmlforums.com/newthread.php</a><!-- m -->
would become -->
<!-- m --><a class="postlink" href="http://www.htmlforums.com/newthread.htm">http://www.htmlforums.com/newthread.htm</a><!-- m -->
or html, whatever.
so you let them think there are on a STATIC page..
one problem: if you give information through the url
<!-- m --><a class="postlink" href="http://www.htmlforums.com/newthread.php?id=457">http://www.htmlforums.com/newthread.php?id=457</a><!-- m -->
can you get that id to built the page?
why?
-------
why i want this, just out of curiousity if it's possible and maybe security reasons?
thx for readingthere's no added security from doing this - so there is no point.
you can make your server parse any file as PHP, so long as you tell your server to associate that extension with the parser program.thx,
yes i tought so too.
thx for replying.You could use .htaccess to parse .html pages as PHP, but there is no point. No one can see your PHP source just the HTML output.