Hello
I'm a new php user. I realy love to work whit this powerfull language. I read a lot of text about php but i'm realy poor to figure whant in can do it whit this problem.
I have a dificulty ton convert this asp script to php script.
This is the asp script.
<%
If IsEmpty(Session("Current_Page_Language")) or _
IsNull(Session("Current_Page_Language")) Then
If Request.Cookies("LC") = "" Then
Session("Current_Page_Language") = "fr"
Else
Session("Current_Page_Language") = Request.Cookies("LC")
End If
End If
If Request.QueryString("LC") = "fr" Then
Session("Current_Page_Language") = "fr"
End If
If Request.QueryString("LC") = "en" Then
Session("Current_Page_Language") = "en"
End If
Response.Cookies("LC") = Session("Current_Page_Language")
Response.Cookies("LC").Expires = #July 23, 2004#
%>
If sombody have a suggestion to converte this script please tell me.