I have a minor problem with the include feature.
Here are 2 urls:
www.oasis.ws/header.php
www.oasis.ws/articles/help.php
Here's what's in header.php
<?php
include("title.txt");
echo "Welcome to my site!"
?>
I want to include header.php in help.php. I know I can include the header.php doing this:
<?php
include("../header.php");
?>
but when I that, it says:
Warning: Failed opening 'title.txt' for inclusion (include_path='') in ../header.php
Can anyone help please!
Thank you for your time,
Ye Tan