Ik snap er niets van
ik heb op mijn site een flash animantie staan (gedownload, beter goed gekat dan slecht gemaakt)
Maar ik krijg mijn php script niet werkend, moet dat script in de pagina, en moet die pagina dan htm of php gaan heten...
hier staat de pagina kun je zien wat ik bedoel:
www.party-express.nl/contact2.htm
in dit is het scrip wat er bij hoort...
<?
// Enter your contact email address here
$adminaddress = "info@party-express.nl";
// Enter the address of your website here include http://www.
$siteaddress ="http://www.party-express.nl";
// Enter your company name or site name here
$sitename = "Party-Epress.nl";
/*******************************************************
No need to change anything below unless you want to add or subtract functions or change the wording of things sent back to the flash file ...
*******************************************************/
// Gets the date and time from your server
$date = date("m/d/Y H:i:s");
// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
if ($action != ""):
mail("$adminaddress","New Subscription",
"A visitor at $sitename subscribed to your mailing list.\n
Name: $name
email: $email
Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress");
//This sends a confirmation to your visitor
mail("$email","Dank je voor je bezoek aan de site van $sitename",
"Hoi $name,\n
Dank je voor je aanmnelding bij Party-Express, je wordt vanaf nu automatisch op de hoogte gehouden van het laatste Party-Express nieuws.
$sitename
$siteaddress","FROM:$adminaddress");
//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Thank you for applying. You will receive a confirmation email shortly.";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo "$send_answer";
endif;
//Thats about it I hope it is useful to this script was contemplated by Ryan Gomez @ www.brooklynbeats.com
?>
maar ik krijg het niet werkend...
iemand tips?
Maar ik krijg mijn php script niet werkend, moet dat script in de pagina, en moet die pagina dan htm of php gaan heten...
hier staat de pagina kun je zien wat ik bedoel:
www.party-express.nl/contact2.htm
in dit is het scrip wat er bij hoort...
<?
// Enter your contact email address here
$adminaddress = "info@party-express.nl";
// Enter the address of your website here include http://www.
$siteaddress ="http://www.party-express.nl";
// Enter your company name or site name here
$sitename = "Party-Epress.nl";
/*******************************************************
No need to change anything below unless you want to add or subtract functions or change the wording of things sent back to the flash file ...
*******************************************************/
// Gets the date and time from your server
$date = date("m/d/Y H:i:s");
// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
if ($action != ""):
mail("$adminaddress","New Subscription",
"A visitor at $sitename subscribed to your mailing list.\n
Name: $name
email: $email
Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress");
//This sends a confirmation to your visitor
mail("$email","Dank je voor je bezoek aan de site van $sitename",
"Hoi $name,\n
Dank je voor je aanmnelding bij Party-Express, je wordt vanaf nu automatisch op de hoogte gehouden van het laatste Party-Express nieuws.
$sitename
$siteaddress","FROM:$adminaddress");
//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Thank you for applying. You will receive a confirmation email shortly.";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo "$send_answer";
endif;
//Thats about it I hope it is useful to this script was contemplated by Ryan Gomez @ www.brooklynbeats.com
?>
maar ik krijg het niet werkend...
[ Voor 6% gewijzigd door 911GT2 op 11-04-2003 15:23 ]