#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    4
    Rep Power
    0
    Simple question that I'm having trouble answering on my own: Can you use PERL accross servers. Specifically, can you open a text file with a CGI file when the files are on seperate folders. Also, can you "require" files on a different server?

    Thanks in advance,

    Tyler
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>can you open a text file with a CGI file when the files are on seperate folders

    Why not?
    You don't do the following all the time anyway:

    open(READ,"myfile.txt");

    Instead, you can always specify the full path like so:

    open(READ,"/path/to/myfile.txt");

    can you "require" files on a different server?

    Absolutely no. What if it's possible, then everything on the internet is within your control as if other server's files are residing in your hard drive.

IMN logo majestic logo threadwatch logo seochat tools logo