Thanks for replying but you've got the wrong end of the stick.
What I need to know is how to have the showthread_inline.php script pick up on the value of the thread id.
Assigning $_REQUEST['t'] to it's value before including the code doesn't work.
THis is my test script:
PHP Code:
chdir("/home/sites/avforums/public_html/forums");
$_REQUEST['t'] = 452805;
include("/home/sites/avforums/public_html/forums/showthread_inline.php");
which just displays the 'No Thread specified' error.
I have looked at some of the vB code to see where request variables are 'received' to get a clue on how to do this. I have looked in init.php and global.php but don't see any sign of such code.
(P.S.
Quote:
= means This is now the same as That.
== means This has the value of That.
|
No offense but I've been programming computers for 25 years

)