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
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
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
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
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
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
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
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
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
lid.
Any suggestions please!
With Regards,
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.
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.
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
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
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
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
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"
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
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
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
---
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
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
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
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
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
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...
@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) ) =~
@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) ) =~ /^$/
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 ...
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
>From where can I get the source code for modules of perl(exact path),specifically of
>LWP and CGI.pm
thanx,
Rahul
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
how could i know which perl version i am using : any command on unix/linux
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
Hello,
Is there any function for converting uppercase characters to lowercase chars ?
Thanks
Rahul
be done in perl scripts to include images..?
Thanks in advance,
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
Hello ,
What i want is a hyperlink after activated once get disabled..
waiting for reply,
Thanx in advance,
Rahul
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.
>
> >
> > > >
> >
Hello,
How can we disable the hyperlink?
Waiting for Reply,
Thanx in advance,
Rahul
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.
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
hello Everybody ,
Simple question..
How to run Linux commands in Perl code...
Waiting for Reply
Thanx in Advance...
Rahul
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
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
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
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
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
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
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
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
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...
whats the use of putting my infront of some scalar variables...
waiting for reply.
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
.
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
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]>
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
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
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
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)
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)
Hello,
I want to know the references of mailing list for beginners CGI-PERL programming.
Help!!!
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
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!!
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!
66 matches
Mail list logo