199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for daimaku

i'm trying to make a script to calculate the diference between two dates, but in minutes, the thing is that i need to remove from mysql database all the entries that has mora than 15 minutes on the database, i'm planing to run the script in background using the cron …

Member Avatar for LastMitch
1
198
Member Avatar for ctrenks

Having built many web applications with ajax / php / mySql I was presented with a "simple" task form a friend of mine. We built a database of every MTG card for a website, then figuerd we have all this data lets build a simplr "tabletop" emulator to play between …

Member Avatar for AleMonteiro
1
192
Member Avatar for compulove

Hi! I am trying to teach myself C# and basically I have been reading books and online materials to help me but I think I need to really be more hands on with it to really have it sink in. Any ideas on websites or software that I could get …

Member Avatar for compulove
1
106
Member Avatar for zendet

I have wordpress installed. http://www.mindbunker.com I have no plug ins installed and dont know what to do. I have tried Godaddy, tried wordpress support. basically you guys are my last resort! It appears at the top of the page and I dont know how to get rid of it, its …

Member Avatar for LastMitch
1
223
Member Avatar for judithSampathwa

hi there, i have a code to open an excel file and get the information from the excel file, but how can i get the used rows in the excel file appreciate a lot if someone could give a tutorial or some guidance thankx

Member Avatar for mukund1988
1
3K
Member Avatar for Helianthus

