help me please i need a magic word / function
From: wandaring (valzubiri_at_sbcglobal.net)
Date: 05/30/04
- Previous message: Andy Hassall: "Re: images in sql db's"
- Next in thread: Rico Huijbers: "Re: help me please i need a magic word / function"
- Reply: Rico Huijbers: "Re: help me please i need a magic word / function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 May 2004 10:54:14 GMT
here's my problem
If a visitor comes to visit my site and puts in his / her browser www .
mysite.com/Ceciliasfirstpage.html (excluding the space) I want
Ceciliasfirstpage.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/Ceciliasfirstpage.html so that I can clear the string and get
"Ceciliasfirstpage" and use that to generate the temporary file
Ceciliasfirstpage.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.html which would have the script to make
the temporary Ceciliasfirstpage.html file, but that would mean that the
requested information http: // www. mysite.com / Ceciliasfirstpage.html
would pass through the .htaccess first then the pagegenerator.html and then
Ceciliasfirstpage.html. If this is so, will the string variable be passed?
Can anyone help me? is there a better way to do this?
Thanks
- Previous message: Andy Hassall: "Re: images in sql db's"
- Next in thread: Rico Huijbers: "Re: help me please i need a magic word / function"
- Reply: Rico Huijbers: "Re: help me please i need a magic word / function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|