199,113 Archived Topics
Remove Filter ![]() | |
Hey, guys can any one suggest me a cool intermidiate level python library idea to work on in these summers? | |
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"); } | |
i have to make an numberplant genarator in python 3.4.2 but i am having a lot of trouble plz help | |
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 … | |
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? ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
Good day! Is there a way to identify if a given date is hijri/arabic? Thank you! | |
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. | |
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, … | |
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. :) | |
did any of you guys help me out to know c programming easily.i feel it hard . so please help me out,, | |
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 + " " … | |
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 … | |
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 … | |
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 ??? | |
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 … | |
*** 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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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! ![]() | |
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 … | |
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) … | |
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 … | |
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 … | |
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> … | |
I know c++ basics only, how to start doing software development and game development in c++....???? | |
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 | |
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 … | |
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 … | |
I want to add photos to the user after they logged in , in their user profile . Will it possible? how? | |
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 … | |
i am new to xml...i dont know how to convert a word document to xml...can any one help me?? | |
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. | |
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() == … | |
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 … | |
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? | |
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 … | |
I expected there to be one, especially on a site as popular as this one. | |
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). … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … |
The End.