2,977 Topics

Member Avatar for
Member Avatar for JRshack

I'm looking for sample code (AJAX, ASP, JAVA) that allows web users to input questions from a form and when submitted it calls a document (Word, PDF, HTML) and inputs the users answers in the appropriate location of the document and allows them to print the document. Is this possible …

0
55
Member Avatar for katharnakh

Hello, I have a script to read remote file. The script goes as follows, [code=Perl] #!C:\Perl\bin\perl.exe $remote= '\\\remotehost\remotedir\remotefile.jml'; open(fp, $remote) or die ("could not open the file"); print while(<fp>); close(fp);[/code] This script runs fine on my windows machine. But the same script when I run in UNIX, after changing the …

Member Avatar for masijade
0
113
Member Avatar for MojoS

;) Hi guys.... I am a beginner at Perl, and i have some problemes I wanna solve!! I hope u can help me. the exercise is: Make a program that counts the number of positive and negative numbers in a column. Also count the zeroes in the column, if there …

Member Avatar for MojoS
0
105
Member Avatar for nathanpacker

Hey everyone, I'm using the php function [URL="http://us2.php.net/nl2br"][COLOR="Blue"]nl2br[/COLOR][COLOR="SeaGreen"]()[/COLOR][/URL] to display some characters on a page from a textarea. I'm storing the text into the database exactly as it is entered, and then only using the [URL="http://us2.php.net/nl2br"][COLOR="blue"]nl2br[/COLOR][COLOR="seagreen"]()[/COLOR][/URL] when displaying it on a page. Should I do it the other way around? …

Member Avatar for nathanpacker
0
87
Member Avatar for WolfPack

Does any of you know how to get the pathname of the perl script that is being executed? Say it is located in [inlinecode]/home/wolfpack/perl/[/inlinecode] I run it from [inlinecode]/home/wolfpack[/inlinecode] by giving the absolute path name like, [inlinecode]/home/wolfpack/perl/scriptname [arguments][/inlinecode] I want to get the path [inlinecode]/home/wolfpack/perl[/inlinecode] so that I can use …

Member Avatar for WolfPack
0
174
Member Avatar for qualtran

When someone logs out of our site, I want the previous page to not be accessible (or any of the other pages.) So far, when a user clicks the logout button on our site, I do the following: 1) I write to a file 2) erase the session cookie 3) …

Member Avatar for Mushy-pea
0
185
Member Avatar for jeffry

hi, Could any one please tell me How to disable a hyperlink or a textbox or a command button which is in page 2 from page 1? Suppose i have an admin page and a userpage.I have a details page which holds add,delete,view and search links or buttons or textboxes. …

Member Avatar for Dani
0
70
Member Avatar for annatalierry

Hello. Random hyperlinks have been appearing in some of my Excel spreadsheets. I've run virus scans, spyware scans (including AVG AntiSpyware) and they've come out clean. I've also cleaned my registry with Eusing Free Registry Cleaner. Here is my Hijack this log. Please let me know if you see any …

Member Avatar for gerbil
0
342
Member Avatar for MattEvans

Is there a standard way to make constants defined using the [inlinecode]use constant[/inlinecode] pragma available to all of the packages that are use'd from an executed file? Or even better, to make the constants defined in a package available to other packages that use that package? It seems like anything …

Member Avatar for lordspace
0
133
Member Avatar for iubike

I just don't know what to do to end the damn loops!?! [code] #!/usr/bin/perl -w use strict; print "Welcome to Techno-Bank 3000.\n"; print "Enter command => "; my $input = <STDIN>; chomp $input; my ($command, $user, $amount) = split / /, $input; my %accounts = ( $user => $amount ); …

Member Avatar for masijade
0
100
Member Avatar for laddu

I have executed a unix command whose output has a number of columns separated by whitespaces.How to extract a column from it and put it into an array using Perl.

Member Avatar for kuom
0
149
Member Avatar for MattEvans

