Forum Moderators: coopster

Message Too Old, No Replies

submit.php?

How do i direct name, comments, etc. to my email

         

eshmael

11:50 pm on Apr 12, 2005 (gmt 0)

10+ Year Member



Can anyone please help?
I have been working on a template's guestbook which includes boxes for name/email/url/comments. In the submit button script contains

[on(rollOver){
this.gotoAndPlay("s1");
}

on(rollOut, releaseOutside){
this.gotoAndPlay("s2");
}

on(release) {
getURL("submit.php");
}]

how do i modify script to receive messages from guestbook, and if not to my e-mail where do i retrieve it from?

ironik

12:18 am on Apr 13, 2005 (gmt 0)

10+ Year Member



from memory actionscript supports a loadVars() function (not sure on syntax). All you have to do is create a php page that outputs a text type page with values that can be read by the loadVars() function (I think it's just name=value pairs). Once you've loaded the variables you can use them in actionscript.

There are also a few other functions that support reading from files (some newer, more elegant functions, with actionscript 2... I think).

Actionscript isn't something I've spent a whole lot of time with though, I'd do a search or have a look at the tuts available over at [kirupa.com...]

eshmael

1:55 am on Apr 13, 2005 (gmt 0)

10+ Year Member



thanks i'll give them a try