Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Accessing a database over the internet

by damian1301 (Curate)
on Nov 13, 2000 at 04:05 UTC ( #41236=categorized question: print w/replies, xml ) Need Help??
Contributed by damian1301 on Nov 13, 2000 at 04:05 UTC
Q&A  > database programming


I've been trying to figure out how to access a database or read a file from over the internet and I haven't really found much. A few pointers would be appreciated. Thanks, lAter

Answer: Accessing a database over the internet
contributed by Trimbach

How to "read a file" or "access a database" across the internet depends greatly on what exactly you want to do. "Reading a file" can be very simple... in fact, that's what you're doing when you surf the web: your web browser reads certain kinds of files and displays them in a browser window.

Of course, that's not the only way to read files "across the internet." You can also Telnet or FTP, or you can communicate at lower levels for more specific, custom operations. Databases are the same way: how do you want to "access" a database? Using a web browser? Using Telnet? Using a socket? Many questions, Grasshopper. For us to place you upon the path to enlightenment you must better elucidate the task you would like to accomplish. The Most Powerful and All Knowing "Search" box at the top of the screen is probably your best place to start... just type in what you want to do and see if it hasn't already been covered in sufficient detail in other posts.

Gary Blackburn Trained Killer

Answer: Accessing a database over the internet
contributed by dsb

I will assume you mean to access said database thru a Perl script. This can be done very easily with the Perl DBI module and the Perl DBD drivers corresponding to the type of database you are connecting to. I could go into it here but you should really get the book Programming the Perl DBI from Oreilly Assoc.. -kel

Please (register and) log in if you wish to add an answer

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (4)
    As of 2018-12-10 18:24 GMT
    Find Nodes?
      Voting Booth?
      How many stories does it take before you've heard them all?

      Results (51 votes). Check out past polls.

      • (Sep 10, 2018 at 22:53 UTC) Welcome new users!