[kdewebdev-webdeveloper] Form Problem
Hamster
hamster at invisiblepixels.org
Thu Feb 24 14:14:53 EST 2005
On Thu, 24 Feb 2005 15:42:14 +1100
Graeme Nichols <gnichols at tpg.com.au> wrote:
> One other thing, If I were to put a script in a subdir of my web space
> and then point to that script from my form would it perhaps work? I
> guess it rather depends on whether I can set execute permission on the
> script dir and the answer to that is probably 'No'. My ISP is not a
> unix user.
If your ISP does not support server side scripting (eg php) then putting
a script anywhere in your webspace would not help - there's nothing to
actually process it. If you put a script somewhere you have to have a
programme to interpret and run that script. With your ISP, nothing is
available to do that.
If your ISP will let you write php scripts, then the solution to your
problem is to remove the action="mailto" and replace it with
action="http://". The script living at that http:// location will
process the form submit and send you an email. But you said no server
side scripting so that's not an option.
Try to find a free webform processing site (or I can write one on my
site for you). In your form you'll then write
action="http://free-webform-site.com/myscript.php". You then need to
write a small php script that emails you the results of the form submit.
(Unless of course they provide such scripts). This php script won't use
any mailto: business, just the php library to send an email. It's very
simple to use.
H
More information about the kdewebdev-webdeveloper
mailing list