Re: [PHP] remote script execution

2004-09-08 Thread Sean Smith
I had SSH setup to require passwords when logging in, so that is why I was having trouble trying to figure out how to get it to work. I now have the two servers in question setup to auto login based on their keys. I have successfully run the remote script from the CLI on server 1. Now I just

[PHP] Re: Timing on an internal email

2004-09-08 Thread Sean Smith
You can have the php script written so that it performs the functions you want then setup a cron job to run that script at a given time or interval. I do this with daily and weekly operations now. It works great. Alex Hogan wrote: Hi all, I want to set up a delivery date and time for emails to

Re: [PHP] remote script execution

2004-09-07 Thread Sean Smith
Warren, I use ssh on all of my servers for logging in remotely. My next question would be, how do I connect to the remote server to run commands through PHP? Do I need to setup a socket or something? Could you provide me a pseudo sample or maybe point me to some docs. I've never had to do

[PHP] remote script execution

2004-09-03 Thread Sean Smith
Scenario Server 1 is a LAMP webserver. Server 2 is an email server. I have a php script on Server 2 that creates user accounts and echos the UID, GID, and HOME. It works great when your logged into Server 2 and run it from the CLI. What I'm trying to do is have my GUI on Server 1 call the

[PHP] remote script execution

2004-09-03 Thread Sean Smith
Scenario: Server 1 is a web server Server 2 is an email server I have a php script on Server 2 that creates user accounts from the CLI just fine. I have a GUI on Server 1 with several forms for user data stored in a database. What I'm trying to do is have Server 1 call the script on Server 2

[PHP] remote script execution

2004-09-03 Thread Sean Smith
Scenario: Server 1 is a LAMP webserver Server 2 is an email server I have a php script on server 2 that creates user accounts. It works great when your logged into the server and running it from the CLI. I have a GUI on server 1 that is used to input user info into a database. Question: What I'd