Help on sending email from GoDaddy PHP

Concluído Postado Jan 26, 2004 Pago na entrega
Concluído Pago na entrega

We need help on how to send emails from a [url removed, login to view] Delux hosted account under PHP.

GoDaddy provides no examples of this function. We have tried their help desk and one of their support managers told me that "an experienced PHP programmer should have no problems with what they provide". Nice Help! I have 15 domains with them. Maybe not for long....

GoDaddy's response is:

"In order to process forms on our server you will need to use the '[url removed, login to view]' script located within the root directory of your hosting account. Sendmail is not installed on our servers. "

" To use php function to send mail is 'mail(, ,, ). Please note, we do not offer any support for web scripting language. The file '[url removed, login to view]' is a script written by us that can be used to process form request. Please let us know if we can help you in any other way....yada yada"

And a link to a support web site:

[url removed, login to view]

I have also included the code for [url removed, login to view] in the "Deliverables" section of this RFQ.

Maybe this is enough for an "experienced PHP programmer" but not for this rock.

Summary:

We need an example PHP code and set up instructions that will send an email to a set regular email address that will run in the GoDaddy environment.

I will accept the first bid that looks like they can do the job even if this RFQ's timeframe has not expired because this is holding up another project.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation intructions that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

Here is a copy of GoDaddy's [url removed, login to view]

<?php

$request_method = $_SERVER["REQUEST_METHOD"];

if($request_method == "GET")

{

$query_vars = $_GET;

}

elseif ($request_method == "POST")

{

$query_vars = $_POST;

}

reset($query_vars);

$t = date("U");

$fp = fopen("ssfm/gdform_$t","w");

while (list ($key, $val) = each ($query_vars))

{

fputs($fp,"<GDFORM_VARIABLE NAME=$key START>\n");

fputs($fp,"$val\n");

fputs($fp,"<GDFORM_VARIABLE NAME=$key END>\n");

if ($key == "redirect")

{

$landing_page = $val;

}

}

fclose($fp);

if ($landing_page != "")

{

header("Location: http://".$_SERVER["HTTP_HOST"]."/$landing_page");

}

else

{

header("Location: http://".$_SERVER["HTTP_HOST"]."/");

}

?>

## Platform

PHP code on GoDaddy Delux hosting plan.

Engenharia MySQL PHP Arquitetura de software Teste de Software Interface do usuário / AI

ID do Projeto: #3080668

Sobre o projeto

3 propostas Projeto remoto Ativo em Jan 26, 2004

Concedido a:

TakeReal

See private message.

$17 USD em 2 dias
(1252 Comentários)
7.5

3 freelancers estão ofertando em média $27 nesse trabalho

bkdurhamvw

See private message.

$21.25 USD in 2 dias
(3 Comentários)
2.4
lawrencewalters

See private message.

$42.5 USD in 2 dias
(0 Comentários)
0.0