199,114 Archived Topics
Remove Filter ![]() | |
The form (form.htm) posts a value from a text box (id='first_name') into a script (test.php) that checks the data entered. The script takes an array of required fields from a config file (config.php) and uses these to validate the data that comes from form.htm. If the required fields ($required) are … | |
HI EVERY BODY CAN ANY PERSON TELL ME THAT HOW I CAN CHANGE PRODUCT IMAGE (MAY BE JPG,GIF. ) ONE BY ONE IN ASP. FOR EXAMPLE IAM DESIGNING A TEXTILE SITE. I WANT MY TEXTILE PRODUCT CHANGE ONE BY ONE IN ONE SPACE. :cool: | |
/* * Please try to answer this question. There is no time bound. * The following C program segfaults of IA-64, * but works fine on IA-32. */ int main() { int* p; p = (int*)malloc(sizeof(int)); *p = 10; return 0; } >/* Why does it happen so? */ /* … | |
Hello everyone, I have found that class "URLConnection" has methods to establish a connection, for example, method "openConnection" and method "connect". But I have not found any methods of this class which are dealing with disconnect. I am wondering if I use class "URLConnection" to establish an HTTP connection to … | |
I have this simple calculator I just started on, and I'm having just a few problems. First of all, I don't know how to append text to a textfield. Maybe I would have to create a string buffere or something. Then, when the user clicks one of the buttons, the … | |
Hi Peeps, I am new to this forum, I am trying to create a weblog to allow users who are registered in a database I create in Access to create a blog entry which will be displayed on the screen to every one. I have created the database i Access … | |
Hi, I am creating a database driven website - and I have the content stored in a mysql database at the moment. At the moment each page starts with the script: $connect = mysql_connect('$host', '$username', '$password'); $select = mysql_select_db('$database', $connect); This works fine, but if Iv been playing around with … | |
I want to find out if php can allow me to create whatever.homepage.com using my web address. I want to point the whatever.homepage.com to the folder homepage.com/whatever. Will php allow me to do this? O is there another script that will allow me to do this? | |
dear all the programmer i m facing a difficulty in creating the concept of data access layer (DAL)concept in java ...as it is implemented in .net...if any one can help abt this plz send mail at [i][email]email removed by moderator[/email][/i] | |
I am learning/relearning C/C++. I have created a template class with various working functions. I have a problem when I try to use code that works for a char datatype with an AnsiString. If I call a template class function by calling a template function and passing a variable "Data" … | |
There is no support for the inport and outport functions in borland C++ win32. Are there any alternative functions avaliable. | |
I've been trying to do this for weeks now, and can't seem to get it to work. I have a JTextPane called textArea2, and I have a variable called doc that gets the document from the textpane. I want to get the selected text but I can't get no code … | |
1. How do you clear the screen in a console java app? 2. How do you input text in the console area? Is it something with System.in? ...There may be more later :-P | |
Hi i'm new to c++. I can sort of make simple programs, but everytime i try to making a program with a GUI the black windows box keeps coming up and sitting in the background. Does anyone know how to get rid of it? I've found some snippets on other … | |
![]() | Can Anyone here could recommend me a "GODD/EXECELLENT" web site for me to learn the MASM assembler coding...with examples and tutorials... I'm trying to learn to do my assignment. I don't know what it is...but i want to learn.. please thank you ![]() |
I've created a class Fraction and am trying to use it in a main () but keep getting an error in my compiler that says "main must return int". My teacher says it's fine but i need to compile and run so i know that it works. Any suggestions? Thank … | |
I need to assign a value to a variable named in a sting variable. Like this ... int temperature; int pressure; int volume; int variable_value; char Inbuffer[2048]; printf("%s","Variable List: temperature, pressure, volume"); printf ("%s","Input variable name from list above:"); gets(Inbuffer); ScanError=scanf("%s\n",variable_name); .... printf("%s","Input new value for variable:"); gets(inbuffer); ScanError=scanf("%d", variable_value); … | |
i want to delete part of a binary file, let's say 12 byte record somewhere in the middle of the file. i can think of only one thing: - put the file pointer on the spot - shuffle all the following records up there're gotta be a better way ... … | |
I’m trying to find out if either VB6 or Delphi could be used to make a simple dialer for Windows XP. A dialer my friend made in VB5 works on NT, but not on XP. By a simple dialer, I mean one that I can use to read a single … | |
3. Write a class to encrypt and decrypt a text file. The encryption step is described below: a. Find N, where N is the length of the longest line in the file, or the number of lines in the file, whichever one is higher. b. Find M, where M is … | |
hi i download a compiler from borland site could you please help me with my problem when i run or compile basic programs that i have made it says a error message the stdio.h is not found so that the program has no output any good compilers that can you … | |
hello, i need some program in pascal languages about 20 or more ,please a person help me. thank you by | |
Hi guys im creating this cryptography program. And was wondering how to connect three conditions together. [COLOR=Red]*Forgot to mention it is in c# language*[/COLOR] I got a place where i can input a key and confirm the key, Those are already linked together when u click the encrypt button it … | |
I use Turck mmCache to optimize PHP running on my webserver. Someone informed me tonight that the project has been suspended or stopped or something? I was just wondering if anyone knows anything about this? Thanks :) | |
ive gotan IPB board, but i was wondering, When i look at somebodys profile, to sort out a couple of problems they had, i couldnt see their password, which meant ihad to change it log in as them, and then email them the new password. Is there any patch or … | |
Hi everyone! I was wondering if anybody knew how to compare to strings in C#. I know in java you use CompareTo, but how and what do you use in C#? Thanks, C++ :mrgreen: | |
Hi, i am using pow command quite frequently in my codes, and i have a feeling that i may be using it incorrectly. foe ex: [CODE]pow(image[x][y],2);[/CODE] image[x][y] is unsigned char and 2 is numeric, so is the arguments ok. [CODE]std_dev=pow(((ur_mean/(R*C))-(im_mean*im_mean)),.5);[/CODE] this a bit complicated, will it work this way? is … | |
Hello guys, Being a little dissappointed I'm coming here for a relief. I just gave up with my Linear Algebra. The proff I got is not very useful and his lecture makes no sense. Tests questions are all new to me etcetera ...rambling... Anyways, I was doing very well on … | |
I am deciding to develope a add-in or a program for outlook express which could enable outlook express to share WAB on different computers. I have checked the this website: [url]http://www.slipstick.com/outlook/share.htm[/url] But as far as I can see, All the methods it mentioned, they concern the outlook instead of outlook … | |
Okay, i'm setting up this new vbulletin software on my server, Mysql 4.1 Is installed and the databases are created as instructed in the instillation documentation... But after step one i gets this Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in c:\inetpub\wwwroot\vb\upload\includes\db_mysql.php on line 140 The database … | |
Hi. First of all, I'd like to apologize for I really do not know where to post this thread to. :lol: I know Pascal is out but apparently I have got to pick up this language in order to finish my project. What I'd like to ask is whether Pascal … | |
I Can't Update My Computer Because My (ie 6) Browser Does Not Open. Please ,somebody Help Me . Thank Youuuuu!!!!!!!!!!! | |
I wanna turn to diverse functional entry acording to the received datas. The datas received from the serial port are at the length of 2 bytes . so I can't simply use Switch sentence. How can I make it? | |
I have written the following program, but still have a problem understanding the code . why won't this work? [code] /*This program will organize a linked list of employees Written by Elizabeth Preuss January 2005 Adapted from classwork and handouts Version 2.0 language c(target borland) */ #include <stdio.h> #include <string.h> … | |
Hello, I am learning to use Borland Builder 6.0 (and trying to remember/learn to use C++ after taking a college course in C programming nine years ago). I have created a data structure. When I try to delete it using: [COLOR=Navy]delete films;[/COLOR] I am told that deleting an object requires … | |
Hi, Detail: Language: C++ OS: Unix based, DOS/Windows Status: Begginer Q/ How do I comunicate 2 diferent app, what I want is to call one program from another one, and get an answer from the second one, maybe send another call depending on the answer. For example, comunicate with mysql, … | |
Hey, Does anyone know how to pass a php variable into a form field? I want to reproduce what the user typed into a text box in another text box. Is this even possible? Thanks, JameZ ;) | |
Hi guys, I am writing to ask help as I have problems of modifying the outlook expresses on different computers so that they could share the same WAB. The situation is like this: I have two computers(Computer1 & computer2), both have outlook express. But only Computer1 has all the contacts. … | |
Hi guys, I have been looking at various form processing scripts, bascially to gain some understanding of how they work. I have managed to work through one section apart from one bit. I keep seeing the following: [CODE]$_POST[/CODE] I was just wondering what this was. I am using Dreamweaver MX … | |
Have a look at the following code. It is the only thing in the file...the following variables are defined outside the php file: [list] [*]$required [*]$first_name [/list] [CODE]require_once("config.php"); if ($required) { $require = explode(",",$required); for($n=0; $n<count($require); $n++); { $field = $require[$n]; print $first_name; print $_POST[$first_name]; } }[/CODE] When post data … | |
OK im trying to make a script but I dont know how to do it exactally, what i want to make is a board for buttons where the visitor can come and put the url of their button and therir link and their button will be displayed. and once it … | |
hey everyone am trying to generate a beeping sound on my pc using the 'sound' function , the problem is i am getting errors (5 to be exact ) when i compile this program , please someone point out the error on this code , thanx :) below is the … | |
It would probably be easier if you took a look at this thread I made in another forum. I am Siege-Tank. [url]http://www.bwhacks.com/forums/showthread.php?t=1984[/url] | |
Is there a way to lable a section of code so if a choice is entered it will take the program to a certain peice of code? | |
Hello all, I am looking for an audio or video Java player which can be used on Foundation of J2ME platform. It is better an open source Java player (but not a must requirement). I am wondering where can I find related sources? regards, George | |
Hello everyone, I have written the following simple program to play a local .wav file. [Code] URL url = null; try { url = new URL("file:/c:/temp/sample.wav"); AudioClip clip = Applet.newAudioClip (url); clip.play(); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } [/Code] But when running the program, … | |
when installing vbulletin this error message comes up "Step 2) Connect to the database Attempting to attach to database Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/willpull/public_html/Vbulletin/files/includes/db_mysql.php on line 140 The database has failed to connect because you do not have permission to connect to the … | |
I need to know if there is any way that I could create an entrance box, for a link, that would change on part of the link.. What I'm trying to do is change the "User" part of that link, but leave the rest alone. [url]http://chat.teenchat.com/optichat.html?oc_acc=teenchat&oc_stage=2&oc_room=Test+[/url] Room&oc_dyn=&oc_user=Blah+Blah&oc_syspass=0 I'm not sure … | |
Hi everyone, I have two weird questions but bear with me for a while. The first question is about the printing of a styled document using the printable interface. i am using windows 98 and using the windows page format and print dialog. I have managed to print all the … | |
I need help with the exact problem this thread is titled with. To refresh your memory: I Need to know how to create a database that will generate a random number. It's to create a registry system. |
The End.