ODBC

2004-09-01 Thread Rearick, Kenneth N.
I have a CGI program in which I am trying to access a database. When I run the code in active state feeding it the input from the form it runs fine. When I try to run it as a cgi from IE using Apache web server the data from the form comes in fine but it can not seem to attach to the

Perl Script for accessing XML file

2004-09-01 Thread Pothula, Giridhar
Can anybody help me out in finding errors in the following code? I am not getting any output, when I am accessing the below asp page. Asp Page code: html head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 meta http-equiv=Pragma

Re: ODBC

2004-09-01 Thread Sean Davis
On Aug 31, 2004, at 4:15 PM, Rearick, Kenneth N. wrote: Is there anyway to see the errors that the DBI:ODBC is generating when the application is being run from the server? Any ideas why the ODBC connect is failing? $dbh = DBI-connect(DBI:ODBC:$SERVER, $USER, $PASSWORD); You can put catch errors

Re: ODBC

2004-09-01 Thread Wiggins d Anconia
I have a CGI program in which I am trying to access a database. When I run the code in active state feeding it the input from the form it runs fine. When I try to run it as a cgi from IE using Apache web server the data from the form comes in fine but it can not seem to attach to the

Which interface should I be using for Database Access?

2004-09-01 Thread Siegfried Heintze
Wow! This is news to me! I've been using Win32::ODBC and was very worried about portability. Now I try perldoc and cannot find anything about using DBI with ODBC. However, I search CPAN and I find this: 3.3 Is DBI supported under Windows 95 / NT platforms? Finally, yes! Jeff Urlwin has been

RE: Which interface should I be using for Database Access?

2004-09-01 Thread Spindler, Brian
The benefit of DBD::ODBC is that you do not have to do database specific querying so to speak. You would setup an ODBC connection (Control Panel-ODBC Administrator) to your Access database, then use the DSN name you created to access the access database. Do a `perldoc DBD::ODBC` to get any

Re: Which interface should I be using for Database Access?

2004-09-01 Thread William McKee
On Wed, Sep 01, 2004 at 09:16:53AM -0600, Siegfried Heintze wrote: This is GREAT! But being a beginner, I don't know what to do next. Do I download the source? Is there a PPM module? Where can I find an example that accesses Microsoft Access? Hi Siegfried, I believe that there is a PPM for

Loading an array

2004-09-01 Thread Shawn Sharp
I need some help, I am running this code to load values into the $ArrayofCompareHex [$g] array. Currently it is not working. The $comparevalue gets the correct value but the value is not past into the array. Here is a portion of my code. Any ideas 230 my $g =0; 231 for ($g = 0; $g

Re: Loading an array

2004-09-01 Thread David Greenberg
I'm no expert, but if I were to do what it looks like you are trying to do, I would use the following code: my @ArrayofInputHex = map { hex($_) } @ArrayofInput; my @ArrayofCompareHex = map { hex($_) } @ArrayofCompare; One of the main benefits of this code is that when you use strict; like you

Re: Loading an array

2004-09-01 Thread Wiggins d Anconia
Your question may be better asked on [EMAIL PROTECTED] since it isn't really CGI related. I need some help, I am running this code to load values into the $ArrayofCompareHex [$g] array. Currently it is not working. The $comparevalue gets the correct value but the value is not past into the

Cookies v. Hiddent Fields

2004-09-01 Thread Siegfried Heintze
What is the difference (as far as security goes) between using a cookie and a hidden field? Are hidden fields cached if we are using SSL? I think not. If I use a GUID as a session ID in my database and store the GUID in a hidden field and the user sees the GUID in some GET parameters, is this

Re: Cookies v. Hiddent Fields

2004-09-01 Thread Wiggins d Anconia
What is the difference (as far as security goes) between using a cookie and a hidden field? Are hidden fields cached if we are using SSL? I think not. None. Both are wide open. SSL simply encrypts the pipe between your server and the client (browser). Everything passing over it, including

Re: Cookies v. Hiddent Fields

2004-09-01 Thread Octavian Rasnita
From: Siegfried Heintze [EMAIL PROTECTED] What is the difference (as far as security goes) between using a cookie and a hidden field? Are hidden fields cached if we are using SSL? I think not. Both have the same security. A hidden field is simpler to be viewd by a user, but a cracker can