# Thread: require vs include ?

1. Hi..

I'm very new in php so allow me to ask some silly questions here

Can someone explain to me what is the different between require and include ?

eg: what's the different between:-
Code:
```
And how to specific the location in the include() ?
If i'm working in c:\www\mysite\scripts\project1\ and I want to include a file in c:\www\mysite\includes\header.php Does this work ?

Code:
`include('../../includes/header.php');`

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•