Launching a php script file [message #160300] |
Mon, 17 August 2009 00:09 |
wittrs
Messages: 134 Registered: August 2009
Karma: 0
|
Senior Member |
|
|
If I have a php file in the scripts directory of FUDforum, and it contains the right php binary executable path (or whatever), then the script will be executed, right? Nothing else I have to do to get it to run?
You guys provide a generic version of the script at the top of the maillist.php file. It is this:
#!/usr/local/php/bin/php -q
My hosting company said that ours is this:
#!/hsphere/shared/php5/bin/php -q
I have this placed at the top of maillist.php and also popfud.php. My question is, will these scripts be automatically started, and how does the computer know which script to access first? I'm just wondering if there is not something else I should do to get them to execute. Because, as far as I can tell, the files aren't doing anything.
Thanks and regards.
|
|
|
|
|
Re: Launching a php script file [message #160307 is a reply to message #160305] |
Mon, 17 August 2009 17:50 |
wittrs
Messages: 134 Registered: August 2009
Karma: 0
|
Senior Member |
|
|
... never mind on the error message. It is coming from the version of the popfud file I am using. I think I know why. It provides for an array of lists, and I only have one maillist rule. So on the second list I assume it is spitting out the error. I'll figure that one out.
|
|
|