Here is my problem.
I am developping a web site, the structure is as follow
[blockquote]include of language file
include of head file
include of middle file
include of right file
include of center file
[blockquote]depending of a case
[blockquote]include of home file
include of apropos file[/blockquote][/blockquote]
include of left file
include of footer file[/blockquote]
In my langguage file, I have all my text in variables.
What's happening is that those variable are not "visible" in the home and apropos files. But they are visible in any other files.
If I do my include language file directly in my home or apropos files, everthink works fine so it is not the way a code.
If I put the home and apropos file in the same directory as my right file, for exemple, nothing change, so it is not the place where they are.
What I don't really get is that it works fine on my localhost but not when I transfert on my hosting server. I have tried other hosting server, same problem.
Since from my point of view when you do an include of a file, it is the same as copiing this file into your code I don't see why the variables are not recognised !
You can have a look here : [a href=\"http://www.labaroude.com/sara/index.php?option=apropos\" target=\"_blank\"]http://www.labaroude.com/sara/index.php?option=apropos[/a]
I am a bit lost here. Any idea would be very welcome.
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users