here's my problem
If a visitor comes to visit my site and puts in his / her browser www .
mysite.com/Ceciliasfirstpa ge.html (excluding the space) I want
Ceciliasfirstpa ge.html to be generated on the fly from a common php page
generator.
What functions would i need?
Is there a function that would return the string www .
mysite.com/Ceciliasfirstpa ge.html so that I can clear the string and get
"Ceciliasfirstp age" and use that to generate the temporary file
Ceciliasfirstpa ge.html with information from my database? I'm imagining it
would be a predefined variable?
I also have the idea that i should use .htaccess to redirect the 404 error
to another file like pagegenerator.h tml which would have the script to make
the temporary Ceciliasfirstpa ge.html file, but that would mean that the
requested information http: // www. mysite.com / Ceciliasfirstpa ge.html
would pass through the .htaccess first then the pagegenerator.h tml and then
Ceciliasfirstpa ge.html. If this is so, will the string variable be passed?
Can anyone help me? is there a better way to do this?
Thanks
If a visitor comes to visit my site and puts in his / her browser www .
mysite.com/Ceciliasfirstpa ge.html (excluding the space) I want
Ceciliasfirstpa ge.html to be generated on the fly from a common php page
generator.
What functions would i need?
Is there a function that would return the string www .
mysite.com/Ceciliasfirstpa ge.html so that I can clear the string and get
"Ceciliasfirstp age" and use that to generate the temporary file
Ceciliasfirstpa ge.html with information from my database? I'm imagining it
would be a predefined variable?
I also have the idea that i should use .htaccess to redirect the 404 error
to another file like pagegenerator.h tml which would have the script to make
the temporary Ceciliasfirstpa ge.html file, but that would mean that the
requested information http: // www. mysite.com / Ceciliasfirstpa ge.html
would pass through the .htaccess first then the pagegenerator.h tml and then
Ceciliasfirstpa ge.html. If this is so, will the string variable be passed?
Can anyone help me? is there a better way to do this?
Thanks
Comment