Apache doesnt received arguments - as it invokes the script with web
based enviroment variables: https://www.php.net/manual/en/reserved.variables.argv.php
You probably need one of the other variables: https://www.php.net/manual/en/reserved.variables.php
Makes sense, I have a vague recollection of using a $GET or something similar, but for the life of me I can't recall what I used it in or how to. Thinking harder just now it might have been in the Pineapple search script... I'll have to go and have a peek at it.
Spec
--- SuperBBS v1.17-3 (Eval)
* Origin: (21:3/101)