what’s up? I hope well. So, I am a C.E. student in my freshman year and I’m trying to create an application where I can manage (see tables and delete rows) in a mobile device (Android OS) but I have struggled in the way that I can do that. I never worked with databases before, ..
I’m trying to install phpmyadmin to my raspberry pi but i get error, am i wrong in which step? i run the below code: sudo apt install myadmin and get this error: Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt –fix-broken install’ to correct these. The ..
I’m not very good at PHP and I have a problem. This is my Code: ”'<?php echo "PHP WORKS!"; exec("echo 17 > /sys/class/gpio/export"); exec("echo in > /sys/class/gpio/gpio17/direction"); $button_state = exec("cat /sys/class/gpio/gpio17/value"); echo $button_state; ?>”’ It’s embeded in a html page. The $button_state detects a gpio hardware button on a Raspberry Pi. Its this line: $button_state ..
I’m trying to install the Laravel/ui package into an existing Laravel 7.28.4 project. I’ve installed the package on my local machine and uploaded the vendor/laravel/ui and vendor/composer folder manually to the remote server. I’ve done it this way because my server is a Raspberry PI 3 Model B with 1GB of RAM, composer ran out ..
I Have A server set up that whenever an HTTP link is visited the lights in my house go on and off. I want to make a website that lets you schedule when this happens. I’m running this website on a Raspberry Pi with Apache. My question is how can I program the raspberry pi ..
I was playing with my Raspberry Pi and tried to communicate via I2C with microcontroller. But it fails because for some reason php doesn’t see the i2c-1 file in /dev Not just i2c-1 device, but majority of devices are not shown: The problem is, if I call from PHP: shell_exec("ls -l /dev/"); I get this ..
If anyone have ever used PiSignage you know they have some advanced features like ‘Take screenshot’, ‘Shell frame’ etc. What i want is to have a button on my website and when i click it it tells my RaspberryPI player to take a screenshot and send it back to the website. What should i lookup ..
I am trying to get a website to work, but cannot figure out how to edit the server PHP file without the website crashing. I am not getting many hits on google looking for this issue. I am attempting to build a "stripe checkout" page, where you can put a hold on a card. I ..
Good evening Stackoverflow, I am new to web development. I created a website on Windows using PHP, MySQL and one Line of JS, and tested it with XAMPP. Works perfectly. If I load this page on my PI now, it doesn’t work anymore. The php script stop working. PHP is up-to-date. I can’t update MariaDB ..
I tried to run this command: php -r "touch(‘/mnt/my_drive/test.txt’, 1600981328);" I got this error: PHP Warning: touch(): Utime failed: Operation not permitted in Command line code on line 1 If I run it with sudo, I don’t get the error. /mnt/my_drive is an NTFS drive. The mount was created in fsab with umask=000, so I ..