PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
 | Learn to Play the Ukulele
Make your own music in your own way on the ukulele and have fun doing it. This online course is taught by "Cool Hand Uke." Sign up today for just $25.  | From our sponsors | | |
[ASK] nanya om2 master2 semua.. ada yang tau ya er... Nov 19th 2013, 03:16, by Wisnu Suhoko | [ASK] nanya om2 master2 semua.. ada yang tau ya erornya kenapa? tks before..
<html> <body> <?php $cmd_str = "MODE COM1: BAUD=9600 DATA=8 PARITY=N STOP=1 XON=OFF TO=OFF OCTS=OFF ODSR=OFF IDSR=OFF RTS=OFF DTR=OFF"; $output = array(); exec($cmd_str, $output, $result); set_time_limit(0);
$serial_port = fopen('COM1','rb') or die ("gagal"); $data=fgets($serial_port)or die ("kampret");
fflush($serial_port); fclose($serial_port); ?> </body> </html>
hasil : Warning: fopen(COM1) [function.fopen]: failed to open stream: Permission denied in C:\xampp\htdocs\timbangan\monitoring.php on line 10 gagal | | |
|
Tidak ada komentar:
Posting Komentar