FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » Launching a php script file
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Launching a php script file [message #160300] Mon, 17 August 2009 00:09 Go to previous message
wittrs is currently offline  wittrs   United States
Messages: 134
Registered: August 2009
Karma:
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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Preg replace problem (again!)
Next Topic: Piping email with php scripts
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Apr 29 12:26:49 GMT 2024

Total time taken to generate the page: 0.05056 seconds