(2011-08-07, 12:05 PM)faviouz Wrote: [ -> ]So you were using the exact same code ranjani posted? It was just an example...
Yes. I was using the exact code. Nothing else, only that code.
And then I got this error:
Parse error: syntax error, unexpected T_STRING in /home/user/domain.com/folder/index.php on line 7
(2011-08-07, 12:46 PM)faviouz Wrote: [ -> ]Ok, take a look at this instead:
http://community.mybb.com/thread-6615.html
It's a much more efficient method.
But I want to make a php file located at MyBB-Forum-Root/Folder
it is not at the same folder as the MyBB Forum?
Can I still use that code?
Well. I think it is, but what modifications should I do to get it to work?