|
-
Feb 21st, 2002, 03:31 AM
#1
Thread Starter
Hyperactive Member
Need help with php
im trying to get this asp scritp from brainjar.com to php because my server is linux and only supports php and cgi can some one conver this into php for me please??? ill add thanks or like to you site for your help
[Cookie]
<% 'Set scheme cookie.
Response.Buffer = true
if Request.QueryString("scheme") <> "" then
Response.Cookies("scheme") = Request.QueryString("scheme")
Response.Cookies("scheme").Expires = _
FormatDateTime(DateAdd("d", 60, Now()))
else
Response.Cookies("scheme").Expires = _
FormatDateTime(DateAdd("d", -1, Now()))
end if
'Send back to referring page.
Response.Redirect(Request.ServerVariables("HTTP_REFERER")) %>
[/Cookie]
[Include Style Sheet[
<link href="/common/main.css" rel="stylesheet" type="text/css">
<% if Request.Cookies("scheme") <> "" then %>
<link href="/common//main.css"
rel="stylesheet" type="text/css">
<% end if %>
[/Include Style Sheet]
Please thank for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|