Quote:
Originally Posted by Billspaintball
Try this.
It should change you back to the origional directory.
PHP Code:
<?php $curdir = getcwd (); chdir('/path/to/your/forums'); require_once('/path/to/your/forums/global.php'); chdir ($curdir); ?>
PS, if this works and you use this hack please click instal 
|
That all worked for me, but when I attempt to use one of the php scripts I wrote, it isn't letting this script insert data into my MySQl database. It's an information script. It'll read the data from the mysql db just fine, but when I try to use a webpased php form to submit/edit information to my DB it doesn't work.
I don't get any PHP errors, it just.....doesn't work..Lol.
When I remove all the chdir things and forum inclusions for my login/page restrictions it works just fine.
Any thoughts on this?