Hi, I have a contact page that, when submit is clicked it checks the inputs
then outputs to a "read only" version of the input form fromwhich the email
can be sent.
How would I go about changing the script so when the submit button is
clicked, it'll check, and if it passes the requirements, it'll be sent (to
the formmail script)?
You can see my coding at: http://www.mattyjones.co.uk/testing/...ntact/main.inc
(it's a bit rough! and don't worry about the $expa/b stuff - that's there
for a seperate reason)
Thanks
--
Luck is a skill I am yet to acquire!! 2 2597
MrMagooba wrote: Hi, I have a contact page that, when submit is clicked it checks the inputs then outputs to a "read only" version of the input form fromwhich the email can be sent. How would I go about changing the script so when the submit button is clicked, it'll check, and if it passes the requirements, it'll be sent (to the formmail script)?
You can see my coding at: http://www.mattyjones.co.uk/testing/...ntact/main.inc (it's a bit rough! and don't worry about the $expa/b stuff - that's there for a seperate reason)
Thanks
Hi
I've made a couple of changes to your script, you can take a look at http://www.mike-mac.gen.nz/meetakiwi/Documents/main.inc
I strongly recommend that you change your code from using $email to
$_GET['email'], http://nz.php.net/manual/en/language...predefined.php and the
security sections document why :-)
HTH
Mike
> MrMagooba wrote: Hi, I have a contact page that, when submit is clicked it checks the inputs then outputs to a "read only" version of the input form fromwhich the email can be sent. How would I go about changing the script so when the submit button is clicked, it'll check, and if it passes the requirements, it'll be sent
(to the formmail script)?
You can see my coding at: http://www.mattyjones.co.uk/testing/...ntact/main.inc (it's a bit rough! and don't worry about the $expa/b stuff - that's
there for a seperate reason)
Thanks
Hi
I've made a couple of changes to your script, you can take a look at http://www.mike-mac.gen.nz/meetakiwi/Documents/main.inc
I strongly recommend that you change your code from using $email to $_GET['email'], http://nz.php.net/manual/en/language...predefined.php and the security sections document why :-)
Thanks for the *tweaking* - it shall be used :-). But it still posts
the -passed- original input into a read only form for the user to click the
submit button. What I want to do is, if the inputted details passes my
tests, send the mail, not display in a read only version for the user to
click the submit button again. I really want to use PHPFormMail to send the
mail as it is tried and tested, but at the moment I am scouring the 'net for
mail() tut's so I can replace the read only form with a send mail routine. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Craig |
last post by:
I keep getting the error "Error: Bad/No Recipient" when submitting a form
using formmail.pl
Here is the part of the formmail.pl that you are supposed to alter to suit
your needs using fake url and ip addresses:
#!/usr/bin/perl
############################################################################
##
# FormMail Version 1.92
|
by: Hmmm... |
last post by:
I am setting up a web site for a friend. Her hosting service does not
support Sendmail. It is an NT server. They recommend I use Smtp. I have
been using something like formmail.pl when I have been helping friends set
up their web sites. Does anyone know of a perl script that works like
formmail.pl, but uses Smtp. Thanks.
|
by: John Oliver |
last post by:
I'd like the email produced by FormMail to show a specific From: address
rather than postmaster@server.host.name Googling isn't helping me...
not sure what to look for :-(
--
* John Oliver http://www.john-oliver.net/ *
* California gun owners - protect your rights and join the CRPA today! *
* http://www.crpa.org/ *
* San Diego shooters come to...
|
by: Benjamin Bittner |
last post by:
Hallo NG,
ive searched a lot in some google groups, and found many threads, but
nothing that helped me.
Here is the scenario:
I have an aspx page which loads a user control in page.onInit like this
Dim pdControl As bb.unit = CType(LoadControl("./content/unit.ascx"),
bb.unit)
phContent.Controls.Add(pdControl)
|
by: Rico |
last post by:
Hello,
I'm using formmail.asp which is an emailing utility. Basically, the user
fills out a request page, clicks "Submit" and the page posts to formmail.asp
which emails the user information.
I'm running IIS5 on a Win2k server box and recently ran the Windows Updates
(the last time I do that). Anyway, that emailing form doesn't work now on
any of the sites I host. Any ideas?
| |
by: Gerhard |
last post by:
How can I create a new contact in exchange server from a vb.net web
application?
|
by: laredotornado |
last post by:
Hi, I'm using PHP 4.4.4 and have downloaded the free script
formmail.php (version 4.1b). Wondered if anyone had experienced the
same problem I'm having. I'm submitting a form to formmail.php, but
none of the variables seem to be getting recognized. Here is part of
the form I'm submitting ...
<body onload="document.forms.submit();">
Sending Order ...
<form action="formmail.php" method=post
|
by: Jangaly |
last post by:
Dear friends
I try to send a message via my web site to my server and redirect to my e-mail address. In the root of my server I saved the formmail.php. On action part of my form on html-code I wrote the address of my server. when I sent I got an error message as "couldn't pass through the form". When I changed the address in the action and wrote the address of another server it functioned! This means the form-code in html is correct. The only...
|
by: Geoff Cox |
last post by:
Hello,
I am using the formmail.cgi script and wonder if it is possible to
have the user enter their email address and then have the results sent
to this address by formmail.cgi?
If yes, how do I do this?! That is, how do I get the user to enter
their email address and how is it transferred to formmail.cgi?
Cheers,
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |