cancel
Showing results for 
Search instead for 
Did you mean: 

using php require function

stakesbyarmsfc
Dabbler
Posts: 11
Registered: ‎07-05-2008

using php require function

hi
i am trying to recall 2 pages using the php require function
but as u can see from www.stakesbyarmsfc.co.uk it doesnt show up?
2 REPLIES
pjemmanuel
Grafter
Posts: 349
Registered: ‎05-04-2007

Re: using php require function

This may be an educated guess, but is the page in question on the www server (in the htdocs folder) or on the ccgi server. If it is the www server it won't work there. PHP scripts can only be run on the ccgi server.
Have a look here and here for help with setting up the ccgi server.
pjemmanuel
Grafter
Posts: 349
Registered: ‎05-04-2007

Re: using php require function

If fact, have a look at some of the other ccgi tutorials on this page particularly the ones at the bottom regarding installing ccgi software. Although you probably won't want any of the software, there are important notes there about getting php scripts to run using the chmod instructions and the fixphpperms.sh shell script.