sendmail

2002-03-04 Thread Rahul Garg
Hello, The problem description is s follows : Well i have made a program that sends mails thru sendmail. earlier the content type was text/html now i have made the content type text/plain acoording to the reqments. but the problem i am getting is in hyperlinks. now i want the hyperlink to be show

Fw: off topic : frames html question

2002-02-26 Thread Rahul Garg
Well, I also dont know whether its possible or not ? Any suggestions. - Original Message - From: Rahul Garg <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2002 10:57 AM Subject: off topic : frames html question Well, I have a html page wh

off topic : frames html question

2002-02-26 Thread Rahul Garg
Well, I have a html page which has many hyperlinks. Now each hyperlink at present calls another html page that has two frames(horizontally).Ist frame is same for all links. Now second frame is also same but has many bookmarks. I want that on clicking difft. hyperlinks they should lead to their

off topic question : simple shell script

2002-02-07 Thread Rahul Garg
well i need to write a shell script, what i want to do is open a file,read each line ,do operations and then close a file. open(HANDLE,filename); @files = ; foreach $line(@files) { # } close(HANDLE); How will i do it in shell script.. Thanks, Rahul

parameter passing

2002-02-05 Thread Rahul Garg
Well,I have a HTML form which is calling a perl script.In form there is a multiple selector box ,now when 2-3 lines are selected each is passed with the same name and different value pair. How to capture all values by parameter name ie there are name = value1 name = value2 name= value3 @values

parameter passing

2002-02-05 Thread Rahul Garg
Well,I have a HTML form which is calling a perl script.In form there is a multiple selector box ,now when 2-3 lines are selected each is passwd with adifferent name value pair. How to capture all values bya parameter name Thanks, Rahul

Re: problem recognising character

2002-02-04 Thread Rahul Garg
problem solved. its actually \r \n (hex values - 0D OA) - Original Message - From: Rahul Garg <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 10:44 AM Subject: problem recognising character Well, I have a HTML form in which there is a textarea b

problem recognising character

2002-02-04 Thread Rahul Garg
Well, I have a HTML form in which there is a textarea box.This form calls a perl script. Now when i fill the textarea with 3-4 lines of text and the data gets transferred, then when i get this textarea data there is a special character (html form, i think shows %0D%0A )between each of the 3 0r

problem recognising character

2002-02-04 Thread Rahul Garg
Well, I have a HTML form in which there is a textarea box.This form calls a perl script. Now when i fill the textarea with 3-4 lines of text and the data gets transferred, then when i get this textarea data there is a special character (html form, i think shows %0D%0A )between each of the 3 0r 4

Re: cronjob problem

2002-01-21 Thread Rahul Garg
lid. Any suggestions please! With Regards, Rahul Garg.

cronjob problem

2002-01-21 Thread Rahul Garg
o, if I am having the file say xyz.sh that is being called from cron, its executing and is not sending the results to me.If i remove the xyz.sh from the actual path its not also sending the error message to the mailid. Any suggestions please! With Regards, Rahul Garg.

Fw: cronjob problem

2002-01-21 Thread Rahul Garg
o, if I am having the file say xyz.sh that is being called from cron, its executing and is not sending the results to me.If i remove the xyz.sh from the actual path its not also sending the error message to the mailid. Any suggestions please! With Regards, Rahul Garg.

regex problem

2001-12-04 Thread Rahul Garg
well, the problem goes like this : if($line contains one and only one \t) ### if($line =~ /\t/ (checking for no tab) && $line !~( ) )#cheching for more than one tab { } else { } how to check $line contains how many tabs ..is there any func in perl one can do in c thru pointers

Re: problem executing linux command in perl

2001-12-04 Thread Rahul Garg
Also, the script is working fine if i am changing permissions manually .it is fetching and appending data to $r_file Any suggestions.. - Original Message - From: Rahul Garg <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; John W. Krahn <[EMAIL PROTECTED]> Sent: Tuesday, D

Re: problem executing linux command in perl

2001-12-04 Thread Rahul Garg
roblem executing linux command in perl Rahul Garg wrote: > > I am transfering xyz.txt file from windows98 to linux server manually. > $r_file = "xyz.txt" ; > then in perl script i am executing `chmod 0777 $r_file` ; > # $r_file is in the same directory as is perl script > b

problem executing linux command in perl

2001-12-04 Thread Rahul Garg
Hi, I am transfering xyz.txt file from windows98 to linux server manually. $r_file = "xyz.txt" ; then in perl script i am executing `chmod 0777 $r_file` ; # $r_file is in the same directory as is perl script but the line is not executing i have tried system command too. Any suggestions.. Thank

sendmail in html

2001-11-29 Thread Rahul Garg
hi, well i am trying to send mails thru sendmail in html but they are coming in html with tags and html not getting executed. how should i correct the prob. open (MAIL, "|$mail_prog -t"); print MAIL "To: $r_mailid \n" ; print MAIL "From: $s_mailid \n" ; print MAIL "Subject: $subject \n\n"

getting ip address

2001-11-21 Thread Rahul Garg
Hi everybody, The problem goes like this : from html i am calling a perl script. in that perl script what i want is : if (the request is comping from ip adress==w.x.y.z) { #code } else { #code } what should i do to know from which ip address the request is coming in perl... any sugges

calling perlscript from html

2001-11-20 Thread Rahul Garg
problem goes like this- what i want is to call a perl script from html document or image...onload what tags ..code should i need to write in html Thanks, Rahul

Re: installing modules

2001-11-13 Thread Rahul Garg
ternalLifeThereAfter <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 2:28 PM Subject: Re: installing modules > ----- Original Message - > From: "Rahul Garg" <[EMAIL PROTECTED]> > To: "Dave Storrs" <[EMAIL PROTECTE

Re: installing modules

2001-11-11 Thread Rahul Garg
--- From: Dave Storrs <[EMAIL PROTECTED]> To: Martin Pfeffer <[EMAIL PROTECTED]> Cc: Rahul Garg <[EMAIL PROTECTED]>; Perl 6 Beginners list <[EMAIL PROTECTED]> Sent: Saturday, November 10, 2001 2:03 AM Subject: Re: installing modules > > > Since I suspect your next

installing modules

2001-11-08 Thread Rahul Garg
well, i want to install modules on my system(linux) that i have made. what i know is they are to be installed at @INC. but exactly how.any suggestions any sources for reading... Bye, Rahul

problem in writing code(switch/case)or enum

2001-10-03 Thread Rahul Garg
what i want is : $s_month can be 1 to 12 if($s_month == 1){$s_month = 'JAN'};and so on how can i do it.

How can i establish sessions in Perl

2001-10-03 Thread Rahul Garg
How can i establish sessions in Perl

problem in knowing session variables .

2001-10-02 Thread Rahul Garg
Hello, i am fetching the asp page by filling in the form. After filling in the form and submitting a request it requests the page . a session is established with some session variables. How could i know what r the session variables involved in while fetching the page. Any suggestions... Thanks

printing out yesterdays date

2001-09-25 Thread Rahul Garg
is there any command in linux to get yesterdays date -mm/dd/yy or can a program be written for it in perl...any suggestions

timeout problem

2001-09-19 Thread Rahul Garg
Well, I am getting the html pages from site. well while getting the pages ,sometimes i get Timeout.if the server response or speed is slow..how can i increase the timeout time...is there any function for it in perl or any help/suggestions...

help please.....array and coding problem

2001-09-17 Thread Rahul Garg
@lines is an array which contains blank lines as well as textlines...what i want to do is to get a line from array thru shift(@lines) until the array doesnt contain the textline or array has no more line(element)..how i should implement the red part while( ($details_1 = shift(@lines) ) =~

Code problem

2001-09-17 Thread Rahul Garg
@lines is an array which contains blank lines as well as textlines...what i want to do is to get a line from array thru shift(@lines) until the array doesnt contain the textline or array has no more line(element)..how i should implement the red part while( ($details_1 = shift(@lines) ) =~ /^$/

problem with parsing of HTML

2001-09-11 Thread Rahul Garg
Well, I need to parse the HTML document and convert it into ascii. The HTML document contains tables.is there any module for it. With HTML::Parser its giving Table Not Shown ...

Re: Got it.....Source code of Perl Modules?

2001-08-28 Thread Rahul Garg
Well, I got it myself... http://www.linpro.no/lwp/libwww-perl/ - Original Message - From: Rahul Garg To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 10:37 AM Subject: Source code of Perl Modules? From where can I get the source code for modules

Source code of Perl Modules?

2001-08-28 Thread Rahul Garg
>From where can I get the source code for modules of perl(exact path),specifically of >LWP and CGI.pm thanx, Rahul

Installing Module

2001-08-27 Thread Rahul Garg
Well, I want to install LWP modules on Linux. At present they are not.CPAN module is there but Linux at present is not connected to net. What exactly I have to do...means What files exactly I have to install from where(exactly). Where I have to install it on Linux. What commands are needed? I t

perl version

2001-08-23 Thread Rahul Garg
how could i know which perl version i am using : any command on unix/linux

Not working in Netscape, working in IE

2001-08-12 Thread Rahul Garg
Hello , The problem goes like this- value of $mailids is coming from previous perl script if($emailids eq ' ' || $emailids eq '@' || $emailids eq '.' || $emailids !~ /..+/ ) { print <<"enter"; Content-type : text/html Search #invokes the same perl script with the

Is there any function for converting uppercase characters to lowercase chars ?

2001-08-10 Thread Rahul Garg
Hello, Is there any function for converting uppercase characters to lowercase chars ? Thanks Rahul

Image not coming in perl script while displaying n simple html with the same path..Why?

2001-08-09 Thread Rahul Garg
be done in perl scripts to include images..? Thanks in advance, Rahul Garg

Re: HTML/CGIPERL/JavaScript related

2001-07-31 Thread Rahul Garg
- Original Message - From: Rahul Garg To: [EMAIL PROTECTED] Sent: Wednesday, August 01, 2001 11:04 AM Subject: HTML related Hello , What i want is a hyperlink after activated once get disabled.. I am using HTML/PERL Can i use onClick event in

HTML related

2001-07-31 Thread Rahul Garg
Hello , What i want is a hyperlink after activated once get disabled.. waiting for reply, Thanx in advance, Rahul

is it possible?

2001-07-31 Thread Rahul Garg
How can we disable the hyperlink? > What i mean is that on certain condition if true the hyperlink to a > particular perl script can be activated but if false cannot be > activated(ie though the hyperlink is shown it doesnt work)just like there is > a DISABLE option in Button. > > > > > > > > >

simple

2001-07-31 Thread Rahul Garg
Hello, How can we disable the hyperlink? Waiting for Reply, Thanx in advance, Rahul

simple

2001-07-30 Thread Rahul Garg
Hello, In my perl script , i am writing HTML code..within it i am using   for spaces , as i need a lot spaces is there any other solution. Thanx in advance, Rahul Garg.

Linux Beginners Mailing List

2001-07-25 Thread Rahul Garg
Hello Everybody, I want to know the names of Linux Beginners mailing list as good as this one of Perl. Waiting for Reply, Thanx, Rahul

Linux commands in perl

2001-07-25 Thread Rahul Garg
hello Everybody , Simple question.. How to run Linux commands in Perl code... Waiting for Reply Thanx in Advance... Rahul

File not Opening.....why?

2001-07-24 Thread Rahul Garg
Hello Everybody, One of the files is not opening.Couldnt get WHY...possibly U CAN..HELP NOTE : the same program i am running independently on telnet with command line arguments , is running perfectlybut thru browser its not working..the problem its giving

File not Opening.....why?

2001-07-24 Thread Rahul Garg
Hello Everybody, One of the files is not opening.Couldnt get WHY...possibly U CAN..HELP the code goes like this : # !usr/bin/perl -w use CGI; $query =new CGI ; print <<"Endoftext"; Content-type: text/html Endoftext # fine till here

Deleting the contents of file:Help

2001-07-24 Thread Rahul Garg
Hello Everybody, I want to search for a specific mailid in a file and if found then delete that mailid from that file. open(HANDLE_CLI, "> $file_cli") || die"Cannot open $file_cli:$!\n" ; ###its ok. while() { chomp; if($mailid eq $_) { s/$_// ; break ;###deleting the contents of fi

Deleting the contents of file

2001-07-24 Thread Rahul Garg
Hello Everybody, I want to search for a specific mailid in a file and then delete that mailid from that file. open(HANDLE_CLI, "> $file_cli") || die"Cannot open $file_cli:$!\n" ; ###its ok. #search code that i will do.. ###deleting the contents of fileis there any specific c

Deletig the contents of a file

2001-07-23 Thread Rahul Garg
Hello Everybody, I want to search for a specific mailid in a file and then delete that mailid from that file. open(HANDLE_CLI, "> $file_cli") || die"Cannot open $file_cli:$!\n" ; ###its ok. #search code that i will do.. ###deleting the contents of fileis there any specific co

Appending(writing) to a file

2001-07-23 Thread Rahul Garg
Hello Everybody, I want to append to a file but not able to do so..actually ia ma not getting the command to write(append) to a file open(HANDLE_CLI,">> $file_cli") || die"Cannot Append\n" ; print HANDLE_CLI "$mailid\n" ; ## ithink problem is here close

Re: Re: simple Telnet or vi editor problem

2001-07-19 Thread Rahul Garg
e - From: <[EMAIL PROTECTED]> To: Rahul Garg <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 7:45 PM Subject: Re: Re: simple Telnet or vi editor problem > Rahul, > > You could use a :1 and that will take you to the first line of your program. Then

Re: simple Telnet or vi editor problem

2001-07-19 Thread Rahul Garg
Hello, Any solutions regarding this , Creating a problem . Waiting for Reply... Subject: simple Telnet or vi editor problem I am using vi editor on telnet. After typing in 25 or so lines the next lines are not shown though they are savedstupid ques

simple Telnet or vi editor problem

2001-07-19 Thread Rahul Garg
I am using vi editor on telnet. After typing in 25 or so lines the next lines are not shown though they are savedstupid question but not getting it..whats the command so that they are shown on editor.. Waiting for reply...

so simple!i am newbie!

2001-07-19 Thread Rahul Garg
whats the use of putting my infront of some scalar variables... waiting for reply.

Removing spaces

2001-07-18 Thread Rahul Garg
Hello everybody, A simple Q well i want to remove spaces if any in the beginning and end of a string. how to do this... Waiting for Reply... Thanx in advance .

PARSING

2001-07-17 Thread Rahul Garg
Hello Everybody, $string ="rahul;john;hary;brian;raj;dolly;jim; What i want to do is parse the string and put different names in a separate variable..How! Thanx in advance, Waiting for Reply

Re: Parsing of a File and SEARCH ...........HELP!!!!!!!!!!!!!

2001-07-16 Thread Rahul Garg
one more simpleQ... After opening the file , How to read a file line by line...sample code Thax in advance. waiting for replies. - Original Message - From: Jeff 'japhy' Pinyan <[EMAIL PROTECTED]>

Parsing of a File and SEARCH ...........HELP!!!!!!!!!!!!!

2001-07-16 Thread Rahul Garg
Hello Everybody, well i am looking for various types of searching...help 1)I want to look out for a particular string in a file. Actually there is only one strng in each line of a file. How to search for it.sample codeas i am new to syntax of perl 2)I want to l

CGI-PERL!!!!!!!!!!!HELP!!!!!!!!!!!!!!!

2001-07-16 Thread Rahul Garg
Hello Everybody.. What i have done is placed a .cgi file in cgi-bin directory of web server. In this file i am using on submission search_results is also placed on cgi-bin dir. of same server. But it is giving Internal server error.i have not done much in search_results.cgi so

Regarding Internal Server Error

2001-07-15 Thread Rahul Garg
Hello Everybody.. What i have done is placed a .cgi file in cgi-bin directory of web server. from here i am calling on submission search_results is also placed oin cgi-bin dir. of same server. But it is giving Internal server error.i have not done much in search_results.cgi so

CGI-PERL-HTML.......HELP!!!!!!!!!!!!!!!

2001-07-13 Thread Rahul Garg
Hello Everybody, Well, I am developing an appl. in CGi-PERL that wil run on webserver . The app will call files on webserver and make changes in it. The approach i am following is : 1). For the web interface i will develop perlscripts with html code(forms) in it. This i will do . 2)

CGI-PERL

2001-07-11 Thread Rahul Garg
Hello, Well, well I have to create web pages whish on receiving inputs and submission will perform various actions on files on web server. could u suggest which of the two approaches i should follow: 1. create pages in HTML and then call perlscripts. 2. only thru perl scripts. to my knowledge 2)

Needs beginners cgi-perl mailing list

2001-07-11 Thread Rahul Garg
Hello, I want to know the references of mailing list for beginners CGI-PERL programming. Help!!!

CGI-PERL

2001-07-10 Thread Rahul Garg
Hello, Well ,I am a beginner to PERL friends. I think we can create HTML sort of pages thru perl scripting.Thats what is called CGI-PERL programming and can carry out various operations on say click events. (But how ?can u give me some simple examples.) Tell me if I am correct/not correct. Can u

HTML and PERL Queries

2001-07-09 Thread Rahul Garg
Hello, Well again some biggeners Q. 1.How do I call a perlscript from a HTML page. 2. Whats the way to fetch values from page and put again same values on HTML depending on the results of perlscript(dynamically). Can u give some references or perlscript examples regarding above. Help!!

How to connect to a web server

2001-07-09 Thread Rahul Garg
Hello, I am a beginner in Perl.Well, I want to know how thru perl script we can connect to a web server and fetch the files on webserver. Help!