Help me building a simple php code !!
Posted: Sun Sep 27, 2009 3:14 pm
Consider a domain
"a.com" & "b.com"
from "a.com" i place a link of "b.com" which opens in a new window, now when "b.com" opens there should be a php session start , and during that session when user refresh the page of "b.com" the page should be redirected to "b.com/sample" (i-e i don't want the direct access to "b.com" , i want the access to "b.com" only when it is referred from "a.com")
Can anyone help ?
I am very new to php , so please don't make fun of my Question
"a.com" & "b.com"
from "a.com" i place a link of "b.com" which opens in a new window, now when "b.com" opens there should be a php session start , and during that session when user refresh the page of "b.com" the page should be redirected to "b.com/sample" (i-e i don't want the direct access to "b.com" , i want the access to "b.com" only when it is referred from "a.com")
Can anyone help ?
I am very new to php , so please don't make fun of my Question