199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nephish

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 …

Member Avatar for nephish
0
159
Member Avatar for foucault

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 …

Member Avatar for mmiikkee12
0
225
Member Avatar for Narue

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 …

Member Avatar for Dave Sinkula
0
147
Member Avatar for michaelK5

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 …

Member Avatar for michaelK5
0
542
Member Avatar for shanenin

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 …

Member Avatar for shanenin
0
192
Member Avatar for stage

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; …

Member Avatar for stage
0
98
Member Avatar for bigfoot_80906

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]

Member Avatar for Comatose
0
140
Member Avatar for michael123

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 …

Member Avatar for michael123
0
100
Member Avatar for kaoru

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 …

Member Avatar for Troy
0
429
Member Avatar for Johnrandazzo

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 …

Member Avatar for kabus
0
289
Member Avatar for jeepj27

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!

Member Avatar for Troy
0
150
Member Avatar for Lacuna

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 …

Member Avatar for Lacuna
0
97
Member Avatar for server_crash

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?

Member Avatar for jwenting
0
129
Member Avatar for aaron_tan

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 …

Member Avatar for aaron_tan
0
136
Member Avatar for jenkins_t

Have any of you used Dadabik as a end user app for MySQL? I am currently using PHPBB and MySQL for a forum. I have another db in MySQL that I want users to be able to search the db, add records, etc. (non profit, db would be used as …

Member Avatar for Troy
0
528
Member Avatar for fred999

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 …

Member Avatar for Troy
0
1K
Member Avatar for Dragonbssj

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 …

Member Avatar for tgreer
0
468
Member Avatar for BryanM67

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 …

Member Avatar for Troy
0
78
Member Avatar for winbatch

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 …

Member Avatar for winbatch
0
182
Member Avatar for winbatch

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, …

Member Avatar for Dogtree
0
79
Member Avatar for mrChiBai

[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 …

Member Avatar for Troy
0
324
Member Avatar for michael123

how would one go about making a login script using sessions that save to the database?

Member Avatar for michael123
0
125
Member Avatar for sham
Member Avatar for Sliv

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 …

Member Avatar for Sliv
0
96
Member Avatar for zalakes

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 …

Member Avatar for vipula
0
121
Member Avatar for pamwynne

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 …

Member Avatar for darnoldy
0
430
Member Avatar for Kennedy_f

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 …

Member Avatar for server_crash
0
230
Member Avatar for sham

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 …

Member Avatar for Comatose
0
229
Member Avatar for nephish

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 …

Member Avatar for nephish
0
171
Member Avatar for gpta_varun

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 …

Member Avatar for gpta_varun
0
7K
Member Avatar for aaron_tan

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 …

Member Avatar for Dave Sinkula
0
163
Member Avatar for happyshub
Member Avatar for happyshub
0
215
Member Avatar for willsteele

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 …

Member Avatar for tgreer
0
191
Member Avatar for curtis_henken

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 …

Member Avatar for curtis_henken
0
164
Member Avatar for Dark_Omen

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.

Member Avatar for Dark_Omen
0
97
Member Avatar for TimmyRaa

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 …

Member Avatar for optomystique
0
603
Member Avatar for whitmarshdaniel

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 …

Member Avatar for whitmarshdaniel
0
129
Member Avatar for bigfoot_80906

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 …

Member Avatar for bigfoot_80906
0
154
Member Avatar for bigfoot_80906
Member Avatar for bigfoot_80906
0
119
Member Avatar for ucdmrt

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 …

Member Avatar for Jackrabbit
0
119
Member Avatar for mrmike

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 …

Member Avatar for Comatose
0
205
Member Avatar for cob027

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 …

Member Avatar for cob027
0
251
Member Avatar for Kennedy_f

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 …

Member Avatar for server_crash
0
195
Member Avatar for vhinehds

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 …

Member Avatar for vhinehds
0
174
Member Avatar for maninweb

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 …

Member Avatar for maninweb
0
407
Member Avatar for RammaR

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 …

Member Avatar for red_evolve
0
147
Member Avatar for aaron_tan

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 …

Member Avatar for aaron_tan
0
246
Member Avatar for xmeaw

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 …

Member Avatar for xmeaw
0
156
Member Avatar for STP72

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

Member Avatar for STP72
0
265
Member Avatar for Greenthumb

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 …

Member Avatar for Dogtree
0
217

The End.