Alot of (mainly linux/perl/etc) documentation, websites and comments use this quoting style: [code] Type `hello' to invoke `system shutdown'. [/code] Is there any particular reason to start the quoted block with a backtick (`) and end with a single quote (') ? This isn't really a support question, I'm just …

Member Avatar for WaltP
0
62
Member Avatar for Mushy-pea

Hello everyone. I'm still working on that forum system I mentioned a bit ago (perlBB). Hopefully it'll be ready for Christmas :p . However, I ran into a strange problem while I was re-writing parts the two functions below. [code=perl]sub enter_post { my(@field, $input, $offset1, $offset2, $n, $name, $field_length, $flag_guest, …

Member Avatar for swampyankee
0
86
Member Avatar for jovimarko

[COLOR=black]I am total novice, but I must solve this problem very quick and need help. Problem:I’ve been given a file 1 2 15 1 3 16 2 3 20 and so on…First two values of the input file represents graph nodes and the third one is distance between them. I …

Member Avatar for Puckdropper
0
84
Member Avatar for alex_wil

Hi friends, I am using Perl Tk for a GUI application. It uses a telnet part wherin I need to login to a unix machine, execute a command and process the result. The code is as follows : my $result = $t->cmd(("grep - $filename.txt~ | wc -l | awk '{print …

Member Avatar for mandible
0
192
Member Avatar for shinobiCracker

Hi Guys! I've attached here the screenshot i've made for my friends program. I need to properly understand these offsets so i could know the right unlock code from the combination of the username and challenge string produced by typing the username. Thanks! Need to know how! please help me! …

0
68
Member Avatar for Abhilashsr001

Hi all, I need to set some values on web page using perl. but the web page is created in jsp. for setting the values i need to click on a gif image which has got HREF to one javascript api. i need to invoke this from perl for setting …

Member Avatar for masijade
0
101
Member Avatar for Mushy-pea

Hello everyone. Is it allowed to have a "use" statement inside an eval that is compiled separately to the enclosing program (i.e. eval EXPR, not eval BLOCK). The reason I want to do this is, I have modules of code that I don't want to be compiled every time my …

Member Avatar for MattEvans
0
140
Member Avatar for Mushy-pea

I was wondering whether anyone else has experienced this. When a script I am working on got above a certain size, the line numbers quoted in the compile and run time error messages started to be inaccurate. The line numbers now seem to always be before where the error actually …

Member Avatar for Dukane
0
69
Member Avatar for iceghost

here is the asp code: [Response.Redirect("[URL]http://www.yahoo.com[/URL]")] what i am trying to do is loop through my database and send variables through a querystring to the same target address. but if my code redirects to the target url it will stop at the first record before it gets to the next. …

Member Avatar for Cyber-SEO
0
96
Member Avatar for jemather

I am quite new to Perl, and have not had much luck finding a cause for some seemingly-strange behavior of a Perl script I am playing around with. I am running Perl 5.8.6 on OS X 10.4.8. I have done some perusing, but I'm not quite sure how to describe …

Member Avatar for KevinADC
0
98
Member Avatar for jerryodom

Hi Everyone, I'm in a strange place in the beginning of 2007. I have to change careers from what I've been doing which was PHP, PERL, Javascript, mySQL systems on Linux for the Internet to doing ASP.NET, C#, etc. Its what everyone wants where I'm from and after working with …

Member Avatar for indienick
0
205
Member Avatar for Shon05

Is anyone familiar with lisp programming? If so can you please respond back. I have a program due and it deals with lisp type checking! I would really appreciate it. ;)

Member Avatar for indienick
0
489
Member Avatar for bobby08

Hi, im running this website,,,worked so hard on it for about 5 months straight. i got it finally up and runnin, and the first 3 months went smooth. all of a sudden my MySQL DB drops...every table inside...just GONE. my site went down and error messages were received throughout my …

Member Avatar for pty
0
77
Member Avatar for egoleo

I have a problem with php and checkbox. Can someone help me with it? I want to be able to compute values of a checkbox that is when the checkboxes are checked using php. example <input type="checkbox" name="course" value="&cent;30 /> JAVA <input type="checkbox" name="course" value="&cent;100 /> C <input type="checkbox" name="course" …

Member Avatar for amschroeder
-1
347
Member Avatar for Mushy-pea

Hello everyone. I decided to try out XAMPP ( [url]http://www.apachefriends.org/en/xampp[/url] ), which contains a pre configured distribution of Apache 2.2.3. My intention is to use it for some local testing of a web application that uses Perl scripts. I got Apache running easily enough and it runs the sample Perl …

Member Avatar for mangokun
0
194
Member Avatar for aetinti

I've been looking for the anwer for almost 2 days now, odds are I'm looking in the wrong place but I can't find it. Is there a script I can write to get perl to print a command to the command line and then "press enter" to execute it?

Member Avatar for KevinADC
0
89
Member Avatar for jerryodom

So How do you format phone numbers and things like that in C#? In perl it would be a pretty simple regular expression to format 4445556666 into (444)-555-6666 but I haven't easily found how to do that with C# in Visual Studio 2005 yet. Learning is fun. :confused:

Member Avatar for jerryodom
0
324
Member Avatar for Wraithan

Howdy, My normal programming haunt is CBoard, but it is down at the moment and so I decided I should sign up here and check this place out since I have heard good things about Daniweb. I took the servey thing from above and it is pasted below. Name: Christopher …

Member Avatar for happygeek
0
67
Member Avatar for bhavna_816

I wrote a code in C# which contains a datagrid which is having a hyperlink and we want when we click on this hyperlink it will redirect to another page and select all the selected messages. How can i do this?

Member Avatar for ses5909
0
73
Member Avatar for jerryodom

I'm a software developer who's making the career move from PHP, PERL, Javascript web stuff to doing the .NET stuff. I ran across DaniWeb on Google a couple of days ago. I'll probably be here for a loooooooong time.

Member Avatar for jerryodom
0
54
Member Avatar for jerryodom

I'm pretty new to C# programming and .NET programming however I have a great deal of experience with database & programming in the world of Unix,PHP,Perl, Javascript. I've been learning C# database programming with a WROX book but it doesn't tell you everything and unfortunately I need a little hand …

Member Avatar for sedgey
0
288
Member Avatar for Mushy-pea

Hello everyone. I'm working on getting threads of replies to work in my forum system. I'm using this function: [code=perl] sub read_fields { my($offset1, $offset2, $offset3, $offset4, $this_offset, $result, $n, $dbase, $data, @field_name, @name_length, $num_fields, $m, $check, $check2, $primary_key, $action, @passed_array); ($offset1, $offset2, $result, $dbase, $num_fields, $m, $action, $primary_key, @passed_array) …

0
63
Member Avatar for kasilver50

I lurked a long time, then finally registered a couple of months ago; then I lurked some more. But the time has come ... [B] HI! [/B]My name's Ken and I've been surgically attached to one or another computer since around 1979 when I bought my Bran' Spankin' New [B]Commodore-64[/B] …

Member Avatar for jbennet
0
91
Member Avatar for aetinti

I'm Trying to write a program that will automatically open a .exe file enter a piece of text in a specific textbok and then exectute itself. I'm new to perl and can't seem to find any of the answers in my books or online. I'm running Perl through the windows …

Member Avatar for aetinti
0
83
Member Avatar for olengrumpy

First,, nice to meet you all and thank you.. I have a machine I built 2 years ago.. It runs fine until stressed, such as, trying to load software, or, play a game..The PC just shuts off..... I get a message saying overheat but I'm positive this is not happening.. …

Member Avatar for olengrumpy
-1
90
Member Avatar for concept

There are so many spoof programs promoting the 'best marketing strategies' that it has become more of a joke than a real help. Many things we read about make out that one person can reasonably learn what is needed to achieve success and profits on the Internet. How many have …

Member Avatar for KevinADC
0
118
Member Avatar for bhavna_816

:eek: I wrote a script which access my mails from outlook.But it suddenly pop's up a box which asks for allowing the access to the mails. I want to suppress that pop up window.How can I do it? Its very urgent please provide the reply urgently! Thanks in Advance.

Member Avatar for bhavna_816
0
74
Member Avatar for Mushy-pea

Hello everyone. I was just wondering if it is OK to do this: [code=perl] if ($beer == $wine) {# Some code} elsif ($beer == $vodka) {} else {die("Oh dear! Neither condition satisfied!")} [/code] i.e. have an empty block attached to an if, elsif or else. It might sound like an …

Member Avatar for zabina
0
217
Member Avatar for bhavna_816

I want to parse this expression PFolder=Personal Folders&SFolder=Inbox&Message=3 and want to extract Personal Folders from PFolder,Inbox from SFolder and 3 from Message,so that i can further use this things "Personal Folders,Inbox and 3"in the program. How can I do it?

Member Avatar for bhavna_816
0
84
Member Avatar for Mushy-pea

Hello everyone. I always run Perl scripts on a web server with [code] #!/usr/bin/perl -T [/code] at the top (i.e. taint mode on). I try to do the same when testing scripts on my local machine and this often works fine. But somtimes (when running from the command line) I …

Member Avatar for KevinADC
0
91
Member Avatar for babutche

I am having a problem getting my "break" to work correctly in this program. Can anyone help me see what I am doing wrong? This is my program: [code]import string import math class Student: def __init__(self, name, hours, qpoints): self.name = name self.hours = float(hours) self.qpoints = float(qpoints) def getName(self): …

Member Avatar for babutche
0
115
Member Avatar for cpickering

hello :cheesy: Im Carl, im a 25 yr old sys admin for a hosting company. I develop in PHP and BASH. I can't do much perl tbh :sad: Found the site via a search term I did in google. I mostly use Linux, I know enough Windows to help out. …

Member Avatar for cpickering
0
95
Member Avatar for rkamin1

Hi everyone! My name's Robbie and I'm a senior COSC student and I should be graduating in May. I'm 21 yrs old and live in Bel Air, MD I currently work for LMI government consulting and will be doing some .NET development soon. Personally, I'm a big fan of java, …

Member Avatar for cecil.vera
0
96
Member Avatar for kararu

Hi all, I had developed an Ip scanner with perl and inline c++. The forum was really useful for me..So thought I will share it with you. [URL="http://www.sourceforge.net/projects/computeip"][COLOR=#0000ff]www.sourceforge.net/projects/computeip[/COLOR][/URL] [COLOR=#0000ff][/COLOR] thanks, karthika.

Member Avatar for chrisranjana
0
79
Member Avatar for Buddha David

Hi guys, This issue is driving me crazy. I have an assembled unit and the CD-ROM just wont load anything. Everytime i load a CD/DVD it says the following error consistently CDStart.Exe - Application Error The application failed to initialize properly (0xc0000006). THe CDdrive is HL-DT-ST CD-RW GCE-8481B and i …

Member Avatar for TheMadMarks
0
207
Member Avatar for bhavna_816

I m new to perl and i have to develop such webserice which can use the perl script via html so that the source of the perl file cannot be displayed only the output is displayed.

Member Avatar for KevinADC
0
109
Member Avatar for Mushy-pea

Hello everyone. I've been working on a web application (written in Perl) called perlBB for about 11 weeks ( [url]http://sourceforge.net/projects/perlbb[/url] ). I'm getting close to finishing an early version. However, suitable testing methods have become a bit of an "issue" for me on this project. So far I've been testing …

Member Avatar for MattEvans
0
329
Member Avatar for Dani

[b]Microsoft's Monopoly[/b] At this time, Microsoft owns an operating system monopoly with its line of Windows operating systems. UNIX, however, is an alternate OS mainly used by ... er, computer geeks. It's been out for many years and features a small kernel with all programs built around the kernel. This …

Member Avatar for mikeandike22
0
190
Member Avatar for dss

Hi, I just took a freelancer script its a cgi script. Can any one let me know is there any posibility to run a cgi script on local computer like we run php on apache/IIS and asp on IIS. Is there any way to run cgi script. Thank You

Member Avatar for KevinADC
0
299

The End.