Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

kevinyeandel1
Level 1
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