199,114 Archived Topics
Remove Filter ![]() | |
I have this PHP code which calls several dropdown menus. These menus are nearly identical except each menu queries a sql database with the paramters set by all the previous (Make, Model, Year, Size) down the line. This code works in Chrome and FF, but in IE the default drop … | |
In soap header part [code=xml]<soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-9502902" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">....data....</wsse:BinarySecurityToken> <ds:Signature Id="Signature-12345678" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI="#id-4453123"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>'.$ssDigest.'</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue>.......</ds:SignatureValue> <ds:KeyInfo Id="KeyId-98765432"><wsse:SecurityTokenReference wsu:Id="STRId-33454994" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Reference URI="#CertId-9502902" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/> </wsse:SecurityTokenReference> </ds:KeyInfo> </ds:Signature> </wsse:Security> </soapenv:Header>[/code] Thanks in advance | |
Hey guys, i have a problem with reading csv files. I have a csv file which i would like to read and save to a dictionary. Preview of the file: mpg;engine;horse;weight;accel;year;origin;cylinder 18;307;130;3504;12;70;1;8 15;350;165;3693;11,5;70;1;8 18;318;150;3436;11;70;1;8 16;304;150;3433;12;70;1;8 and so on.. The way that i would like it to save is basically for … | |
Pleaseee help me guys. I can't figure out why the elements in my array are null. I'm reading in from a file and take each line and saving it as a variable in the object and then adding the object to the array. This is what I have so far...when … | |
I'm new in PHP how can retrive data from database using dropdown list ? I have created the dropdown menu [CODE]<select name="con_st" > <?php $sql = "SELECT distinct con_stat FROM contst "; $rs = mysql_query($sql); while($row = mysql_fetch_array($rs)) { echo "<option value=\"".$row['con_stat']."\">".$row['con_stat']."\n "; } ?></select>[/CODE] any help? | |
I'am beginner in Java, and I'am having a lot of problems while typing or making the sum of numbers. The fact is that I want to calculate the sum of pressed numbers until I press -9999, meanwhile when I press -9999, I want program me to show the sum of … | |
I need an intersection program for my robot;if there is an intersection of roads,the robot should not stop or take a turn,it should follow the straight path rather than turning left or right or just stop. Please help me,its very urgent............ | |
Hello friends, I am new in J2ME,..I create new project in Netbeans 7 by selecting new project. When I try to run this project I am getting error...dont know how to fix, plz help me [IMG]http://i52.tinypic.com/259d5d3.jpg[/IMG] [B][U]Output Window:[/U][/B] [CODE]pre-init: pre-load-properties: exists.config.active: exists.netbeans.user: exists.user.properties.file: load-properties: exists.platform.active: exists.platform.configuration: exists.platform.profile: basic-init: cldc-pre-init: cldc-init: … | |
I am trying to refer to the class a nested class is 'in'... The 'this' keyword refers to the nested class, so I need something like super.this (except not at all like that) :/ I think the code below describes what I am trying to do: [CODE]public class Nest { … | |
Hi, This is my first forum post and I'm very new to both the daniweb and programming community. I've been working on a project for a month or so and it involves clicking JButton to change the values of the text associated with the JButton clicked. Everything runs fine except … | |
Hey everyone I was wondering what you guys thought about having a php slideshow on a website. Is is a good idea? Why or why not? Could I put user controls into it? What are its benefits or downfall versus a Jquery slideshow. Thanks in advance hope to hear you … | |
Hi guys, Long time no see. Anyways, need help like always. Actually since the past two years i have been simply neglecting C++ due to my pressing commitments with ASP.Net and suddenly i feel like doing programming in C++ all over again. What i need is a startup project (Intermediate … | |
how to multiplication large number using mpi? | |
Hi, How to improve the quality of the image when zoomed. Thanks in advance... | |
Hi, I have table structure as follows Table Name- facilities facility_id | hotel_code | facility_name 1 1 Parking 2 1 AC 3 2 Parking 4 3 Parking 5 3 AC 6 4 AC Now i have to find the 'hotel_code' that having 'Parking' and 'AC' both facilities ie 'hotel_code' as … | |
Hi I am new to Java. I am trying to develop a tool in which I am trying to download a file from a link. When I go to that link using my java program, IE is opened and its default File Download window is showing. But I need to … | |
movies = [ "The Holy Grail", 1975, "Terry Jones & Terry Gilliam", 91, [INDENT]["Graham Chapman",[/INDENT] [INDENT][INDENT]["Michael Palin", "John Cleese", "Terry Gilliam", "Eric Idle", "Terry Jones"]]][/INDENT][/INDENT] print(movies[4][1][3] = Eric Idle Could Someone please explain how it counts from the outer loops through the inner loops With the number 4, 1, & … | |
Hi to all. Can anyone help me with this? I have PHP script the save record. But I want to have time limit in saving the record. When the local time is 4:00 PM, the user can no longer save their record. Please help. Here's my code; if($_POST['submit']=="Save") { $name … | |
I have recently encountered dis error while doing <b>page validation</b> for my site. I have been trying a lot ,but still could not find the solution. Being a newbie to PHP, I would be obliged if u guys could help me out. The URL of d site is, [url]http://www.dmcewriteups.co.cc/register.php[/url] I … | |
HI, I have loaded the image in the picture box. I have clicked with mouse at a point on the image and get the pixel value for that point (using e.x and e.y). now i zoom the image. How to get the pixel of the same point in zoomed position … | |
Hello, I want to add a vertical progress bar in to my c++ windows forms project and tried different ways to implement it. But couldn't find any method to do that. Please help me. Thank you ! | |
Hi, 1.. loaded the jpg to picture box (in Size mode as Zoomed). 2. I drawn a rectangle on the picture box and taken the coordinate. 3. opens the jpg in paint and observed the coordinate (where i drawn rectangle on the picture box). when i compare the rectangle coordinate(x … | |
i am using log4php for my logging in my development. is it possible to use 2 appenders on a single logfile? i wanted to have a daily logfile, thus wanted to use LoggerAppenderDailyfile that have properties also of rolling, thus needs the LoggerAppenderRollingFile. or if there is a way to … | |
Okay, so I'm working on this Application which will find it's way to the User's AppData folder and find a specific File .prefs File. It should then read that File and find specific Sentences/Names/Whatever pleases you. If it finds a Sentence/Name in that File which matches the one it's supposed … | |
Hi! I need help to install or actually to make this freesource code working... at the first time, the script is working very well.. but when i inserted [B]<form> ..script here.. </form>[/B] everything isn't working... can anyone help me with this? you guys can download the script at [url]http://www.dynarch.com/projects/calendar/download/1.8/JSCal2-1.8.zip[/url] please … | |
Hello, codegurus. Excuse me, but I need help. I have been assigned to deploy a system that uses VB.Net and MySQL. After testing on 9 different PCs each on different regions, only 1 PC shows this error during deployment: [CODE]System.ArgumentException: Formatof the initialization string does not conform to specification starting … | |
can how to rotate a picture in picture box? just a simple code to rotate a picture? | |
Hi guys. I have previously been developing a Java application using 2 Windows Vista PCs that both have MySQL as the database. I have always created a user for each PC (specifying their IPs as allowed hosts to connect) on the other and then in the application the code for … | |
i am using avr atmega8 microcontroller....i am getting no idea how to read the value of a pin,I have used a IR sensor in that pin. | |
Hi, For the purpose of creating a very simple mp3 player i would like to have a listview that allows a user to click on a listed file and play an audio file. I figure that to solve this the program should display the contents of a directory containing the … | |
Hello everybody! I'm a SEOer at present, but i want to be a php programmer! because seo job very very vapidly, every day gain backlinks, gain and gain... tired! And now I know HTML, also some javascript knowledge, but can't write js by myself , just modify... IF I want … | |
Hello Good People. I need help with my database script,to an extent i have created all the tables i need...for 5 straight days i cant seem to find the solution to this please read my script below 1. i have a database with 2 tables, the admin andm users_cv tables … | |
I'm retrieving data pulled from SQL via an XML feed from my website, and each item has an id, name, description which is stuck into an ArrayList, which is then added to an overall ArrayList - this basically represents the rows retrieved from my database. i.e. [CODE] catArray = new … | |
Hello to all. I have build a Java GUI application and now i want to convert and transfer it to an applet. I assume that whatever i have in [CODE]public void main[/CODE] will now go to the init() method of the JApplet. Now the problem is to embed it to … | |
Hi All, I have two datagridviews on a form, one databound and one not (populated programmatically from Active Directory). I want to allow a user to double click on an item in the unbound DGV and have that item appear at the bottom of the bound DGV. The doubleclick event … | |
We may set one password for a file if we don't want others to open it, especially the secrete document. Generally speaking, we are used to writing articles or papers in Microsoft Word. And we may need to encrypt Word document if it is very important for security. Also, when … | |
Can any one help me how to make a Java Application GUI independent of screen resolution.. Now my application uses jFrame and it gets problems when resolution of screen changes.. plz help... | |
Hello , um using xpath into jsp . According to what I know that the following : [CODE]<xpath:set var="channel_name" select="channelName" />[/CODE] returns a string . Let's assume that the value of this string is "foo" I need to compare this string with other string !! like if (var1=="foo") then do … | |
Hi Everyone, I wonder if anyone out there has deployed a solution successfully like mine? I have created a vb.net 2005 winform solution that can be installed on a desktop. It uses an access 2003 database to hold data. The setup.msi was created using the vs.net deployment menus. The solution … | |
Hi all, I have a file with data 300 lines. (in.txt) I want to make a program that seperates the file in two others (out1.txt, out2.txt). But I would like to do it with percentage. For example, Percentage (%): 50 and seperate the in.txt file in the middle but with … | |
[code] //Address Book Part 1 //IT 215 //George Williams import java.util.Scanner; class menuOperations { //Initilize Arrays to store information String[] fNames = new String[5]; String[] lNames = new String[5]; String[] dAddress = new String[5]; String[] dCity = new String[5]; String[] dState = new String[5]; int[] dZip = new int[5]; int[] … | |
What is the difference between makin an ArrayList these two difference ways? i know the method will be the same and both will essentially do the same thing. but why two ways to initializing arraylist? [CODE] ArrayList<String> list = new ArrayList<String>(); List<String> myList = new ArrayList<String>(); [/CODE] | |
Hello - quick question, I have created a method which prints a chosen symbol multiple times: - User enters 5 - Print this: ***** **** *** ** * I'm aware of recursion and know how to use it, my method uses it to do the above but I also use … | |
I want a table that is auto computing like the ability of the microsoft excel that when I input a data in cell B1, C1 and D1( just an example on the features of excel ) it will compute an average in cell E1 which does not need to press … | |
I am struck with some floating-point precision. Please help me to get through this. [CODE]main() { int fact,i=5,div=8; float dec=0.427,temp,sum=0; while(i) { temp=dec*10; printf("%f\t",temp); fact=(int)temp; sum=sum+(fact/(float)div); printf("%f\n",sum); dec=temp-fact; div=div*8; i--; } printf("\n The Decimal part= %f",sum); getch(); } [/CODE] [ICODE]Output 4.270000 0.500000 2.700000 0.531250 6.999998 0.542969 9.999981 0.545166 9.999809 0.545441 … | |
If you want your program to startup automatically when the user logs in, just paste this code into it. To add as a HKLM (For all users) startup item instead of HKCU (Current User), change HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE. I'm posting this because I had a hard time figuring this out … | |
I'm looking for help with an assignment in C++ in which change must made for an entered item cost, and the number of each monetary denomination from $20 bills down to one cent coins is to be shown (ie: Twenties - 2, tens - 0, fives - 1, ones - … | |
Presently I am learning JMS. I have knowledge on Java, Servlets and JSP. I am bit confused whether should I learn EJB or AJAX next. Please suggest which path should I take. And tell me, does AJAX comes in line with EJB,Hibernate,Struts. Thanks in Advance. | |
Hi, i´m quite new in pascal programing. Can someone explain me please why [CODE] function kolik(pocet:integer; retez: string):integer; var p: array[1..pocet] of integer; pomocna,j,i,k,l,od,nep:integer;[/CODE] is compiler telling me p: array[1..pocet] of integer; cannot evaluate this expression? Thank you in advance | |
Is It Possible to show date if user specify the start date and then in text box user specify the number of month. then the date should be print like : ex : user give date 1/1/2011 In text box he enter 10 month then output will be like 1/1/2011 … |
The End.