How do I execute PHP from user_create_post.sh?

mikeyg6754

Verified User
Joined
Jan 23, 2012
Messages
20
I would like to know the best way of executing a PHP file from user_create_post.sh
I also need to pass the username to this PHP file

Thanks in advance.
 
Thanks for the reply.

I can't seem to get it to work.

Is there an example I can look at?

For instance, I would like to run

php /home/script.php -u $username

Thanks in advance for the help.
 
As Alex sayd, post the code would help, also, i would suggest to use the full php executable path cause ive noticed that use just "php" can let script doenst work (happend to me in past)

Regards
 
Back
Top