Jump to content

jessPHP

New Members
  • Posts

    5
  • Joined

  • Last visited

jessPHP's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi There! I would like to contribute to some free software web project. I have good skills in PHP and frontend Html, CSS3 and JavaScript (jQuery). Could you guide me please? Where can I start from? Thank you very much!
  2. Hi There!! I am a newbie with cloud computing. I have been using AppFog for PHP, but they are reducing the services for free accounts. Do you know any other free cloud storage?? Thank you very much!
  3. Hi everyone!! I need help! I have to configure Mailchimp & Mandrill for my website. When users signs up in my website, I need to send them a welcome email, but I do not know how to do it. I have been reading the documentation in https://mandrillapp.com/api/docs/ and other links. Please, could you show me the way to do it?? or just a link to a tutorial or something like that?? I am developing in PHP, Apache and MySql Thank you very much!
  4. Hi kicken, thank you very much for your response. I am not sure, but I think I need concurrent server because each client connection needs an unique communication. This would be my code: $client_sock = socket_accept($socket); $pid_child = pcntl_fork(); if($pid_child ==0) { while(true) { $input = socket_read($client_sock, 100); if($input) handle_message($input); else break; } socket_close($client_sock); //send a message to the rest of clients, telling them that this client went offline } [code] I am developing an online game, where several users can invite other users to play. Besides, each user can send a private message to another user, something like a chat. Another thing I need, is to implement a shared list of users, using some IPC technique, but I do not know what to use... Thank you again!
  5. Hi everyone!! I am developing a concurrent websocket server in PHP. I prefer to implement it using pthreads rather than using fork to create new processes, because the server is supposed to handle thousands of connections, and threads are lighter than processes. But when I execute this code: <?php class My extends Thread { public function run() { /** ... **/ } } $my = new My(); var_dump($my->start()); ?> I get this error: PHP Fatal error: Class 'Thread' not found in /home/user/htdocs/example/server.php on line 3 Why?? How can I get pthreads working in PHP?? By the way, do you have another suggestions to implement the concurrent server?? I am using Ubuntu 12.04 64bits Thank you very much!
×
×
  • 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.