472,954 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 software developers and data experts.

Mailform

Hi,

i am a newbie with php .

Why does the following not work on lycos free account???????

<?PHP
$to = $_POST["to"];
$from = $_POST["from"];
$mes = $_POST["mes"];
mail($to, $from, $mes);
?>

Up this is a html form with fields to from and mes.

what is the simplest mailform.

FiremanSAM
Jul 16 '05 #1
2 3854
RG

"FiremanSAM" <fi********@co.uk> wrote in message
news:6hm7b.3066$P51.5223@amstwist00...
Hi,

i am a newbie with php .

Why does the following not work on lycos free account???????

<?PHP
$to = $_POST["to"];
$from = $_POST["from"];
$mes = $_POST["mes"];
mail($to, $from, $mes);
?>

Up this is a html form with fields to from and mes.

what is the simplest mailform.

FiremanSAM

Probably because they don't want people abusing their mailservers.
If you get proper hosting, your script will work.

RG


Jul 16 '05 #2

"FiremanSAM" <fi********@co.uk> skrev i meddelandet
news:6hm7b.3066$P51.5223@amstwist00...
Hi,

i am a newbie with php .

Why does the following not work on lycos free account???????

<?PHP
$to = $_POST["to"];
$from = $_POST["from"];
$mes = $_POST["mes"];
mail($to, $from, $mes);
?>

Up this is a html form with fields to from and mes.

what is the simplest mailform.

FiremanSAM

If you run phpinfo() you will see a lot of things are disabled

ofor
Jul 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Christopher Brandsdal | last post by:
I have made a asp mailform. What is wrong? I get this error: Microsoft VBScript runtime error '800a0046' Permission denied
10
by: Adrian | last post by:
Hi I want to write a form that when a user presses submit it carries out the submit action and then closes the browser or redirects to another page. The form CGI I'm using, Demon's does not...
3
by: Gert-Jan van Middelkoop | last post by:
Hi, I'm using an e-mailform on my website. I would like to make a dropdownmenu with several subjects, so when the e-mail arrives I can immediatly see it's subject. Therefore, this code must...
6
by: calfliu | last post by:
hello: everybody! I have a simple question. How can I translate the selected value from art to recipient(hidden input button)? <form name="send" method="post" action="send.cgi"> <select...
2
by: JohnK | last post by:
Hi all, This is my first time visiting this group. I already tried two other java groups, but those aren't very populated. I don't know if it is the right one, otherwise please tell me in which...
2
by: Ryan | last post by:
Hi, I receive an access denied error (see below) when attempting to send an email with BodyFormat=MailFormat.Html from an asp.net page. Exactly the same code works fine in a console...
3
by: moho | last post by:
Hi, I tried to do this: mailstr = "mailto:recipient@domain.com?subject=subjecextract&body=assg"; mailform = document.getElementById("mailform"); mailform.setAttribute('action',mailstr);...
8
by: stilmas | last post by:
Hello, I have a variable that I get from: <% string mys=Request.ServerVariables.ToString(); int n=mys.IndexOf("\\"); if (n!=-1) { mys=mys.Substring(n+1); }
1
by: col 190 | last post by:
Hopefully a simple question. I am using MainForm.asp and the email created changes the email address entered from "me@email.com" to "me@email=2Ecom". This is confusing the program which adds thes...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
1
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.