form problems

M

MattS

Help me pleeease!

I am building my first web site and want to allow my customers to form
mail me an image for entry into a competition. I started with fp2000
and got to the point where I could recieve mail from my site using a
cgi script and psmail but when it came to adding an upload field I got
stuck (I got the field and the browse button on the form but couldn't
get it to work). After research I discovered fp2002 had this feature
so upgraded. Still can't get it to work. So...

Will a cgi script do this? I have changed it so many times but no go.

Should I publish from fp? I did start to and it told me it couldn't do
it for some reson but it could upload using ftp so I entered the
address without the http:// and got an error message (I can't
remember what it was)

Can I transfer this page straight to my server using WS_FTP Pro as I
have done with the rest of the site if not will one page published
with fp work with the rest of the site.

As I am working this out as I go along I have only built simple pages
http://www.hotshotz.com.au/modelsearch/onlinevotetemp.htm
this one works but when I add a browse field and button I get a
massage that says I must supply a template.

this is the cgi script I am using

Subject: #%19_Name%# #%20_EmailAddress%#

#%19_Name%#
#%20_EmailAddress%#


f1, #%upload%#
HowManyPeopleDidYouTell, #%17_HowManyPeopleDidYouTell%#,
Name, #%19_Name%#,
EmailAddress, #%20_EmailAddress%#,

I know it all looks pretty rough but will design it after I get it
working (gotta see if I can do it first)

I am told that fp extensions are turned on at the server end.
I do not really know what all this scripting means, I have been
modifying scripts from page that were allready built for me but they
were text only.
my os is windows 2000

The "site" I a building is an addition to an existing site
www.hotshotz.com.au
my effort starts at www.hotshotz.com.au/modelsearch.htm

I hope this is enough info and I really hope someone can point me in
the right direction as the comp starts on Monday!

Thanks

Matt
 
T

Thomas A. Rowe

In order to use the FP Upload component, you site must be hosted on a server
that has the FP2002 extensions, and the site must be published to the server
via FP's http mode.

The host must allow the uploading of content to a folder within your
website, so don't.

To retrieve the upload you would then have to open your site via FP. FP does
not support sending attachment, etc via email.

To use a CGI script, the script must support the uploading of content, and
if trying to attach the upload to an email, the script must support that as
well.
--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
D

David Berry

Matt,

The FP File Upload only uploads a file to your web site, it doesn't send
email. Is your web site hosted on a Windows Server? If it is you can have
them upload the file using the FrontPage File Upload and then use ASP script
to send the email and attach the file to it. Here's a sample script
http://www.powerasp.com/content/hintstips/asp-email.asp
 
M

MattS

David Berry said:
Matt,

The FP File Upload only uploads a file to your web site, it doesn't send
email. Is your web site hosted on a Windows Server? If it is you can have
them upload the file using the FrontPage File Upload and then use ASP script
to send the email and attach the file to it. Here's a sample script
http://www.powerasp.com/content/hintstips/asp-email.asp


Thanks

So what your saying is it needs to be uploaded by fp and the server
can or should do just the one page. ASP script? should I be using this
instead of or as well as cgi.
 
M

MattS

Thomas A. Rowe said:
In order to use the FP Upload component, you site must be hosted on a server
that has the FP2002 extensions, and the site must be published to the server
via FP's http mode.

The host must allow the uploading of content to a folder within your
website, so don't.

To retrieve the upload you would then have to open your site via FP. FP does
not support sending attachment, etc via email.

To use a CGI script, the script must support the uploading of content, and
if trying to attach the upload to an email, the script must support that as
well.

Thanks Thomas

Do you think there would be a script I could use, this seems like a
pretty standard sort of thing I am trying to do. I cant believe I am
having so much trouble. Can you explain how the cgi process works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top