Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sophiatan

    translation isn't working for mail server

    I don't know if this will help, as I've only started playing with a cisco pix 515 firewall last month. I have a mailserver behind the firewall, and I have to explicitly grant smtp access out from the mailserver before I can send and receive external mail. (And I thought out-bound traffic is...
  2. sophiatan

    Database handle destroyed without explicit disconnect

    A note to add on the 'sporadic' behaviour. Apparently, the first time I run the script (any script), the error doesn't come out. But there after, it keeps coming out.
  3. sophiatan

    Catching Database errors

    Try this. sth=$dbh->prepare (qq{SELECT pass FROM userdata WHERE user=?} ); $sth->execute ($user) || die "$dbh->err: $dbh->errstr\n"; $sth->bind_columns (\$pass); $sth->fetch; $sth->finish; $dbh->err Error Code $dbh->errstr Error Message
  4. sophiatan

    Database handle destroyed without explicit disconnect

    Yes, I'm using DBI module, I've attached my function below. sub queryDb { my ($DSN,$DSNuser,$DSNpassword,$sql,@params) = @_; my $dbh = DBI->connect($DSN,$DSNuser,$DSNpassword); my $stmt=$dbh->prepare ($sql); $stmt->execute(@params); my @ans = $stmt->fetchrow_array; $stmt->finish...
  5. sophiatan

    Database handle destroyed without explicit disconnect

    I keep getting the error, even though I'm very sure I disconnect properly. I have a function that connects, querys then disconnect and I always access the DB using that function. I'm running ActivePerl (build 522) on Win2k with MS SQL 7, and velocigen. I'm not sure if it's a velocigen error...
  6. sophiatan

    Uploading with CGI.pm

    Does this help? $image_dir = &quot;/mywebsite/imagedir/uploads/&quot;; $upload_image = param('photo'); open (UPLOADIMAGE, &quot;>>$image_dir&quot;); binmode(UPLOADIMAGE); print UPLOADIMAGE <$upload_image>;
  7. sophiatan

    Mkdir failed to create network directory

    I did, and the confusing part is, the script works if I run it from the command line when I logged on as the web user. But failed when running via the browser. The directory of the 2nd machine where I'm suppose to create the folder under is set to allow access to everyone. And the error in the...
  8. sophiatan

    Mkdir failed to create network directory

    I have a script that creates a folder on another PC in the same domain. When I run the script in dos mode, everything works fine. When I try to run it via a web page, it just couldn't create the folder, but it works if I'm creating it on the local machine. I've configure the IIS web server to...

Part and Inventory Search

Back
Top