[PHP] PHP Programmer
Hi Every One Expert PHP programmer. Interested in Web game development ? (*Expatriate allowed) UBISoft Chengdu is seeking for talented web programmer with interest and experience in the web domain. The main responsibility of the web programmer would be to make various modules for online games. The web programmer should be capable for creating various technical solutions as per the design requirements, additionally should have understanding of various web protocols. Requirements: -Holding a Degree course in technology or any other training or equivalent. -Working experience of at least three years in PHP. -Should have clear understanding of various protocols like HTTP, AMF. -Should have good working knowledge about databases and be comfortable in using MySql or equivalent database. -Should possess excellent programming skills in web technologies like PHP, HTML, CSS, shell scripting. -Should be able to use JavaScript and similar client side technologies and have good understanding of XML. -Should be comfortable in working on Linux environment. -Should have a clear understanding of object oriented programming. -Should be flexible in organizing the work as per the requirements. -Should understand how to work in a result oriented environments and should respect commitments towards the work. -Should be a team player and has the ability to work in the constructive direction for the company, team and personal growth. -Should be capable enough to adapt to changes and get the best out of it. -Should be fluent in English and should hold good communication skills to interact with various teams -Open minded to learn to adapt in Chinese culture from experienced managers. -A passion for creating and playing games -Experience with web games is preferable. Let me know if any one interest :-) -- Thanks and Regards Peeyush Gulati
Re: [PHP] http_request
Thank you all for your replies. We just solved it down using HTTP_REQUEST. 1.What we did was using HTTP_REQUEST a request was send to login page with post data credentials like username, password and some other field if required. 2. Then using HTTP_RESPONSE the cookies that were being sent from the application(viz wordpress,mediawiki) to the layer were retrieved into local variables. 3. Finally the cookies were set using setcookie() depending what all cookies were to be set like sessionid, username and so on. 4. Then using header('Location:URL'); the page was directed to desired loggedin page and since the cookies were also set now so the user would not have any issues in navigating through the application. If anyone is still not clear or has some doubts please do tell also suggest if this would have some loop holes. Thanks once again all. Peeyush On Jan 5, 2008 10:18 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Jan 5, 2008 11:41 AM, peeyush gulati [EMAIL PROTECTED] wrote: Thank you will do that Ok can i redirect the response to the browser from the layer after my layer has recieved the response from the application. Absolutely. That's the same premise under which the PayPal IPN works. The script (layer) sends a request to the application, and receives a response, parses it if necessary, and feeds that data back to the client. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- Thanks and Regards Peeyush Gulati +91-9916304135
[PHP] http_request
Greetings on New Year :) We have a script, say layer.php, which uses HTTP_REQUEST package to authenticate a user to an existing application (viz., wordpress, mediawiki etc.) I would like help on the following two fronts: 1. How do I return the cookies, headers etc. from the layer (which are being sent from the application) to the browser? 2. How do I redirect browser from the layer.php to a page of the application. I was thinking that if I could find a way to send the headers and cookies to the browser, I could also send a 302 status code, along with the cookies, to redirect the user to a page of the app. -- Thanks and Regards Peeyush Gulati +91-9916304135 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] http_request
Thank you will do that Ok can i redirect the response to the browser from the layer after my layer has recieved the response from the application. On Jan 5, 2008 10:05 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Jan 5, 2008 11:14 AM, peeyush gulati [EMAIL PROTECTED] wrote: Thank you for the reply But i am not asking for simple rediredtion. I am aware of the (header:Location:url); From a layer i am sending a http_request to an existing application, now the application will response back to the layer. My concern is how do i make the application response back to the browser instead of the layer without changing the code of the application although the request was sent from layer. This is what i am looking for. Is there some PECL package. Please keep your replies on-list for others to benefit. What you're asking to do is send a third-party response to the browser which never instantiates the call to the remote script in the first place. To my knowledge, it's not possible, which is a good thing. Otherwise anyone would be able to inject arbitrary responses (like a man-in-the-middle attack). -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- Thanks and Regards Peeyush Gulati +91-9916304135