GetSimple Support Forum

Full Version: common file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How i can in common.php replace

/**
* Basic file inclusions
*/
include('basic.php');
include('template_functions.php');
include('logging.class.php');

With this

/**
* Basic file inclusions
*/
include('http://mydomain.com/basic.php');
include('http://mydomain.com/template_functions.php');
include('http://mydomain.com/logging.class.php');

This don't work but are you know how to fix this Big Grin
You cannot include files via http.
Maybe if you explain what you want to do.
My wish to make folder includes separated to get simple
Myfolder to go http://www.mydomain.com/inc
and getsimple folder to go http://www.mydomain.com/getsimple/admin
You can adjust php ini include path, if you want to move includes around.
But why ? includes are internal not urls
Hmm. Do you know how to create this to includes like this mydomain.com/basic.php. I think how i can create inherit inc file to work on 2 website.

(2013-02-15, 01:30:39)shawn_a Wrote: [ -> ]You cannot include files via http.

Hmm how i can activate to work with http
(2013-02-15, 01:50:49)wampir Wrote: [ -> ]Hmm how i can activate to work with http

this is against the idea and intention of PHP, in my opinion
for me it never worked with http..., as said already: only internal, with relative paths....