199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 370b17m15

I have a CTE based query, to which I pass about 2600 4-tuple latitude/longitude values using joins - these latitude longitude 4-tuples have been ID tagged and held in a second table called coordinates. These top left and bottom right latitude / longitude values are passed into the CTE in …

Member Avatar for LastMitch
0
358
Member Avatar for silvercats

What is the best encryption system now?un crackable of course. And why do many people use SHA-2 ,MD5? also what is the most pipular one too?

Member Avatar for DoRight
0
143
Member Avatar for silvercats
Member Avatar for DoRight
0
195
Member Avatar for pooh1234qwerty

i am a beginner. i need online tutorial for shell scripting. there are many on the web.. which one to choose??

Member Avatar for DoRight
0
236
Member Avatar for cceerpp

I have be given a site to manage that was developed with ZF. When I try to run it using the Zend Server I get the following errors: Fatal error: Uncaught exception 'Zend_Exception' with message 'Security check: Illegal character in filename' in C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Loader.php:303 Stack trace: #0 C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Loader.php(128): Zend_Loader::_securityCheck('C:\Program …

Member Avatar for LastMitch
0
227
Member Avatar for rajesh9042

Hi, I am trying to download files using Net::FTP perl module. I am facing problem with downloaded files not able to place in there respective folders. Please need help, I am providing the code below #!/usr/bin/perl use Net::FTP; use File::Copy; $ftp = Net::FTP->new("ftp.ncbi.nlm.nih.gov", Debug => 0) or die "Cannot connect …

Member Avatar for DoRight
0
297
Member Avatar for iamspix

I have these sorting algorithms in my application, and I want to keep track the affected values, or the values that swapped during the sorting process. I want to highlight them. I have solved this issue for bubble sort and selection sort, but somehow I can't get it work with …

Member Avatar for Airshow
0
295
Member Avatar for dante123

hi I have a menu included in all my pages, this is an item of the menu with his own submenu packaging.php' => array( 'text' => 'Package Design', 'submenu' => array('packaging.php#Title0' => array('text' => 'Title0'), 'packaging.php#Title1' => array('text' => 'Title1'), 'packaging.php#Title2' => array('text' => 'Title2'), 'packaging.php#Title3' => array('text' => 'Title3'), …

Member Avatar for LastMitch
0
310
Member Avatar for dante123

Hi i have two different menu that are included in all my pages: Top menu and left menu, they have in common the same functions that are stored in the same document "functions.php": <?php // function to draw menu (top and left) function draw_menu($script, $items, $div_id) { // start the …

Member Avatar for LastMitch
0
221
Member Avatar for dante123

Hi Third post regarding my menu, i have a menu that is included in all my pages. When the my menu item is clicked it opens a new page and the clicked item changes his color to magenta this, is perfect. Each Item has a submenu the problem starts when …

Member Avatar for LastMitch
0
312
Member Avatar for adishardis

Hi, So far in me slowly learning webdevelopement (mostly thanks to all of you guys) I've used php to query the mysql database to calculate mean/mode/range/median values and to create arrays to visualize with highgraph. Now I've come to a point where I really need if possible, to skip the …

Member Avatar for adishardis
0
326
Member Avatar for aily.ping

I can't detect the problem to this program that i've made. there's a problem for sum and average. #include <iostream> using namespace std; float sum(float[], int); // Declaration of function float average(int, float);// Declaration of function int main() { int numMonth; int count; float *sales; float userInfo; cout << "Please …

Member Avatar for Lerner
0
989
Member Avatar for skliz

Well I am new in the asp.et mvc platform. In the course of my reading I discovered that ASP.NET MVC leaves the programmer to do most of the security. so I have decided to start this discussion so that young developers like me can learn from the highly experience people …

Member Avatar for skliz
0
154
Member Avatar for RvSon

HI All, I have to upload most of the world wide active Educational Universities and Institutes in my Database. I have tried a lot to find out but none of the sites are giving proper list. either they have given 3 to 4 names under each Province which is famous …

