The devil is in the details...are you trying to create the dat file on the external server? If so , the dat file will need to be written from the script on the external server. Have you checked the data you're passing the second script to make sure it's getting it? Write a simple script on the 2nd(external) server and simply write a file to the location that you are attempting to write to in the CGI script. If this works, then copy that algorithm into your script and see if your test file is written when you call the second script that displays "thank you". If it is, then there is something wrong with your initial file I/O used to create the DAT file. If not then you may have permissions issues related to the uid that the webserver is running under. Also, is the file being created on the external server with no content? or is it just not being created? If you are able to create the file and nothing is getting put in it... I would wager you aren't receiving the processed form data you are trying to write. I'm rambling because without any code we can only guesstimate your intentions.


Grygonos

In reply to Re^3: Can't call PERL script on another server? by Grygonos
in thread Can't call PERL script on another server? by guisilva

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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, details, 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, summary, 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.