2,720 Recommended Topics
Remove Filter | |
## Introduction ## The Hyper Text Transfer Protocol (`HTTP`) is one of the most common communication protocol on the internet. There are three major versions of HTTP that you should be aware of: **1.1**, **2.0**, **3.0**. Versions 1.1 and 2.0 are widely used today, so this tutorial mainly focuses on … | |
## Introduction ## When working on Java applications, it is very likely that you will run into JDBC at some point. While you are unlikely to have to work directly with JDBC when using frameworks, it is still important to know how the connection is established and how queries are … | |
Working on a game for a friends daughter for her 6th birthday. Its a scrolling game where the player will be Snoopy and they'll be flying around on his doghouse collecting Woodstock (Which are flying around the screen) for each level (There will be 4 levels). At the end of … | |
Hello, I get this error message: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '{' or '$' When running this code: ` Rp. <div id="total"></div> ``` <script> $("#total").html({<?php number_format($("#subtot").val(), 0, '', '.'); ?>}); </script> ``` ` Any idea why? | |
Hello I am building a database (i prefer MongoDB) that i will store over 100 mil ipv4 and ipv6 records for logging purposes. Data sample : 1.1.1.1 -> 0x1010101 1.2.3.4 -> 0x1020304 34.53.63.25 -> 0x22353f19 255.255.255.255 -> 0xffffffff 0001:0001:0001:0001:0001:0001:0001:0001 -> 0x10001000100010001000100010001 1111:1111:1111:1111:1111:1111:1111:1111 -> 0x11111111111111111111111111111111 2345:0425:2CA1:0000:0000:0567:5673:23b5 -> 0x234504252ca1000000000567567323b5 2345:0425:2CA1::0567:5673:23b5 -> 0x234504252ca1000000000567567323b5 … | |
Hello everyone! I am wondering how I can access the ending of my url address. For exampel: www.castingvault.eu/willy And I wand the name "willy" only and then process and use it in my php code. Usually you write the url like this: www.castingvault.eu/members.php?mem=willy and the following is how to access … | |
Hello , i am using vb6.0 can some one help me with my problem. I want to summarize a database with multiple name and display it into one data where the date is same today. thank you for any one would response. for example. below is a table where multiple … | |
Severity Code Description Project File Line Suppression State Error CS1061 'SignupScreen' does not contain a definition for 'BtnSubmit_Click' and no accessible extension method 'BtnSubmit_Click' accepting a first argument of type 'SignupScreen' could be found (are you missing a using directive or an assembly reference?) WpfSignupscreen D:\Visual Studio Work\WpfSignupscreen\WpfSignupscreen\SignupScreen.xaml 23 Active | |
## Introduction I recently bought a new laptop. Since I haven't used VB.Net in years (nothing but Python now) I did not install Visual Studio. That meant rewriting all my VB apps in Python/wxPython. One of my most often used apps was a shell extension I wrote to add a … | |
[Ranged Numeric Types in C++](https://github.com/Schol-R-LEA/Ranged-Numeric-Types-for-CPP) I've started writing a simple template class for automating range checking in specialized numeric types, inspired by the ranged types in languages such as Pascal and Ada. At the moment it is mainly meant for integer types, though I've made it flexible enough that it … | |
Hey guys I managed to get some code what works fine but it uses console application I have tried to convert it by hand and change things around to get it to work but with no avail! I'm certain it should be simple but I may be wrong :( Thanks … | |
You must write a small application in JAVA for items and their prices. Your program must: 1. Create an array of item names. Use the following item names: Bread, Milk, Butter, Chips, Honey, Soap, Towel, Carrots, Beans, Samp, Dress, Pants, Shoes, Socks. 2. Create an array of item prices. Use … | |
Which programming language does PHP resemble? Please tell me | |
I need a quick solution that will convert HTML doc to PDF and still maintain the same look and feel with pre-populated data and also maintain links in the PDF doc. Any solutions? | |
I am making speech to text app in C# window form it was working fine and running in vs but I want to make I have add a button in my application I want to make when I click on the button it start recognizing when I clicked on the … Programming asp | |
A little while ago, I wrote a [tutorial](https://www.daniweb.com/programming/web-development/tutorials/537376/sanitize-php-user-input-strings) about how important it is to sanitize PHP user input strings. Not only is it important to sanitize user input being fed into a database query, but it's also important to sanitize user input being displayed to the end-user to generate valid … | |
A PHP array is essentially a stack of elements that can be used to denote a list, represent a collection of variables, etc. You can easily use loops to iterate over each element of an array. As PHP is a loosely typed language, all of the elements of an array … | |
I want to set a max width for all pages on a web site but have no idea where to set it in the CSS file. I tried setting it in both the body section and the html section without success. I'd appreciate some help on this. Thanks in advance. | |
By default, PHP's clone keyword just creates a shallow copy of an object, and doesn't work as desired if the object contains properties that are also objects, because it doesn't create real copies of those objects but rather just pointers to the initial version of them. This function creates a … | |
I want to make a pdf file in php. I write code like this: <?php require_once __DIR__ . '/vendor/autoload.php'; include('conn.php'); $res = mysqli_query($conn, "select * from smash"); if (mysqli_num_rows($res) > 0) { $html = '<table>'; $html = '<tr><td>ID</td><td>Name</td><td>FatherName</td><td>Address</td><td>Phone</td><td>Class</td><td>Qualification</td><td>Branch</td><td>rollno</td></tr>'; while ($row = mysqli_fetch_assoc($res)) { $html .= '<tr><td>' . $row['id'] . '</td><td>' … | |
## Introduction ## When following tutorials on Daniweb, you might have run into one that requires knowledge about **Dependency Injection** as a prerequisite. People might also sometimes use the term **Inversion of Control** interchangeably with DI. These terms are related to one another, but they are not the same. In … | |
## Introduction ## Java annotations are often used to provide extra information for compilers, IDEs, and build tools. The extra information is often used to enhance the development cycle, such as reducing boilerplate, eliminating repetitive code, or warning against unsafe usage or mistakes. This tutorial aims to teach you the … | |
Which declaration of the main method below would allow a class to be started as a standalone program. Select the one correct answer. public static int main(char args[]) public static void main(String args[]) public static void MAIN(String args[]) public static void main(String args) public static void main(char args[]) WHAT IS … | |
I was working on an infix to postfix program (using stacks), but something went wrong somewhere. Please check whether my intopost technique is right because I am getting the output as infix without conversion. //stack class also containing the intopostfix method import java.util.*; public class Stack { int i,j; char … | |
The purpose of the program is to tell the user that the weekly salary is in on of three ranges, less than 200, between 200 and 800 and greater than 800. I need help knowing the error/s and need to add and use one additional preprocessor directive that might help … | |
Need help, been stuck on this the past couple days i dont really understand how to get my code to read from my file and count each occurence of a letter wheter they are uppr or lower case and output them to a file, just need help with the counting … Programming c++ | |
I'm 11 years old and I'm absouloutly LOVE programming. I'm learning C++, but I heard that C++ is used for creating games. Where can I learn game development online for free. | |
I am looking for an software/script that can generate high trust score browsers, i am using [this GitHub project](https://abrahamjuliot.github.io/creepjs/) to see the info about the browser and the score. I have tried to create few different projects using ZennoPoster, BAS, Undetectable, ATB. They all create with trust score: F- Someone … Programming web-browser | |
Good morning to all. I am Vishnu Kumar, MS (Software Engineering) graduate, fresher, 2012 passed out. And i am another one in your way with a dream to develop a game. I had gone through plenty of articles and topics (pinned in this forum too) but i find that, basic … |
The End.