2,452 Topics
| |
i have a hyperlink called companyname in gridview .when i click it has to open popup window and provides details of that company.can someone explain how to call popup window in hyperlink | |
for ($i=0;$i<=$SIZE;$i++) { $_=$LINES[$i]; if (........... need to know how to ask if a line contains <!--addsearch--> AND more than two " speech quotes Hope you can help Marko | |
My game that I made works correctly when I run it in the window from my IDE, but when I run it from a browser the game buttons don't animate. can anyone tell me why it's not working? another problem. When [I]New Game[/I] is pressed in the IDE window a … | |
Hello. I am having trouble with my menu and buttons (which are just pictures that change when you scroll over them). One of my buttons works perfectly, but when I coded the rest in the same way (at least I think so) they dont work. Sorry for the long code. … | |
Hi i'm in a university class, and i'm working on a little assignment that is supposed to have an int array and have assorted functions to do things to the array currently i have two of the four functions working and i'm having trouble with the function that is supposed … | |
Hi! I have a problem with a winsock code. I want it to connect to a irc server, but it won't recieve any readable data... Just alot of "jibberish"... [CODE] #include <string> #include <iostream> #include <WinSock2.h> #pragma comment(lib, "ws2_32.lib") using namespace std; //class lam0rZ { ~lam0rZ() { system("pause"); /*sleep(5000)*/ } … | |
Hello, I have a timer that starts after clicking a button, then a label is updated every tick event simulating the seconds, the problem is very weird, after one button click the timer starts so basically the label should start changing, but it does not. Here is the weird thing, … | |
I got an array of email addresses: [CODE]@emails = ("sam\@email.com", "john\@email.com", "jenifer\@email.com");[/CODE] There are 20 txt files wherefrom email addresses are being parsed. The parsed email addresses should be added to the @emails array only if they are not in it. Example txt file contents: =========================== Zip_Name: [email]jenni@email.com[/email] Zip_Name: [email]sam@email.com[/email] … | |
This is the contents of the file, of which I want to insert multiple lines after </module-data> if the process-type=Remote. Could you please help !! [CODE] --------------------------FILE------------------------------------------ <process-type="Local"> <module-data> </module-data> <process-type="Remote"> <module-data> </module-data> --------------------------FILE------------------------------------------ [/CODE] | |
Hey everyone, Relatively new to Perl and had a quick question. Is it possible to assign a SQL query result to a variable? The query will always return a single interger result. This is what I have thus far: [CODE] use DBI; use DBD::DB2::Constants; $dbh = DBI->connect("dbi:DB2:SLOGAN","","") or die "Cannot … | |
Hello, I would like some help if anyone can. I have researched, research and I just cant do it anymore - I have to ask. Before I do, I know this is probably a simple answer, and your fed up of explainng it but from my research (lots) the example … | |
Hello Folks, I am Writing a Perl Agent which scan Windows Registry to parse information about service running on system to do that i am using Win32::TieRegistry module. my problem with this approach is that it is running fine on 32 bit system but for 64 bit system it is … | |
Hi, I have encounter a strange result couldn't figured out. # Str with format "Mon MM HH", try to skip leading space in DD. my $str = "Jan 8 11"; # Jan, 8th 11 o'clock print substr($Str, 0,3) . [B]substr($Str, 4,2)=~s/^\s+// [/B]. substr($Str, 7,2) . "\n"; The result is "Jan11", … | |
Hi all, I am in fruit industry and dealing with stock inventory of fruits. I got 2 files, one file got fruit names (fruit.txt) and other file got the inventory status (status.txt). Task for me was to check the fruit list and update the inventory status: Contents of the files: … | |
Hi! I have successfully implemented a modal dialog using jquery with the help of Daniweb forum but I am facing one more problem. Well, I have to intregrate it with a sharepoint page. 1. It is running fine in a normal web application. 2. It is running in a webpart. … | |
I am a programmer and i use 64-bit windows 7 as my OS and i need a free localhost server i can work on my PHP and perl on. I also need it to have MySQL PHPmyAdmin. If anyone has any ideas, please let me know. Thanks :D | |
Hi I have a Dell latitude D610 running Windows XP svc pk 3...recently everytime without exception when I boot my computer the black screen appears with the error message ...'apologies for the inconvenience but due to an unexpected error power failure etc etc windows did not load properly' and then … | |
Hi! I am a developer. I am using jquery to create a modal dialog. I am using the following code snippets. Please tell what is going wrong: [CODE]<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.7.custom.css" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.min.1.4.js"></script> <script type="text/javascript" src="jquery-ui.min.1.8.js"></script> <script type="text/javascript" src="jquery.min.1.3.2.js"></script> <script type="text/javascript" src="jquery-ui.min.1.7.2.js"></script> [/CODE] [CODE]$(document).ready(function () … | |
Hi everyone! Is there a function in Perl which is similar to the following [CODE]getServletContext().getRealPath("/filepathInContext")[/CODE] which is in Java? The getRealPath method returns a String containing the real path for a given virtual path . I can't seem to find one. Any help would be much appreciated. TIA. | |
Hi Perl guru's My name is Omer and i am almost new on perl i need help for below mentioned issue. Well, I have two files file A & file B file A have two columns and it looks like ColumnA ColumnB A 01 B 02 C 03 and File … | |
Hi I am a PERL novice. Currently dealing with a problem and wondering whether it can be solved using PERL? I got a folder containing a number of text files. Every time a file is created a timestamp is added at the end followed by an "_". for example "apple_20101210091255.txt". … | |
Hello, I was wondering if anyone could help me with something. I am not a programmer yet I am able to modify scripts to a certain extent. I recently downloaded a script to read an existing CSV file and output via an SSI call. What I would like to do … | |
Hi All, I have a small problem that I am trying to solve...It regards storing string values in an array and outputting them to a .csv file. As you know the .csv file accepts inputs delimeted by commas ",", however the arrayed values are also delimeted by commas therefore $arr[$i]="1,2,3"; … | |
Hello All, So this script below is supposed to go to the Url listed which is a direct link to webpage which will open an excel formatted spreadsheet. Im then taking the data out of the spreadsheet and placing them within the specified variables so I can then send an … | |
The following code snippet is throwing error if i use the mkpath command.Can any one help please? i get the following error message: D:\perl_prj>perl ex2.pl a.csv mkdir IDS/CPIDS : Invalid argument; The filename, directory name, or volume label syntax is incorrect at ex2.pl line 28 [CODE]use File::Path; #get file name … | |
I am new to Java and having an issue with it. My website currently works when run on my desktop but once it is uploaded it is not working correctly. Specifically the javascript does not seem to be working once I upload it. What it is supposed to do is … | |
[B][B] This codes are not working here and i cant find out why is that can you help me on this (here i gave the database also problem is not in DB) [/B][/B] [CODE] CREATE TABLE `itinerary` ( `id` int(11) NOT NULL AUTO_INCREMENT, `type` varchar(1000) NOT NULL, `name` varchar(1000) NOT … | |
I need to add orkut like functionality on my site. When user Logs in he should see images of all of his contacts. When he clicks on an image his profile should be loaded. I need guidance achieving this. Presently I have created the hyperlink images at runtime in a … | |
In a login page of a jsp project which is almost nearing completion I created a link to google..While clicking it says page cannot be displayed?.What can be the posible reasons? | |
[CODE]<?php require_once('upper.php'); $error_msg=''; if(!isset($_COOKIE['LoginIdCookie'])){ if(isset($_POST['submit'])) { require_once('database.php'); $LoginId=mysqli_real_escape_string($dbc,trim($_POST['LoginId'])); $Password=mysqli_real_escape_string($dbc,trim($_POST['Password'])); if((!empty($LoginId)) && (!empty($Password))){ $query="SELECT * FROM registration WHERE LoginId='$LoginId' AND Password=SHA('$Password') AND Flag='A'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); if(mysqli_num_rows($result)==1) { $row=mysqli_fetch_array($result); setcookie('LoginIdCookie',$row['LoginId']); //$home_url = 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/index1.php'; header('Location: index1.php'); } else{ echo 'Enter right UserName/Password combination or You … |
The End.