HighDots Forums  

Scripting - Please Help Me!!!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Scripting - Please Help Me!!! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 10:23 AM






It will mean that you get emails to you at your email address FROM you at
your email address. There is no provision there to make the FROM: field
belong to the person submitting the form, you know?

Quote:
I presume the way I have set it up on the form is correct, just by making
the
form action point to this file?
Yes, that would be correct.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Ads901" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Well I havent edited anything within that bit of the code, I only changed
the
configuration at the top - should they be different then (what exactley is
it
defining)?

I presume the way I have set it up on the form is correct, just by making
the
form action point to this file?

I don't have alot of experience with scripting but I can't see any reason
why
this wouldnt work....



Reply With Quote
  #12  
Old   
Ads901
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 10:33 AM






Oh right, well that is probably OK as they are required to insert their email
address in the field anyway, and as they will be submitting the form via the
website and not their email account then they would have to manually insert
this anyway.....???

Right so the mystery goes on as to why it wont work - got any final advice on
how I could get around this?


Reply With Quote
  #13  
Old   
Ads901
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 10:33 AM



Oh right, well that is probably OK as they are required to insert their email
address in the field anyway, and as they will be submitting the form via the
website and not their email account then they would have to manually insert
this anyway.....???

Right so the mystery goes on as to why it wont work - got any final advice on
how I could get around this?


Reply With Quote
  #14  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 10:34 AM



Quote:
Oh right, well that is probably OK as they are required to insert their
email
address in the field anyway, and as they will be submitting the form via
the
website and not their email account then they would have to manually
insert
this anyway.....???
It means that you will not be able to reply to them from the form
submission, you know?

Quote:
Right so the mystery goes on as to why it wont work - got any final advice
on
how I could get around this?
Do you get any error messages on submission?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Ads901" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Oh right, well that is probably OK as they are required to insert their
email
address in the field anyway, and as they will be submitting the form via
the
website and not their email account then they would have to manually
insert
this anyway.....???

Right so the mystery goes on as to why it wont work - got any final advice
on
how I could get around this?



Reply With Quote
  #15  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 10:34 AM



Quote:
Oh right, well that is probably OK as they are required to insert their
email
address in the field anyway, and as they will be submitting the form via
the
website and not their email account then they would have to manually
insert
this anyway.....???
It means that you will not be able to reply to them from the form
submission, you know?

Quote:
Right so the mystery goes on as to why it wont work - got any final advice
on
how I could get around this?
Do you get any error messages on submission?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Ads901" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Oh right, well that is probably OK as they are required to insert their
email
address in the field anyway, and as they will be submitting the form via
the
website and not their email account then they would have to manually
insert
this anyway.....???

Right so the mystery goes on as to why it wont work - got any final advice
on
how I could get around this?



Reply With Quote
  #16  
Old   
Ads901
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 11:04 AM



Sorry to be thick but what do you mean 'I wont be able to reply to them from
the form submission'?

I dont get an error message at all - I fill in the form and hit submit and
nothing happens - it doesnt redirect to the thank you page or anything. If you
try the form link and hit submit then you can see


Reply With Quote
  #17  
Old   
Ads901
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 11:04 AM



Sorry to be thick but what do you mean 'I wont be able to reply to them from
the form submission'?

I dont get an error message at all - I fill in the form and hit submit and
nothing happens - it doesnt redirect to the thank you page or anything. If you
try the form link and hit submit then you can see


Reply With Quote
  #18  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 11:23 AM



If the individual filling out the form enters their email address, then you
have an opportunity to use that email address (properly sanitized to avoid
'email injection', of course) as the FROM: header of the outgoing email as
sent by the website. That way, when you receive the email, you can then hit
reply, and your reply will go back to the person who filled out the form.
When that email address is *YOUR* email address, as it is now, you would
only send an email to yourself. Geddit?

Try adding this line to the very top of your PHP script -

<?php ini_set('display_errors', 1); ?>

Do you get any error messages now when you submit the form?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Ads901" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Sorry to be thick but what do you mean 'I wont be able to reply to them
from
the form submission'?

I dont get an error message at all - I fill in the form and hit submit and
nothing happens - it doesnt redirect to the thank you page or anything. If
you
try the form link and hit submit then you can see



Reply With Quote
  #19  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 11:23 AM



If the individual filling out the form enters their email address, then you
have an opportunity to use that email address (properly sanitized to avoid
'email injection', of course) as the FROM: header of the outgoing email as
sent by the website. That way, when you receive the email, you can then hit
reply, and your reply will go back to the person who filled out the form.
When that email address is *YOUR* email address, as it is now, you would
only send an email to yourself. Geddit?

Try adding this line to the very top of your PHP script -

<?php ini_set('display_errors', 1); ?>

Do you get any error messages now when you submit the form?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Ads901" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Sorry to be thick but what do you mean 'I wont be able to reply to them
from
the form submission'?

I dont get an error message at all - I fill in the form and hit submit and
nothing happens - it doesnt redirect to the thank you page or anything. If
you
try the form link and hit submit then you can see



Reply With Quote
  #20  
Old   
Ads901
 
Posts: n/a

Default Re: Scripting - Please Help Me!!! - 06-09-2008 , 11:36 AM



Oh right I get it - so how do I get it to display the email address of the sender?

Put the code in and no I still dont get an error message...

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.