Our Programming forum category encompasses application development, web development, programming theory, and everything in between.

96 69 69 67 63 60 59 58 52 49
Member Avatar
# NOTE # This was a PHP sticky, and I am working to turn it into a development sticky. If you have any comments, additions or other observations, please reply to [this thread](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/505442/read-this-before-posting-sticky). # Before you ask # - Read our [Forum Rules](https://www.daniweb.com/welcome/rules). - Engage your brain! We understand that …
by pritaeas 1,895 in Web Development ()
Member Avatar
I'm writing a code that requires me to import multiple python files that are similiar to that of a .obj file, in the sense that they will create a 3D figure using vertices and lines, etc. The problem is, the files will have the same name for a list (called …
by Nether_1 in Programming ()
Member Avatar
I've been using an .htacccess file to define a rewrite rule for extracting the username from the end of a url for years. The username has always been a combination of letters and numbers following a forward / and that is all, and it has been working just fine. Here …
by showman13 49 in Web Development ()
php
Member Avatar
have a code that loads an image online with the AsyncImage module in kivy. i wrote the code in python3 which runs well on the pc but doesnt work on a packaged apk. i think this is because i packaged it using python2.7 buildozer. thanks an image showing the error …
by mcroni in Mobile Development ()
Member Avatar
How should I concatenate the characters read from a file with fgetc to determine if it is a number, keyword or an identifier? The problem is that, for example, the number 555 must be one and 5 and 5 and 5 as words must be jose and not character by …
by Jose_12 in Programming ()
c c++
Member Avatar
Hi everyone. When I deployed my site I got this error: Fatal error: Uncaught Exception: FPDF error: Some data has already been output, can't send PDF file (output started at /srv/disk6/blablasite/rel_funcionario.php:1). I'm using fpdf v. 1.81 and I am developing in PHP (using XAMPP and Notepad ++), in that platform …
by Filipe_3 in Web Development ()
php
Member Avatar
$sql = "SELECT doc FROM file_loc where file_id='1'"; while($results = mysql_query("$sql") or die("Invalid query: " . mysql_error()); { // set the header for the image header('Content-type: application/pdf'); header('Content-Disposition: inline; filename = "' .$results . '"'); header('Content-Transfer-Encoding: binary'); if (isset($results)) { $pdf = new FPDI(); // get the page count $pageCount …
by chandnee in Web Development ()
Member Avatar
Hi!, I am getting a warning message while trying to update values in textfield but the values are getting updated in database. here is my code, <?php $id = $_GET['id']; //print_r($id); $action = $_GET['action']; $page_name = mysql_real_escape_string($_POST['page_name']); $page_content = mysql_real_escape_string($_POST['page_content']); if (isset($action) && $action=='edit') { $sql = "SELECT * FROM …
by SubratPHP in Web Development ()
Member Avatar
I'm tyring to figure out a way to compare the information in 2 different tables from 2 different databases. If they are in the same database it's easy enough but I haven't found a way to do it from 2 different databases.
by Henryu in Web Development ()
Member Avatar
Hello I have a log-on page and after a successful log-on, the user is redirected to userpage.aspx. I am reading up on 'Session' at the moment to prevent the user from bookmarking userpage.aspx to avoid logging-on in the future. In other words, I want to oblige the user to log-on …
by Blueie 13 in Web Development ()
Member Avatar
I have a stock system where you can add a item to the system, increase the amount of different items, decrease the amount of different items in a system and completely delete an item from the system. What I am trying to do is when the user inputs the name …
by cc in Software Development ()
Member Avatar
Hello, I am new to Jquery and task is given to me to "make a progress bar for task completion " . For example: there are 4 Sections and all those 4 section have different youtube videos . After the user clicks the section and watch the video of that …
by Himanshu Chawla -5 in Web Development ()
Member Avatar
Hi all, I have been trying to use python to automate a sequence of processes on my computer, one of which is starting a hosted network. I have used subprocess to interact with command prompt (windows 10), and am struggling to pass sequential commands. I am trying to first send …
by Crazyscript77 in Software Development ()
Member Avatar
Recently, I've been writing some sort of thesis. Mostly a study note, for helping me (and others) with architecting a program because all those confusing and complicated concepts. I'd like some peer reviews, because most of the material in the are based on ideas rather than practical experience.
by Danny_15 in Computer Science ()
Member Avatar
Hello!!!! I am a novice programmer though, I am trying to code a vb 6.0 system that calculates total marks from the exams done and return the output. I only know the simplest way of addition, but I want the way to compute total by taking only the exams taken …
by Calvince in Software Development ()
Member Avatar
HI guys, as my next application I thought I'd build a simple converter, something that allows me to convert from, say, Km to miles and so on. The framework I will use is vaadin (unfortunately) but it will still be java anyway :-). So, I just thought I'd see if …
by Violet_82 35 in Software Development ()
Member Avatar
Hi, I need to make sure my integer variable doesn't store more than 2 bytes. Usually i am writing programme on Linux machine where integer size is 4 byte. Each byte can take the values 0 through 255 (=2^8-1). So, two bytes can take the values 255*255=65535, so would it …
by can-mohan in Software Development ()
c c++
Member Avatar
Hi all I'm new using LinQ. Im having Specified Cast not Valid in this Function. Hope someone let me know what I'm doing wrong. this is the Function Private Function GroupedBy() As DataTable Dim Sales As New ds_Sales_OELI Dim dt As DataTable = Sales.Not_SCheduled GroupedBy = New DataTable Dim dr …
by VIPER5646 10 in Software Development ()
Member Avatar
Hello i have a question about the security of my website, does my website can get hacked somehow if im updating it directly from my database? (ex. images, posts, links...). I have few pages on my website which have PHP code to read info from the database and i do …
by Stefan_1 -3 in Web Development ()
Member Avatar
hi, I have an excel sheet and the is a row filled with data the row starts from B5 everytime, what i want to do it to read the values of the cell until the row comes to an empty cell how do i do it, thanks appreciate a reply, …
by anisha.silva in Software Development ()
Member Avatar
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them. I don’t want at this stage work on a big separate project as I've already got plenty …
by Violet_82 35 in Software Development ()
Member Avatar
#include <iostream> #include <cstdlib> #include <new> using namespace std; void memwarning(); void* operator new(size_t, int); void operator delete(void*); int main() { char*p = new('$')char[100]; //Query 4b cout<<endl<<"First allocation: p = " <<hex<<long(p)<<endl; // Query 1 for(int i=0;i<100;i++) cout<<p[i]; cout<<endl; delete p;// Query 2 p=new('*')char[64000u]; // Query 3 delete p; return …
by surfingturtle in Software Development ()
Member Avatar
Can anyone give example for this? I have user dashboard with graphs and tables, maps. It takes sometime to load after successful login. For that , I need a loader which waits till the page loads all the data.
by AntonyRayan 15 in Web Development ()
Member Avatar
Sir I want to generate a query which will convert data from rows to columns I have this table ![aa.png](/attachments/large/4/266c6d1b9efd2e2621152dc5a3cad11e.png "align-center") I want to get this result ![bb.png](/attachments/large/4/54b2cbea895fc42a71c7e5109c612946.png "align-center") [IMG]http://i66.tinypic.com/2hfjep4.png[/IMG] Workers amount will go to column in relevant data Group by code. I wrote this query session_start(); require_once("includes/connectw.php"); $query = …
by phphp in Databases ()
Member Avatar
js file : function countdown(endT,callback) { var days,hours,minutes,sec,timer; end = new Date(endT); end = end.getTime(); //Get initial Date in Milliseconds, if (isNaN(end)) { alert('@ countdown.js @ "Invalid Date", valid format- mm/dd/yyyy hh:mm:ss TT '); return; } timer = setInterval(calculate,1000);//Timer to calculate remaining time function calculate(){ var current = new Date(); …
by Tko_1 in Web Development ()
Member Avatar
I was scrolling to a portfolio website when i saw a serious man picture with transparent background,and when i hovered over it changed into smiling face, it was not a sudden change but it was looking like it's an animation. Can anyone help me in defining the concept and code …
by Alishan_1 in Web Development ()
Member Avatar
Hi, i'm trying to enable users to upload to my db. at the moment i've just got a folder called 'uploads' in my root directory... (i'll worry about getting them into the db once i can uplaod to there!) here's my php... <?php $target_dir = "http://www.XXXXXX.com/uploads/"; $target_file = $target_dir . …
by Andy_10 in Web Development ()
Member Avatar
Hello everyone. So I've been working on an small tool, that is using httpwebrequests, its not a bad so far I've got login function and list view loading data from site. But problem is now cookie container so i can do other things than just loading, like editing data. Uri …
by Trle94 -3 in Software Development ()
c#
Member Avatar
How to recover android phone contacts?
by lisaab in Mobile Development ()
Member Avatar
I need an idea for Optical Character Recognition for graduation project. I was thinking about enhancing algorithm used in OCR. In your idea, what algorithm can I enhance and focus with for better result of OCR softwares.
by Jerhica Kim in Computer Science ()
Latest Posts