Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

mail forma iz flasha

[es] :: Flash :: mail forma iz flasha

[ Pregleda: 2887 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

ttk
Tatjana Krstic
Beograd

Član broj: 31939
Poruke: 13
*.227.eunet.yu.

Sajt: www.tkdesign.org


Profil

icon mail forma iz flasha25.11.2004. u 19:09 - pre 236 meseci
Znam da je verovatno svima dosadilo da odgovaraju na pitanja u vezi php-a i mail-a iz flash-a, ali ja jednostavno nisam uspela da pronadjem odgovor u prethodnim postovima. Elem...na internetu ima bar milion gotovih php skripti i fla fileova 4 dummies:) ali meni jednostavno ne funkcionisu:)

Iako sam pocetnik u php-u, jasno mi sta treba da promenim u kodu da bi poruka stizala na moj email. Ne znam u cemu gresim...pomoc bi mi mnoooogo znacila.

php skinut sa neta :

<?

/******************************************************
**
** This script is easy to configure. Just change the variables below to
** suit your environment and PHP does the rest!
**
** http://www.bigjolt.com
**
*******************************************************/

// Enter your email address here
$adminaddress = "[email protected]";

// Enter the address of your website here MUST include http://www.
$siteaddress ="http://www.adresasajta.html";

// Enter your company name or site name here
$sitename = "ime sajta";

// 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","Info Request",
"FAO: Admin @ $sitename \n
First Name: $fname
Last Name: $lname
Email: $vemail
Company: $cname
Telephone: $telno\n
The visitor commented:
------------------------------
$comments
------------------------------

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("$vemail","Thank You for visiting $sitename", "Hi $fname,\n
Thank you for your interest in $sitename!\n
Cheers,
$sitename
$siteaddress","FROM:$adminaddress");

//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Done!";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo "$send_answer";

ENDIF;
?>


to bi bio php...u flashu je mudrost sledeca:

mailform = "http://adresasajta/mailform.php";
loadVariablesNum(mailform.php, 0);
akcija na dugmetu: loadVariablesNum("http://www.adresasajta/mailform.php", 0, "POST");


Gde gresim?



It's nice to be important, but it's more important to be nice.
 
Odgovor na temu

arsa xx
Srdjan Arsic
Beograd

Član broj: 14203
Poruke: 452
*.bg.wifi.vline.verat.net.

ICQ: 247217004
Sajt: webdizajn.arsic.biz


Profil

icon Re: mail forma iz flasha25.11.2004. u 19:30 - pre 236 meseci
Verovatno ti ovaj uslov pravi problem:

Code:

IF ($action != ""): 


Mozes taj red da uklonis.
Ne znam sta je autor hteo sa tim uslovom.
Verovatno da se ne salje mejl ako je prazna GET ili POST variabla 'action'.
Mada bi onda trebalo koristiti $_GET["action"] ili $_POST["action"] umesto $action ili:

Code:

!empty($_GET["action"]) ? $action = $_GET["action"] : $action = $_POST["action"]; 


pre IF uslova.

Takodje mozes da uklonis:

Code:

mailform = "http://adresasajta/mailform.php";
loadVariablesNum(mailform.php, 0);


ostavi samo akciju na dugmetu.


Flash komponenta za atraktivan prikaz vesti na sajtu:
www.flash-news-ticker.com
 
Odgovor na temu

ttk
Tatjana Krstic
Beograd

Član broj: 31939
Poruke: 13
*.6.EUnet.yu.

Sajt: www.tkdesign.org


Profil

icon Re: mail forma iz flasha25.11.2004. u 23:34 - pre 236 meseci
citiram:
"Ako zelite prbacivanje prezentacije na Linux server koji podrzava php morate
poslati zahtev za to, ili sa administratorskog maila"... blablablablbabllabl


a ja mislila da ne znam da pustim toplu vodu

10x anyway

ps pozdrav od sezampro-a


It's nice to be important, but it's more important to be nice.
 
Odgovor na temu

borstale
Zoran Stanković
nezaposlen
Bor

Član broj: 16298
Poruke: 651
212.200.69.*

Jabber: borstale@elitesecurity.org


+2 Profil

icon Re: mail forma iz flasha26.11.2004. u 00:21 - pre 236 meseci
Arso, skinuo sam ovu tvoju komponentu, ali kad je prevučem na pozornicu dobijem poruku "error loading xml file".
gone with the wind?
glupavi Balkanac
A joint a day
 
Odgovor na temu

[es] :: Flash :: mail forma iz flasha

[ Pregleda: 2887 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.