search for: proc_close

Displaying 2 results from an estimated 2 matches for "proc_close".

Did you mean: priceclose
2003 Oct 17
1
Script Control of sftp
..._open( "$sftp $User@$Server", $descriptorspec, $pipes ); if (is_resource($process)) { fwrite($pipes[0], $Password."\n"); fclose($pipes[0]); while(!feof($pipes[1])) { echo fgets($pipes[1], 1024); } fclose($pipes[1]); $return_value = proc_close($process); echo "\ncommand returned $return_value\n"; } ?> -- Alan Little Holotech Enterprises
2008 Jun 13
1
String "fwrite();" causes 503 error (Passenger or apache?)
Hi, While testing a rails application on DreamHost (mod_rails), I found a really weird problem. If I submit form data which includes "fwrite();" (with semi-colon but without quotes), I get 503 error (Server temporarily unavailable). I checked out rails log file and it didn''t even reach the rails app. I assume the error was from web server. You may test this at