thanks for your script it is very cool
but now i have this problem i have some files called
head.php - where i keep all the css files and scripts
getpic.php - works nicely i can choose and submit
meds.php - dont know why not working
process_selected_mood_message.php - send to screen works perfectly
process_selected_meds.php - not working single select not optgroup
i have put all the code for the 5 files and there processor files please can you tell me why the getpic.php file is working perfectly , but the meds.php file has no
i will now paste each files code here
head.php
Corcoora
<script src="bootstrap/jquery/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="bootstrap/js/image-picker.js"></script>
<script src="bootstrap/js/dropzone.min.js"></script>
<script src="bootstrap/js/panelscript.js"></script>
getpic.php
<!DOCTYPE html>
```
```
##
meds.php
<!DOCTYPE html>
```
```
##
process_selected_mood_message.php - works fine with optgroup
good day
thanks for your script it is very cool but now i have this problem i have some files called head.php - where i keep all the css files and scripts getpic.php - works nicely i can choose and submit meds.php - dont know why not working process_selected_mood_message.php - send to screen works perfectly process_selected_meds.php - not working single select not optgroup
i have put all the code for the 5 files and there processor files please can you tell me why the getpic.php file is working perfectly , but the meds.php file has no
i will now paste each files code here
head.php
getpic.php
<!DOCTYPE html>
```
meds.php
<!DOCTYPE html>
```
process_selected_mood_message.php - works fine with optgroup
<?php $moods = $_POST["moods"]; // $result = count($moods); echo exec('sudo -u pi kill $(pgrep mirage) ; export DISPLAY=\':0\' ; export XAUTHORITY=/home/pi/.Xauthority ; sudo -u pi mirage -f /var/www/corcoora/pics/mood/' . $moods[0] . ' & sleep 7 ; sudo -u pi mirage -f /var/www/corcoora/pics/jpg/' . $moods[1] . '');
?>
process_selected_meds.php not sure if its this file or meds.php with problem
<?php $medss = $_POST["medss"]; // $result = count($medss); echo exec('sudo -u pi fbi -noverbose -T 1 -a -u -t 1 /var/www/corcoora/pics/med/' . $medss[0]);
?>
thank you if anyone can help me