| | |
Test For Php Includes
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2006
Posts: 3
Reputation:
Solved Threads: 0
"I am having a few problems trying to get my php includes showing on my page.
Is there any easy/basic code I can insert on a page to test whether it is really working. The package I get from my host does allow php includes so there shouldn't be a problem there?"
Is there any easy/basic code I can insert on a page to test whether it is really working. The package I get from my host does allow php includes so there shouldn't be a problem there?"
•
•
•
•
"I am having a few problems trying to get my php includes showing on my page.
Is there any easy/basic code I can insert on a page to test whether it is really working. The package I get from my host does allow php includes so there shouldn't be a problem there?"
php Syntax (Toggle Plain Text)
<?php include('file_i_want_2_include.php'); ?>
This will allow you to include this file. The file must be in the same directory as the file you are inserting the include statement in. If not PHP will check your php.ini file for you include directories.
![]() |
Similar Threads
- Basic PHP Includes (PHP)
- PHP Includes??? (PHP)
- Setting up PHP (PHP)
- How to test PHP code in offline in Linux + Apache 2 (PHP)
- PHP Beginner Here (PHP)
- Multiple PHP INCLUDES (PHP)
Other Threads in the PHP Forum
- Previous Thread: Image functions in php
- Next Thread: Password protection for Website
| Thread Tools | Search this Thread |
# 5.2.10 alexa apache api array beginner binary broken cakephp checkbox class clean clients cms code cron curl database date directory display dissertation dropdown dynamic echo echo$_get[x]changingitintovariable... email encode error fairness file files folder form forms function functions google href htaccess html image images include indentedsubcategory insert ip javascript joomla legislation limit link local login mail memberships menu mlm multiple multipletables mysql mysqlquery newsletters oop open paypal pdf persist php problem provider query radio random recursion remote rss script search server sessions sms sockets source space spam sql syntax system table tutorial update upload url validator variable video web youtube





