|
-
email validation and post
Hello:
I've been trying to find a way to set up an email validation and
then input fields to send an email via koolmoves but nothing seems
to fall into place. Since I am new to this I can understand
why. But I know there must be a simple way to do this. all I have
as resources is koolmoves and flashtoolkit. I'm sure it can be
done... but really could use a bit more help then what the web
search results have have garnered and the many dead ends that have
wasted hours.
what do you suggest... knowing that I've been thru many rings already.
I found 4 emailers on koolexchange (3 with php files that I enabled with my email address) none of them worked... ... is that a server issure? they sent the data but nothing arrived at the email address. ...it can't be that difficult... hey... but so far it is.
any help or pointers would be much appreciated.
tidings
ron buck
-
Senior Member
Hi I just went through an email form problem and finally got mine to work. You can see the thread below if it helps. It works pretty good. It is KoolExchange's email with error checking had a devil of a time with it though.
http://board.flashkit.com/board/showthread.php?t=792830
I may be able to help on this one.
Eric
-
 Originally Posted by etuom
Hi I just went through an email form problem and finally got mine to work. You can see the thread below if it helps. It works pretty good. It is KoolExchange's email with error checking had a devil of a time with it though.
http://board.flashkit.com/board/showthread.php?t=792830
I may be able to help on this one.
Eric
Thanks Eric... If I recall that file was named "mailform" and had an uncommon named php file. In any case... I did give it a go and it seemed to work but did not return a responder at the end which is coded in the the php file.
And nothing ever arrived in my email box. The problems you mentioned in your thread don't seem to be the issue with me.... I used the raw uneditd fun file to test the clip, exported it, and made only the necessary changes to the php file to redirect the message to my email address... so I am stymied. If something clicks in anyone's head... let me know... I'm it's something simple... just can't wrap my head around it.
tidings
ron
Last edited by ronbuck; 04-09-2009 at 07:58 PM.
-
Senior Member
Yes the mailform is the one I used.
When you exported it raw it should be Flash6 and should work out of the box, did you try the two html options in the export settings? The swf needs to be uploaded binary, the php ascii with chod 755. In all you should have 4 files uploaded to your site in the same folder: html,swf,php and the js file form the export settings (either one should work in Flash6, try both just to be sure). Oh and don't check any of the boxes in the export settings. These were the issues when I updated it for Flash8.
Eric
Last edited by etuom; 04-09-2009 at 08:26 PM.
-
up to my .as in code
A lot of us who submitted Flash 6/8 code to the Exchange are in the process of submitting comparable versions of the same as AS3/KM7 submissions. Email forms with validation will no doubt be coming that use new coding. I mention this because in the case of email forms, AS3 bring on regular expression support which makes validation more powerful and uses far less code.
The email form in my website is a KM7 email form and uses regular expression validation, RichTextEditor message editors (which allow formatted html emails) and php POST response coding (which can be seen in action when used) to inform the end user what is going on. It will be a submission to replace my shoddy AS1 submission. I'm pretty sure Bret is also updating his...can't speak for the rest.
-
chris thanx!
Chris:
I can't seem to find the KM7 file you mentioned... can you point the way?
tidings
ron
-
Senior Member
That's great to hear! Thanks Chris, Bret, Bob, Stoke, Necro, Tmoore and all the rest I missed who help us newbies. Personally I think the Koolmoves board is the best on Flashkit. I've seen the KM-CODEX site but not the email part, I'll check it out.
Eric
-
KM7 Post Response
I found this file KM7 Post Response and ran it and got an IO error and no response from the server. was this what I should have expected?
Tidings
Ron Buck
-
up to my .as in code
That exact download is running at my Wordpress blog with no alterations whatsoever. Seeing as you have no success with any of the dynamic email forms...along with this post/response...I can only assume something is not right on server or with your hosting/php setup or file/directory permissions.
I know it does work because it is working here , is running live for users to see and can't guess why it's not working there. As for the email forms...same. I know all of them work but have no clue why they do not in your server space.
-
php files on my server
Chris here's what my provider provided:
Scripts cannot run with .php extension
Many prewritten scripts will use the .php file extension.
This is not valid on Earthlink's webhosting servers by default.
Customers will have to specify if they wish to use php4 or php5, with php5 being preferred.
PHP4 should only be used for backwards compatibility, when a script will not run with the newer PHP5.
Rather that renaming each of their files, which may be impractical, especially with scripts that write new .php pages on the fly, the customer can add a Handler directive in an .htaccess file.
To do this, they would create or edit the .htaccess within the directory their PHP application runs, and add the line:
AddHandler php5-script .php
In cases where php4 myst be used, the line would say: AddHandler php4-script .php
It is possible to set different directories to run different versions of PHP this way.
It is important to remember, when editing an existing .htaccess file, to always append new lines to the BOTTOM of the file.
Otherwise, some applications such as FrontPage may overwrite your edits.
I will give it a go and let you know.
many thanx for your time.
tidings
ron
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|