This.submitForm() -- problem with my cgi script

Thanks to George Johnson for an earlier answer to a related issue with this.submitForm.
I am trying to use this.submitForm as per Example 1 on p. 348 of "JavaScript for Acrobat API Reference" document.
To avoid any restrictions with my web hosting service, I am using the following JavaScript (on my form's Submit button) on my local XAMPP server:
this.submitForm ("./cgi-bin/myscript.cgi");
My question involves what should be in the myscript.cgi file before I submit to it.  If there is no file to start with, the
submission will result in a "File not found" error.  So I guess I need the myscript.cgi file in the cgi-bin folder to begin with.
When I put in a blank myscript.cgi file in that folder (hoping the submission will overwrite it), I can the following message:
Server error!  The server encountered an internal error and was unable to complete your request. Either the server is overloaded or
there was an error in a CGI script.
Can you tell me what is happening?  What should my original myscript.cgi have in it, if anything?

Thanks for responding.
I want CGI script to processes the incoming data from the PDF form submission. I want that process to save the FDF to a file on the server. 
I also understand that the script has to return a response to the client.  I would like to send some kind of confirmation to the client.
I realize that writing scripts isn't rocket science, but it would seem that Adobe would have some examples of scripts that deal specifically with fdf data.  Could you point me to any examples?

Similar Messages

  • Problems with close event scripts and closing Photoshop

    Hi!
    We are having problems with close event scripts ("Cls ") when closing/quitting Photoshop.
    The close event scripts are working without problem when closing an image. But when quitting Photoshop without having closed all images we are observing the following behaviour:
    with CS2 the close event scripts are not triggered at all
    with CS4  the close event scripts are triggered and executed correctly. But after that the Photshop process freezes. No visible GUI, you have to kill the process with the task manager.
    I can reproduce this behaviour even with a small script consisting of a single alert('hello') and even an empty script. Is this an known bug or am I doing something wrong?
    Thanks for your help!
      Eric

    Check your energy saver settings under system preferences. That is where you set sleep setting.

  • When I print a photo to my epson printer, it comes out larger than the original photo - so the photo prints beyond the borders. Tried readjusting all sorts of things but nothing helps. I had this same problem with my Canon. any ideas?

    When I print a photo to my epson printer, it comes out larger than the original photo - so the photo prints beyond the borders. Tried readjusting all sorts of things but nothing helps. I had this same problem with my Canon. any ideas?

    Crop to the print size before pringing
    LN

  • The "power search" yields no results whatsoever when i attempt to search. Is this a problem with itunes or my computer? Everything else seems to load just fine involving the itunes store.

    I am attempting to search for artists on itunes and for some reason it keeps telling me there are no results when I know I am tying in the correct artist. I have been trying this repeatedly and using different artists and song names and I am still getting no results. Is this a problem with itunes?

    The only thing I would be concerned about is.
    1st, Where did the media come from.
    2nd, Was it clean and free of scratches.
    Most of the CD&DVD Drives in Powerbooks seem to be very very picky about the media they like to play with.
    Always be carefull of the Source from where it came.
    Commercially produced Media is rarely a problem.
    It doesn't take much eiter to make them act silly.
    Good Luck....Don

  • I need to download dell drivers to a jumpdrive connected to my iMac.  Will this cause problems with my Mac?

    I need to download dell drivers to a jumpdrive connected to my iMac.  Will this cause problems with my Mac?

    Thanks.  These drivers are for the audio, etc. for a dell laptop I purchased used.  ( Needed something cheap for a training video that would only run on Windows.  Tried Emedia player but picture was too fuzzy.)  Dell support said I should contact Apple support for instructions on how to get the drivers onto the jumpdrive.  Any tips on doing that?

  • HT4623 I keep getting an error message "cannot connect to the internet."  Is this a problem with my internet provider, or has anyone else had this problem.

    I keep getting an error message "cannot connect to the internet."  Is this a problem with my internet provider, or has anyone else had this problem.

    I get that problem once in a while and I will not be able to connect to the Internet with any of the 5 or 6 (or 7 or 8 ) web browsers that I use on my iPad. The one thing that I do that has never failed to work for me is to close all apps on my iPad and reset the device. I can't guarantee that it will work for you, but this works for me every time I get the server failed to load/can't connect to the Internet message.... Or whatever the exact message is.
    If you have a ton of apps in the multitasking display, it can take a while to close them all, so you could just trey resetting the iPad first and that might be all that you need to do.
    Closing apps in iOS 7 works like this. Drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • I am not getting any sound input on my microphone. There is no microphone input on my new macbook pro, so I am using my old one. Is this a problem with the new operating system? Did they simply remove any microphone software?

    I am not getting any sound input on my microphone. There is no microphone input on my new macbook pro, so I am using my old one. Is this a problem with the new operating system? Did they simply remove any microphone software?

    Check System Preferences > Sound > Output
    Make sure the correct device is selected.

  • HT204409 I am trying to log onto my wireless connection but it keeps telling me I'm unable to locate any wireless network.  I know there are several networks nearby. Is this a problem with my phone or my router?

    I am trying to log onto my wireless connection but it keeps telling me I'm unable to locate any wireless network.  I know there are several networks nearby. Is this a problem with my phone or my router?

    I found a solution that has worked on both iPhone 4's I have that have had the same issues, and also including not being able to download updates in the App store.
    Go to Settings > WiFi and turn it OFF.
    Next go to General > Cellular > Cellular Data and turn it OFF
    Next go back to Settings > WiFi and turn it ON, (wait a few seconds for it to sync with your network)
    Finally go back to General > Cellular > Cellular Data and turn it ON.
    I had the same issues on both my wife's phone, and my own, and it fixed it immediately without changing any proxy settings or reboots, (which I did try on my phone and did not work, but did not try on my wife's phone)
    Hope this helps!

  • Im trying to update, but all it does is backup my phone, My itunes is updated, BTW, I just went to Apple bar, i had previous problem with prior phone, now im having this update  problem with thyis new phone, someone HELP!!

    Im trying to update, but all it does is backup my phone, My itunes is updated, BTW, I just went to Apple bar, i had previous problem with prior phone, now im having this update  problem with thyis new phone, someone HELP!!

    Same here and this is driving me crazy. I can buy, but can't upgrade. Grrr.

  • Every time I try to download iTunes onto my Vaio laptop it only downloads partially, then claims to be finished. Is this a problem with my laptop or with iTunes?

    Every time I try to download iTunes onto my Vaio laptop it only downloads partially, then claims to be finished. Is this a problem with my laptop or with iTunes?

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • When trying to install a wireless printer, the WEP password says its incorrect. Is this a problem with the airport, my Internet provider or HP? I know the password is correct.

    When trying to install a wireless printer, the WEP password says its incorrect. Is this a problem with the airport, my Internet provider or HP? I know the password is correct.

    Your AirPort Extreme supports WPA.
    WEP is outdated and considered fairly useless, so use WPA.
    Be sure you are using AirPort Utility  5.6. If you are not running Lion then use AirPort Utility 5.5.3.
    AirPort Utility 6.0 cannot administer 802.11b/g base stations.

  • I have a problem sending mail via smtp. I use a satellite system and the average return time for a ping is 675ms. Is this a problem with mail? If so can I change Mail to accept it. The problem also exists with Lion

    I have a problem sending mail via smtp. I use a satellite system and the average return time for a ping is 675ms. Is this a problem with mail? If so can I change Mail to accept it. The problem also exists with Lion and on both my MacPro and my wife's Imac. I also see my mailboxes randomly disconnecting and reconnecting. Any other ideas of a possible cause?

    I solved it myself, after the "note" which came back from FF/Mozilla just as I finished my message, commenting on what it was that my system had , I wnnt back to check my plug-ins etc. I downloaded the latest Java, BOTH 32bit AND 64 bit versions and latest Firefox.
    Now all is working.
    Thanks,
    B.

  • HT4628 Intermittent reception when streaming music via Airport Extreme and Airport Express to powered speakers. Is this a problem with the Extreme?

    i get intermittent reception when I stream music from I Tunes via Airport Extreme and Airport Express to powered speakers. I Tunes continues to play uninterupted on the Mac.  The problem does not lie with the Express as it occurs on both of my 2 Express at the same time. is this a problem with the Extreme?

    Well, repying to my own post... Might have found the solution: I tried to do the same with a Macbook Pro 2010 using the very same setup. And it worked perfectly! No freeze, no nothing.
    One explanation I see:
    my iMac is dating back to May 2007, a Core 2 Duo 2,16Ghz with 2 Go of RAM.
    So the computer's characteristics (or the Wifi component or the combination of all of this) might be not robust enough to allow streaming to those 2 devices...
    Anyone's got anything to add?

  • HT2341 When I first attempt to power on my MacBook Pro, the LED blinks but the MBP doesnt turn on. However when I try a second time the LED blinks but my Mac turns on. Is this a problem with the hardware and can it be fixed?

    When I first attempt to power on my MacBook Pro, the LED blinks but the MBP doesnt turn on. However when I try a second time the LED blinks but my Mac turns on. Is this a problem with the hardware and can it be fixed?
    Also, I apparently have to replace my battery. Could the problem have any relevance to a dead battery?

    Have you held the power button down for 10+ seconds?  That should turn it off.
    Ciao.

  • Problem with Exchange 2010 scripts after installing PowerShell 4.0

    Hi
    After installing new updates for MS Exchange 2010 and PowerShell 4.0 I've got problems with PS scripts using buil-in
    exchange commands.
    I wrote interactive script for searching e-mails. Here is a pice of code where I get error after installing PS v4.
    $SearchContent=Read-Host "Write sentence to find"
    Get-Mailbox | Search-Mailbox -SearchQuery "$SearchContent" -TargetMailbox "Discovery Search Mailbox" -TargetFolder "Inner box" -LogOnly -Loglevel Full | Out-Null
    After installing PowerShell 4.0 I get that bug and report in TargetMailbox is not genereated.
    The property keyword isn't supported.
    At C:\Administration\Scripts\T-SearchMail.ps1:122 char:1
    + Get-Mailbox | Search-Mailbox -SearchQuery "$SearchContent" -TargetMailbox "Disco ...
    + ~~~~~~~~~~~~~~~~~   
    + CategoryInfo          : InvalidArgument: (:) [], ParserException
        + FullyQualifiedErrorId : 35E6C841
    Using PowerShell 2.0 everything was ok.
    How to solve this problem?
    Tomasz
    Kind Regards Tomasz

    But http://blogs.msdn.com/b/powershell/archive/2013/10/25/windows-management-framework-4-0-is-now-available.aspx is dated
    October 2013, while the current Windows Management Framework 4.0 System Requirements section states:
    Servers that are running the following applications can now run WMF 4.0. The versions listed are the minimum releases required to run WMF 4.0.
    Microsoft Exchange Server 2013 Service Pack 1
    Microsoft Exchange Server 2010 SP3 with Update Rollup 5
    Since
    Update Rollup 5 For Exchange 2010 SP3 (KB2917508) was published Febrary 2014, shouldn't Exchange 2010 now be compatible with PowerShell 4.0?

