199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for itsnauman

Hey, guys can any one suggest me a cool intermidiate level python library idea to work on in these summers?

Member Avatar for vegaseat
0
147
Member Avatar for afaaro

Hi guys I need help with redirecting from post?id=11111 to index.php?page=post&title=title&id=11111 Solved and got solution from this link https://www.daniweb.com/web-development/php/threads/489469/how-to-redirect-dynamic-url-using-php $curPageURL="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $url="http://abc.com/gallery.php?id=1"; if($curPageURL == $url) { header("Location: http://abc.com/error404"); }

0
89
Member Avatar for IneedHELP2020

i have to make an numberplant genarator in python 3.4.2 but i am having a lot of trouble plz help

Member Avatar for vegaseat
0
113
Member Avatar for CodeWarrior14

Hello. I'm working on a project that requires some data to be encrypted with AES 128. My encryption works fine but when I decrypt I get an `Exception in thread "main" javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes` exception. Code: import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; public class AESCipher { private …

Member Avatar for JamesCherrill
0
882
Member Avatar for davy_yg

Hello, I am looking for a visitor counter that could record: Visitor Counter Online 1 Today 4 Yesterday 8 Week 4 Month 32 Year 32 Total 2637 Where can I find it?

Member Avatar for iamthwee
0
198
Member Avatar for Gribouillis

Sometimes you want the value of a variable to be related to its name in the source code. For example, the variable x should have the value "var x". This is especially useful when you perform symbolic computations with python (with the sympy module for example). In standard python, the …

Member Avatar for Gribouillis
0
446
Member Avatar for Transcendent

This what I'm trying to do: Type two or more lines of text into a file. Write a program to open the file, reading each word into a vector<string> object. Iterate over the vector, displaying it to cout. That done, sort the words using the sort() generic algorithm But I'm …

Member Avatar for Lerner
0
292
Member Avatar for NA7KR

Trying to update Packet.MSGState to P where if not R or D and it is Y in table Packet.MSGState SQL is MS-Access var ODBC from c# This is not undating all correct. UPDATE Packet SET Packet.MSGState = 'P' Where (MSGState <> 'R' and MSGState <> 'D') and Exists (Select MSGTO.Selected …

Member Avatar for NA7KR
0
174
Member Avatar for thernandez

Hi good day; Im working with Ignited Datatables and Im trying to add a callback on edit_column but it's no working it's not making the call just print the 3 parameter : $this->datatables->edit_column('value','$1','callback_esNulo(value,id)'); and this the function callback function esNulo($value,$id){ $result= is_null($value) ? "0" : "1"; echo $result; } I …

Member Avatar for Taywin
0
1K
Member Avatar for vishupriya

