Hi, new to all this and cluless still, but trying.
I have a CMS, and a bloghosting script. Within the CMS I pull some things from the bloghosting database and place them inside. I use, in the header, this:
<?php
include "mysqlcon.php";
include "functions.php";
?>
And it works.
But I have a forum on the same server, but a different url. So I cannot use the above, and if I place an absolute path I get errors, like:
Warning: Unknown( failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/.../core/core.functions.php(570) : eval()'d code on line 13
Warning: Unknown( failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/.../core/core.functions.php(570) : eval()'d code on line 13
Warning: (null)(): Failed opening ' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/.../core/core.functions.php(570) : eval()'d code on line 13
Is there a way I can link to these 2 files?
Thanks,
Lena
I have a CMS, and a bloghosting script. Within the CMS I pull some things from the bloghosting database and place them inside. I use, in the header, this:
<?php
include "mysqlcon.php";
include "functions.php";
?>
And it works.
But I have a forum on the same server, but a different url. So I cannot use the above, and if I place an absolute path I get errors, like:
Warning: Unknown( failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/.../core/core.functions.php(570) : eval()'d code on line 13
Warning: Unknown( failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/.../core/core.functions.php(570) : eval()'d code on line 13
Warning: (null)(): Failed opening ' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/.../core/core.functions.php(570) : eval()'d code on line 13
Is there a way I can link to these 2 files?
Thanks,
Lena