Php api

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Php api

    Hi,
    Trying to figure out how to make a simple
    web api. For example, users can register,
    login information is used in api url eg
    api.php? User = $ user & pass = $ pass &
    action = send. Action is used to send the
    relevant data. Also, the user has the right
    to send limited data. How to limit the 100
    send actions per user?

    #2
    Code:
    class UserProvide {
     function loadUserData(){
    //code here
    }
    function getUSerByEmail($email){
    }
    function addClients($userName,$userPass,$userEmail){
    //rest of code here
    }
    function Logout(){
    //logout handler
    }
    }

    Comment


      #3
      PHP Forms
      Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

      Comment


        #4
        One question that should be obvious; why should an api have sensitive data like password and username transported over http? There's a reason why OAuth exists you know.

        Comment

        Working...
        X