Flash en php

Pagina: 1
Acties:
  • 35 views sinds 30-01-2008

  • 911GT2
  • Registratie: November 2001
  • Laatst online: 09-08 07:02
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... :S iemand tips?

[ Voor 6% gewijzigd door 911GT2 op 11-04-2003 15:23 ]


  • drm
  • Registratie: Februari 2001
  • Laatst online: 09-06-2025

drm

f0pc0dert

Ik heb wel een tip :Y)

Even de stickeys van Programming & Webscripting (bovenaan de topiclijst) bekijken, en nagaan wat er zoal niet klopt aan deze topicstart.

Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz


Dit topic is gesloten.