Search found 5 matches

by Mustafa
Tue Mar 28, 2017 6:38 am
Forum: PHP Scripts
Topic: Sending Arguments To Inside Another Php Code
Replies: 4
Views: 1464

Re: Sending Arguments To Inside Another Php Code

If you are controlling a camera, use one form and one script to process the data; I don't understand why you want to use another file? if your xxx.php and yyy.php are to control the x & y positions, there's no need as it adds unnecessary complication - if your form moves or states an absolute posit...
by Mustafa
Mon Mar 27, 2017 9:12 am
Forum: PHP Scripts
Topic: Sending Arguments To Inside Another Php Code
Replies: 4
Views: 1464

Re: Sending Arguments To Inside Another Php Code

Hello hyper; I missed some point about argument , these argument values are changing in my project we are controlling camera from webserver , and index.html post these variables to the cam.php which is in the /usr/share/apache2/ htdocs , when button is pressed like zoom button , cam.php takes the zo...
by Mustafa
Sun Mar 26, 2017 11:33 am
Forum: PHP Scripts
Topic: Sending Arguments To Inside Another Php Code
Replies: 4
Views: 1464

Sending Arguments To Inside Another Php Code

Hello guys ; I want to send for example some argument value from xxx.php to yyy.php , but the yyy.php is in the different directory like /home/root/ Is there any solution to send the argument ,which is defined in xxx.php , to yyy.php and assign the Posted variable to another variable in that way I w...
by Mustafa
Sun Mar 26, 2017 11:00 am
Forum: PHP Scripts
Topic: Php Sending Data to Serial Port Problem In Linıux
Replies: 2
Views: 966

Re: Php Sending Data to Serial Port Problem In Linıux

It should be just hello
I made this code it s very very simple :D and It works ;

Code: Select all

<?php
$echo = ` echo 'hello' > /dev/ttymxcXX `;
echo $echo ;
?>
I hope it helps others ..

Thanks
by Mustafa
Sat Mar 25, 2017 10:55 am
Forum: PHP Scripts
Topic: Php Sending Data to Serial Port Problem In Linıux
Replies: 2
Views: 966

Php Sending Data to Serial Port Problem In Linıux

Hello guys; I have a little problem on PHP , I need to send some datas to the serial port with php in linux . I m using this ; exec (" echo -ne 'hello' > /dev/ttymxc0 "); it is okey but I can't see anything on my console . After I write ; echo -ne 'World ' > /dev/ttymxc0 the output is like ; Worldhe...