WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Is there any way in which functions can be placed in separate files and included/called when needed as with C? The manual mentions exec() and passthru but as far as I can see this is not what I am looking for!
Categories : PHP, Filesystem
Boaz Yahav
Date : Jul 13th 1999
Grade : 5 of 5 (graded 2 times)
Viewed : 3682
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Boaz Yahav
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

You are looking for one of two function :

o include()
o requier()


for example :

<?
include "MyFile.inc";
?>



Unix Disk Information with graphs
Categories : PHP, Shell Scripting, Filesystem
include php3 files
Categories : Filesystem, PHP, Apache, Web Servers
Show Source with Line Numbers
Categories : PHP, Regexps, Filesystem
How to find the name of the current file?
Categories : PHP, Filesystem, Strings
grab directory listings into an array the example prints out each subdirectory in the main dir - further work is to be performed on this one
Categories : Filesystem, PHP, Directories, Search, Utilities
GuestBook Light - a plug and play application for any website.
Categories : PHP, Complete Programs, Filesystem, Sessions
Relative Path
Categories : PHP, Filesystem
Image Browser
Categories : Filesystem, GD image library, Content Management, PHP
Differences between two files
Categories : PHP, Filesystem, Tip
Random Image Display
Categories : PHP, Filesystem, Graphics, HTML and PHP
Link Submition - Allow your visitors to submit links to the site.
Categories : PHP, Arrays, Filesystem, Beginner Guides
A simple configuration file editor to ease you life in setting up php applications. Reads variables from a given file automatically and displays current value. New value will be written to file after submit.
Categories : PHP, Filesystem, Regexps, Java Script
Take multiple text files and do simple formatting on them and add them to a webpage
Categories : HTML, Filesystem, PHP
These 2 functions write and read the contents of a specially designated multi-dimensional array to and from a text file.
Categories : Algorithms, PHP, Filesystem
Easy upload class
Categories : PHP Classes, Filesystem, HTTP, PHP