This is a discussion on Htmlentities within the Coding Help forums, part of the Webmaster Help category; Hi everyone. Little Problem..... I have a php form that submits data to a db. But if some one put ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||||
| PHP Code: |
| |||||
| Look into mod rewrite, for example if you use apache create a file called .htaccess and put the following into it. It will redirect all calls to yourdomain.com/2 to youdomain.com/index.php?id=2 sliently in the background leaving yourdomain.com/2 as the address in the browser Code: RewriteEngine on RewriteRule ^([^/\.]+)/?$ index.php?id=$1 [L]
__________________ |
| Tags |
| htmlentities |
| Thread Tools | |
| Display Modes | |
|
|