Member Avatar for pritaeas
0
176
Member Avatar for terrier_unknown

Hy guys, I was searching the net for almost half a year for an article which gives an opinion about HOW WOULD PROGRAMMING LOOK IN A 50-100 YEARS TIME.Now you can guess already I haven t found anything special so this is the reason why I am writting this post. …

Member Avatar for <M/>
0
157
Member Avatar for jeremywduncan

This is for part of my homework in an Object Oriented Programming class. I debugged the top part to make it workable. I need help on how to delete a searched item and also think I am missing closing the database file at the end. The search function #2 is …

Member Avatar for woooee
0
216
Member Avatar for johnny0627

I don't get what's wrong with this code I keep getting a value error when i run this it says Traceback (most recent call last): File "rolling.py", line 40, in <module> dice1, dice2, dice3 = numb(dice) ValueError: need more than 2 values to unpack please help? def numb(dice): if dice …

Member Avatar for woooee
0
212
Member Avatar for Olyboy16

Hey guys! I am designing a chat room with php and the chat room is basically able to send messages and display messages<br/>##the chat is functioning basically##<br/> but the ooonnllyy problem is that, *i wanna display an alert box each time a new message comes in* #its a public chat …

Member Avatar for Octet
0
631
Member Avatar for mydreamgirl

Tried following code to get timezone conversion and failed. public static String ConvertTmz(String timeFormat, String timeStr, String tmz){ String theTimeFormat="MM/dd/yyyy HH:mm:ss"; if (timeFormat!=null) theTimeFormat=timeFormat; SimpleDateFormat sdf = new SimpleDateFormat(theTimeFormat); sdf.setTimeZone(TimeZone.getTimeZone(tmz)); GetTimeStr(timeStr); GregorianCalendar time=new GregorianCalendar(yyyy, mm-1, dd, hh, mi, ss); return sdf.format(time.getTime()); } Please help.

Member Avatar for JamesCherrill
0
344
Member Avatar for dhimmar

Hello Coders :), feel good when error comes..but when it take lots of time and make me fail to solve,getting eritate mind... SO finaly comming to you guys with one hope that you all will help me to solve this.... I am working on asp(Classic) application ..to converting old classic …

Member Avatar for LastMitch
0
1K
Member Avatar for eduardolucioac

I have a question at least interesting! Gentlemen, it is possible to encapsulate a page "classic asp" inside a page "aspx"? The goal is to receive the output (text) of a legacy "classic asp" and places it inside a page "aspx". In this case (more specifically) I want to get …

Member Avatar for LastMitch
0
469
Member Avatar for themaj

I have a database table that is a catalog of each day of business (DOB) for my 3 'stores' ranging over a year. Other than the Store ID and DOB, all other data here is irrelevant for this discussion. The data entry of this table is not necessarily in chronological …

Member Avatar for Reverend Jim
0
308
Member Avatar for ibakir

