How to include new PHP page?
-
I’d like to add a download.php page to my blog. It will be used to track various downloads (MP3, EXE, etc) via javascript in the page. I have the page up but it is basically a blank page with the download link. It works fine now and tracks downloads but I want the blog shell wrapped around this page so it looks like part of the blog. I tried to include some of the code from category.php but got reference errors because download.php couldn’t find the functions I copied over from category.php.
When I reference download.php, it is a direct reference such as mysite.com/download.php?file=some.mp3. Should I reference it a different way to get the blog shell to display?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to include new PHP page?’ is closed to new replies.