Jump to content

Dynamic Inclusion question


hugh90

Recommended Posts

I was wondering if you can use dynamic inclusion with files outside the index directory. If so, how?

For example:

My index.php is in public_html and I want to access my dog.php page that is in the directory “animals”

http://www.site.com/index.php?page=dog

Where at in the URL would I include the directory "animals"?

Thanks
Link to comment
https://forums.phpfreaks.com/topic/17437-dynamic-inclusion-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.