argh, I've been going nuts with this. The script works, BUT I'm having problems with my smilies appearing correctly.
here's the news script slightly modified with a chdir command so the require for global.php works:
http://mainframetech.net/news.php
As you can see, the smilies don't work.
So here's the script unmodified and without the chdir command since its in my forums directory:
http://mainframetech.net/forums/news.php
So it works right?
Wrong, when I include it in a page in my / directory, here's what happens:
http://mainframetech.net/index2.php
The smilies don't appear,,,this is driving me nutso, so here's some info about the paths and vB info and the news script stuff:
Host Info
Host: Hostrocket
Absolute path to my space: /home/mftech/public_html
Relative forums dir: /forums
index2.php include path to news.php in the forums directory
PHP Code:
<?php require("http://www.mainframetech.net/forums/news.php"); ?>
Anyone wanna help me with this? if you need more help, please ask...I'll provide it, I want to get this working.