I have been struggling with this for 4 days - Please help. I have attached a copy of my code with the hope that someone here can give me some insight as to what I am missing. (This is a homework assignment, so please keep that in mind. I am …

Member Avatar for AndreRet
1
345
Member Avatar for Jx_Man

This code to save, Edit and delete data in VB.Net using SQLServer as backend. this code is continuance from my previous post "Show Data in DataGrid with VB.Net 2003 and SQLServer 2000". so i didn't write code how to connect SQLServer 2000 with VB.Net 2003 cause this already in there. …

Member Avatar for anuj6928
1
21K
Member Avatar for syeda amna

I am trying to run a program from python command line. I installed python on D: drive. PLZZ help me in fixing this problem.

Member Avatar for syeda amna
1
585
Member Avatar for mini person

[COLOR="Green"] hi every body i'm a new user in this site , and this term I am doing graduation project .. So , I wanna ask some questions in programming .. first one : how to connect between 2 computers via wireless ?? second : If the connectivity between the …

Member Avatar for WVPhysicist
1
5K
Member Avatar for glenwill101

While at work i had nothing to do so i wrote this simple python script that uses the dbm module to store user information its not perfect but im sure someone will find it helpful.

1
237
Member Avatar for goyofoyo

In Xcode how does one create a header file? and what should it include? or does xcode create the file and use the information from the .c file to create the .h file

Member Avatar for rubberman
1
189
Member Avatar for Yorkiebar14

Hello, I am making a website to do with different tests so I need a script which can unlock test 2 after test 1 is completed. Then the same for 3, then 4 etc etc. I tried using MySQL to increase an INT so I could tell what the latest …

Member Avatar for Yorkiebar14
1
304
Member Avatar for Redhaze46

[B]Hello all..[/B] is it possible to create my own simple programming language in c++? complete with the compiler,editor and the libraries.. just a basic model where i can write simple instructions,save it with my own extension and run atleast a few simple algorithms..

Member Avatar for mrnutty
1
230
Member Avatar for creck

Hi guys, I am a novice in C programming, and would like to ask you for help as I've started studying a computer science at university just few weeks ago. All I need to do is write a math function "pow(double x, double y)" without using any of functions in …

Member Avatar for creck
1
330
Member Avatar for arcticM

if a user opens my website url (x.com) how can I prevent him from opening the same url (x.com) in another tab/window? (another browser is ok) my application is all ajax, so there are no different links, the content of the page just changes all the time, and I can't …

Member Avatar for adam.adamski.96155
1
114
Member Avatar for munchlaxxx

The program says it's stopped working after I input the first number... #include <iostream> using namespace std; int average(); int main(){ char answer; cout << "Average calculator." << endl; cout << endl; cout << " Enter a stream of positive numers (0 or above)." << endl; cout << "Enter a …

Member Avatar for np complete
1
197
Member Avatar for greenbluekidz

I have been asked to create a webform for my company to replace an excel document we use. Basically it is an interval report that gets filled out and emailed to all upper management. The webform layout is the same as what we would have used in Excel. The whole …

Member Avatar for greenbluekidz
1
1K
Member Avatar for Oblivi8or

Hi. I'm fairly new to VB.NET programming, and i'm currently developing an application for the sake of experience. What i know about Visual Basic programming might be considered dangerous, but none the less, i'm trying. I'm having difficulty getting past the idea of how to update a record in a …

Member Avatar for Novagrail
1
2K
Member Avatar for Dendei

Hello, so im trying to send an metod that takes a class as input parameter with a bunch of variables. I want to write in some textboxes in my php side of the program send them with my class and into a database. but the database part is no problem …

Member Avatar for Dendei
1
968
Member Avatar for np complete

This is a factorial program which uses array to calculate large factorials. The problem is sometimes if I enter 1000, it gives the output but stops working there after. I tried it with 2000, 3000, it works fine. I cant understand its erratic behaviour? Is there any problem with my …

Member Avatar for np complete
1
125
Member Avatar for rjony321

Hello,I am starting PHP.So please help me.This code for a simple convertor in php just convert Dollar to local currency.here my **Elseif** not correctly working.here is code: <html> <head> <title>currency Convert</title> </head> <body> <form action="" method="POST"> <table> <tr> <td> <lebel>$</label> <input type="text" name="amount"/> to <select name="form"> <option value="taka">taka</option> <option value="rupe">rupe</option> …

Member Avatar for Bachu
1
217
Member Avatar for salakgocap

main() { FILE *file = fopen ("COMMAND.txt", "r"); FILE *file1 = fopen ("LOG.log", "a"); if (file != NULL) { char line [255]; /* Max line Size*/ while (fgets (line, sizeof line, file ) != NULL) /* Reading a line */ { char first[10]; if (sscanf(line, "%9s", first) ==1) { fprintf(file1, …

Member Avatar for WaltP
1
105
Member Avatar for abders

The GUIFlowLayout is giving me some trouble, the GUIFrame works fine. I have copied this from the Java programming book which I am using (Introduction to JAVA, eight edition, by Y. Daniel Liang). I get red error lines under 'setLayout', all of the 'add' words, and all the 'setTitle, setSize' …

Member Avatar for abders
1
291
Member Avatar for mohamed moamen

I'm do program that when i press by mouse in any cell in table that print the cell position in a text field but i have a problem that's do nothing need help plz note ( I'm use jfram form and drage in it jtable and jtextfield ) [CODE] public …

Member Avatar for mKorbel
1
150
Member Avatar for mrar85

ok so , i have a sql query puzzles . say that i have a table "PERSON" with the data look sumthing like this: PERSON Name ID ----------------------- John 12123 Kimberly 33311 Leo 87892 And i have a table score that look sumthing like this: SCORE ID MARKS ------------------------ 12123 …

Member Avatar for rch1231
1
703
Member Avatar for jacob21

Hi, I want to check query execution time. I used microtime(),time() but not getting accurate result. I also read about mysql slow_query_log but not able to find how to change settings in PHPmyadmin. Need suggestions

Member Avatar for pritaeas
1
167
Member Avatar for cssweb

when i submitted the form i get this error on my site but i am sure of the config You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 <?php mysql_connect('localhost','ali_root','kingstone2012')or …

Member Avatar for cssweb
1
239
Member Avatar for WaltP
Member Avatar for Gribouillis

This snippet allows one to implement an equivalent of a `__getattr__()` function in a python module. The module can then define its own way to lazily import abitrary symbols. For example the module can contain infinitely many names or load values from other modules on demand. There are many implementations …

Member Avatar for Gribouillis
1
531
Member Avatar for daniel36

Can i restrict a file to direct download.suppose in my domain i am having a upload folder in which i am having a exam.pdf file then it should not be downloaded by accessing url http://www.mydomain.com/upload/exam.pdf . If it is possible then please tell me the way.

Member Avatar for sDJh
1
109
Member Avatar for HunainHafeez

some one told em that php doesn't support sending and recieving email via localhost even if i have internet connetion ? is it true ? or if not then what is the solution ? thanks

Member Avatar for ome2012
1
115
Member Avatar for mIND.dEcEpToR

How can I programatically and accurately detect the touch/slide made by a user's touch on an android phone? I want this to be used as suppose I have two android devices synced with each other. Both of them have anything opened suppose pdf file, music file video file. Then if …

1
102
Member Avatar for suganesha

hii i am a beginner in c++ and i have got an assignment to do. below is my code and i am unable to execute it so can anyone help me out !! please !!! I am confused on how to replace the room no. in change_room() function and case …

Member Avatar for np complete
1
7K
Member Avatar for mariano.bolanos

Hi there. I'm trying to integrate with a payment gateway API, and as I'm fairly new to PHP, I'm having some trouble to proceed. Basically, I have a form that goes to a specific URL (submitting URL). From the documentation: "Request information is submitted to payment platform with HttpsClient , …

Member Avatar for blocblue
1
348
Member Avatar for Mike Askew

The following suggestions will help the process of answering threads in the most efficient manner. 1. Do not hijack other member's threads, you will not get replies, instead start your own question. 2. What have you tried? We are not here to mock mistakes and showing effort made will make …

1
112
Member Avatar for pritaeas

Recently bought "Regular Expressions Cookbook 2nd ed." and wanted to share my findings. The book is divided into two parts. The first part (3 chapters) describes tools, skills and programming. The tools chapter shows you what's out there (including his own software). The skills chapter is a tutorial. It describes …

Member Avatar for pritaeas
1
251
Member Avatar for HunainHafeez

i am sending parameters to sql server 2008's store procedure but confuse that which way to send parameters mean we got 2 ways , parameters.add(parameter) and 2nd way, parameters.add("@parameter",sqldbtype.datatype).value= value so which one to use and y ?

Member Avatar for HunainHafeez
1
96
Member Avatar for sonu611

Hi all, I was looking for a way to execute windows batch file from java code, and I was able to do this with the following code. [CODE] Runtime rt = Runtime.getRuntime(); Process proc = rt.exec("cmd /C " + "path" +exec.bat"); [/CODE] The batch file refers to some other files …

Member Avatar for shahbaz07dbit
1
1K
Member Avatar for dban07

Hello friends, I'm a Computer Security student. I need some opinions for my Final Year Project idea. Im planning to create an application on VB.NET which protects a network from unknown users like hackers by filtering their MAC addresses/Hostname/IP. The application will work similar to the software inside the modem/router …

Member Avatar for G_Waddell
1
265
Member Avatar for tformed

Hi guys, I've got the program running, but not as how the instructor requested. The professor wants us to ask the user for a text file and classify the data accordingly. Example: E = Enter L = Leave So if I have a text file with the following info E …

Member Avatar for jalpesh_007
1
335
Member Avatar for D33wakar

This is a simple hangman game that I wrote using my beginner python skills. Though this game is playable, there must be lots of things I must've been doing wrong or the methods I'm using here may be not so pythonic. So I want some suggestions on how to improve …

Member Avatar for TrustyTony
1
713
Member Avatar for lmsmi1

I saw a thread here and didn't want to gravedig. I am a member of Hackforums.net, but no one there will help me. The code I saw involved multiple IFs inside a FOR loop. Now my question is, is there a working Caesar cipher I can refer back to when …

Member Avatar for np complete
1
185
Member Avatar for I_m_rude

What Can I do so as to stop compiler not to do padding in the structures ? is there any pragma or something like that which i can use ? thanks in advance. now, "ANY" response will be appreciated. :-D

Member Avatar for I_m_rude
1
89
Member Avatar for np complete

There are N horses in the stable. The skill of the horse i is represented by an integer S[i]. The Chef needs to pick 2 horses for the race such that the difference in their skills is minimum. This way, he would be able to host a very interesting race. …

Member Avatar for np complete
1
1K
Member Avatar for I_m_rude

hi.... Let F be the matrix 1 1 1 0 Then F^n (2x2 matrix multiplication) equals F(n+1) F(n) F(n) F(n-1) because: (F(n+1) F(n) ) (1 1) = ( F(n+1)+F(n) F(n+1)) (F(n) F(n-1)) (1 0) = ( F(n)+F(n-1) F(n) ) Can anybody tell me or give me the hint that how …

Member Avatar for deceptikon
1
230
Member Avatar for jobojo

Good afternoon. I am trying to import a csv file to a SQL database hosted through GoDaddy. However, I continue to receive an error which states "Line 7 has 24 values (20 expected)". Line 7 in my .csv file only has 20 columns (20 values) and no matter what I …

Member Avatar for iamthwee
1
188
Member Avatar for indu.y

hi everybody ,this is my first post.. :) Am creating a dynamic text box along with datepicker image.. when I enter newdate into the text box, it simply goes to previous textbox and updating the textfield. How to enter the date into the newly created text box??? And also once …

Member Avatar for padduamar
1
184
Member Avatar for G_Waddell

Hi All, Ever tried to make a change to a SQL database table only to get a message telling you it is unable to carry out the change as it would have to drop and recreate the table? This is one of these things that you encounter once, correct and …

Member Avatar for JorgeM
1
224
Member Avatar for Sanchixx

Hello, I made a first version of a comment system which can be viewed here: http://t-s.bugs3.com/index.php . Could I have some suggestions too inprove it and to know if theres anyway to hack it? If people like it i will make a site where you can download it. By the …

Member Avatar for Sanchixx
1
136
Member Avatar for jalpesh_007

Dear all, I have one question arise in my mind while i am making my project. I have one column "AGE" is there.So many values are stored in this column ranging from 0-100. I also have find frequency of each age like age=5 comes how many times in my column …

Member Avatar for Taywin
1
123

The End.