199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nccsbim071

Hi, In my website i have implemented custom session values. In which, on log on i set the session value to some object. This object is used to extract user specific data from db. now the problem is If user logs in with : test1.somesite.com and logs off and again …

Member Avatar for jhoonbey
0
823
Member Avatar for Krstevski

Hey people... I want to delete the file from the server when he is been successfully doownloaded from the server (one-time download)... how can i this ? For send file I`m using the method transmitFile(...)... Thanks.

Member Avatar for NarmadhaMano
0
196
Member Avatar for Purrenhage

I am creating a program that make a person select different options and in other boxes it will populate the choice the person makes. Example is the program is fora car wash and if you choose standard or deluxe it will show in the other boxes what comes with that …

Member Avatar for tunavis
0
199
Member Avatar for coursehorror

# Given a UNF normalize upto 3NF: # UNF: (booking_ref_no, booking_date, student_no, student_name, student_address, student_tel, course_code, course_name, course_level, course_start_date, course_finish_date, course_cost, lecturer_name, lecturer_no, center_name, centre_phone, class_size) *Here's what I got after 3NF, could some one verrify whether is the right way?* BOOKING: ( booking number (pk), booking_date, student_number (fk)) STUDENT: …

Member Avatar for coursehorror
0
199
Member Avatar for vishalonne

Hello I have databse in MySQL with 21 fields which are listed below Field Name Data Type NULL status text No roll_no text No branch_id int(5) No student_name text No father_name text No phone1 text No phone2 text No email text No dob date No city text No course_id varchar(5) …

Member Avatar for KamranArshad
0
467
Member Avatar for NidhiSree

What is the difference between try { //Some code } catch { } and try { //Some code } catch(Exception) { }

Member Avatar for Ketsuekiame
0
251
Member Avatar for hanan-kh
Member Avatar for mical700

Write a java code, Extend class Fraction by adding methods for the arithmetic operators +, - and /, and the six relational operators (==, !=, <, >, <= and >=). Then compute a menu-driven fraction calculator. Program shoud do all 9 arithmetic operations and 0 to stop. User should first …

Member Avatar for stultuske
0
492
Member Avatar for skliz

I am trying to write a script that would collect current time and check if the time falls with a particular time range. Let say the current time is 12:00am and I want to check if the current time falls within the range of 1 pm to 5 pm. I …

Member Avatar for CodeAngry
0
694
Member Avatar for rolanduk

Hy Guys As i previously mentioned i run a PPD site, but i notice i have a huge error. Every time when the members of my site ready to download a file they get the following message (please see picture) [Picture](http://filemonster.org/images/97f448bf6398174f45e04ffc8ac964bb.png) I attach here the defailt.php code so you can …

Member Avatar for CodeAngry
0
330
Member Avatar for fheppell

I'm writing a php script that takes a URL and allows the user to highlight parts of the page. When I type in a URL all of the images are broken. How can I write a script to change relative links and assets to absoulute. Another thing this would need …

Member Avatar for CodeAngry
0
408
Member Avatar for abhi_marichi

[B]How to convert text in an Image to Text and save it in .txt or .doc format. If there are any open source please help me out....[/B]

Member Avatar for stultuske
0
230
Member Avatar for mahsaee

I have a java class for enc/dec in DESEDE; for some cipher texts it results in this exception: Input length must be multiple of 8 when decrypting with padded cipher I have not written this code myself I have found it in a thread in this website; could anyone please …

0
107
Member Avatar for Rizi004

Hi everyone I have developed Drupal website and custom registration form. The registration form is multi-step and in popup window so i m using lightbox2 module of drupal and working perfectly fine and the form code is written in the lightbox2 file that comes with module and place in theme …

Member Avatar for Rizi004
0
235
Member Avatar for logicaweb

I have a problem with jquery loading because prototype. This is script that I use: <script type="text/javascript" src="prototype.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> ... .. .. <script language="javascript"> function show(obj,msg){ messageBox.style.top=obj.offsetTop messageBox.style.left=obj.offsetLeft+obj.offsetWidth+5 contents.innerHTML=msg+"<p>"+obj.href messageBox.style.display="block" } </script> Between "..." I have a few more jquery scripts that working without conflict with prototype.js because I …

Member Avatar for LastMitch
0
238
Member Avatar for sadben.khan

Hi, Im having this problem in which the program freezes, the the code in the function called doesn't execute. Help would be much appreciated. // spellchecker2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<cmath> #include<iostream> #include<fstream> #include<string> using namespace std; bool inDictionary(string word, string dictionary[]); …

Member Avatar for sadben.khan
0
227
Member Avatar for shadi_shanak

**Hello All.** I have a Website built on .NET with the following specificatoin: - dot net framework 2.0. - windows server 2003. - IIS6 . - Used Role Provider and sitemap to generate my main menu for each user Role . - Used web.config files in each subfolder to secure …

Member Avatar for LastMitch
0
251
Member Avatar for astian

Hi, I am trying to publish a asp.net - silverlight application. The application has been started as a Silverlight Application project, the solution contains a few projects including a service connection. I am publishing it in file system and trying to host it on a Windows Server 2008 R2 in …

Member Avatar for LastMitch
0
417
Member Avatar for accra

Hi all, am trying to add an html form to a lightbox with no success. Here is my code: <a href="service_form.php" rel="lightbox"> <input name='input' type='' class='btn-primary' value='Add a Service Tag' rel='lightbox'> </a> Note: I have been able to add an image with the same code and it works fine,so the …

Member Avatar for LastMitch
0
609
Member Avatar for egoche

Looking for assistance in, as the title reads, accessing an Access database via PHP when the database is open. (Please bear with me as my knowledge of PHP, when used in conjunction with a database, is extremely sketchy at best.) Using the code below, I can pull up a directory …

Member Avatar for LastMitch
0
3K
Member Avatar for coding101

how do you do unbuffered io in c? I need to write each charachter typed to a socket, not waiting for "\n" newline i.e. enter key any help?

Member Avatar for coding101
0
83
Member Avatar for nick.rechtien.5

Hello all. I am working on a program for class and having a bit of a problem. The program is supposed to ask the user to enter a text file in which read from. Then asks the user for the name of the animal you are searching for. Then if …

Member Avatar for nick.rechtien.5
0
282
Member Avatar for Anark10n

Hey there community. So I installed the latest version of MonoDevelop (on Arch Linux), and I wrote a "hello word" program to test if it installed alright. Building it, MonoDevelop says it builds successfully. However if i try to run it (with and without debugging), I get this error message: …

Member Avatar for alanmydarling
0
618
Member Avatar for sigvewinter

Hi guys! I have a website where users can follow each other. I want to create a stream/feed where posts and updates releated to friends will show. So in "theory" something like this: if friend1 and friend2 == true - > show posts from entries database else - > don't …

Member Avatar for diafol
0
113
Member Avatar for foysal2012

I want am php page which entry the google longtitude and latitude from an google map, want just click the map and in the text box need to show the longtitude and latitude after that a submit button need to click this data will store on a database as varcar(). …

Member Avatar for diafol
0
100
Member Avatar for nitin1

i want to do topo sort but i want to output the lexographically smallest topo sort vesion of that. http://www.spoj.com/problems/TOPOSORT/ here goes the link of problem. actually, i have done this using DFS , but i am able to do the question "print any possible topo sort" of the graph. …

Member Avatar for cproger
0
261
Member Avatar for sk8ergirl

Hi, I'm working on my final project and I'm almost done , but I notice error in my program I have JList and csv file the user load the file then the user can add new item to the JList they need to enter the id,title,publisher ..etc the problem is …

Member Avatar for sk8ergirl
0
228
Member Avatar for inheaven

I need to get data from a [site][1] programatically using [WebClient][2] in ASP.NET. [This website][3] loads data by sending an `ASP.NET Ajax` request (using `ASP.NET ScriptManager`) to the server. Try selecting an geographical state and then click show on the page. Paging operations are also performed using ASP.NET Ajax. I …

Member Avatar for LastMitch
0
412
Member Avatar for Kratoswoo

So I created a form that used windows.forms and I was moving it over to web based. Now in there, there was DataGridView. Asp.net does not use that. So when I try the same thing. using (var = new ()) { var v = from l in .Logins where l.LogoutTime …

Member Avatar for Kratoswoo
0
124
Member Avatar for Paulxh

I am trying to change the order of the stack using z-index. as my HTML, CSS and javascript function show in the code below. The three tables are all read into the same location, with only the last table being printed on the screen, since all tables use a white …

Member Avatar for Paulxh
0
2K
Member Avatar for Papa_Don

Group, I need to use Function keys within a form I've created. The problem I'm having is determing the correct routine to fire it off. Here's what I'm attempting to do: In Form1 (actually called "OrderEntry2"), I want to give the user the option of keying in a part number …

Member Avatar for Papa_Don
0
463
Member Avatar for Martin C++

Hello, I have a small problem with my script. The ajax calls php file but it wont finsih successfully. Instead it goes to error: callback. My javascript part: function updateUserlist(){ $.ajax({ type: "POST", url: "process.php", data: {"function": "userList", "n_users": n_users}, dataType: "json", success: function(data){ console.log("Updating..."); $("#users-list ul").append("<li>"+data.text['nickname']+"</li>"); n_users = data.numUsers; …

Member Avatar for Martin C++
0
170
Member Avatar for gmorcan

Hello everyone, I'm a beginner in programming languages and in Python. I came across this error and I don't khow if it is a logical error or a design error. The problem is with class_average a = {1:[1, 2, 3], 2:[3,4,5], 3:[6,7,8] } b = {1:[3,7,4], 2:[8,2,9], 3:[3,6,3] } c …

Member Avatar for woooee
0
266
Member Avatar for sk8er3577

Hey guys! I have a project for school that involves changing the code I posted under this. One problem that I cannot figure out is how I would convert the mouse listener to a key listener. I believe the checkEmpty, moveTile, and exchangeTile methods will have to be coded differently …

Member Avatar for JamesCherrill
0
475
Member Avatar for Zulu123

Hi, I currently have two separate listboxes, one displaying a list of different leagues (With sponsors/prizes etc to do with leagues), & another listbox displaying a list of all the teams (So Team name, team nickname, team league etc..). Both sets of data have been inputted via a Streamreader, I …

Member Avatar for tinstaafl
0
179
Member Avatar for mkweska

Hello, I am wondering what I am missing. Keep getting a syntax error at the chara on Line 8..... def main(): print('WELL! Hello. Thank you for choosing your path to'\ 'righteousness! bahahaha!') chara = raw_input(str('Please input your character name: ')) #print the welcome for user print('Ok,'chara,'This is just protype son …

Member Avatar for Schol-R-LEA
0
219
Member Avatar for Dani

We use CodeIgniter custom session data to handle our login (among many other things). Our settings are as follows: $config['sess_cookie_name'] = 'danisession'; $config['sess_expiration'] = 0; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = TRUE; $config['sess_use_database'] = FALSE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = FALSE; $config['sess_time_to_update'] = 300; ... $config['csrf_protection'] = true; …

Member Avatar for Mark_k
0
2K
Member Avatar for vivsshake

Hi i am trying to parse a *large xml* file and printing the tags to a output file. I am using *minidom*, my code is working fine for 30Mb files but more than that its getting memory error.So i used buffer reading the file but unable to get the desired …

Member Avatar for vivsshake
0
351
Member Avatar for bklynman01

I have a program I wrote a few years ago that interfaces largely with MS Excel. At the time my company used Office 2007. We have since upgraded to 2010 with no problems. However, I had to make some adjustments, and now I can not compile. The error is Error …

Member Avatar for bklynman01
0
182
Member Avatar for coolrosy

it is possible to write more than one ajax request on a single page?can any one help me?thanks in advance

Member Avatar for diafol
0
123
Member Avatar for rsridhar420

var allchk = document.getElementsByName("contacts") what is "contacts" in above line

Member Avatar for IIM
0
139
Member Avatar for mehnihma

Hi I need to change number ordering in table: This is original: SELECT MAX(`number`) FROM `'._DB_PREFIX_.'order_invoice` It selects max number from column. Now I need to change Invoice number to start from 1 again, now it is on 110. Should I create new table and start from one or what …

Member Avatar for mehnihma
0
240
Member Avatar for ajay09payal
Member Avatar for IIM
0
181
Member Avatar for tanya1989

Hi, I have a csv file that looks like this: Date, Cost Jan 12, 23.2 Feb 2, 45.3 May 4, 33.4 March 3, 32 May 9, 21 July 22, 332 Aug 3, 765 I am using scanner to read the file and can do that with no issues. Howevet, I …

Member Avatar for stultuske
0
335
Member Avatar for 9540252887

I need to develop a multi level marketing application in C# ,i am not able to calculate commission dynamically for all member's from database.mainly i want to calculate total child's or left and right child's for parent retrieved from database. i have used two loop kind of recursion for getting …

Member Avatar for Ketsuekiame
0
502
Member Avatar for govindh2so4

I have a program like this: int main () { int * buffer1; buffer1 = (int*) malloc (100*sizeof(int)); buffer1 = buffer1 + 5; free (buffer1); return 0; } So my doubt: How much int-sized memory will this free-function free. 100 or 95 ?

Member Avatar for Schol-R-LEA
0
659
Member Avatar for gogs85

I have error i have web site where want to users register this is code from index.php : <?php include ('include/header.php'); if (isset($_GET['id'])){ switch ($_GET['id']) { case "wallpaper": include ("include/wallpaper.php"); break; case "ringtones": include ("include/ringtones.php"); break; case "themes": include ("include/themes.php"); break; case "apps": include ("include/apps.php"); break; case "aboutus": include ("include/aboutus.php"); …

Member Avatar for gogs85
0
700
Member Avatar for ktsangop

Hello everyone! I would like some suggestions on picking a game development technology/language. My requirements are : 1) On line / Web based game only 2) 2d animation only (for the time being). Using mostly sprites and modelling only simple 2d shapes. 3) No need for an advanced physics engine. …

Member Avatar for ktsangop
0
347
Member Avatar for Johnathon332

hey guys, I am currently having problems with my OpenGL ES 2.0 application. I think I may have done my matrices wrong im not sure, but I cannot see my quad rendered to the screen. I believe it is something to do with the matrices I have set up which …

0
162
Member Avatar for fheppell

I need to connect to the wikipedia search API. Here is an example response <api> <query-continue> <search sroffset="10"/> </query-continue> <query> <searchinfo totalhits="169717"/> <search> <p ns="0" title="Intelligence quotient" timestamp="2013-04-04T05:15:12Z"/> <p ns="0" title="Test" timestamp="2013-02-23T01:15:05Z"/> <p ns="0" title="TeST Gliders" timestamp="2012-09-22T11:05:05Z"/> <p ns="0" title=".test" timestamp="2013-02-25T14:48:22Z"/> <p ns="0" title="Test cricket" timestamp="2013-04-02T18:49:54Z"/> <p ns="0" title="Test (assessment)" …

Member Avatar for fheppell
0
189

The End.