I am using Post My CF7 Form with Contact Form 7 (wordpress plugins) to be able to allow users to fill in a form and create a post via the front end. With Post My CF7 Form you have the ability to create a checkbox field or a dropdown menu and map it, the user ..
I have been working on AdminLTE and trying to customize it. However I wasnt able to get my Jquery scripts for search bars work one of them wasn’t important at all but last one is kind of curicial so I need to get it solved. <?php @session_start(); @ob_start(); define("DATA","data/"); define("SAYFA","include/"); define("MYCLASS","class/"); include_once(DATA."connection.php"); define("SITE",$siteURL); ?> <!DOCTYPE ..
I try to upload a file with progress bar and with other form data. Whatever I try I receive or $_FILE but with empty $_POST, or $_POST but no file. If I don’t use .ajaxform just send it with ajax, I can receive both, but I can’t get upload progress. The HTML: <form action="api.php" method="post" ..
I am working on a project that shows a list of posts. At the end of the list, there is a button to load more posts, this button will load 12 more posts to the bottom of the list through Ajax. I am having what seems like a very common issue, but one that I, ..
I am working on ajax and PHP. When I click on the post button the message value removes by $("#message").val(""); after ajax success (data inserted into the database by PHP and ajax ) but the file(browse ), the image doesn’t remove after success. The file should be empty after AJAX success and the ajax code ..
I am a beginner, I appreciate your help. I want the chg_tk "Change" button to update the data user selected in table in the database. Everything works fine, except that the data is not updated in the database. This is the request to the database. ` <?php /* Abrimos la base de datos */ include_once("./procesos/conexion2.php"); ..
I am trying to generated a QR code by taking a html input. I have this HTML code for the whole structure: index.php <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <link rel="icon" href="https://codingbirdsonline.com/wp-content/uploads/2019/12/cropped-coding-birds-favicon-2-1-192×192.png" type="image/x-icon"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js" integrity="sha384-LtrjvnR4Twt/qOuYxE721u19sVFLVSA4hf/rRt6PrZTmiPltdZcI7q7PXQBYTKyf" crossorigin="anonymous"></script> <link rel="stylesheet" ..
Scenario: I am developing CMS system and I wan to add some categories to the objects (pages, posts, media etc.). In my view, to save a new category I use HTML form placed in Bootstrap modal which is sent via AJAX to my controller. The CSRF protection is enabled on the entire site. While sending ..
I have wordpress website where I am creating events with time to it. I can access it using following in my php function file. $start_date = DateTime::createFromFormat( AGENDA_SESSION_DATE_RETURN_FORMAT, $session[‘start_date’] ); $start_date = strtoupper( $start_date->format( ‘g:i a’ ) ); $end_date = DateTime::createFromFormat( AGENDA_SESSION_DATE_RETURN_FORMAT, $session[‘end_date’] ); $end_date = strtoupper( $end_date->format( ‘g:i a’ ) ); It uses server ..
I am trying to get wikipedia api using curl PHP with geonames. But it seems to be something wrong in the connection between the php file and the script. I have tried the url with hard coded values in the PHP and it works however if I tried to concatenate using $_REQUEST the url doesnt ..