Announcement

Collapse
No announcement yet.

Upload cgi files to cgi-bin, how to?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Upload cgi files to cgi-bin, how to?

    Hi

    I have bought a Form Mailer with Attachments script but am a little confused on how I get it up and running.

    Step 3 of the instal guide is

    Upload all five (5) cgi files to your cgi-bin or any cgi enabled
    directory and CHMOD all the cgi files to 755. It is imperative that
    you upload all files in ASCII mode. Be sure you use ASCII mode,
    otherwise you will receive a server 500 error.

    Any suggestions on how I would go about this. The plan is to build it into my actinic pages so that users can send me files directly from web page and form fill at same time.

    For reference, the script is from

    http://www.perlscriptsjavascripts.co...ent/index.html

    Thanks

    Steven

    #2
    you will need to get hold of an FTP program ie WS_FTP or CuteFTP you then use this to upload the files to your webspace, following the instruction given by your script provider

    Comment


      #3
      Hi Pinbrook

      I can use Dreamwaver then. The part about cgi bin, I am not clear on where this would be though in the Actinic Site1 folder.

      Steven

      Comment


        #4
        Look in Actinic / Advanced / Network Setup / Path to CGI-BIN for the location of your cgi-bin.

        A dedicated FTP program (I use WS_FTP) may be better as it lets you see where you are as you move around the remote systems directory structure.

        You'll know you're in the right place when you see a bunch of aannnnnn.pl and aannnnnn.pm files.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          You can upload the scripts to the same cgi-bin that Actinic uses.

          You don't need to put the scripts on your local machine in Site1, they can be anywhere on your PC.

          You need to ensure the actinic templates call them from the correct place once they are uploaded.

          Comment


            #6
            Hi

            Thanks for that. I have got it working now, but do have another question now.

            When people submit I pass them through to a confirmation page showing what they have have entered. I also send them an html email.

            In both, I have an image, but the image appears as a square outline only (you know the one that shows an image should be there, but there is no picture).

            I have done the following

            <img src="logo_fdj_receipt.gif" width="580" height="100">

            which works elsewhere. would it be any thing to do with the address showing as www.blahblah.co.uk/cgi-bin/mailer.cgi?send_it

            Comment


              #7
              Use

              <img src="http://www.blahblah.co.uk/acatalog/logo_fdj_receipt.gif" width="580" height="100">

              and it will work from any page.
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment

              Working...
              X