I just couldnt find a soluation for this. How to insert a one record inside one forum with muliple sql tables in one php page? Here is my code i have two insert button, i only need one for the both form <?php require_once('Connections/Omar.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function …

Member Avatar for LastMitch
0
249
Member Avatar for Neha290791

hi.. iam developing a jsp application. Iam using two columns called open_time and resolution_time. The thing I want is the time difference between two dates but iam unable to do so. please guide me accordingly. Iam using timestamp for the date & time.

Member Avatar for LastMitch
0
777
Member Avatar for Samyx

Hello Everyone, I am having a problem trying to display two graphs and a data grid. I am able to display both graphs and the grid in individual files, but when combining both the graphs display and the grid becomes hidden. I checked some posts online, and it seems to …

Member Avatar for LastMitch
0
239
Member Avatar for Aurax

Hi all I am trying to write a program to recognizing word or phrase is a palindrome or not. Please help me Regards Aura

Member Avatar for Reverend Jim
0
538
Member Avatar for zdneth

I would like to ask on how to do calculations and saving the result and retrieve again just like making a deposit and withdrowal in banking system. i really dont know how to do so.. i am trying to formulate some codes but it just don't work. Pls help. I …

Member Avatar for IIM
0
255
Member Avatar for Papa_Don

Group, I've read through the tutorial regarding Listviews and SQL's (http://www.daniweb.com/software-development/vbnet/code/445801/avoiding-sql-injection-attacks). Thanks for the article. It was very imformative. So I thought I might try this with the project I'm doing. I really like how these listview look and what they can do. But I realize I need to know …

Member Avatar for Papa_Don
0
159
Member Avatar for kyriacos1986

I have installed WAMP server and workbench when I am trying the *phpinfo();* I get: J��� 5.5.29�"���q:k->.kP�ÿ÷!�€����������2EDfW^UlCH~d�mysql_native_password�!��ÿ„#08S01Got packets out of order my php file is located in the www folder http://localhost:3307/php1.php the wamp server is online Can anyone tell me what am I doing wrong? thanks

Member Avatar for LastMitch
0
707
Member Avatar for Potgiesh

Hey guys i'm having a lil trouble with object serialization. student * s = new student("Mike",200014); ofstream ofs("student.dat",ios_base::out | ios_base::binary); ofs.write((char*)&s,sizeof(s)); ofs.close(); If student was a class with attributes `studentName:string` and `studentNumber:int` would the above code write the object pointed by s to the file `student.dat` ?

Member Avatar for rubberman
0
207
Member Avatar for PF2G

Hi, i'm working on a website where i have to edit products. but first i have to select a Simulator and inside that simulator i have a several products. What i want to do is, select a Simulator on a combobox and then in other combobox appears me all products …

Member Avatar for LastMitch
0
292
Member Avatar for krystosan

how should i readout data from shell to python script variables.. ? process = subprocess.Popen("rsh botham 'ps -eo fname | grep sublime'",shell=True, stdout=subprocess.PIPE) process2= subprocess.Popen('hostname')

Member Avatar for krystosan
0
335
Member Avatar for krystosan

parser = argparse.ArgumentParser('Utility to display SyncId information.') parser.add_argument('ids', help='list of ids to dsiplay information related to them.') becuase if i pass more than one value to the function from commandline , i get error of multiple values being passed saying error: unrecognized arguments: second third the first one goes through …

Member Avatar for Gribouillis
0
25K
Member Avatar for tubzz

menu driven program to perform the following stack operations using a linked list: push pop and display elements. #include<iostream.h>//header file i/o stream flow #include<conio.h> class Stack { int A[10]; int top; public: Stack() { top=-1; } void push(); void pop(); void show(); }; void Stack::push() { int x; cout<<"Enter the …

Member Avatar for NathanOliver
0
204
Member Avatar for Rasool Ahmed

Hi fellows, I have problem in php code and I had searched in days but I didn't found something good. The problem is when execute the following code and error occured: $sql = "CALL categoriesSelectByParent($CategId)"; if(!($result = $con->query($sql))) echo "Failed: (" . $con->errno . ") " . $con->error; else { …

Member Avatar for Rasool Ahmed
0
433
Member Avatar for shanki himanshu
Member Avatar for shanki himanshu
0
137
Member Avatar for abby.arnett.12

Hi my name is Abby, I need some major help. Its spring break and before we left class our teacher gave us a cruel assigment. I need to create 1 btn that makes a div - I need 1 brn that creates text using prompts - I need 1 btn …

Member Avatar for stbuchok
0
293
Member Avatar for rancosster

I have a problem with creating drag and drop in Swing. I have written class that represents the toolbar item here is the code shortened code for it: public class ToolbarItem extends javax.swing.JToggleButton implements IToolbarItem, Transferable, DragSourceListener, DragGestureListener { private ModelEquivalent _modelEquivalent; private DragSource _dragAndDropSource; private TransferHandler _itemTransferHandler; public ToolbarItem(ModelEquivalent …

Member Avatar for rancosster
0
461
Member Avatar for erum

Hi to every one .. I have Access database Access 2007 . and i need to connect with ASp.net ..nad i put database in db folder but it gives errors ... if provide Database1.accdb in connection string (following error) Unrecognized database format 'C:\Documents and Settings\erum.mirza\My Documents\Visual Studio 2008\Projects\ajax\ajax\db\Database1.accdb'. if provide …

Member Avatar for stbuchok
0
162
Member Avatar for shihab2555

Hi, I am developing a project using kinect SDK & C#. Here i tracked my right & left hand. Now i want to develop my project but I am stucked. I want to track my hand continuously & observing my tracking position I want to print something. For example: If …

Member Avatar for shihab2555
0
170
Member Avatar for johndohmen1963

Who can help me with the following. I have an allertbox with text in it but i want different languages for the text in the allertbox $lang = array(); $lang['ALERTBOX_A'] = 'To do this, you must first be logged in.'; onClick="alert(' <?php $lang['ALERTBOX_A']; ?>')" In this case the language is …

Member Avatar for radhakrishna.p
0
450
Member Avatar for tubzz

declare two dynamic arrays of integers, input **size** needed for the arras, allocate **size** integers, initialize all elements to 0, prompt the user to input **size** elements in the first array, diplay the elements, copy the elements to the second array after deleting duplicate elements, and display the elements from …

Member Avatar for tubzz
0
118
Member Avatar for tubzz

write a binary search algorithm to look for the presence of a search key in a single dimensional array of 10 elements. prompt the user to input 10 elements and the search key. display meaningful messages after the search operation. #include<iostream.h> #include<conio.h> void main() { int p[10]; int search_key; cout<<"\n …

Member Avatar for tubzz
0
165
Member Avatar for danielagaba

hi i am trying to, on a button click, display data retrieved from mysql database in a text area but having no success. Below is the code i used. All help given is appreciated [CODE] print "<center><TEXTAREA NAME=news ID=news COLS=70 ROWS=10>".$news."</TEXTAREA></center>"; if(isset($_POST['show2'])){ $cn = connect_db(); $cn_sql = "SELECT message from …

Member Avatar for php_dev
0
691
Member Avatar for Violet_82

Hi there, I was wondering if anybody can help me understanding this code please - well it's more about the usage of :first really): <!DOCTYPE html> <html> <head> <style> span { color:red; cursor:pointer; } div { margin:3px; width:80px; display:none; height:80px; float:left; } div#one { background:#f00; } div#two { background:#0f0; } …

Member Avatar for Violet_82
0
413
Member Avatar for oscargrower11

Following a tutorial, I built a small sample program that uses winsock. It compiles, but there are a few different places I'm not sure what's happening with the pointers. Full source is available [here](http://pastebin.com/NTdCWhWr) Line 25: `struct hostent *host;` As near as I can tell, this creates a pointer to …

Member Avatar for Moschops
0
262
Member Avatar for SHINICHI

Hi everyone..I need a little help here.Can anybody teaches me on how to create a class diagram for the process of buying glasses from the viewpoint of the patient. The first step is to see an eye doctor who will give the patient a prescription. Once the patient has the …

Member Avatar for JamesCherrill
0
269
Member Avatar for Neha290791

Hi, iam new to jsp. actually my problem is with the format of date and time.Datea nad time stored in database are in hh:mm:ss format. but when i am displaying reports, nanoseconds are displaying. please give reason for this.

Member Avatar for radhakrishna.p
0
185
Member Avatar for BoDuke1835

I am working on a java assignment where I have to get BMI with dialog boxes. I keep getting this error "error: illegal start of expression if (BMI = > 18.5 && BMI < 24.9) " Here is the code. Can someone please help!? import javax.swing.JOptionPane; public class BodyMassIndex { …

Member Avatar for stultuske
0
193
Member Avatar for game06

how to store 2d array in arraylist? and how to print arraylist? import java.util.ArrayList; public class aaa { public static void main(String[]args) { ArrayList<Integer[][]> aa= new ArrayList(); ???????????? int bb[][] = { {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} }; for(int y = 0; y < bb.length; y++) //rows { for(int …

Member Avatar for stultuske
0
289

The End.