damian1301 has asked for the wisdom of the Perl Monks concerning the following question:

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

Originally posted as a Categorized Question.

Replies are listed 'Best First'.
Re: Accessing a database over the internet
by Trimbach (Curate) on Nov 13, 2000 at 05:55 UTC
    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

Re: Accessing a database over the internet
by dsb (Chaplain) on Jan 24, 2001 at 03:05 UTC
    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
A reply falls below the community's threshold of quality. You may see it by logging in.