199,114 Archived Topics
Remove Filter ![]() | |
Hello to Everyone, I m involving in social networking website in php.Can anybody help me for building add friend system in php? | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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: … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; } … | |
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 … | |
What happens if a value from hex editor is deleted but not modified ... Friendz plz help | |
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 … | |
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 … | |
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("č"); //& # x 010D iz unicode for č, i … | |
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. | |
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 … | |
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 … | |
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 … | |
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?????? | |
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" … | |
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 … | |
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 … | |
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 | |
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 | |
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. | |
how can i get the ip address of the user on my email while the user clicks the submit button anyone could help me | |
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.' … | |
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 - … | |
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 … | |
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. … | |
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 … | |
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. … | |
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 … | |
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 | |
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" … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … |
The End.