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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

when I change #include virtual to php include my form stops working

Status
Not open for further replies.
The php equivalent to SSI #include virtual= is virtual(), not include()

Dan
 
virtual include is /includes/filename.html
php include is /home/hostaccount/htdocs/includes/filename.html

(i.e. the server path to the filename, and not just a relative path like the virtual include allows)

one thing I did was write
$fullpath="/home/hostaccount/htdocs"

and then use
include $fullpath/dir/filename
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top