Jump to content

ierpe

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Everything posted by ierpe

  1. Actually this is a local script, using php-cgi. Im using php here as a "shell scripting" since im never working on windows and that the scripting under windows is just a pain. Im using php here to connect to a server via ftp, if a new file has been uploaded, compare it, if different from last downloaded file, download it, stop the server, update application, restart server. And it works, i just did exec('net start blipserver', $output, $return_var); I know this wouldnt work for a web application, I forgot to precise i was using php in this case more as a shell script!
  2. hey, I need to stop and start a server application (on a windows system). The command line to start/stop the service is: net start blipserver or net stop blipserver I'm trying to execute with exec but it doesnt work. Does someone knows if something special has to be done in order to be able to start/Stop services in windows?
  3. Hi, I need to stop/start a service with a php script (on windows xp) The commands I have to execute are "net stop blipserver" and "net start blipserver". It works in a command window. im doing exec( 'net stop blipserver' , $output , $return_var); but it doesnt do anything, I dont get any error, but the service is actually not stopped. $return_var is 1, although I don't know what 1 means for a service start, if it was successful or not... I put "net stop blipserver" into a bat file that im calling via exec('blipstop.bat'); But logically it doesn't work either. Any idea whats wrong? I guess its some sort of permission problem, but where..? Can't really find anything on google about starting services... Please help! Regards, P.
  4. Actually I can't find any free script, since I would like to write one myself, I am searching for an open source one (or a cracked one ) Anybody has a link?
  5. Hi there, I would like to implement an "invite friends" feature that goes into email accounts (after the user gave you its username and pass), get the user's contact list, and then send invitations, like most of big websites do now. (Facebook, deezer, ... ). I dont really know where to start because I wasn't able to formulate a good search in google... So if anyone has a link to a tutorial or a similar script somewhere, it would be great! ^^ Regards.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.