Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Can I use MS Frontpage?

by WhiteBird (Hermit)
on Jun 08, 2004 at 12:16 UTC ( #362301=note: print w/replies, xml ) Need Help??

in reply to Can I use MS Frontpage?

In the past, I have used FrontPage to develop web forms and have used Perl to process the input. You have to get behind the scenes, though, and into the code to make sure that your form elements are coded correctly to match what your Perl script is expecting. Check all your form values and your form processing statement to make sure it is pointing correctly to your Perl script and not to some FrontPage construct. Make sure you're not using any FrontPage extensions--unless things have changed those don't work on UNIX. And you'll have to continually fight with FrontPage to keep it from changing your HTML code.

Replies are listed 'Best First'.
Re^2: Can I use MS Frontpage?
by destreet (Initiate) on Jun 08, 2004 at 14:42 UTC
    So what did you do to get FP to pass the form values to Perl? BTW - I've never had FP change my code without asking - and then is was only to correct links that had moved.
      You call your Perl script to process the form in the form tag attribute "action". It's the same on any form. You can either code it by hand, or use the form editor to set it up.
      <form name="NameOfYourForm" method="post" action="path to your script/">

      But after reading further in your comments I don't think that is your problem, is it? Your scripts work correctly when you upload them to your server, but you want to test them prior to uploading them, right? If I recall correctly, FrontPage won't run code unless you have a server installed on your test PC. Years ago FrontPage came with some sort of mini-personal-web-server thing that you could set up to allow scripts to be run--I don't know if that's still the case. I remember that I had to upload my code to the server to test it out. But, that was years ago and many FP versions back. I don't know what you might have available if you're using a new version of FP. If it doesn't come with a server you can configure, you might try installing and using Apache on your PC. Or, get a copy of OptiPerl. It's a shareware development tool that will let you test server-based scripts.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://362301]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2022-05-23 00:07 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (81 votes). Check out past polls.