Гость » 09 мар 2024, 22:06
Последнее сообщение Гость «
Гость »
Я создал очень простой пример, используя phpmailer , and it's working, except it sends the email twice . The script is only being executed once, but I'm always getting 2 separate emails in the destinatary email (i know because the subject changes...
Гость » 09 мар 2024, 21:40
Последнее сообщение Гость «
Гость »
I was trying to use spatie role and permission but when i try to update role and permission it gives me the above error and highlights the if statement in the function below located inside the user model
public static function...
Гость » 09 мар 2024, 21:33
Последнее сообщение Гость «
Гость »
I'm new to php and API calls, I'm trying to find the email address of my local MP using the parliament API (
Challenge is, I can't return the email address directly. I can loop through the results of the call, but I want to return the email to a...
Гость » 09 мар 2024, 21:28
Последнее сообщение Гость «
Гость »
I'm implementing Google Handler for logging in via PHP, and I'm encountering an issue with session management. When I log out, the session doesn't seem to be destroyed properly. Subsequently, when I attempt to access the Google Handler again, I'm...
Гость » 09 мар 2024, 21:28
Последнее сообщение Гость «
Гость »
I'm trying to change the default theme editor ( jqte ) to the WP editor, but the edited content is not updating upon form submission.
Here is the code I'm trying to use:
ob_start();
$editor_id = 'ad_description'; // Unique ID for the editor...
Гость » 09 мар 2024, 21:18
Последнее сообщение Гость «
Гость »
I am new at WordPress/Gutenberg, and I am not familiar with PHP. I'm trying to write a custom block with JavaScript in Gutenberg, but I found most of the functions available only work in PHP. How I can use functions in JavaScript like...
Гость » 09 мар 2024, 21:07
Последнее сообщение Гость «
Гость »
I dont know how to describe this problem. Lets say i have this table in my database:
| Team | Zone |
| ---- | ---- |
| Alfa | A |
| Alfa | BB |
| Alfa | CCC |
| Beta | A |
| Beta | CCC |
| Beta | DDDD |
| Crit | BB |
| Crit | CCC |
Гость » 09 мар 2024, 21:07
Последнее сообщение Гость «
Гость »
Looking for advice, and best practices for changing the code below, so that it isn't vulnerable to any SQL attacks.
Looking to do this by escaping user data passed to SQL queries, but not sure of the safest and best way to do this.
Looking for any...
Гость » 09 мар 2024, 20:38
Последнее сообщение Гость «
Гость »
I have created a website in Wordpress. In that , I has a page create_invoice, where I have added html that takes user input in the form.
I have set up the logic so that this page is only displayed to logged in user.
What I want is, when user submits...
Гость » 09 мар 2024, 20:24
Последнее сообщение Гость «
Гость »
I am trying to start mysql on xammp control panel, but I am getting this error.
I want to connect php on VS code to mysql through xampp.I have tried uninstall and reinstall xampp several times, I am still getting the same error. I also copied the...
Гость » 09 мар 2024, 20:18
Последнее сообщение Гость «
Гость »
I am doing a school practice sac where I have to create a program where the scenario is that:
Penelope is moving house and knows that it will be quite an expensive time. She needs a program that will allow her to add up how much it will cost to...
Гость » 09 мар 2024, 20:09
Последнее сообщение Гость «
Гость »
I have been running php 7.4 FPM with apache since it was released - today after doing an apt upgrade we started getting 'Uncaught Error: Call to undefined function xmlrpc_encode_request()' . After running a php -v we are now seeing PHP 8.0 as the...
Гость » 09 мар 2024, 20:04
Последнее сообщение Гость «
Гость »
I have a login/register form. When I insert the data manually in phpmyadmin and try login it works, so it has a connection and is reading it correctly. But when I try to make a new account via the site it comes as a bad request.
I made a separate...
Гость » 09 мар 2024, 19:47
Последнее сообщение Гость «
Гость »
I want to create a PHP site which can manage multiple sessions and read contents from them. So in order to realize this I decided to use tmux with the PHP exec() command.
The sessions will run under the user www-data , each running their separate...
Гость » 09 мар 2024, 19:15
Последнее сообщение Гость «
Гость »
I am facing mysqli_error() expects parameter 1 to be mysqli, null given in anyone can help me? I have a separate file for database details and object class where i create 2 class first one for insert, delete, update sql query & second one is for...
Гость » 09 мар 2024, 18:56
Последнее сообщение Гость «
Гость »
I was wondering if I could please have some help with a PHP issue I'm having?
I'm a beginner and I've been working on making a basic CMS as a personal project to build my skills with.
It's all working so far, but on the admin page which updates the...
Гость » 09 мар 2024, 18:51
Последнее сообщение Гость «
Гость »
I'm trying to do a bulk-update from a formular and validate the input before posting it to database. But I must do something wrong, probably with the header location link in wrong place beacause it only validates the first id and don't care about...
Гость » 09 мар 2024, 18:37
Последнее сообщение Гость «
Гость »
I tried my best to find the document as I believe it has the documentation of /wp-json/wc/store/cart . I found Woocommerce REST API documatation and the Woocommerce Blocks documentaiton.
Great appreciation if anyone can provide me the URL of the...
Гость » 09 мар 2024, 18:37
Последнее сообщение Гость «
Гость »
I'm a beginner with Eclipse and PHPUnit. I think I configured my PHP project correctly to run PHPUnit with code coverage. My problem is : when I run PHPUnit from Eclipse, the tests are executed normally, the html report is generated, but all...
Гость » 09 мар 2024, 18:33
Последнее сообщение Гость «
Гость »
I just installed Laravel Backpack Pro and added an isAdmin column to my Users column / model.
I've updated app/Http/Controllers/Admin/UserCrudController.php so that when editing a user and viewing the list of all users isAdmin shows up as Admin but...
Гость » 09 мар 2024, 17:47
Последнее сообщение Гость «
Гость »
To integrate payment functionality into your PHP project and separate the roles of Registrar and Department Head from the Admin role, could you kindly provide guidance on the following steps:
Гость » 09 мар 2024, 17:31
Последнее сообщение Гость «
Гость »
PHP Global Variable
Are they available application wide e.g: if they are created on
index.php are they values available in file.php
Is the value of the global variable same for each user. Say I have
one user doing something and his global...
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения