199,114 Archived Topics
Remove Filter ![]() | |
Hello guys, i stumbled over a htaccess trick once but cannot find it again. I need a htaccess script that prevent files in a specific folder to not be executed. If any of you have this / know about it, i would love you for the rest of your life!*cough* | |
Hello everyone, I am doing a graphics app in C# for a school asignment. I have to make some geometric 3D figures spin around, translate and scale, not too much of a deal, i guess. But there is an issue i do not know to solve: When switching from 'wireframe' … | |
Hello: I'm trying to strip a word out of a variable and echo it out. here is what I mean: [CODE]$from[/CODE] the value of which is INTERVAL 7 DAY I have this line that includes the variable: [CODE]echo"The total number of transaction(s) found within the last $from: "; echo $row["numrecords"]; … | |
I want to search through an sql table called hardware for a partial serial numbers. I have the following code but there is something wrong with the way i am doing my sql query. hope someone out there can help me. [CODE] Public Function GetDatabysn() As DataView Dim SelectQry = … | |
Hiya. I have this program that gives me alternating squares that switch from full squares to hollow. The problem I am having is that the squares that should be hollow are showing up with numbers in them like this. Anyone know what my problem is? [CODE] *** *** *** 0000 … | |
Hi all, I'm writing a program to read from a stream file, one line at a time, I used getline() and fgets(), both gives a correct result, but they give a "segmentation fault" when reading the last line of the file, I think because of the NULL character at the … | |
Hi guys here is my code, prettty much the same as one posted before but im getting a few errors. Fairly new to this so if someone could help me out i would greatly appreciate it. Thanks in advance:) Here is the code and errors underneath that: #include<stdio.h> #include<string.h> #include<ctype.h> … | |
i need help!!:S Help me to install Gearman shared PECL extension for PHP | |
Well i intended to develop a sohisticated java server client program . but just couldnt push myself so far so ust had to satisfy myself with it. Well , i have created a simple chatting interface . i would not call it a chatting interface actually cuz i had something … | |
I'm using VS2010 with .NET4 Hi all, I'm working on a program that spawns a childform for each row in a database at runtime. This required some custom solutions and prevented me from using the built-in database interactions. All of that is working well, but I'm at the point where … | |
This trigger is making me nuts! I've written about a dozen triggers before but nothing where I have ever pulled data from another table. What this is supposed to do is make sure that any inserted rows have a latitude/longitude (lat/lon) value. The users table has the lat/lon and these … | |
okay the situation is ,a friend and I are creating a chat program for fun and want to be able to add a game into it. I have a Tic Tac toe game that was already created but I would like to actually try using it( previous download). What needs … | |
Guys, Does anyone know a redirect script that [b]leaves[/b] the referrer in Internet Explorer? [CODE]<script type="text/javascript"> <!-- window.location = "http://www.google.co.uk" //--> </script>[/CODE] The above script doesn't leave a referrer in IE (there's a surprise!)... ideally it would need to be JavaScript based because I need to make sure the user … | |
Hello Guys, I have an upload button (ajax) that allows users to upload multiple files to a temp directory. I am trying to figure out a way to have php/ajax count the amount of files and when it reaches say 5 images that the upload button disappears. I do not … | |
I have the following piece of code which works fine [CODE]data[person].history[data[person].trans]= "CASH WITHDRAWAL 100.00 GBP";[/CODE] but how would I write it so instead of 100.00 it inputs a float called safe_input2 | |
I have having a problem with a script I have wrote for resetting a members password Basically it checks to make sure the user has entered all the fields in the reset form, then it checks that the email they have entered is the same one they login with, then … | |
hai friends I have uploaded the video file to server .we need to get the total time of playing file duration and store the values to database. how can i get the total time for uploaded video file? Please any one send me any idea. Thanks __________________ Thanks Vssp | |
i have a code [B] Index.php[/B] [CODE]<script src='jquery.js' type="text/javascript"></script> <script src='documentation.js' type="text/javascript"></script> <link href='documentation.css' type="text/css" rel="stylesheet"/> <script src='jquery.form.js' type="text/javascript" language="javascript"></script> <script src='jquery.MetaData.js' type="text/javascript" language="javascript"></script> <script src='jquery.MultiFile.js' type="text/javascript" language="javascript"></script> <script src='jquery.blockUI.js' type="text/javascript" language="javascript"></script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script> <script type="text/javascript"><!-- google_ad_client = "pub-9465008056978568"; google_ad_slot = "4176621808"; google_ad_width = 120; google_ad_height = 600; //--> … | |
Hi! When I try to run the code [ICODE]tableModel.setQuery("select l_code, l_title, l_description from Lists");[/ICODE], then I receive the following error: [CODE] java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 at java.util.Vector.elementAt(Vector.java:427) at SystClasses.QueryTableModel.getValueAt(QueryTableModel.java:72) at SystClasses.QueryTableModel.getColumnClass(QueryTableModel.java:53) at javax.swing.table.TableRowSorter.useToString(TableRowSorter.java:224) at javax.swing.DefaultRowSorter.updateUseToString(DefaultRowSorter.java:607) at javax.swing.DefaultRowSorter.sort(DefaultRowSorter.java:556) at javax.swing.DefaultRowSorter.allChanged(DefaultRowSorter.java:816) at javax.swing.DefaultRowSorter.modelStructureChanged(DefaultRowSorter.java:826) at javax.swing.JTable.tableChanged(JTable.java:4364) at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280) at SystClasses.QueryTableModel.setQuery(QueryTableModel.java:110) at SystClasses.Form.createAdminTable(Form.java:747) at … | |
for lines 14, 15 and 16 the error is that I have undeclared identifiers for a, b and c. Does anyone know how to fix this? thanks for your help. [CODE]#include <cmath> #include <iostream> #include <string> using namespace std; bool die(const string & msg); bool getDouble(double a, const string & … | |
Hi, i have this assignment to do and i dont really know what i have to do could someone tell me what i have to do in simpler language thanks Here is the assignment: Create a program which: Implements a class called Queue: The class should contain an array of … | |
Monday morning, our final exam is to write a Python program according to whatever the teacher will throw at us. Any ideas as to how or WHAT to study to be ready for anything? (Most of the class expects to fail this, btw. I don't want to be among those … | |
I need help with a program that is supposed to take data on football players from a txt file and place them in a binary search tree then use case statements to t osearch the tree inorder, preorder and postorder recursively here's what i got so far [CODE] /* Bradley … | |
Hello all, is that possible to help me out with Error Checking for user input? I am developing a peg solitaire program and now need a error checking for user input or for input file. Either use try and catch.. or making another method.. can anyone give a me a … | |
I have to create all the method signatures in the ResizableArrayList and then fill it in with comments. And each method is supposed to be blank with a return null or --1. How do i do this? | |
Hi, Im currently using fpdf to generate an auto report, but im having an issue with overflow on the notes column, as this can be anything from 1 to 300 words. i can count the words using the following script, but im struggling to find out how to limit the … | |
Hello everyone, I am just interested in knowing if there is just a way to view the code of an application or game. If not, is it just for privacy?...(I figure this may sound stupid but I just want to make sure.) ~Thanks | |
I am working on a program with classes and a main function. This game involves tanks moving around a grid of defined size, and shooting at each other. Each tank has a name, armour and firepower. On the grid, there are randomly generated squares that contain extra armour or firepower. … | |
Hi friends. I have a GridView which has linkbutton column.I Want to change the Text of this linkbutton when user click on it.But when I change the text of clicked linkbutton cell,It will be convert to the label!!!!!!!!! What's wrong?what should I do? THX. | |
Hi, Im creating a page where it displays URLS, tags, and the user associated with it who is logged in after a login form was done. The tags are hyperlinks, so if a user clicks on it, it will reload the page with all the URLs associated with that tag. … ![]() | |
Hey, I've gota make a program that reads characters from a text file, produces the Huffman code tree, and prints the codes for each character in the file. I've already written the code to read chars from a text file, but the Huffman code tree is the part I'm a … | |
Hey everyone, new here. I'm looking for a little help with my program. Its supposed to take a txt file called test.txt, and removes all spaces trailing at the end of lines. ex. (note the spaces) "python " -> "python" "daniweb is great" -> "daniweb is great" " forum" -> … | |
Here is what I need to do: have three editable text fields labelled operand1, operator, and operand2, and a fourth read-only text field labelled result. Have a button labelled Calculate. WHen the button is clicked the appropriate operator is applied to the two operands and the resulting value placed in … | |
Hello Guys! it's been a while. Lately, I've been wanting to study & explore C/C++ more. Because of this, I've done a lot of exercises that was given to us at school and some more around the net, but sadly the one that I'm really looking forward to the the … | |
i want to write a a program that will accept student name and grades and output it.use an array data structure in the implementation this program and implement the following write method that will traverses the array and allow the user to perform the following processes a) search for a … | |
Hi.. please help me with this problem I want to output stars in this shape: * * * * * * * * * * * * * * * * just give me the idea to do this in an recursive function ?? i tried but its not showing … | |
Hope you kind folk can spare a bit of advice. I'm trying to find a clever way to modifying a part of an image without replacing the image completely. For instance, let's say I have an image of a car and I would like to show the tire is flat. … | |
im a student of 2nd year BS, doing my BS in Computer Science. Here I want to include a program by me, may be someone will be helped by me :) [code=c] #include<stdio.h> #include<conio.h> #include<stdlib.h> int* createHashTable(void); void getData(void); void formatting(void); int insertData(int); float chkLoadFactor(int, int); int collision_LinearProbing(int, int,int); int … | |
It is supposed to tell me the occurrences of letters both upper and lower case and digit and non letter nor digits characters ,,but it does nothing ,,please help as soon as possible #include<stdio.h> #include<ctype.h> #include<conio.h> int main(){ FILE *fp,*f2,*f3; char ch,temp; int i,j; int lowercase[26]={0}; int upperCase[26]={0}; int digits[10]={0}; … | |
Hi I'm having calculation error is the function - fraction::GCD(int& gcd, int e, int f) Example: If u enter 1/3 for both first and second fraction The unsimplified fraction would be 6/9 And when u call the GCD function and do the calculation by urself u can see that it's … | |
Hi everyone, So OK basically I need to create animated button with three pictures (optional) which will represent the button as active, passive and activated. So the task wasn't very hard until my teacher added another thing: The user to be able to choose which picture to use. So my … | |
Hello! I need to write a program to find whether a word is a palindrome or not. What differentiates this from the other palindrome threads in this forum is that I can only use certain functions. They are: If statements, string functions (to upper, to lower, indoxof, length, substrings), for … | |
using dev c++ as compiler,bt coding the program in c.suppose i hv created 1 program in console application ,compiled it,run it, it works fine,on compiling & running it,. it produces the various supported assosciated with it. like makefile.win,gmon.out,project.exe,project.dev,main.o,main.c,now on seeing these files in notepad 1 can easily determined that program … | |
Hello :) I'm from Brazil, so sorry about my english. This is the first code I post here - I'm a begginer in Python. It is a function to calculate determinants of matrices. You can attach it to a class if you wish. Please leave a comment if you wish … | |
I'm a little new to c++. I have written a code for a base conversion program. It handles base conversion between bases 2-36 and stops when the user enters "0". I have written the program, however I still need to make it convert whole numbers instead of just integers. Ex: … | |
Dear Friends, Please help me out to display a Collage page same link in [url]http://bestuff.com[/url] The images are generated in random size through CSS. I am confused how to display images like in varying size? Please help me out. I am on deadline. I thought lot but could not succeeded. … | |
i want to write a a program that will accept student name and grades and output it.use an array data structure in the implementation this program and implement the following write method that will traverses the array and allow the user to perform the following processes a) search for a … | |
Hello, On the UNIX system that I am current working, to open a file in the pico editor ,I need to do the following: [CODE]>./pico filename.c [/CODE] Is there a script/command that I can execute which will remove the dot/slash and change that to: [CODE]> pico filename.c [/CODE] Thank you! | |
Hello Members, I have the following question about the pipe() system call. Say, Process A (my main()) forks a Process B which then forks a Process C. How can I open a pipe between Process C and Process A? I would like to write a sentence in Process C and … | |
hi! im also a beginner in using C im confused because ive got a problem. which the answer of C is different from mine here's my problem: !our teacher ask us to covert yards to meters, inches, feet. (my problem is the meter) feet = yard * 3 inches = … |
The End.