Jump to content

CroNiX

Staff Alumni
  • Content Count

    1,469
  • Joined

  • Last visited

  • Days Won

    12

CroNiX last won the day on June 25 2015

CroNiX had the most liked content!

Community Reputation

58 Excellent

About CroNiX

  • Rank
    Prolific Member

Profile Information

  • Gender
    Male
  • Location
    Portland, OR

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. extract($str) is what you're looking for. Takes an array and breaks it up into individual variables using the keys of the array as the variable names. http://php.net/manual/en/function.extract.php
  2. You send the request to the script that ajax would normally be submitting the login info to. It doesn't need to be an "ajax" request, unless they are specifically looking for the XMLHttpRequest header in which case you'd just need to add it to the CURL header to simulate an ajax request. Something like: curl_setopt($ch, CURLOPT_HTTPHEADER, array("X-Requested-With: XMLHttpRequest", "Content-Type: application/json; charset=utf-8"));
  3. Isn't what you are calling internal the same as private? Try calling a private method from outside the class.
×
×
  • 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.