Click here to Skip to main content
15,881,709 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Serious Site Devlopment Questions Pin
Steve Maier2-Feb-11 4:49
professionalSteve Maier2-Feb-11 4:49 
Questionhtml pointing to php Pin
Douglas Kirk26-Jan-11 6:40
Douglas Kirk26-Jan-11 6:40 
AnswerRe: html pointing to php Pin
cjoki26-Jan-11 7:40
cjoki26-Jan-11 7:40 
QuestionConceptShare Pin
Civic0626-Jan-11 3:51
Civic0626-Jan-11 3:51 
QuestionName of the file/form that called / or included an html document. Pin
Douglas Kirk25-Jan-11 9:35
Douglas Kirk25-Jan-11 9:35 
AnswerRe: Name of the file/form that called / or included an html document. Pin
TheGreatAndPowerfulOz25-Jan-11 9:48
TheGreatAndPowerfulOz25-Jan-11 9:48 
GeneralRe: Name of the file/form that called / or included an html document. Pin
Douglas Kirk25-Jan-11 9:50
Douglas Kirk25-Jan-11 9:50 
AnswerRe: Name of the file/form that called / or included an html document. Pin
Gerben Jongerius25-Jan-11 20:00
Gerben Jongerius25-Jan-11 20:00 
You need to keep two things in mind with this. A php include and the server side include don't create a seperate call to the server for the documents you are incuding. So there is no valid 'referrer' when it comes to who included the page.

The PHP include basically copies the content of the included file into the location you include it. So the only way to detect that it came from PHP is to set some kind of variable and check the existence. But this only works if your included file is also a PHP file.

The server side include (SSI) is interpreted by the webserver and included when you sent the page to the browser from the server. So I suppose you could add a GET parameter to determine if it was a SSI include.
QuestionConsole-style home page? Pin
dszarkow25-Jan-11 2:32
dszarkow25-Jan-11 2:32 
AnswerRe: Console-style home page? Pin
Richard MacCutchan25-Jan-11 3:06
mveRichard MacCutchan25-Jan-11 3:06 
GeneralRe: Console-style home page? Pin
dszarkow25-Jan-11 3:20
dszarkow25-Jan-11 3:20 
GeneralRe: Console-style home page? Pin
Richard MacCutchan25-Jan-11 3:28
mveRichard MacCutchan25-Jan-11 3:28 
QuestionChanging the CSS properties of a menu bar Pin
Douglas Kirk24-Jan-11 21:35
Douglas Kirk24-Jan-11 21:35 
AnswerRe: Changing the CSS properties of a menu bar Pin
Gerben Jongerius25-Jan-11 0:27
Gerben Jongerius25-Jan-11 0:27 
GeneralRe: Changing the CSS properties of a menu bar Pin
Douglas Kirk25-Jan-11 0:52
Douglas Kirk25-Jan-11 0:52 
GeneralRe: Changing the CSS properties of a menu bar Pin
Gerben Jongerius25-Jan-11 3:59
Gerben Jongerius25-Jan-11 3:59 
QuestionLooking for development resources and suggestions Pin
Gregory Gadow24-Jan-11 6:21
Gregory Gadow24-Jan-11 6:21 
AnswerRe: Looking for development resources and suggestions Pin
David Mujica24-Jan-11 7:48
David Mujica24-Jan-11 7:48 
GeneralRe: Looking for development resources and suggestions Pin
fjdiewornncalwe24-Jan-11 8:57
professionalfjdiewornncalwe24-Jan-11 8:57 
GeneralRe: Looking for development resources and suggestions Pin
Gregory Gadow24-Jan-11 11:00
Gregory Gadow24-Jan-11 11:00 
GeneralRe: Looking for development resources and suggestions Pin
Not Active24-Jan-11 11:59
mentorNot Active24-Jan-11 11:59 
AnswerRe: Looking for development resources and suggestions Pin
Peter_in_278024-Jan-11 12:18
professionalPeter_in_278024-Jan-11 12:18 
QuestionStrange file download issue Pin
SomeGuyThatIsMe24-Jan-11 3:29
SomeGuyThatIsMe24-Jan-11 3:29 
QuestionA little Urgent: Apx (Html ) Rendering problem in Browser :Chrome Pin
T1000_20-Jan-11 16:55
T1000_20-Jan-11 16:55 
AnswerCross post Pin
Not Active20-Jan-11 17:08
mentorNot Active20-Jan-11 17:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.