[PHP] openssl question

2011-04-06 Thread Kai Renz
Hi, i try to create a self signed certificate using this code: ?php if(!isset($_GET['password'])) { echo Error Code: 1; exit(1); } if($_GET['password'] == ) { echo Error Code 2;

[PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Kai Renz
Hi there, i'm currently working on a socket project. It consists of two scripts. The first script (socket1.php) creates a socket on a specified port and waits for a client to connect. If a client connects, they exchange some informations, including a random created port. Next, the first script

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Kai Renz
Hi guys and thanks for your answers... @Nicholas: Yes, you are right. The first socket is only used if a new clients connects, thats why the script generates a new port so the client can connect to the new socket. After that socket1 should continue its work and wait for new clients. @Daniel: Yeh