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

Home » General » PHP discussions » Launching a php script file
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
Launching a php script file [message #160300] Sun, 16 August 2009 20:09 Go to previous message
wittrs is currently offline  wittrs   United States
Messages: 134
Registered: August 2009
Karma:
Senior Member
add to buddy list
ignore all messages by this user
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: Fri Oct 20 14:04:09 EDT 2017

Total time taken to generate the page: 0.00727 seconds