891 Recommended Topics
Remove Filter | |
I was consistently receiving MySQL "Packets out of order" error messages when attempting to connect to MySQL, mostly on my AJAX pages, but I couldn't attribute it to anything or reproduce it in any way. I did notice, however, that when switching MySQL persistent connections from on to off, the … Web Development mysql persistent transaction | |
Greetings Folks! I had signed up on Daniweb many years ago but never bothered to seriously post until now. Only when the "social networks" of the world like Reddit and Quora and Twitter started disappointing me beyond the usual excruciating limits did I decide to explore some other programming forums … Web Development codeigniter jquery php | |
DaniWeb is built on top of the Codeigniter 3.1.x PHP framework. Although I probably should have built it as a CI model, here is the database library that we are using. You can see it mainly serves as a wrapper for CodeIgniter's built-in database class. You can see we use … Web Development codeigniter daniweb-framework php | |
How can I include objects in each other using PHP OOP? I have 3 classes all classes make use of one another. I am trying to call them on `__construct` but it's creating an infinite calls to one another. How can I solve this? | |
Just as the title states, do non-web based email clients (e.g. Microsoft Outlook) respect CSP HTTP headers? Specifically, I want to prevent hotlinking of images hosted on my domain within HTML emails with these HTTP headers: Cross-Origin-Resource-Policy: same-origin Vary: Origin Web Development csp | |
Hi All, Good day. I am trying to develop a roster for my team in Microsoft Power Apps. We are 6 teammates which do the duty in following format. SUMMERS: 6A, 6B, 11A, 11B, 12A, 12B WINTERS: 7A, 7B, 11A, 11B, 1A, 1B. Please note that in every shift there … Web Development power-apps | |
I don't love Reddit , in fact before Google started to slap it on my face few months ago , I had many years to been there for a simple reasonĀ· I didn't liked their format nor their way of "building" a programmers community. Now everything I search in Google … | |
I want to display different html tags on the php page they are visiting, for example on the homepage and the computer shop basildon page I want the html tag `<section class="testimonal-two pt-0">` and on all other pages I want the code `<section class="testimonal-two">` Below is the code I have … Web Development php | |
Hello everyone, I have a task in which I would like to implement the graphical visualisation of a quadratic equation in the interval x =[-10,10] and - if any exist - the corresponding zeros, using CanvasRenderingContext2D methods. To convert the coordinates into pixel coordinates within the canvas: the coordinates into … Web Development javascript | |
I want to understand how I can add an SDK to my PHP projects to make APIs calls. I noticed that every software company have an SDK. I also noticed that most SDKs use Composer. I don't know what composer is and do I need to have it for every … Web Development api javascript php | |
About a year ago, I had a similar issue except then system would crash after pressing Submit. The issue was caused because of PHP 8 incompatibility problems. However, got the coding to fix all of that and things worked good again and with PHP 8. But now something new is … Web Development php | |
<!DOCTYPE html> <html style="font-size: 16px;" lang="en"><head> <title>Comment</title> <script src="js/jquery.js"></script> <link rel="stylesheet" href="sign.css"> </head> <body class="u-body u-overlap u-xl-mode" style="background: url(img/arcane.png);" data-lang="en"> <div class="container" style="text-align:left;margin-top: 10px;margin-bottom:30px; margin-left: auto; margin-right: auto;background: #fff;" > <div class="title">Registration</div> <form action="#" enctype="multipart/form-data" method="POST" > <div class="user-info"> <div class="input-box"> <span class="text">First name</span> <input type="text" name="firstname" placeholder="Enter Your firstname"> … | |
Hello I am trying to query a database to show records only for the current user using variable I get the correct data but only 1 row with results any guidance? // Query database to retrieve records associated with the user $sql = "SELECT * FROM table_name WHERE variable_name = … Web Development mysql mysql-query php | |
Hello guys, please can someone explain to me how i can know the framework of any website on the internet. I know how i can detect wordpress but other framework are hard for me. Please i need assistance on this. Web Development javascript | |
Hello, I am somewhat new to APIs. I have integrated PayPal payments successfully. With PayPal, I can send the user to the payment page using an HTML form. Here is an example ... <!-- PAYPAL --> <form action="https://www.paypal.com/cgi-bin/webscr" method="POST" name="_cart"> <input type="hidden" name="cmd" value="_cart" /> <input type="hidden" name="upload" value="1" /> … | |
Hello webmasters, I am currently building a template that I am going to sell on different websites like Codester and CodeGrape. I want to build a business directory. Here is what I have come up with ... 1. users can register and add listings. 2. admin can create categories for … | |
I think that I understand the difference between: document.addEventListener('DOMContentLoaded', callback_fn); and: window.addEventListener('load', (event) => { ... }); However, as a jQuery user, what is the difference between DOMContentLoaded and the jQuery ready fn? | |
I have problem with this htaccess in STATIC URL RewriteEngine On RewriteRule ^readlex/(.*)$/?$ readlex.php?slug=$1 [NC,L] **DINAMIC URL** work fine only with defined CONSTANT: Example <a href="<?php echo BASE_URL.READ_LEX ?>Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex/Le-mura-di-Lucca **STATIC URL** not work (??) <a href="localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca ***Unfortunately I can't insert the php CONSTANTS in … Web Development htaccess php url-rewrite | |
Hello everyone i want to disable the automatic swipe effect on my product page on this site https://kupisi.mk the lib is called lightgallery i am not able to find the line of code to turn it off for 2 days i need fresh pair of eyes !! :S i made … | |
This is a simple to use, self-contained website slideshow utility. Do you have a monitor or TV setup in your lobby where you'd like to present web content automatically? With this HTML/Javascript page, simply edit an array of pages or "slides". You define a title, duration, and URL for each … Web Development javascript | |
What was wrong with good ole using SMTP? Has anyone here successfully used an XOAuth library for PHP? Specifically, I'm looking to connect to my Office 365 mailbox. | |
Hi, Goodday everyone, I'm new to web development, please if I had questions, could I ask on her for a help reply? | |
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation exception that occurred within my application. This type of error apparently usually points to a problem where the code attempted to write to a protected memory … Web Development ajax javascript | |
I am trying to create a meme generator similar to imgflip.com I know javascript but not sure how to implement this. I want users to be able to move text around the canvas using mousemove event listener. But I am not sure if they are moving the text on the … Web Development canvas javascript | |
I, very hackily, create an object of type stdClass as so: $arr = array( 'foo' => 'bar', 'baz' => 'bat' ); $obj = json_decode(json_encode($arr)); How can I now quickly add a third property to $obj without PHP getting angry? Web Development php | |
I'm using Elementor Pro to build my website, including a custom header design. However, when the same header is applied to a page built with the Kadence theme (specifically the blog page), the design breaks down. ![header_issue.gif](https://static.daniweb.com/attachments/4/da38ba905d36bb38af9087b7e3299b95.gif) What settings or configurations within Elementor Pro might be causing the mismatch? | |
I have a memes site that users can earn from. I want to make the website easier to use and more fun. What should I do to make the website better? Website: PicturePunches Web Development css html5 javascript | |
hai. i would like to know is there have any video that can teach how to import image from database image folder to pdf using fpdf php. i already read some post here regarding to that issue by im not very clear and blur. actually i am very new in … | |
I want to prevent cross-site scripting attacks in web applications I make. If someone could provide me with some suggestions and advice, it would be really helpful. Web Development css javascript | |
I'm facing an SSL-related issue in Firefox with the 'SSL_ERROR_NO_CYPHER_OVERLAP' error. It seems there's a problem with encryption algorithms between the browser and the server, hindering the establishment of a secure connection. Any guidance or solutions would be appreciated. Web Development ssl-certificate wordpress |
The End.