Current time: 04-16-2014, 09:00 AM Hello There, Guest! (LoginRegister)

Post Reply 
can PHP do includes like ASP?
05-03-2001, 01:10 PM
Post: #1
can PHP do includes like ASP?
Ok so I'm kinda new to ASP and PHP and PCP....

But in ASP you can do right? Well can you do this using PHP? Or is there some other way of doing this on DH servers? The FAQs wasn't entirely helpful.

thx!
clang
Visit this user's website Find all posts by this user
Quote this message in a reply
05-03-2001, 01:50 PM
Post: #2
can PHP do includes like ASP?
Hi Clang,

The PHP site has a pretty extensive list of functions, etc. There are two ways to do includes in PHP - the following should be what you need:

Require:
http://www.php.net/manual/en/function.require.php

Include:
http://www.php.net/manual/en/function.include.php

- Jeff @ DreamHost
- DH Discussion Forum Admin
Visit this user's website Find all posts by this user
Quote this message in a reply
05-03-2001, 02:47 PM
Post: #3
can PHP do includes like ASP?
you rock! thanks bud!

clang
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: