Expand my Community achievements bar.

Prepared for a grilling... amfphp - is this a bit naughty?

Avatar

Level 1

I found a way to amfphp without code changes etc. Worlds shortest class too.

Not sure what you guys think. Takes about 2-3 seconds to respond and probably highly inefficient but being one that cant rest without a solution it gets me onto the next thing pending something from you experts.

<?php

class chatter
{
   public function __construct()
   {
   }

   function getchat($screen_name,$room)
   {
      return exec("wget -qO- http://localhost/amfphp/services/afcs/letmein.php?user=$screen_name&role=5&room=$room");
   }
}
?>
~

(where letmein.php is index.php with my login creds and it prints out the token)

Thanks in advance and also, thanks for the rapid and detailed help I've received from you guys in this forum the last couple of days. Very much appreciate all of it.

Kevin

0 Replies