Well i have ben looking for this since long time back... but i still didn't know how to use it. I need this in the language switch of my site... I will have my site translated into different languages and pages will be with the same names but in different folders... The english one will be in the root folder, the french will be in a folder named "fr" the german in "de" and so on...
Now all these pages are HTML.. i want to create a default PHP page for every link in my site that will replace the nglish files in the root and in the location bar if i type : "page.php?lan=english" it gets the files from the folder "en" and if it was ".page.php?lan=french" it gets the files from the folder "fr"
is this possible with the script u posted here?
and what if i want to create 2 variables... 1- Languae, 2- the view mood (either normal or printable version)
Hope someone can help me here 🙂