199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abhinav bagora

Hello to Everyone, I m involving in social networking website in php.Can anybody help me for building add friend system in php?

Member Avatar for cereal
0
152
Member Avatar for Graycode

Hi all, So I launched a clients website using Wordpress and for whatever reason they seem to be encountering this issue whereby they cannot login. The issue is baffling as no changes were made but i get this message when trying to login through wp-admin <strong>Warning: Cannot modify header information …

Member Avatar for Insensus
0
289
Member Avatar for shrawansher

Hey I am a newbie to perl and I can't seem to solve this problem.My perl program executes some command files each of which create a log file in the format "server.YYYY-MM-DD.HH-MM-SS.XXX.log". After executing the command files i wish to parse through the log files created and look for errors.Could …

Member Avatar for insertable
0
189
Member Avatar for skydust

i'm working on a small project where i'm storing student details in an array of structures.The admin logs in to modify these details.How do i get this data to remain permanent?(i.e the data entered should not be erased every time i re-open the program) Is there no way other than …

Member Avatar for skydust
0
163
Member Avatar for uid1

I have the following XPath expression written in Java: [CODE] " pProbs = XPath.newInstance(/n-grams-sorted/n-gram[contains(.,"+content1+") or contains(.,"+content2+") or contains(.,"+content3+") or contains(.,"+content4+") or contains(.,"+content5+")]/@probability"); [/CODE] My problem is that not all of the contains() expressions return true. What I need is: If one of them returns 'false' (i.e.: there are no nodes …

Member Avatar for uid1
0
215
Member Avatar for dantinkakkar

I'm writing a java program that adds event handlers dynamically on the go on instructions by the user. My problem is, that how do I basically add them?

Member Avatar for peter_budo
0
144
Member Avatar for DesignGhosts

Hi guys, This might be a long shot but its worth a go....so im using LabWindows CVI, a ANSI C software development environment for "test and measurement, data acquisition, instrument control, and scientific analysis" application. Now the problem I have is running a .exe application from a button click event: …

Member Avatar for DesignGhosts
0
482
Member Avatar for Mike Bishop

i have a datagrid and want to format the cell background colours which is working fine. as you can see if the value of the cell is > 95 the cell goes green if the cell value is < 90 the cell goes red. i need help with anything between …

Member Avatar for Mike Bishop
0
99
Member Avatar for vishal1949

I just wanted to know what would happen if you abuse the CharStack class by pop()ing more characters than you push()? Would it be an error of out of exception or something else.

Member Avatar for JamesCherrill
0
227
Member Avatar for NicAx64

hi , I just using 64 bit linux with my powerfull desktop computer. and I use Scientific linux as the destro,I use the RPM binary package to install gcc. and I using nasm also. I write simple example program in a nasm assembly (free) book.And the author gives some library …

Member Avatar for linuser
0
3K
Member Avatar for destruct0

Hi !!! If any one can help me I'll be pleased! I have one TextBox. I entering some text in the Text Property. After that I pressing the "Enter" button and the cursor position it's going of the next line. I would like to go back the carret at the …

Member Avatar for Momerath
0
396
Member Avatar for naffan

Hi All, I've a little problem with writing and saving to a file I'm close but I can't seem to grasp what i'm doing wrong here. Trying to save student object(s) to allstudents.txt This is my loadStudent method; [CODE]public student[] loadStudent() throws IOException, ClassNotFoundException //loads the accounts and returns them …

Member Avatar for naffan
0
174
Member Avatar for Tristan2036

Okay i have been looking my best for this problem on forum. I have a website script written in php, now the menu it has is in php and uses a tpl file. This is very crude compared to what i need, now i post here in DHTML because the …

Member Avatar for Airshow
0
348
Member Avatar for ivan3510

Hi! I want to check if some file on some other server exists. I have this code (but something is wrong with it): [CODE]<?php $notworking=array(); $false=0; $link="http://uploads.mp3songurls.com/"; $files=glob("genre/*.xml"); foreach($files as $file){ $xml=new SimpleXMLElement($file,null,true); foreach($xml as $info){ if(fopen($link.$info->link.".mp3","r")==false){ $false++; $notworking[$false]=$info->name." => ".$info->author; } } } if($false>0){ $file=fopen("notworking.txt","w"); for($i=1;$i<=$false;$i++){ fwrite($file,$notworking[$i]."\r\n"); } fclose($file); …

Member Avatar for ivan3510
0
212
Member Avatar for junharefa

I want to insert data from the textBox to MySQL Database. Here is the code snipped that I have created. [CODE]private void button6_Click(object sender, EventArgs e) { string connectionSQL = "server=localhost;database=db_junisman_kulit;uid=root;password=;"; MySqlConnection conn = new MySqlConnection(); double no_simpan = 0; try { conn.Open(); MySqlCommand cmd = new MySqlCommand("INSERT INTO tb_backorder …

Member Avatar for Mitja Bonca
0
1K
Member Avatar for rigz

Can anyone give a solution for this? Im just new here. Wishing to have a great time here :) by the way : I made a program that the user will buy a certain product (a cake) then i also have a "receipt-like" after. But i dont know how to …

Member Avatar for rigz
0
200
Member Avatar for emorjon2

Hi All! I'm try to make a game in C++ with OpenGl. So far i've programmed the sprite and the platform. the next thing is to create a AI bot who will try to kill you in the game. but I've got the most bisarr problem with that: The AIBot …

Member Avatar for emorjon2
0
233
Member Avatar for Cap'nKirk

Hi, a bit of a long title to this thread, I know, just trying to make it obvious. lol Anyhow, I am building a Twitter widget for my own website and have got really stuck on one aspect of it, namely the 'source' i.e. which application the 'user' used to …

Member Avatar for Cap'nKirk
0
179
Member Avatar for deraad

I have two functions that work fine individually, but when used together, create the other function not to work for some reason.. :'( My first function submits a form using ajax: [CODE]$(function() { $("#saveList").click(function() { var listname = $("input#listname").val(); if (listname == "") { $('#listnameError').fadeIn("slow"); setTimeout("$('#listnameError').fadeOut('slow')", "1200"); return false; } …

Member Avatar for deraad
0
1K
Member Avatar for hirenpatel53

Hi all i am using asp.net uploader in my application when i am using file with size less than 5 mb to upload working fine but while try to upload more than 5 mb it gives some standard error like server may down page may not be available an all …

Member Avatar for hirenpatel53
0
118
Member Avatar for kylelendo

What happens if a value from hex editor is deleted but not modified ... Friendz plz help

Member Avatar for kylelendo
0
132
Member Avatar for mualanj

hi,i am new to daniweb,glad to be a member of such wonderful community, what i am trying to build a google map where user can find a train location by entering the train name into the search box. i have two php file one is gmap.php which is outputing the …

Member Avatar for vibhaJ
0
186
Member Avatar for yakovm

I have a program which prints (by printf) to the stdout some data and also calls to function *foo* which also prints to the stdout some data [the way (implementation) of how printing is done from foo is unknown and I can`t see the code of foo]. I have to …

Member Avatar for Narue
0
97
Member Avatar for ivan3510

Hi! This is my problem. If I write letter č or ć in textarea, and then if I use php to check if there in textarea is letter č or ć, it doesn't work, here's code: [CODE] <?php if($_POST['sub']){ $tekst=$_POST['tekst']; $array=array("&#x010D"); //& # x 010D iz unicode for č, i …

Member Avatar for ivan3510
0
262
Member Avatar for jasonmrc

hi i am trying to validate a id card textbox with the format 123456m i want to check and if it is not in that format show a messagebox invalid input. how can i read char [7] and compare it to a deafult char m your input is appreciated.

Member Avatar for rikthefrog
0
111
Member Avatar for skatamatic

I work for an instrumentation company as an in-house software developer. We are thinking of restructuring our database that we use to record data. I am wondering what would be more efficient. Basically theres an array of sensor values Starting at Data0 and ending with data appended with the sensor …

Member Avatar for rikthefrog
0
343
Member Avatar for kairoland

I'm adding an extension to my Wiki - or, at least trying to. I'll reiterate, I'm using Mediawiki. For the most part I can figure things out on my own but I've rarely used MySQL other than making databases for CMS and forums. I've completely new to creating tables and …

0
122
Member Avatar for varun45

Hello i am needing advice about a project that i have got. Its about traffic light using wireless sensor simulation. I want to know about the different softwares that can be used to work on such application, i mean the simulation part. I tried google but apparently i dont really …

Member Avatar for peter_budo
0
165
Member Avatar for ramanjot1620

i have made a project. and it includes crystal report for printing something. but in exe file when i click the form then its not opening with error " Cannot load file or assembly : CrystalDecsions.Windows.Forms, version /...." What should i do now??????

Member Avatar for Momerath
0
138
Member Avatar for arshadarsal

i also experienced this problem,my web page showing multiple entries also. Please help me This is my code \:- [CODE]userid=Session("username") %> <html> <head> <title>Tax Invoices</title> <script language="JavaScript"> function openwindow(path) { window.open(path,"bill","menubar=yes,resizable=yes,scrollbars=yes,width=800,height=450,top=50,left=50"); } </script> <link rel="stylesheet" type="text/css" title="CSS" href="Include/Styles/style.css" media="screen" /> </head> <body> <table topmargin="0" leftmargin="0" align="center" ID="Table1"> <tr> <td><img src="images/headerksphc.jpg" …

0
137
Member Avatar for ankit_the_hawk

I have been experiencing problems in using the gets() command in C. Whenever I use it twice followed by scanf for eg: [code] char name[20],add[20]; printf("Enter name : "); gets(name); printf("Enter address :"); gets(add); printf("Enter age :"); scanf("%d",age); [/code] Here it skips name.(doesnot take input of name!) It doesnot input …

Member Avatar for thisun
0
13K
Member Avatar for harikrishna439

Hi....... While I create a outfile as in format of csv... I am using the command select * from table_name into outfile 'result.csv'; I am getting all properties(field) of a record into one shell in excel.. Is there anyway I can get each property in different shells... Any answer could …

Member Avatar for harikrishna439
0
91
Member Avatar for ramareddy_dotne

Im unable to maintain the tab order when ever my controls autopostback get executed. I hav 4 controls and my 3rd controls prop of autopostback is true.when ever autopostback is executed the control goes back to first.how 2 solve this

Member Avatar for umesh1987
0
178
Member Avatar for rohoni

hi i am trainer in php, in interview the first question is What is the difference between php4 and php5? Please tell me how can i answer for this question

Member Avatar for rajeevbu
0
521
Member Avatar for stigzem

I am to present my project recently.This is very important you see I can't proceed with my project because I am not able to capture a video in my VB form from a video device attached to a PC using USB. How can I do that please help me.

Member Avatar for azzdog_dev
0
668
Member Avatar for extemer

how can i get the ip address of the user on my email while the user clicks the submit button anyone could help me

Member Avatar for anandgodar
0
689
Member Avatar for sunny124

Hi guys, Im getting duplicate records with a select statement. Below is an assignment question that I have to write a query for: 'Write a query that lists only those computers that belong to a department where the department's city is the same as the city that supplied the computer.' …

Member Avatar for sunny124
0
212
Member Avatar for sheennave

Hi! I am new in hibernate annotations so i am practising it on the console. In here i am using hibernate3.jar(came with Hibernate 3.5.1), hibernate-annotations-3.4.0.GA.jar etc. However when i run the main the application didn't start and following errors were generated. Any idea,please help.. !?? 0 [main] INFO org.hibernate.cfg.annotations.Version - …

Member Avatar for sheennave
0
1K
Member Avatar for encodeme

Hi I'm not sure wher I am going wrong. I've borrowed some code and tweaked it. The database table consists of id,dates,day,type,. The form brings up the mutiple enteries to edit, but when the submit is pushed it refreshes with the original information. i've checked the databse and that remains …

Member Avatar for IIM
0
2K
Member Avatar for StevenSchaffner

I am working on something for school as a final project before graduation. I am using ASP for the website and VB as the back end to code. I keep getting the error "Object reference not set to an instance of an object" and can't figure out what is wrong. …

Member Avatar for StevenSchaffner
0
234
Member Avatar for jbrandon52

I'm having a hard time figuring out the best way to approach this problem. Security is not much of a concern in this particular setup, but performance is. I have a script that will Telnet to a telecommunications switch and run a series of commands, display the output, and logout …

Member Avatar for Gribouillis
0
469
Member Avatar for rakwel10

as the title says, "close popup window after submit then redirect to parent". how do i do that? i google it and i saw that some people are using the following code: [B]window.close(); window.opener.location.reload(); [/B] The problem is, i dont know how to use and where them. pls guide me. …

Member Avatar for almostbob
0
20K
Member Avatar for sadsdw

Hi there, I have a file with 500.000 columns and 300.000 lines. The format is like that: ColXX ColWW ColQQ ColTT ... ColEE H1 G1 H1 K1 ... L1 G1 H1 K1 L1 ... O1 . . . Based on the first line information, (ColXX to ColEE), what is the …

Member Avatar for Ancient Dragon
0
132
Member Avatar for PratikM

Hi guys, I'm running Visual Studio 2010 C++ Express on Windows 7 and I was just wondering how to make the debug screen in full screen. So Any Help is Appreciated. Thanks

Member Avatar for pseudorandom21
0
586
Member Avatar for Simplified

Hi All I'm learning C at the moment using Code::Blocks running on Windows 7 (64-bit) and I'm having a bit of a problem with code that I've compiled. This code works and compiles just fine: [CODE]#include <stdio.h> int main() { char cards[] = "JQK"; char a_card = cards[2]; /* "K" …

Member Avatar for Simplified
0
114
Member Avatar for Naveen2961

Hi There, I am trying to get the Sum values of a Column and want to check if entered value in Textbox is valid. Here is my code below [CODE]mystr = ("Provider=Microsoft.JET.OLEDB.4.0;" & _ "Data Source=K:\Amrut Diary\Amrut_Diary\ADDB.mdb") con = New OleDb.OleDbConnection(mystr) con.Open() strsql = "SELECT SUM(Available_Stock) As Avstk FROM STOCKDB …

Member Avatar for hericles
0
985
Member Avatar for sathya88

hi, am try to create a simple jar file... i got some error to run that jar file error =" Failed to load Main-Class manifest attribute from bala.jar" my code: [CODE]import javax.swing.JOptionPane; public class hello{ public static void main(String args[]){ String s= JOptionPane.showInputDialog("enter name plz...."); JOptionPane.showMessageDialog(null,"hello "+s); } }[/CODE] here …

Member Avatar for sathya88
0
159
Member Avatar for ionko

I'm trying to make a price calculator for my friend's car shipping company. It seemed like a simple thing to do but with my skills I'm having some problems. The calculator takes the distance from zipcode 1 to zipcode 2, and mutplies the total miles by .32 to get the …

Member Avatar for ionko
0
253
Member Avatar for lili.edryana

Hello guys. I have a problem to check datetime overlapping in oracle database. I have this kind of data in my table in oracle. [B]START_DATE[/B] 2011-01-01 08:00:00 [B]END_DATE[/B] 2011-01-01 16:30:00 Given datetime from user is something like this : ---------------------------------------------------------- StartDate = 2011-01-01 07:30:00 EndDate = 2011-01-01 16:20:00 [B]OR[/B] StartDate …

Member Avatar for hfx642
0
136
Member Avatar for I<3CPP

Why doesn't this code work [CODE]class myclass { public: int *ptrarray; myclass() { ptrarray = new int[2]; *ptrarray[0] = 5; //here I want to set the value of ptrarray[0] to 5, not its adress *ptrarray[1] = 10;//here I want to set the value of ptrarray[1] to 10, not its adress …

Member Avatar for I<3CPP
0
112

The End.