| | |
Passing form data to default file of a directory
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2008
Posts: 141
Reputation:
Solved Threads: 19
You could always use apache's mod_rewrite, so forward all requests for http://www.example.com/directory/ to http://www.example.com/directory/default.php.
You'd need to add one for each directory though I think.
And it may be worth adding a parameter on the URL such as ?form so that you can distinguish between form submissions and normal page accesses if default.php serves a page to users without form submissions.
R
You'd need to add one for each directory though I think.
And it may be worth adding a parameter on the URL such as ?form so that you can distinguish between form submissions and normal page accesses if default.php serves a page to users without form submissions.
R
![]() |
Other Threads in the PHP Forum
- Previous Thread: Getting Future Date
- Next Thread: search from database
| Thread Tools | Search this Thread |
apache api array beginner binary broken cache cakephp checkbox class cms code confirm cron curl customizableitems database date display dynamic echo email error external fcc file files folder form forms forum freelancing function functions google header headmethod howtowriteathesis href htaccess html iframe image include insert ip javascript joomla limit link login mail malfunction menu method mlm mod_rewrite multiple mysql neutrality oop pageing pagerank paypal pdf php phpmysql play problem query question radio random recursion remote root script search select server sessions sms soap source space sql support! syntax system table template tutorial update upload url validator variable video web youtube





