Hi all,
I have a page for example "/redir.php" and i have a load of other pages in my site. If my homepage is "/.index.php" i need a redirect link with multiple variables eg..
<A Href="http://www.mysite.com/redir.php?page=100&lang=en">goto Second page</a>
so i need a script that will redirect that example page to a real page eg:
http://www.mysite.com/english/second.html
so the variable "page" is the html file name and the variable "lang" is the folder name for different languages.
eg:
http://www.mysite.com/redir.php?page=100&lang=en
http://www.mysite.com/english/second.html
http://www.mysite.com/redir.php?page=100&lang=fr
http://www.mysite.com/french/second.html
http://www.mysite.com/redir.php?page=100&lang=ge
http://www.mysite.com/german/second.html
The folder names need to be in a text file (eg lang.txt)
and
the file names in a text file (eg redir.txt)
or if possible, one file
I know this is alot to ask, but ive been working on it for ages and ive got no where!
Thanks very much in advance
Matt