Forum Moderators: open
I want to pass a variable to a page without a question mark. How can I do it?
I would highly appreciate when you would send the script with the .htaccess file to me (busfan@metalfan.com).
Thanks!
Lauri
I draw pages directly from the DB and I pass the date when the information has been added. Then the page creates a dynamic page based on the date (draws the content with that date from the DB).
Hoping someone can help me
I draw pages directly from the DB and I pass the date when the information has been added. Then the page creates a dynamic page based on the date (draws the content with that date from the DB).
Hoping someone can help me
So you could put something like this in you .htaccess file:
--------------------------------
RewriteEngine on
RewriteBase /test/
RewriteRule ^(.*)\.html$ cgi.pl?q=$1 [T=application/x-httpd-cgi]
----------------snip----------------
With this if you asked for:
[dom.com...]
The server would display:
[dom.com...]
I'm not sure if that helped you but if you're using Apache as your webserver then MOD_REWRITE is an awesome tool that you can use to fake almost anything. Read the docs...
Tinla.
Welcome to the forums!
-G