menu

Recent questions tagged php

1 vote
1 answer
Cash flow on the site. How to properly design the base? Colleagues, good afternoon! With this question I appeal to your thoughts, vision and opinion for help, my own brains unfortunately not enough, but, I tried. The situa ...
by FreeAero
asked Sep 22, 2021
1 vote
1 answer
Error in Twig Php not found? Gave to work to check the performance of donation on the site, threw a backup of the site, I connected it and turned on the database. Checked at first on the hosting, it ...
by kimqar_ver
asked Sep 22, 2021
1 vote
1 answer
How do I get information out of this doc using php? There is a doc file like this. File <-<br/> From such files we need the second columns in the table Numbers... Issue: The number of these numbers is different ...
by m1rvi
asked Sep 22, 2021
1 vote
1 answer
How do I find an object without the JSON decode PHP key? Greetings all. I get a JSON file, decode it { "response": { "id": "29654", "user": "USER", }, ......} $array_decode = json_decode($url,true); I w ...
by GRO24
asked Sep 22, 2021
2 votes
2 answers
PDO::FETCH_FUNC or how to get the names of parameters passed to the closure? Suppose there is a code: $query = "SELECT FROM users_ban ORDER BY expiration_date DESC ";$ln = ;$sth = $pdo->query($query);while ($row = $sth->fetch()) { $r ...
by Arris
asked Sep 22, 2021
1 vote
1 answer
How to find a bug in PHP code? Hi all! After a small change and then undoing the changes, the code stopped working. Can you tell me where the error is? <? if (!defined("B_PROLOG_INCLUDED") || B_P ...
by EvgenyApMr
asked Sep 22, 2021
1 vote
2 answers
How do I make a delay before resending a form? Good afternoon, please advise how to turn off the availability of the form (I will just hide it and change it to text) for 15 minutes after the last successful submissio ...
by DVP88
asked Sep 22, 2021
1 vote
1 answer
What is the problem with creating a registration form? Built registration form with PHP+MYSQL. On the local server works fine, but when I uploaded it to the hosting began to give an error: 30) { $err = "The login must be ...
by Temirla
asked Sep 22, 2021
9 votes
3 answers
image
What causes the request processing time jumps? Hi all, what's up: Server: 2 x 2.8 GHz, 4 GB RAM, 50 GB NVMe (13 GB full), 200 mbps ubuntu, nginx, php-fpm, php 7.3, laravel, mysql it has an API server that is supp ...
by Tutucu
asked Sep 22, 2021
1 vote
1 answer
image
How and where do I check the submission form? There is a form. Is there an option to test it for functionality? Sort of like githubPages for websites I use PHPMailer ...
by ArtYarm
asked Sep 21, 2021
1 vote
1 answer
How to specify date interval in SQL from GET? Available: $stat = mysql_query("SELECT FROM `betaintranet`.`ad_stat` WHERE `ban_id` = $banid AND `datetime` LIKE '%2020-10-28%'"); and there are /bnid.php?start=28-0 ...
by shambler81
asked Sep 21, 2021
1 vote
2 answers
How to correct a logical error in the use of flags? Question on a piece of my code) I have a variable and some if-ops that check if there is something in this variable: if ($string!=1){//Какие-то действия}if ($string==1 ...
by StartPy
asked Sep 21, 2021
3 votes
1 answer
Is it possible to identify pictures of people*? Actually, we need to somehow find in the folder with the uploaded images to the site, all the pictures with people, namely with naked (Pron, aha), to thin them from th ...
by rv9ufz
asked Sep 21, 2021
1 vote
1 answer
Sending an email to gmail in php? Good day ! There are similar questions here, but the answers are not what you need. I have a script to send a letter (on the site form that performs the function - sen ...
by mustang_shelby
asked Sep 21, 2021
1 vote
1 answer
What do I do if a json property starts with a number? Hello, I get a json through a query, decode it and work with it. One of its properties is called 1st_half Therefore, I get an error: Parse error: syntax error, unexpec ...
by KeeVeeG
asked Sep 21, 2021
1 vote
3 answers
Why doesn't the file require connect? Hi, I want to write a bot in php using this SDK . I'm doing everything as described. 1.I use the copouser to put 2.I create two files in the root, bot and setup.php ...
by Alpha12
asked Sep 21, 2021
2 votes
1 answer
How do I change the URL in the address bar? Hello all, I need help, I can not figure out how to properly make a substitution URL, at the input of my link looks like this: /blog/2020/10/27/alkogolnyj-delirij-simpto ...
by MayorPlay
asked Sep 21, 2021
1 vote
2 answers
How do I create a referral system in my app? Good afternoon connoisseurs. Can you please tell me how to create a ref system in an application using php and mysql? On YouTube I found a couple of examples how to do i ...
by Chesterfield25
asked Sep 21, 2021
1 vote
2 answers
How do you compare arrays and record the difference? Hi all. Please tell me how can I compare the 2 arrays and if there are differences in the attachments write them down? We have an array first { "wips": { ...
by GRO24
asked Sep 21, 2021
1 vote
2 answers
How do I know the day of the week? The task is to create a function that takes a date in unix format and outputs 0 if it's Saturday and 1 if it's Sunday? $date = strtotime(date('Y-m-d')); I added the d ...
by MRcracker
asked Sep 21, 2021