Re: Need some explanation about these lines.

2009-10-16 Thread John W. Krahn
Raheel Hassan wrote: Thanks Arun and Rob, For example if this is the url then , https://localhost/Iv2/cbox/cbox-gui.pl?action=status my ($myself) = split(/\?/,$q->self_url); #$myself = https://localhost/Iv2/cbox-gui.pl my @base_url = split(/\//, $myself); # @base_url = {localhost, Iv2, cbox-gu

Re: Need some explanation about these lines.

2009-10-16 Thread Raheel Hassan
Thanks Arun and Rob, For example if this is the url then , https://localhost/Iv2/cbox/cbox-gui.pl?action=status my ($myself) = split(/\?/,$q->self_url); #$myself = https://localhost/Iv2/cbox-gui.pl my @base_url = split(/\//, $myself); # @base_url = {localhost, Iv2, cbox-gui.pl} my $base_url = $

Re: Need some explanation about these lines.

2009-10-15 Thread Rob Coops
On Thu, Oct 15, 2009 at 2:55 PM, Raheel Hassan wrote: > Hi, > > I will be very thankful if someone explains under given code. > > #- CGI Module -- > use CGI; > > $q = CGI->new(); > > my ($myself) = split(/\?/,$q->self_url); #from where it will call the > url? >

Need some explanation about these lines.

2009-10-15 Thread Raheel Hassan
Hi, I will be very thankful if someone explains under given code. #- CGI Module -- use CGI; $q = CGI->new(); my ($myself) = split(/\?/,$q->self_url); #from where it will call the url? my @base_url = split(/\//, $myself); #what is \ / my $base_url = $b

Re: Need some explanation.

2009-08-27 Thread Chas. Owens
On Thu, Aug 27, 2009 at 04:38, Raheel Hassan wrote: > About quote(): > Many thanks for your reply, But what is the difference in; > select * from tablesname where x = ''; drop table tablename; --'; > and > select * from tablesname where x = '\'; drop table tablename; --'; > both the statements seem

Re: Need some explanation.

2009-08-27 Thread Tim Bowden
On Thu, 2009-08-27 at 10:38 +0200, Raheel Hassan wrote: > *About quote():* > Many thanks for your reply, But what is the difference in; > select * from tablesname where x = ''; drop table tablename; --'; > and > select * from tablesname where x = '\'; drop table tablename; --'; > both the statement

Re: Need some explanation.

2009-08-27 Thread Raheel Hassan
*About quote():* Many thanks for your reply, But what is the difference in; select * from tablesname where x = ''; drop table tablename; --'; and select * from tablesname where x = '\'; drop table tablename; --'; both the statements seems to be SQL injection attack. What is thet role that quote pl

Re: Need some explanation.

2009-08-26 Thread Chas. Owens
On Wed, Aug 26, 2009 at 06:20, Raheel Hassan wrote: > In CPAN documentation of DBI, i have problems in understanding the use, i > read the given text many times but it is not explained in detail, can any > one suggest me some other sites where i can get details and clear > expalnation of the under

Need some explanation.

2009-08-26 Thread Raheel Hassan
In CPAN documentation of DBI, i have problems in understanding the use, i read the given text many times but it is not explained in detail, can any one suggest me some other sites where i can get details and clear expalnation of the under given functions. Also are there any other sites for understa

Re: Need some explanation about these lines.

2009-04-23 Thread Chas. Owens
On Thu, Apr 23, 2009 at 09:07, Raheel Hassan wrote: snip > Thanks yes it works now. One more think when i tried to check any other > modules like, > 1-perl -MCrypt::SSLeay -le 'print "ok"' or > 2-perl -MMIME-Base64 -le 'print "ok"' or > 3-perl -MIO::Socket::SSL -le 'print "ok"' > > > It prompts th

Re: Need some explanation about these lines.

2009-04-23 Thread Raheel Hassan
Thanks for your reply, please look below for more queries. On Thu, Apr 23, 2009 at 12:27 PM, Chas. Owens wrote: > On Thu, Apr 23, 2009 at 05:45, Raheel Hassan > wrote: > snip > > Can you please explain IO::Socket::SSL and DBD::mysql why we write in our > > programs these lines.. > snip > > IO::

Re: Need some explanation about these lines.

2009-04-23 Thread Chas. Owens
On Thu, Apr 23, 2009 at 05:45, Raheel Hassan wrote: snip > Can you please explain IO::Socket::SSL and DBD::mysql why we write in our > programs these lines.. snip IO::Socket::SSL is a module that lets you easily open SSL sockets. See http://search.cpan.org/dist/IO-Socket-SSL/SSL.pm for more infor

Re: Need some explanation about these lines.

2009-04-23 Thread Raheel Hassan
Please see below, for some more questions. On Tue, Apr 21, 2009 at 9:22 PM, Chas. Owens wrote: > On Tue, Apr 21, 2009 at 12:37, Raheel Hassan > wrote: > > Thanks a lot for your explanation. For adding support of CGI, SSL and > MySQL > > in perl, what modules do i need to install. Please write d

Re: Need some explanation about these lines.

2009-04-21 Thread Chas. Owens
On Tue, Apr 21, 2009 at 12:37, Raheel Hassan wrote: > Thanks a lot for your explanation. For adding support of CGI, SSL and MySQL > in perl, what modules do i need to install. Please write down the commands > for installing and uninstalling and also for checking that what modules are > installed b

Re: Need some explanation about these lines.

2009-04-21 Thread Raheel Hassan
Thanks a lot for your explanation. For adding support of CGI, SSL and MySQL in perl, what modules do i need to install. Please write down the commands for installing and uninstalling and also for checking that what modules are installed by default in perl as i have read the apache doccumentation wh

Re: Need some explanation about these lines.

2009-04-16 Thread Chas. Owens
On Thu, Apr 16, 2009 at 11:14, Raheel Hassan wrote: > Hello, > > I have seen some Perl scripts where some times these lines are mentioned in > the begining of the script can any body explain these lines. > > *Script-1* > use DBI;                                 # What is been called here. snip Th

Need some explanation about these lines.

2009-04-16 Thread Raheel Hassan
Hello, I have seen some Perl scripts where some times these lines are mentioned in the begining of the script can any body explain these lines. *Script-1* use DBI; # What is been called here. use Test::DB::DBAccess; use Test::DB::DBOps; *Script-2* package DBAccess