199,114 Archived Topics
Remove Filter ![]() | |
Hey there, i have a python cgi script that prints out html just fine in the Opera browser but doesnt print at all under FireFox. weird, eh? i am getting nothing in the apache logs about any error. perhaps its a firefox issue, but i doubt it. any suggestions. simple … | |
Hi everyone, Take a look at the following code block. [CODE] ->Class InterruptionDialog public class InterruptionDialog extends JDialog { //Fields Thread currentThread; JButton interruptionButton; //Constructor public InterruptionDialog(JFrame parent, boolean modal, Thread t) { super(parent, modal); currentThread = t; interruptionButton = new JButton("Click to interrupt"); interruptionButton.addActionListener( new ActionListener(){ public void ActionPerformed(Event … | |
For those of you who don't know, Daniweb has an IRC server. I'm there a lot, and I don't see any of you. That's not good because I'm there, of course. Real time chat with the resident guru ([B]shamless[/B]) will make you smarter ([B]utterly shameless[/B]) and cooler ([B]words cannot express … | |
Hello Dani PHP Members. My name is Michael, I have been looking online for a place to learn php and at this point I have given up. I am wondering if there is anyone on here that can teach me php and mysql. Or if you know of any places … | |
here below is my code [code] #!/usr/bin/python #this is my third python script print \ """ this is a python program to figure out total sales price, including tax\n\n \t\t\tprogrammed by\n \t\t\tShane Lindberg\n\n """ base_price=int(raw_input("please enter the base price of the car:\n$")) under_coat=int(1000) stereo=int(200) air=int(750) tax=int(base_price*.07) print "the total price … | |
Hello, im new to C and I'm stuck with a program. I now use this code to change some numbers [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #define relays 8 int main(int argc, char *argv[]){ int relay = 0; if (strtol(argv[argc-1], NULL, 10)) { if (strlen(argv[argc-1]) <= relays) { int a; … | |
If I have a line like this, how do I exclude all other lines that don't contain a number in this format? and how do I input this number into an array? [CODE]-- | |- state (1)^M[/CODE] | |
Hi, I have a file with the dbase connection details which I call into my script using: include("config.php"); Problem is that when I need to include a page redirection, namely: header("Location: other_page.php"); I get an error saying that headers were already sent from the line with the include("config.php"); How do … | |
Hi all, I have recently created a website (hosted through godaddy.com) for an online gaming guild and after using phpBB (v. 2.0.15) to make the forums, I stumbled upon php-nuke (v. 7.6 is what I would be using). Now the forums have already been running for a few weeks, and … | |
Hi all, My page utilizes a few javascript files for my navigation bar and also a few other palces... My problems is this - I want to call to a page within the site as in the script below, but I wish it to be a separate WINDOW al-together. If … | |
This is going to sound crazy - but is there any way to to a search for a phrase of text within my SQL database? (I am obviously not very knowledgeable) except on how to get there! :) Thanks for the help! | |
Hi, I need to make a menu that can read from an SQL database and build its needed dropdown menu arrangement accordingly. I'm having real troubles finding any sort of tutorial for this and was hoping someone could point me in the right direction ... (Or if someone knows of … | |
I started over with reading my certification book, and I'm now on page 113. It says that an interface can extend one or more other interfaces.....I thought you could only extend one thing, or do they mean the interfaces that the extended interface extended? | |
I have a char pointer here, [CODE] char* buffer = (char*)malloc(sizeof(char*)); *buffer = 1; buffer++; *buffer = 2;[/CODE] so by doing this, i actually have the pointer pointing to "1" and "2" what i actually want is the number, 12. anyone knows how can i get the char pointer's data … | |
Hello php gurus! i need help with a little script, i have to import a tab delimited files into a mysql db file.tab [CODE] "user1"TAB"pass1"TAB"miscdata1_1"TAB"miscdata1_2"TAB"miscdata1_3"TAB"miscdata1_4"TAB "user2"TAB"pass2"TAB"miscdata2_1"TAB"miscdata2_2"TAB"miscdata2_3"TAB"miscdata2_4"TAB [/CODE] Here is what i have programmed with the help of google [CODE] <? include('config.php'); $conn = mysql_connect($dbserver, $dbuser, $dbpass); if (!$conn) { echo … | |
Hi i was wondering how do i make a TXT play music because i was searching for a song site and ended up at a Music Code site but the thing is that on the URL its like this [url]http://kassierae.myknet.org/chevypr.txt[/url] but it still plays a song in Windows Media Player … | |
I have a full name passed to my webpage in the format 'lastname, firstname'. So if $a = 'Doe, John' what could I do to parse this field out using the comma as a delimiter, and end up with $b containing 'John' and $c containing 'Doe'. I would appreciate any … | |
I am trying to write a template function that attempts to convert anything into a long. .h [code] class General { public: static void delay( int seconds ); template <typename Generic> static long ToLong( Generic source ); template <typename Generic> static double ToDouble( Generic source ); template <typename Generic> static … | |
string a = "A"; string b = "B"; string c = a + b; string d = "D" + a; string e = a + "D"; string f = "F" + "F"; Why is the last line not something the string class can handle if it can handle cases a, … | |
[FONT=Courier New]dear all, I have made a look-up talbe in php that reads from a sql table. one table, pair has pair_id as the primary key one table, pairHistory has actions when information for a pair_id changes and the look-up table logs the transactions, the many to one relationship pair … | |
how would one go about making a login script using sessions that save to the database? | |
In MS Flexgrid how to assign recordset to the fields ? | |
Hello: I'm looking for some assistance with a third-party script I'm using that incorporates onmouseover popups. If the content of the popup is too large to appear within the visible window just below the onmouseover spot, two different behaviours occur in firefox and IE 6: IE 6 will elongate the … | |
hi all I already have a website running (not php). The problem is that i want people to sign up so i know how many people are actually regulars on my site. The thing is know how to i insert a database to my webpage, my i create a new … | |
Can someone please help me. I just want to put a simple form on my web site. I am using dreamweaver and first of all, I am [B]NOT[/B] a techy. I basically taught myself Dreamweaver and created my own e-commerce site. I would like to have a form for people … | |
I'm seeking for java2 certification. I downloaded ucertify product. Question are on right quality. 150 challenging practice questions have been included to closely model the format, tone, topics, and difficulty of the real exam. If i purchased it before release then i could have able to got 40% discount. Test … | |
Hello, I am working on encryption/decrypt Logic based program. The requirement is such that I have launch required document/image thr' VB, so I am using WshShell.Run to lauch the required App. WshShell.Run has an argument blnWaitOnReturn, I am keeping this True since I want to know when user finishes editing … | |
Hey there. Here is the deal.... i have a script that is supposed to open a file based on criteria from a web form. i cant seem to get it to work though. here is the code: [CODE]form = cgi.FieldStorage() DataRecord = form['DataTime'].value Customer = form['CustName'].value # should be automatically … | |
Hi All I am relatively new to the C++ world . Facing some problem , while initializing an array of objects . Suppose i have a class Rectangle . I want to have a pointer to an array of objects to the class . How do i invoke the Class … | |
I desperately need help on data type conversions. I am working on converting a set of codes in Visual Basic to C but i'm faced with a lot of problems dealing with strings. Can anyone help me out here? Below is the code I have in Visual Basic. [CODE]Private Function … | |
please can someone give me code how to reverse single link list using recurtion thanks | |
I'm trying to create a hover box that appears over an entire table cell when onmouseover. I want to know if there is a way to have it go to another URL with onClick. If so, does it have to be done in the p tag or elsewhere. Here's the … | |
Here's the situation. I created a program of sorts that allows the writer of our clubs newsletter to upload the newsletter each month to the "newsletter" folder. Then i have a php script that shows the content of the folder in an iframe on the home page so that users … | |
Hello, I am wondering if there is a function in c# that will allow me to wait a certain amount of time before going on to the next procedure? Also, I was wondering if there is a function that simulates hitting the enter button on the keyboard. Thanks in advance. | |
I'm trying to find or create a Perl script that at runtime will simply take a specified logfile or logfiles, and append todays date onto the end of it's name. If possible, I would also like the option of zipping the new file up. I can then run this as … | |
I have a employee table that includes there username and the username of there manager. In one section of the site i need to be able to grant access to only people within certain chains. for example at the moment when a user is logged on i do an sql … | |
I need to write a script that will be able to go down the MIB tree of a device and output the values to either the screen or a .txt file. Any ideas what that would look like, or where I can search for a script to use as a … | |
| |
Hey wussup, im in a pascal class and I am currently working on a class assignment in which we have movie database program, the information for each movie is its name, length in minutes and year it came out. We have to use records to store the information. And my … | |
I'm busy writing an application for work which needs to connect to a list of our servers and check some ports to ensure the correct ones we require are open and ones we don't use are closed. I'm using winsock and checking for a connection and the results are being … | |
Hello all. I am attempting to update one of two database tables using an SqlDataAdapter (getting any changes from my DataSet). I have tested my stproc, and it works fine. Here's the code: CREATE PROCEDURE [dbo].[procRobUpdate] @db AS NVARCHAR(3), @ID AS NVARCHAR(11), @Panel AS NVARCHAR(3), @Row AS NVARCHAR(2), @Col AS … | |
I’m here because my best buddy has told me to go into forum do discussed with people and reach to your resolution. I've downloaded ucertify java test software, next month mye xam will go. Less time, the TestKit provides 5 full-length exam simulations, containing 285 questions, 150 pop quiz questions … | |
hi good day to all. im new in ASP and one of my questions now is: is it possible to have 2 command buttons in one asp page? if possible how can i separate their actions in one form? wherein the first button will give the total no. of students … | |
Hello together... first excuse my not very good english. I wrote an JavaScript application which shows, hides and scrolls several layers included in my homepage. I used only DIV-Tags for my layers and I used intensively CSS for the site's layout. When scrolling my layer(s), I move a content layer … | |
I'm trying to generate a search results page for a simple forum type page. My problem is that I'm searching the post content for the inputed keywords and then return a distinct list of the threads because often there are mutliple search hits within a common thread. So what I've … | |
I desperately need help on data type conversions. I am working on converting a set of codes in Visual Basic to C but i'm faced with a lot of problems dealing with strings. Can anyone help me out here? Below is the code I have in Visual Basic. [CODE]Private Function … | |
Hi, I'm using DMW MX2004 to create a website for my organization. Just recently the cross-browser issue came to me. I tested the page with the newly installed Firefox and it didn't appear the way it's supposed to. Below is the code for centering the <div> on the page. It … | |
I have been tasked to write this shell script in Linux and I dont know how to begin. Can anyone help me out with this please.:cry: [font=Courier New]Create a shell script file called “lookup | |
Hi there everyone. I was hoping you guys could help me out again. I would like to write a setting to a certain line in a textdocument, for example "4000" at line 5 of the document. So far i have this: [CODE]void MainSettings::setSettingsToFile(String *numChannels, String *savePath, String *playlistPath) // Here … |
The End.