Hi,
I'm a n00b to PHP, but I'm doing the best I can to learn it.
My problem.
I downloaded a newsscript what generates a textfile with the news in it.
Now to include it in my PHP page I used
this works great !
But now I wanted to include the newsscript itself in a part of my page. So I thought:
But nphpd.php also includes fiels that are in the news dir.
so I get an error.
Is there a way to fix this without editing the newsscript?
sortof a changedir?
I'm a n00b to PHP, but I'm doing the best I can to learn it.
My problem.
I downloaded a newsscript what generates a textfile with the news in it.
Now to include it in my PHP page I used
PHP Code:
include("news/news.txt");
But now I wanted to include the newsscript itself in a part of my page. So I thought:
PHP Code:
include("news/nphpd.php");
so I get an error.
Is there a way to fix this without editing the newsscript?
sortof a changedir?
Comment