Maybe you are looking for

  • Captivate 4 - after patch, published projects won't pause but skip ahead

    Last week, I installed the patch to bring my version up to Version 4.0.1 Build 1658. After the patch was installed, if I publish a file with a Table of Contents, it runs fine the first time.  However, the second time I launch the published file, the

  • Fcp6 unexpectedly quit on startup!!!

    I had hard time to install FCP 6 because Logic studio and FCP had some crash. Now I solved the problem and installed FCP 6. but,,, I can't launch FCP 6 cause unexpected quit occurs everytime... I think it has somthing to do with my Sound Source Plug-

  • How to Cache Data  from database for java mapping ?

    Hi   I have a scenario where  i have to dynamically query  a huge table in some other database from java mapping code. Therefore instead of making a new Database trip everytime is there a mechanism by which i can cache the entire table contents into

  • OATS Installation guide

    Hi All, Is there an installation guide for the Oracle Application Testing Suite? The reason I ask is that I attempted to install v9.2. I chose to install the Weblogic app server locally but then chose to use our existing v10gv2 database. The installa

  • Have just bought

    Hi I have just bought / recieved photoshop cs6 Extended Student edition How do I reg it before I can start to use it ? Dave Got it sorted, had not read the thing right, got a bad doss of man flue, grey matter not wanting to work today