Dangerous Prototypes

Other projects => Past projects => #twatch network LCD backpack => Topic started by: sheetzam on November 10, 2009, 01:48:14 am

Title: PHP starter
Post by: sheetzam on November 10, 2009, 01:48:14 am
Anyone wanting to send data to the #twatch using PHP, here's a starter for you:
Code: [Select]
<?php
$fp=fsockopen('192.168.1.8', 1337);
if ($fp){
fwrite($fp, "xFEx42");
sleep(1);
fclose($fp);
}

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00922052112session_write_close ( )...(null):0
20.00952183704ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00952184480Database_MySQL->query( ).../DatabaseHandler.php:119
40.05332323208Database_MySQL->error( ).../Db-mysql.class.php:273