Questions tagged [php]
PHP is an open-source, multi-paradigm, dynamically-typed, and interpreted scripting language designed initially for server-side web development. Use this tag for questions about programming in the PHP language.
1,466,391
questions
1
vote
0
answers
11
views
PHP Insert with Select and combining bound parameters with select values
I have a puzzle I'm trying to figure out. I am trying to creating an insert with select query to run once after looping to gather the information. This is using procedural php.
With the help of loop/...
-1
votes
0
answers
8
views
unable to install composer with php 7.1.11
I am trying to install composer but it returns this error:
The Composer installer script was not successful [exit code 1].
OpenSSL failed with a 'certificate verify failed' error. This indicates a ...
0
votes
0
answers
13
views
PHP echo out an href that contains javascript and php variables [duplicate]
Consider the following href:
<a href="javascript:loadRightMain('director_u.mv?func=1215&sub1=0&SRVID=<?php echo $srvs['id']; ?>&CLIENTID=<?php echo $CLIENTID; ?>');&...
0
votes
0
answers
12
views
Getting authentication error while connecting Laravel application to QuickBooks web connector
I am trying to connect Laravel appliaciton to the web connector, but I am getting an authentication error
Although Laravel logs says authentication is successful but web connector shows the following ...
0
votes
0
answers
12
views
Problems with the update in CRUD PHP Codeigniter 4
I'm trying to do a CRUD with Codeigniter 4, it's my first time using this framework. I created the Database in Mysql and I have already done the register and login ( they work at the moment) So on the ...
0
votes
0
answers
11
views
Laravel Socialite PayPal callback - Header may not contain more than a single header error
I'm using Laravel Socialite to get account details from PayPal. I have the user successfully being directed to PayPal with OAuth, but when the callback from PayPal back to my site happens, I get the ...
0
votes
1
answer
23
views
Undefined function while using a webhook
I'm getting an undefined function error while using a webhook from Square. My callback script doesn't seem to recognize my PHP includes. Is this something related to it being a callback to a webhook? ...
-2
votes
0
answers
12
views
XAMPP doesn't send email [duplicate]
So, I'm working online on a site, as a freelancer programmer, and I have a problem. I create a contact page, that works with mail() function PHP, but local server XAMPP doesn't work. Why? I wrote this ...
0
votes
0
answers
10
views
How to link a style sheet in php if the files are not in the same folder?
I have a php project structured like so :
├───public
│ index.php
├───styles
│ style.css
├───vendor
└───views
├───category
│ show.php
├───layout
│ footer.php
...
-3
votes
0
answers
18
views
PHP errors : E_NOTICE ou E_WARNING? [closed]
Bonjour !
Je suis un peu confus avec la gestion des erreurs PHP désormais : j'ai l'impression que mes erreurs de level E_NOTICE deviennent toutes des erreurs level E_WARNING.
A priori en fait, ...
0
votes
0
answers
16
views
php.ini Path Disagreement
There are two tools commonly used to identify the configuration file path of php.ini. But in my environment, Ubuntu running Apache and PHP 8.2.21, the two tools disagree.
From my browser, running a ...
0
votes
0
answers
7
views
Error 404 with Pagination on Custom Query
I have a custom query with a while loop on my page.php, to display multiple post types I have created using ACF. But my pagination does not seem to work, it always shows the Error 404 page.
Here is ...
0
votes
0
answers
10
views
Sentry Queue integration with Symfony messenger
I'm trying to setup Symfony Messenger with Sentry Queues but for a while without any luck. I cannot find any resources online to this specific topic. I'm trying to use the example sentry provides and ...
0
votes
0
answers
34
views
How to prevent user from executing PHP script multiple times within few seconds?
I want to be able to run php script and then it should check itself to make sure X number of seconds have passed before it can run again. I am not talking about halting it's execution for x number of ...
-4
votes
0
answers
19
views
PHP diff( ) and add( ) wrong result [closed]
I make a time in and time out system using php and mysqli, when I click time in, the form submitted a current date and time to the database and that was working properly, so I want to add 8 hours on ...