199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rpv_sen

Hi I am trying to connect my server through PHP script as below. But i am unable to reach my server and getting error. If i connect my server through ftp software with [B]FTPES[/B] protocol my server is getting connect I am getting an Error as [B]"Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: …

Member Avatar for rpv_sen
0
2K
Member Avatar for Tunnleram

I'm missing something stupid so I need another set of eyes. I have a session value set that's a group concat of a few ids and I want to check to see if an id found by a query is in that group concat. The group concat variable is $session_unitidgrouping …

Member Avatar for urtrivedi
0
186
Member Avatar for jaepi

hi there, i just want to know what function to use in converting a char into an int like: [code] char temp; cout << "enter something"; cin >> temp; atoi(temp); [/code] is this the right way?

Member Avatar for WaltP
0
1K
Member Avatar for riotburn

I am writing a polynomial class and finally got done writing all the functions, set up the main but get an assertion failed _BLOCK_TYPE_IS_VALID(pHead->nBlockUse). I read it has something to do with the going over the size of the heap, but don't entirely grasp that. Any clues? [CODE] #include <iostream> …

Member Avatar for riotburn
0
124
Member Avatar for gonidelux

Hey first of all THX ;) @ add product.php wen i browse image and go save i have this error : [B]Fatal error: Call to undefined function imagecreatetruecolor() in C:\wamp\www\plaincart\admin\library\functions.php on line 228[/B] [CODE]<?php /* Check if a session user id exist or not. If not set redirect to login …

Member Avatar for gonidelux
0
163
Member Avatar for Punny

I want to send my information on a database. just wondering if I could use MYSQL? If its not possible, can I use JavaScript to send it on Java and make it work on MYSQL?

Member Avatar for rv1990
0
80
Member Avatar for webdragon89

I have to write a program to "encrypt and decrypted" some text. For example if I input: FACHHOCHSCHULE with a password of: TIGER it should encrypt to: YIILYHKNWTACRI which I got working but when I try to reverse the process I get numbers, letters and symbols. Please help. [CODE]#include <iostream> …

Member Avatar for Grimm#13
0
696
Member Avatar for sarathsshanker

[code]import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.ServletException; import javax.servlet.http.HttpSession; import java.util.ArrayList; import java.util.StringTokenizer; import java.io.PrintWriter; import java.io.IOException; import java.text.DecimalFormat; public class ShoppingServ extends HttpServlet { String link; String[] books; String[] music; String[] computers; String<ArrayList> selitems; // JAVA.STRING.LANG doesnot take parameters error String<ArrayList> cartitems ;// JAVA.STRING.LANG doesnot take parameters error …

Member Avatar for Slimmy
0
192
Member Avatar for missil9

Hello. I have been kicking myself for a while now and I was wondering if anyone could please help me. My code is: [CODE]char fname[FNAME_LEN] = "blah" FILE * fp = fopen(fname, "r"); char line[BUF_LEN]; while( fscanf(fp, "%s", line) != EOF ) { double x = atof(strtok(line, "|") ); unsigned …

Member Avatar for missil9
0
304
Member Avatar for Slyvr

I keep getting the IndexOutOfRangeException for my XNA game and after printing the indexes it stops at 600. Is that the max limit for arrays in C#? I'm trying to get all of the pixels from an 800x600 image into an array so I can test when a R:20 G:20 …

Member Avatar for Momerath
0
273
Member Avatar for mrhankey

hi, looking for some tips, using dreamweaver as my tool and wondering if someone could help. i basically have 2 tables. 1 which is partsused and the other stocklevels. the stocklevels contains stock details and also if it is in the van or unit. on my page i have an …

Member Avatar for facarroll
0
1K
Member Avatar for Panathinaikos22

Well, i won't be programmer, but programming is a part of my life i like it. I Really confused, im 22 years old, and im in Informatic HSchool, i know that if i follow to be programmer that is good thing because i like it + as i know programmers …

Member Avatar for Rashakil Fol
0
195
Member Avatar for pseudorandom21

I need to run some code written in Java from my personal website. How do I even begin?

Member Avatar for NormR1
0
125
Member Avatar for auwi987

guy's i encounter new problem again i write a login system that if users input is correct the mainform will show,enable and focus.., if not he/she only have 3 attempts to log in and it will close .., the problem is if input is correct login form it not focus …

Member Avatar for auwi987
0
107
Member Avatar for Russ775

My issue with this code is that when it is executed it does loop correctly. It just runs once and my goal is to have it run 100 times. I am using Python version 3.1 and could really use some help... Considering I am the only geek with in a …

Member Avatar for JoshuaBurleson
0
117
Member Avatar for Russ775

[CODE]import random print("\t\tWant to know your future?") input() fortune = random.randint(1, 5) if fortune == 1: print("You are gonna die today") input() elif fortune == 2: print("You will find love") input() elif fortune == 3: print("You will make it big today!") input() elif fortune == 4: print("You friends will betray …

Member Avatar for JoshuaBurleson
0
186
Member Avatar for emmas4impact

[CODE]void Addcostumer(){ struct CustomerData *p; char another ='y'; char anothers ='n'; CustomerData *newcous; char str1[80]; char str2[100]; char str3[20]; //fseek(fc,0,SEEK_END); p=(struct CustomerData *)malloc(sizeof(struct CustomerData)); newcous= new CustomerData; printf("Costumer Name:"); fflush(stdin); gets_s(str1); strcpy_s(newcous->CName,str1); printf("Costumer Address:"); fflush(stdin); gets_s(str2); strcpy_s(newcous->Address,str2); printf("Costumer Puhelin:"); fflush(stdin); gets_s(str3); strcpy_s(newcous->Puhelin,str3); if ((fc = fopen("c:\\users\\Emmas4impact\\Documents\\customer.bin", "wb"))==NULL) { printf("Cannot open …

Member Avatar for emmas4impact
0
162
Member Avatar for Bazzaah

Hi In my site I have a search function but have hit on a problem that I can only partly solve. A user makes a search - one or more results are returned. A user can click on an entry and view additional resources on a new page (word2.php) (that's …

Member Avatar for Bazzaah
0
107
Member Avatar for bikertz

I am fairly new at web developement. I created a web site for the dealership in which the dealer can list used motorcycles for sale along with a picture of the motorcycle. Currently, the client emails me the year and model information, the asking price, and a jpg picture file …

Member Avatar for bikertz
0
119
Member Avatar for Asif_NSU

This is (supposed to be) a soln for a [URL=http://acm.uva.es/p/v1/101.html]ACM problem[/URL] But the program produces a runtime error. Can anyone spot the bug? [CODE] #include<iostream> #include<string> #define MAX 25 using namespace std; void print_blocks(); int return_initial(int a);//return all the blocks //on top of block a to their initial pos int …

Member Avatar for blackcloudbd
0
632
Member Avatar for IndianaRonaldo

[CODE]void SubGen(char* s) { //rearrange s ... for(int i=0;i<strlen(s);i++) { for(int j=i+1;j<strlen(s);j++) { if(s[i]==s[j]) { char temp=s[i+1]; s[i+1]=s[j]; s[j]=temp; } } } //s arranged.... Sub[0][0].push_back(s[0]); for(int i=1;i<strlen(s);i++) { if(s[i]==s[i-1]) { vector<string> temp; for(int j=i-1;j<Sub.size();j++) { for(int p=0;p<Sub[j].size();p++) { temp.push_back(Sub[j][p]); } } for(int j=0;j<temp.size();j++) { temp[j].push_back(s[i]); } Sub.push_back(temp); } else { …

Member Avatar for IndianaRonaldo
0
217
Member Avatar for sam023

I m getting this error while using http api.. i cant use post method..... what changes should i made to rectify this error..!! thanks.!

Member Avatar for Jack_M
0
710
Member Avatar for Srin

My panel's paintcomponent method draws a line based on the initial click and the current position as the mouse is dragged. Releasing the mouse leaves one line from the mouse press location to the mouse released location. The problem is. on the next click/drag, the old line disappears when the …

Member Avatar for Srin
0
1K
Member Avatar for ray@lauray.net

I'm using Microsoft tags to get the cell phones unique "did' number loaded into a htm form field. The customer is then asked to enter thier email address on the form. The form is then submitted to be added to our customer mysql database. If it's new it is added …

Member Avatar for ray@lauray.net
0
246
Member Avatar for heavy.is.happy

Hi. I have an issue who i can't solve. The problem is that a = "13.33" and I want it to turn a = 13.33 and not 13.3333333333 and not 13.330000002. So, how do i make it so "13.33" will be an 13.33 float?

Member Avatar for Gribouillis
0
130
Member Avatar for IndianaRonaldo

[CODE] vector<vector <vector<char>>> Sub; Sub[0][0].push_back(s[0]);Sub[0][0].push_back('\0'); Sub[0][1].push_back('\0'); [/CODE] I have the above code and it says "vector subscript insaccessible" for the assignments.What could the reason? Thanks in advance, Prasanna

Member Avatar for IndianaRonaldo
0
175
Member Avatar for ©lick

Hi. I have this connection code: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Sockets; namespace ConnApp { class Program { static void Main(string[] args) { Socket sck = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); IPEndPoint ip = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 1234); try { sck.Connect(ip); Console.WriteLine("Connected!"); } catch { Console.WriteLine("Error!"); …

Member Avatar for Momerath
0
259
Member Avatar for anasmi

hi, i'm an IT student working on a project(point of sale) but i'm unable to display the price of the item, weight and name into a textbox from an access database and to insert multiple barcode items in order to get the subtotal. please i really need your help

Member Avatar for saleem.mukhtiar
0
86
Member Avatar for SVR

I'm trying to simulate particle attraction and motion. Given two particles with 0 velocity at distance X, the acceleration due to attraction is such that the sum of acceleration must be equal to the sum of the deceleration over the same time after the particles pass causing the velocity to …

Member Avatar for SVR
0
147
Member Avatar for jacksantho

Hi, I am having a table A...and i am copying(inserting) the content of the table A to the empty table B.I am doing changes in the values in table A ....but my table B always should remain constantly ...the changes done in table A should be reflected to the table …

Member Avatar for G&G Designing
0
105
Member Avatar for floatingDivs

Hi guys, I just finished doing my homework assignment on spanning trees and I wanted some reassurance that I've done it correctly. I'm not looking for someone to state a correction, but rather let me know I've made a mistake (if I have). Here are my edges for [B]Prim's Algorithm[/B] …

Member Avatar for cherry4life
0
199
Member Avatar for Jason Giggs

Hi I came across this question in C++ Primer by Stanley Lippman. [CODE] int main() { const char ca[] = {'h', 'e', 'l', 'l', 'o'}; const char *cp = ca; while( *cp ) { cout << *cp << endl; ++cp; } } [/CODE] According to me, this code should produce …

Member Avatar for mike_2000_17
0
96
Member Avatar for ferat_tes

Hello, I need to write an extension for Chromium Browser. First i will just write a code to change the proxy. After that i will write all the extension. But i could not use proxy API. I write this code on the background page of extension but it did not …

0
341
Member Avatar for coroll

Hi all, I am generating comboboxes in runtime in a for loop. Then, when click ok i want to get the selectedItems. So how would i do this. PLZ help me. this is how i generate comboboxes in th page load. [CODE] NewBookEntry nbe = (NewBookEntry)Application.OpenForms["NewBookEntry"]; int lable = 0; …

Member Avatar for coroll
0
144
Member Avatar for Niki_Fears

[ATTACH=right]16125[/ATTACH]Google has been speaking about their commitment to be a[URL="http://www.google.com/intl/en/corporate/green/index.html"] cleaner, greener company[/URL] since they announced their commitment to become a carbon neutral enterprise back in 2007. Now, they have made a new green energy deal that could help give wind power the boost that it needs not only to …

Member Avatar for dakshdirsub
0
598
Member Avatar for HelenLF

I am looking for a readymade jQuery gallery script which allows for animated words which show with each image. Can anyone point me in the right direction.

Member Avatar for G&G Designing
0
101
Member Avatar for watery87

hi guys, im currently working on playfair cipher. However i got a serious problem in implementing it on certain conditions You can find background information here [url]http://en.wikipedia.org/wiki/Playfair_cipher[/url]. The problem im facing is that when Playfair cipher decrypts by bigrams and encounters the same character e.g 'ee', my program adds a …

0
105
Member Avatar for jovialbimmer

Hello all. I have to write a java program that allows a user to enter an octal digit and output the binary equivalent for as many numbers as the person wishes using a direct access method. The error is that even though it compiles, the answer (the binary number) continuously …

Member Avatar for JeffGrigg
0
145
Member Avatar for rotten69

Hey, I'm getting this error every time I run my program. I dunno what it means and how to fix it. [code] Uncaught error fetching image: java.lang.NullPointerException at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99) at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:113) at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:240) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136) [/code]

Member Avatar for NormR1
0
249
Member Avatar for andersonelnino

1)DEFINITION OF DATA REQUIREMENTS Produce an itemised consigment note for each customer including -dimension,weight and price per parcel. -total weight and price consigment -number of parcels RESIDENT DATA -up to 2kg-£7.50 -up to 4kg-£8.00 -up to 10kg-£8.55 -up to 12kg-£9.10 -up to 14kg-£9.70 -up to 16kg-£10.35 -for each extra 2kg,up …

Member Avatar for NormR1
0
215
Member Avatar for sathya88

[code] public class exception4{ public static void method(){ try{ exception4.method2(); throw new Exception("method throw"); } catch(Exception e) { System.out.println("method Exception caught"+ e); //throw e; } } public static void method2(){ try{ throw new Exception("method2 throw"); } catch(Exception e) { System.out.println("method2 Exception caught"+ e); e.printStackTrace(); [COLOR="Red"][B]//throw e; [/B][/COLOR] [COLOR="Green"][U]if include this …

Member Avatar for JeffGrigg
0
259
Member Avatar for J-Dub

I need to know how I can set up a action listener for an array of buttons. I am trying to make a tic tac toe game. I am new to programming. I have seen someone on here ask a similar question but I could not grasp what they where …

Member Avatar for mKorbel
0
4K
Member Avatar for raf.fredi

From last few months I'm trying to create my own WEBMAIL system from scratch. I'm using IMAP, POP3 with php/mysql coding but failed to create. Somebody Help me to create [COLOR="Red"]WEBMAIL system [/COLOR]from scratch.

Member Avatar for muzitex
0
109
Member Avatar for akasekaihime

I have created my own payslip but then when I compiled it, they said that there are no more errors but I cannot view my output on the applet viewer............ is there something wrong with my code or is the viewer at fault here?? here is my code............ [CODE]import javax.swing.*; …

Member Avatar for akasekaihime
0
321
Member Avatar for manchurianCEO

I am building a site and very often change my mind on something and changing all over again. So I am wondering if things such as a google gadget, does it have to be actually written inside the html or can I just insert it through php, so I can …

Member Avatar for sDJh
0
132
Member Avatar for Prankmore

[CODE]# include<stdio.h> # include<string.h> int main(int argc, char **argv){ char phone[16]; int num = 0; int count = 0; printf("Enter a phone number: "); count = scanf ( "%s%n", phone, num ); memmove(phone + 3, phone + 2, 10); memset(phone + 3, '-', 1); memmove(phone + 7, phone + 6, …

Member Avatar for Prankmore
0
188
Member Avatar for kaizokupuffball

Okay, so i get this error on line 19 in this pagination script. The error goes like this: Notice: Undefined index: page in C:\wamp\www\pagination.php on line 19 This is wrong: $page = $_GET['page']; But i don't realy understand what is wrong, because the targetpage is set to "pagination.php". Maybe it's …

Member Avatar for cereal
0
158
Member Avatar for zagam2

Hi.. Related Posts for wordpress thesis blog.. I need related posts by categories. But not in ul and li , i need full post show in related post. Just like home page posts.. I think you understand. thanks waiting

Member Avatar for G&G Designing
0
158
Member Avatar for kaizokupuffball

Hi! Im pretty new to this whole thing with PHP and have looked at some examples to learn it. I currently made a site that for now, runs on WAMP localy. The thing is, i was wondering if this would be a good code to use on the upload.php site. …

Member Avatar for kaizokupuffball
0
272
Member Avatar for six_sic6

Hi, I am having problem on getting value from dropDown list. [CODE] using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.OleDb; public partial class _Default : System.Web.UI.Page { OleDbCommand comm; OleDbConnection conn; //conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=G:\\Demo11(1).accdb;Persist Security Info=False"); protected void Page_Load(object sender, EventArgs e) { if …

Member Avatar for six_sic6
0
194

The End.