system call

2003-08-29 Thread Imtiaz Ahmad
Hi- Can someone please tell me how do I modify following line so that the result gets stored in the var. $count = system("$command $archive_dir | $grep_command -c $string1") ; thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SQL table updates

2002-10-31 Thread Imtiaz ahmad
First you will need to check if the record is already there assuming FuelCrd is the unique value in the table (cardlock) 'SELECT FuelCrd FROM cardlock WHERE FuelCrd = $FuelCrd'; if the SELECT does return a value then the record is there. In this case you will need issue an UPDATE statement 'UPDA

drop down box

2002-10-04 Thread Imtiaz ahmad
Hi- Is there a way in PERL to automatically populate second drop down based on what is selected in the first drop down. For example If the first drop down has following three choices air land sea Then if a user is selects land then the second drop should list following

RE: executing a PERL script

2002-06-27 Thread Imtiaz ahmad
, 2002 3:55 AM To: Imtiaz ahmad; [EMAIL PROTECTED] Subject: RE: executing a PERL script Hi, ok, so let's build a house of cards, and see how it holds up in the hurricane known to us all as The Net. ;) Are you really sure that this is the way you want to do this? I'm just considerin

executing a PERL script

2002-06-27 Thread Imtiaz ahmad
Hi- Is it possible to pass a variable to a PERL script within a PERL script and then execute the PERL script? For example, lets say we have a web page that allows you to copy files from one machine to other. And, if a user select the file to be copied then the file name and path goes to a PERL sc

Sorting

2002-04-29 Thread Imtiaz ahmad
Hi- Lets say if we have an ARRAY @array_1 with following values: 31472 468X60 1.49 31473 468X60 2.18 31488 180X60 1.39 31476 468X60 1.58 33472 120X60 2.49 32473 468X60 4.38 for($i=0;$i<$#sql_results1;$i++)

days calculation

2002-03-11 Thread Imtiaz ahmad
Hi- Does anyone know how to calculate number of days if the dates are '2002-02-01' '2002-02-28'? In other words, if var1='2002-02-01' and var2='2002-02-28' then how can we say days=var2-var1? thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

RE: Question -

2002-01-22 Thread Imtiaz ahmad
variables as in the above example it will take 6 LOOPs but I want to be able to read the whole in each LOOP. thanks. -Original Message- From: Hanson, Robert [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 12:28 PM To: 'Imtiaz ahmad'; '[EMAIL PROTECTED]' S

RE: Question -

2002-01-22 Thread Imtiaz ahmad
Can we read multiple variable like that? For example, if we have ID_1, ID_2, ID_3 ...ID_n and user_1, user_2, user_3 ...user_n name_1, name_2, name_3 ...name_n and phone_1, phone_2, phone_3 ...phone_n thanks. -Original Message- From: Imtiaz ahmad [mailto:[EMAIL PROTECTED]] Sent

Question -

2002-01-21 Thread Imtiaz ahmad
Can someone please help me with the following: I need to have variable names like ID_1, ID_2, ID_3 ...ID_n. How can I read them on the next page after submitting through a FORM using POST method? thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: question

2001-12-26 Thread Imtiaz ahmad
Yes, the files are there and the PATH is good too. -Original Message- From: Hanson, Robert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 26, 2001 11:30 AM To: 'Imtiaz ahmad'; [EMAIL PROTECTED] Subject: RE: question I think it's an admin issue. First of a

RE: question

2001-12-26 Thread Imtiaz ahmad
Anyone please? -Original Message- From: Imtiaz ahmad [mailto:[EMAIL PROTECTED]] Sent: Friday, December 21, 2001 12:03 PM To: [EMAIL PROTECTED] Subject: question Hi- Can somebody please help with the following error: install_driver(Oracle) failed: Can't load '/usr/local

question

2001-12-21 Thread Imtiaz ahmad
Hi- Can somebody please help with the following error: install_driver(Oracle) failed: Can't load '/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBD/Oracle/Oracle.so ' for module DBD::Oracle: ld.so.1: /usr/local/bin/perl: fatal: libclntsh.so.1.0: open failed: No such file or directory at

URL encoder

2001-12-14 Thread Imtiaz ahmad
Hi- Is there any program that allows you to encode URLs. Here is an example: URL: http://click.linksynergy.com/fs-bin/click?id=t14yfqjbQ8Q&offerid=28782.1 049&type=4&subid=0 Encoded URL: http%3A%2F%2Fclick.linksynergy.com%2Ffs-bin%2Fclick%3Fid%3Dt14yfqjbQ8Q%26off erid%3D28782.1049%26ty

RE: URL redirect and row-count

2001-09-07 Thread Imtiaz ahmad
Thanks, this is what I wanted. -Original Message- From: Jeffl [mailto:[EMAIL PROTECTED]] Sent: Friday, September 07, 2001 6:09 PM To: Imtiaz ahmad Cc: [EMAIL PROTECTED] Subject: Re: URL redirect and row-count Howdy, redirect assuming use CGI; print q->redirect( &q

URL redirect and row-count

2001-09-07 Thread Imtiaz ahmad
Hi- Can somebody help me with a function that redirects a user's browser to a different site. I like to be able to do it using some PERL function. Also, is there a function in PERL that tells you how many rows are returned by a select statement. e.g. If I have following select then what do I nee

RE: "connect" method

2001-09-05 Thread Imtiaz ahmad
l Message- From: Kipp, James [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 4:56 PM To: 'Imtiaz ahmad'; Perl_beginner (E-mail) Subject: RE: "connect" method Did you install the DBI package manually? or did you use CPAN ? If possible use CPAN to ins

"connect" method

2001-09-05 Thread Imtiaz ahmad
Hi- Can somebody help me with the following error: *Can't locate object method "connect" via package "DBI" at /apps/apache_1.3.19/cgi-bin/3rd_party/check_login.pl line 22* Initially I was getting the following error and to fix it I copied over DBI.pm to all the listed directories: Can't locate