I created an Laravel API. First, it was using HTTP, I needed to change it to use https. So I created an account on Cloudflare and since then when I go to my API endpoints: GET: https://www.traapp….
Tag: php
laravel log system with logstash
I have a laravel application that I want to store my logs into my logstash and see them in kibana i searched a lot over the net to find a solution for it but I didnt find any good source for it, is there any package to use laravel logs into logstash ??? by the way I have my logstash
Transforming scraper class code into Laravel command
I want to convert a website scraper that I made in basic PHP, which is working fine, to Laravel. My question is, how to accomplish this? A friend of mine told me something about php artisan make:command, but I never used this before and neither did he. Can you give me some pointers on how to use this? Any hel…
Cann’t delete row in php using AJAX
I am deleting row in PHP using AJAX, but it shows Row can’t delete. My Delete button is like this… while ($row = mysqli_fetch_array($exec)) { ?>
PHP – Can’t move file
I’m looking for sending attachment by using PHPMailer. To send the mail I need to store it so I create a folder automatically during the process, and I want to save those uploaded files inside this …
How do I validate with number and regex in vue js?
I have to validate textbox accepting only numeric value and number must start with 7 or 8 or 9 (regex). I have already done maxlength, minlength and required rule. Which are perfectly working fine. But I don’t know how to validate with only accepts number and regex. I have tried some of the syntaxes but…
How to configure API key & API secret in Laravel?
I have been working on a Laravel project that provides online education to students. I wanted to use Zoom services of video conferencing so that the teacher can connect with their students through video conference. Following the API reference documentation, I have registered an app with Zoom. I got an API key…
Variable not working when an integer works fine in Gravity Forms GFAPI::get_entries filter
I am trying to understand why a variable that contains an integer cannot but used to replace the integer in GFAPI::get_entries field_filters value. This works: This does not work: where $child_entry_ID is 72. Of course prints “72” I use it like this In the case that works, my arrays print correctl…
Artisan command notification to all users gives BadMethodCallException
How can I create an artisan command to send a database notification to all users in the system containing information of how long they have been in the system for? My SendEmails Command looks like the following: Then I created the notifications table, migrated and the code is the below: User.php: When I run t…
Upload longblob works in local but not in web server
I have a php file that loads an image and receives a text, then sends them to another .php that runs a query to save the data in the database … everything works fine in my local version, but in the version Web only the text is saved, the longblob does not. I tried to debug using $_FILES[‘errorR…