Hi,I am using dhtml goodies js file for drag and drop.i have to pass sourceid for the function in js file. addSource : function(sourceId,slideBackAfterDrop,xAxis,yAxis,dragOnlyWithinElId,functionToCallOnDrag) { if(!functionToCallOnDrag)functionToCallOnDrag=false; if(!this.dragDropSourcesArray)this.dragDropSourcesArray = new Array(); if(!document.getElementById(sourceId))alert('The source element with id ' + sourceId + ' does not exists'); var obj = document.getElementById(sourceId); if(xAxis!==false)xAxis = true; …

Member Avatar for Taywin
0
227
Member Avatar for PinoyDev
Member Avatar for Priti_P

Hello, I want expression for not acception string with specials characters. So I was with expression /^[ A-Za-z0-9_@.#&,()-]*$/ But it is accepting only special chars also. How can I restrict it for not acceptiong only special chars? like my string should contain atleast one character.

Member Avatar for Taywin
0
146
Member Avatar for XodoX

When I have a simple server-client code, how do I get the client to send the server a time request and the server responds, and the client then displays the offset and the delay ? The communication should be in NTP. I think that means there are 4 time stamps, …

Member Avatar for XodoX
0
345
Member Avatar for ddanbe

Looking on the web for how to do it. Found several solutions: serialisation, XML etc. Cannot decide which to use. My List class contains a string, some booleans and two other Lists. Awaiting some opinions that will be accepted with great gratitude. :)

Member Avatar for ddanbe
0
239
Member Avatar for umesh_1

did any of you guys help me out to know c programming easily.i feel it hard . so please help me out,,

Member Avatar for shayan_doust
0
173
Member Avatar for jean_5

I have the following code if (list.Date[0] != 'undefined') { for (var i in list) { var date = list[i].Data; var year = date.substr(0, 4); var month = date.substr(5, 2); var day = date.substr(8, 2); var newDate = day + "/" + month + "/" + year + " " …

Member Avatar for jean_5
0
156
Member Avatar for Nation

Hello everyone, I want to develop a GUI like the one shown in the image below. I want to do this through hard coding - no drag and drop. Please may you assist me with: 1. what should i include to come up with such a **layout**. 2. how do …

Member Avatar for Nation
0
204
Member Avatar for Shivam_7

type Exception report message Unable to compile class for JSP: description The server encountered an internal error that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 22 in the jsp file: /index_submit.jsp name cannot be resolved to a variable …

Member Avatar for stultuske
0
440
Member Avatar for man.chester.581

if i have html forms that takes data from the client with jsp code i want to save this data at mysql data base how can i do this with code ???

Member Avatar for stultuske
0
209
Member Avatar for PinoyDev

Good day! I have a combo box which is readonly. It is loaded with data from the database. However, there is a point that I need to set text on it, and those text is equal to one which is in its list aleady. The below code produces runtime error …

Member Avatar for PinoyDev
0
386
Member Avatar for markdean1989

*** Systems *** OS: Windows 8.1 64bit IDK: MS Visual Studio Express 2013 for Windows Desktop Problem: I created a simple (very simple) User-defined function named func_compare that compares two numbers, it has two parameters of type Integer. It has no errors whatsoever until you compile it, and it says …

Member Avatar for markdean1989
0
324
Member Avatar for Nghia_1

Hi, this is my first post here. The fact is i'm not a programmer and i need help. I have a software that i need to solve a vehicle routing problem for my thesis. But i dont have anything on hand . Can u share me some source code or …

Member Avatar for rubberman
0
158
Member Avatar for hell hansen

Hi guys, i'm getting all my cod to PDO, but no luck for my side, and PDO is killing me! i've this table CREATE TABLE IF NOT EXISTS `tbl_organization` ( `id_organization` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) DEFAULT NULL, `registered_name` varchar(100) DEFAULT NULL, `registration_number` varchar(15) DEFAULT NULL, `id_business_type` int(11) DEFAULT …

Member Avatar for pritaeas
0
2K
Member Avatar for MiicahLiim

Write a function IsoTriangle() that takes a sizw parameter and displays an isosceles triangle with that many lines. Use the DrawBar() function as a Basis. it should look like this: * *** ***** ******* this is the drawbar() function: /*Overloaded DrawBar() program Illustrated overloaded DrawBar functions*/ #include <iostream> using namespace …

Member Avatar for JamesCherrill
0
264
Member Avatar for twtw

i got it success but error and i cant find it my code here: bool BinarySearchTree::search(int d) { tree_node *t = head; if(root==NULL) cout<<" The Tree is empty. Please insert a value "<<endl; while (t != NULL) { if (t->data == d) break; else if (d > t->data) t = …

Member Avatar for Taywin
0
170
Member Avatar for mazuvi

Hello, I'm looking for a video player to use on my site to create a more uniform look for embedding videos from sites like Youtube, vimeo, dailymotion, etc. I've looked at JWPlayer, however it only seems to work with YouTube for this purpose. Would appreciate any help! Thanks!

Member Avatar for diafol
0
120
Member Avatar for nadiam

hello. so im really noob at canvas and kinetic js as im just only learning it. i want to create a floor plan thing for this site where a user can choose 6 seater round table or 8 seater rectangle table or doorways things like that. and i thought i …

Member Avatar for Taywin
0
144
Member Avatar for Gunnas

Hi everybody, I need to save same data to a .txt file (using javascript). Please see this example of clicking in an image and get the coordinates ([Click Here](http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/)). The coordinates appear on the bottom of the image. What I need is to save this information (x and y coordinates) …

Member Avatar for Troy III
0
26K
Member Avatar for iveto89

Hi everybody! I'm trying to create 2 image buttons (like,dislike). When they are submitted, it should be run a query for like/dislike a definite song. My code is: <?php $table = mysqli_query($mysqli,"SELECT song_id, song_name, janr_name, singers.names FROM `songs` INNER JOIN `singers` ON songs.singer_id = singers.singer_id INNER JOIN `janr_songs` WHERE janr_songs.janr_id …

Member Avatar for iveto89
0
270
Member Avatar for nufftalon

Hi I was working on creating a video tutorial website. Which will have membership access. I am not sure which will be the best to use for a video provider. I was leaning toward jwplayer solely to store the videos and encrypt them or amazon to store video and jw …

Member Avatar for nufftalon
0
212
Member Avatar for thebuffy

Hello i am trying to code a survey. there are questions and answers.The answers are radioboxes. if answer "no" is selected,the partial page which includes that question part, should be refreshed and a more question is needed to asked. How can handle this partial refresh stuff in html? <html> <form> …

Member Avatar for JorgeM
0
227
Member Avatar for sahil_gupta

I know c++ basics only, how to start doing software development and game development in c++....????

Member Avatar for sneekula
0
159
Member Avatar for Papa_Don

Group, When publishing my first program, I noticed that it put the program in the App folder as opposed to "C:\Program Files\". Is there a way to direct where everything should be stored when you install it on the users computer? Thanks, Don

Member Avatar for imti321
0
330
Member Avatar for Nation

please assist by explaining what this code is trying to do - i mean the logic. if ((InteractiveForm.this.tableModel.getRowCount() - 1) == row &&//i dont understand this line(the logic) !InteractiveForm.this.tableModel.hasEmptyRow()) { InteractiveForm.this.tableModel.addEmptyRow();//this is where we append a new row } the whole program can be found [here](http://www.javalobby.org/articles/jtable/?source=archives) any explanation is greatly …

Member Avatar for Nation
0
161
Member Avatar for FarrisFahad

I am trying to paginate through a set of results. I know how to do a simple pagination, but I have a lot of records in the database. So the problem is that when I have a lot of pages, the number of links are also high, therefore breaking the …

Member Avatar for broj1
0
401
Member Avatar for AntonyRayan

I want to add photos to the user after they logged in , in their user profile . Will it possible? how?

Member Avatar for broj1
0
101
Member Avatar for greenpotato

Hi, I'm creating an Events calendar whereby i store event data in an sql database. How do I make it so that when I click on a date in the calendar, it'll display the events details happening on that day in a GridView? I've researched for super long but I …

Member Avatar for greenpotato
0
265
Member Avatar for kirangentlebree

i am new to xml...i dont know how to convert a word document to xml...can any one help me??

Member Avatar for BharathGowda
0
200
Member Avatar for Prasanth Kps

How to and what are the procedure for creating adsense account for a website or a blog? Kindly let me know the procedure did i want to make it? am the new to know about adsense.

Member Avatar for <M/>
0
177
Member Avatar for Nation

Hello everyone, I have my code that is supposed to append an empty row to a table at runtime when a user presses the enter button. The code is working fine. here is the code if it helps: table.addKeyListener(new KeyListener() { @Override public void keyPressed(KeyEvent e) { if (e.getKeyCode() == …

Member Avatar for Nation
0
125
Member Avatar for Gerbiler

I have an html table with six rows and two columns. I have what it is supposed to look like [URL="http://wordpress.thelandman.org/test.html"]here[/URL]. But, what is really confusing me is that with the exact same source code snippet inside wordpress [URL="http://wordpress.thelandman.org/buying/"]here[/URL] is not displaying the same output, the image does not span …

Member Avatar for Daniel_33
0
1K
Member Avatar for Trle94

Hey is there any way to write out example: a b c.. aa ab ac.. ba bb bc.. ca cb cc... and like that for every character from keyboard To .txt file?

Member Avatar for Reverend Jim
0
132
Member Avatar for Trle94

Okay hello everyone, so I'm using this class to protect app from user using hotkeys while form is running: Imports System.Runtime.InteropServices Imports System.Reflection Public Class KeyboardJammer Private Delegate Function HookCallback(ByVal nCode As Integer, ByVal wParam As Integer, ByVal lParam As IntPtr) As Integer Private Shared HookDelegate As HookCallback Private Shared …

Member Avatar for Trle94
0
201
Member Avatar for pars99
Member Avatar for pars99
0
224
Member Avatar for techfreak

Hey all. I'm facing a bit of a challenge and and having a hard time trying to figgure out how do do this. Basically I have two computers (Raspbery Pi's) that I'm using. One (Pi A) is acting as a remote and sends a request to the receiver (Pi B). …

Member Avatar for woooee
0
238
Member Avatar for Osagie_1

i'am testing an xml structure: <Articles> ... <Article ID="333"> <author>Paul</author> <title>i hate xpath </title> <child1>bla</child1> <child2>blabla <subchild> <subsubchild DEEP = "Attribute"></subsubchild> //this is my nightmare </subchild> </child2> <child3>testing</child3> </Article> ... </Articles> what xpath expression will fetch and update the subsubchild attrib value ? i am mostly concerned with fetching and …

Member Avatar for Osagie_1
0
131
Member Avatar for Papa_Don

Group, I'm now having to merge several of these text files together. At the end of each of the text files is a line that says "End of Report". I need to eliminate this line completely. This code does the merge for me: RestranName = getRestranName(0) RestranName2 = getRestranName(1) System.IO.File.AppendAllText(RestranName2, …

Member Avatar for Papa_Don
0
754
Member Avatar for aseel.jaradat.9

im trying to make a simple example in threading this error msg can anyone help me to solve it ? Cross-thread operation not valid: Control 'cmb1' accessed from a thread other than the thread it was created on. Imports System.Threading Public Class Form1 Inherits System.Windows.Forms.Form Dim th1 As Thread Dim …

Member Avatar for aseel.jaradat.9
0
192
Member Avatar for razamughal67

Hello everyone i have a google blog and we post many pages in my blog. and we add a div like <div id='header'> . the header div show all of the pages but i want to show my header only main page. 'www.myblogsite.blogspot.com/' and hide all of other pages using …

Member Avatar for razamughal67
0
231
Member Avatar for davy_yg

dashboard2.php if (isset($_POST['ok'])){ if (empty($_GET['class_id'])) { $class = $_SESSION['class']; $sqlstr = "INSERT INTO material2(`subject`, `title`, `content`) VALUES('".$class."', '".$title."','".$content."')"; echo $sqlstr; } else { $class = $_SESSION['class']; //echo $class; $sqlstr = "UPDATE material2 SET subject='".$class."', title='".$title."', content='".$content."' WHERE class_id=".$_GET['class_id']; echo $sqlstr; } $result = mysql_query($sqlstr) or die(mysql_error()); //Jika mode edit, maka …

Member Avatar for pritaeas
0
176

The End.