Jump to content

spyworld

New Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

spyworld's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Browser result is different than php curl output. How to fix it? http://kat.ph/applications/?rss=1 $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://kat.ph/applications/?rss=1"); curl_setopt($ch, CURLOPT_VERBOSE, 0); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/rss+xml; charset=ISO-8859-1", "Content-length: ")); $result = curl_exec($ch); curl_close($ch); echo $result;
  2. This is just an example of authenting download file. http://storage.imclement.com/share/001.zip
  3. How to custom the magic method? foreach($data as $key => $value){ $this->data->$key = $value; } function __get($name) { $this->$name; } function __set($name,$value) { $this->$name = $value; }
  4. what are those client data that can collect?
  5. php can detect "mac address", "ip address", "browser agent", "cookie" and "hostname". What else php can detect?
×
×
  • 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.