I tried to write include "http://".$_SERVER["SERVER_NAME"]."/lol.php"
and it didn't include it?
GigsD4X
0
Light Poster
Recommended Answers
Jump to PostIf you are trying to include from the root directory of your site, use:
include $_SERVER['DOCUMENT_ROOT']."/lol.php";
All 4 Replies
chrishea
182
Nearly a Posting Virtuoso
Triztian
0
Light Poster
GigsD4X
0
Light Poster
GigsD4X
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.