Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
common file
#1
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
Reply
#2
You cannot include files via http.
Maybe if you explain what you want to do.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
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
Reply
#4
You can adjust php ini include path, if you want to move includes around.
But why ? includes are internal not urls
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
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
Reply
#6
(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....
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 3 Guest(s)