2,452 Topics
| |
Hello again, Whenever I run a certain .exe in my CGI script, it opens the process but does not bring up the application. I am forced to close it out through task manager. Both exec & system have the same result. I created an autoit script to run the .exe … | |
So; new to this perl mess But I'm wanting to write a little snippet that performs what seems to be a simple action. I have three text files Text1 contains a list of items that are required Text2 contains a list of items (some may be on the list of … | |
\\computer name .not accessible.might have no permission. is the error mess I am getting while trying to access my lan please any one send me the trouble shoot method to it. pls pls Thanks in advance | |
Hey there :) i am trying this part of code, which testing arguments on command line: [CODE] use Getopt::Long; GetOptions( "verbose" => \$verbose, "get" => \$get ); print "verbose = $verbose\n"; print "get = $get\n"; [/CODE] In my script i have several arguments, with which my script working (any sequence). … | |
I'm currently learning how to read through large groups of text files to scan for key words for some research work I'm doing. I came across an example that I don't fully understand, mostly because my Perl knowledge is a little piecemeal and it's been tough trying to find a … | |
Disabling of hyperlink can be done by the help of Javascript, but can anyone tell me the code, how to disable a hyperlink by the help of php coding. In the web page, it is desired that when a user signs in as an administrator, he could access the hyperlink, … | |
Can someone please help me? I'm getting an exception: Given final block not properly padded. I can't figure out what I'm doing wrong. Shouldn't Java automatically pad the data for me? [CODE] import java.security.*; import java.io.*; import javax.crypto.*; public class AES { static String fileName = "javaEncrypted.dat"; static File inputFile … | |
I have a need to strip "some" of the comments from a C file. The comments can be C or C++ style and can ofcourse be part, single or multi line comments. As in [code=c]/* usual C style comment */ int i; /* this is going to count things */ … | |
i have an old CGI script i have been using for years for my guestbook... i don't want to update it, it works fine, its lite, easy.. ok.. but, lately i have been getting nailed by bots posting... i need to install some sort of captcha.. and that is where … | |
hello, i'm having trouble printing arrays to file. each time i run this code, i get only two results max. if the array has 2 genres, i get them but no languages. if the array has 1 genre i get it and only 1 language. if the array has more … | |
My datagrid column, ID, Name, Member Number and there are about 50 entries into it. It reads an xml database and adds rows at runtime. When i click on the row to sort you can see the arrow up or down, and most of them sort but there will be … | |
I have a hyperlink column in a datagrid that uses DataNavigateUrlFormatString to open a popup window via javascript. I am trying to get two variables from a sql to show in the query string for the popup window. I am able to pass the sessionstart date which is ={0} but … | |
Hi Everybody!!! I am Working on Web application Using C#.NET(Microsoft Visual Studio) and SQL server 2005 ,Microsoft Internet Explorer .I have to show some Sanskrit text on web page.Now i am showing it using the Text Box control(as it show text as it is from database like paragraph...) 1.My Problem … | |
I need a perl script for the following case. Input is a text file with the following content AB001. I need to replace the text with AB002 in a new file. This has to go on until AB999. ie., At the end there should be 999 files with the contents … | |
Hi, im trying to use an actionlistener attached to a button to add a component to a frame I have created. The actual button should add to the frame a circle with some text placed in it which I have already created, it works fine so there's no problems there. … | |
Hi, We've a requirement wherein we're provided with a csv file, within the file there is a name field, and some of names are very long and are causing issues while importing. What we want is pull out these kind of rows containing longer names and send it back to … | |
hello, i use a simple log script on my site.. very basic.. i would like to modify it, and am having issues.. here is what i would like... i would like to be able to have it filter out certian HOST names.. but not exact.. say for instance, i dont … | |
Hi, I have a Word doc and a front page doc. I am looking to create a script that will look through the 1st document and take any text between two tags (ex: <h1>text text</h1> and then copy it to another file between two tags (say <tr>%text will go here%</tr>. … | |
Greetings. I need to print an Excel document to a PDF with hyperlinks. Creating hyperlinks in Excel is no problem. If I print to a PDF (using Adobe PDF print driver), the hyperlink appears and works in the PDF. No problem. But I need to change the display text of … | |
Hello, Question regarding the connect function (in Socket), how to specify a specific port? The function only accepts two arguments, the socket and the ip. I have multiple devices on the same ip but different ports that I need to connect to, how to do this in Perl? Thanks. | |
Hi, I have few weblogs, example below 65.96.112.177 - - [27/Jan/2007:00:02:10 -0500] "GET /~jking/images/ralph.jpg HTTP/1.1" 200 66196 65.214.44.44 - - [27/Jan/2007:00:02:27 -0500] "GET /~jkabara/Research.htm HTTP/1.0" 200 4696 207.46.98.52 - - [27/Jan/2007:00:02:29 -0500] "GET /~mweiss/new/background.htm HTTP/1.0" 200 3905 207.46.98.52 - - [27/Jan/2007:00:02:35 -0500] "GET /%7Epaws/project_pacer.htm HTTP/1.0" 200 15645 207.46.98.52 - - … | |
Hello, I am trying to learn how to embed properly. The following code works. But it does not pass W3C validation as XHTML 1.1. What am I doing wrong? [CODE] <object width="631" height="324"> <param name="movie" value="files/flash.swf"> <param name="wmode" value="transparent" /> <embed src="files/flash.swf" width="631" height="324" wmode="transparent"> </embed> </object [/CODE] | |
Hi there I am translating PERL code into python and i am new on both language.I have one question if we have hash key reference in PERL like this way $a->{b} how we can traslate it into PYTHON? and if we have this code $a->{$b} , how we translate it … | |
Gentlemen and Ladies - Help!!! We have converted a legacy COBOL system that has about 500,000 lines of code to the web using MicroFocus tools and Perl. We are using ActiveState Perl 5.8.9 on Windows Server 2003 .Perl is the "glue" for the system. The front ends sole purpose is … | |
The following code fragment from Programming Pearls: [CODE]for i = [0, n) if comlen(a[i], a[i+1]) > maxlen maxlen = comlen(a[i], a[i+1]) maxi = i[/CODE] I am not sure why he called the comlen function twice? Instead he could save the computed value in a temporary and use it to assign … | |
Hi, I am using ppm shell to install a perl module in windows. I have set http_proxy=http://localhost:8080. I don't have proxy server i am using TATA Indicom Connection. When i tried connecting and downloading perl module i got error like this: [code] ppm> install Mail::Sendmail Downloading Mail-Sendmail-0.79...failed 500 Can't connect … | |
Hey Guys. I cant actually think of a way to do this. Let me rephrase my question. I essentially want a perl script to run based on something that i am doing in javascript. for example: <javascript> if(x == 1) { then run the perl script. } </javascript> i dont … | |
Hi All, Have a module that already opens and reads my POP3 email. I was hoping there might me a ONE stop module that will take any email and translate it all into just SIMPLE TEXT? any ideas? Thanks ahead, as always Sergio | |
Hi, i've problem with reading arguments on command line. I don't know, how do I distinguish, if the user entered some argument with one or two dashes. I try: [code] while($ARGV[$i]) { if($ARGV[$i] == '--anything') { print "The argument with '--'.\n"; } else { print "The argumentwith '-'.\n"; } $i++; … | |
Why doesn’t the following code print the newline properly? |
The End.