Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"include foo.php" doesn't work

Status
Not open for further replies.

cadbilbao

Programmer
Apr 9, 2001
233
ES
Hi.

With 4.4.2 + Apache 2.0 on Linux, I've got these PHP lines
within '/var/-------
print "Here 1";
include ('/var/print "Here 2";
-------

I get "Here 1" message, but not "Here 2", and
'/var/ does exist.

I chowned '/var/ for root.root, and
chmoded with 777 permissions.

What am I doing wrong? Thank you very much
 
try :
include 'foo.php';


______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top