Re: [PHP] how to curl
mukesh, im happy to respond, but please keep the conversation on the list, so that others may benefit by having it available in the archives. Hey I dint realize that the question is going only to you. i have a few questions as well; is the query being executed on the provider system (that is the one you intend to send the http request to)? also, are you writing and deploying code to both of these systems, or just on the consumer (the one you intend to execute the curl request from)? Yes I'm doing on the both the server. And when a consumer server will send the query to provider's server the query will execute on provider server and then it will pass the result to the consumer's server. Its just like a Registration of the key. where consumer will check for the right key on the provider's server. in your case, i would expect the provider to expose some url that would essentially represent the query you intend to execute. it would then expect the consumer to provide an id during the request, so that it can use that in the query. then it would return the result, nearly verbatim from the database. so, if the provider supported the method as http GET, you might see something like this, which you would execute via curl, http://myrestapi.com/getAllFromTable?id=56 then, the provider would grab the id right out of $_GET (if it were also written in php). -nathan Since I'm trying to do on both side, so I'll provide the http GET method. can you please give small e.g. for both side. thank you
[PHP] how to curl
Hi, I want to send some text to the serverA For a varification and gettign some data from the server from the serverB. is it possible to achieve this using cURL If yes then can any one please tell me how do i achieve this? I tried to learn cURL function but I'm not able to understand any thing can nay one explain me how to use this funtion. Thank you.
[PHP] How to encrypt php code.
Hi folks, I have Given a task to make a application installation using key. The installation file is ready I have to just add the Registration key feature. I have to do following task. 1. when user gives the url a installation page apears. when he clicks on user agree terms, it goes to then next page where he give information about database and other stuff with the registration key. 2. If the registration key goes to the company's site and checks for authetication and if they have bought the product or not. can any one tell me how do i go about this? and also how do will make these code unreadable so that user could not manuplate the code. get access without registration. Please Do reply. thank you.
[PHP] It may be OT. phpmyadmin not opening.
hi , sorry for posting here.I really dont know where to post I asked in the mysql IRC they said it doesn't belongs to them. here is my question. I have installed Wampp and i'm not able to open phpmyadmin from networked pc. Though i can open the pages. but not phpmyadmin. thank you sorry again.
[PHP] Can I do in Drupal
Hi, I'm new to PHP and i have got an asign a job in PHP. I need to develop a site where a admin can handle a site like a CMS. e.g. updating a site without any tech guy. Is it possible using Drupal? If yes then can you please suggest how to go.. thank you
Re: [PHP] PHP eg.
hey thank you guys for your reply and suggestion i really appreciate it... now I'm planning to to write a small project. I think it will be a best way to learn PHP and the stuff how it works. defiantly this mailing list will provide me great help when ever I'll need. On Fri, May 30, 2008 at 9:03 PM, Eric Butera [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 2:34 AM, mukesh yadav [EMAIL PROTECTED] wrote: Hi, I'm trying to learn a PHP by myself...and i need a help. I have learned all the basic but i dont know how to implement the stuff. Can you please guys help me out give me a small site in PHP so that i can study and learn. thank you. The way I started was just a desire to know how to make this web thing work. So I came up with the idea to make a page that would show some current information I've posted and have the ability to add/edit/delete this information. Everything else fell in line once I had the idea of what I wanted to happen. I had to research pulling and putting records into mysql. It was a horrible mess compared to what I do now, but you have to get your feet wet somehow. Find something you want to accomplish. It gives you specific requirements and fulfilling them is where you really learn. After you complete your project, do another one. Along the way you'll learn what does and doesn't work. The first script I ever really tried to work on was loosely based around this article [1]. There are lots of issues I have with the code but it is what I started out with. It shows the basics of working with mysql and the whole record workflow. Some of the main issues I have are: - or die() is not error handling - no escaping of raw data on output - lack of data validation on user input These issues aren't as important if it is a local pet project. If you plan on making this more than a weekend hobby though, please make sure to read up on the security side of things also. [2] For a more in depth look see the OWASP Guide. [3] Good luck! [1] http://www.melonfire.com/community/columns/trog/article.php?id=280 [2] http://phpsec.org/library/ [3] http://www.owasp.org/index.php/Guide_Table_of_Contents
[PHP] PHP eg.
Hi, I'm trying to learn a PHP by myself...and i need a help. I have learned all the basic but i dont know how to implement the stuff. Can you please guys help me out give me a small site in PHP so that i can study and learn. thank you.