Click to See Complete Forum and Search --> : PHP Writer
xpattech
04-11-2006, 09:35 PM
Recently had a go using my brothers Koolmoves to design a form. The form design was easy but had problems with the php side. Searched the obvious forum's and found many different ways to setup php. As a VB programmer I decided to write a little program that does the work for you ( Writing the php file ) . If anyone is interested in this software then please email phil@xpattech.com If anyone has any specific requirements then please include these in your email. Koolmoves is an excellent piece of software Bob
blanius
04-11-2006, 11:21 PM
I'd be interested in seeing that...
xpattech
04-12-2006, 03:33 PM
Will finish coding late tomorrrow ( Thursday ) and will post a link in the evening.
Seems odd that only one person ( blanius ) has replied.....
Chris_Seahorn
04-12-2006, 03:39 PM
Since I use Dreamweaver to create php files, even if I had no clue how to code it by hand, I have to wonder what this app of yours is useful for or how it integrates with someone who is planning to create any object with Koolmoves that requires a php backside. There are as many ways to accomplish anything in the PHP command set as there are in Actionscript so I'd be curious to see how intricate a php backside this can create and can't really comment more until I see how this relates to Koolmoves..
Your first post doesn't really specify how this app functions and asks to contact via email so the lack of responses here may have to do with that.
xpattech
04-12-2006, 04:57 PM
Chris.... All iam offering is a simple piece of software to help the non-experienced user. Re-Read your message and view it as someone sending it to you. New user see's something that may help others and all you can do is critisize ... Why not put in some usefull info ie. Problems you have found and overcome regarding forms.. The reason i asked people to email is that iam a new person ( Not Newbie ) on this forum and will probably not come here on a regular basis.
Sorry to say this but i think your attitude stinks chris... How did you become an experienced user ????
Chris_Seahorn
04-12-2006, 05:02 PM
What? I explained what I don't know about your app because you offered squat about what it actually does in the first post and this is your reply? Whatever bro. I just lost interest.
I have no problem with you disliking me but you might want to reserve it until I actually attack you.
xpattech
04-12-2006, 05:08 PM
Offer some info on what you know as an experienced user chris. You may be able to use Dreaweaver to create your php files but some may not.
Chris_Seahorn
04-12-2006, 05:11 PM
Where you been dude. I've been handing out php code since you were in diapers.
You know...for the record...I wasn't even going to touch this thread. Look at the post times. You started whining about not getting interest so I figured I'd pipe in. To get in an argument just isn't worth it and I wish you the best with your app.
xpattech
04-12-2006, 05:16 PM
WoW thats a real accomplishment. Knowing more than someone else. Wonder how you gained your knowledge ??????
blanius
04-12-2006, 07:15 PM
Ok back on topic.... Don't make me whip out the delete button :)
xpattech
04-12-2006, 07:19 PM
Ok blanius , Is there any reason i should carry on with this software or should i just let it slide ?
Chris_Seahorn
04-12-2006, 07:48 PM
You should. It wasn't my intention to give anyone the impression your VB app wasn't useful. I was asking questions and just used the wrong words I guess. Delete my posts if it helps keep your thread going. Bret has the ability.
xpattech
04-12-2006, 07:55 PM
Chris.. I disagree with your comments but everyone has the right to say what and how they think.
By the way,, you are only 3 years older than me.. Diapers ??? You must be american...
Chris_Seahorn
04-12-2006, 08:05 PM
Must be.
xpattech
04-12-2006, 08:09 PM
Enough of the Funnies... What would you like to see chris in a new piece of software helping to write php scripts. Dont forget that this is aimed at new users or users who have little or no experience using php.
Chris_Seahorn
04-12-2006, 08:19 PM
You tell me man. Why not tell us what this does. Instead of swinging at me, why not just write what this does...and more importantly since it is posted in a Koolmoves forum...how this is useful to us.
xpattech
04-12-2006, 08:36 PM
Iam not swinging at you chris, iam asking for your input..
What i would like to do is make the php creation easier for new users..
Chris_Seahorn
04-12-2006, 08:57 PM
I don't know. I think new users have as much trouble with the backends in things like mailforms as with the confusing way we can use either variable names or instance names (not to mention the confusion the two different types of Actionscripting to support them) for POSTed textfields.
I would agree something like you mention would be useful. Easily 50 threads of my total have been bugfixing forms and no two ever seem alike. I say if you have an app that lets them enter variable names or create the backsides entering those variables it would help but still require the "newbie" to understand the Actionscript. If they are even at a level to create or understand that Actionscript, they usually have the ability to understand php so you have that in your favor but how to get the user from
1. Creating the textfields (and type....notice the rise in instance named textfields these days), submit button and form in Koolmoves
2. Scripting (Actionscript) the submit button to POST to the php filename that will match the name of the soon to be created php file.
3. Create the php backside using the expected POST variable names (I assumed that was where your app would come in).
all in one smooth move is the trick. If the user makes a mistake on step 2, the created php in 3 will fail unless one app creates it all. There is a certain level of ability needed even to understand what they are using your app to make.....no?
xpattech
04-12-2006, 09:13 PM
I have had a look at the .fun files and found that if a user can assign a standard tag for the input fields (ie. m_email , m_subject ), these can be text boxes, dropdowns etc then i can pull in those names and create the relevant sections in a php. I admit it would require the user to have a little knowledge of Koolmoves and its variables.
Chris_Seahorn
04-12-2006, 09:21 PM
Now if your app could write the actionscript (on submit) to a textfile they could copy/paste into their actions window for the submit buttons, based on the textfield variables and types (instance name, variable name, version) they enter in your app as well as writing the php file, that would let you control step 2 and 3 and you'd have a winner across platforms.
xpattech
04-12-2006, 09:35 PM
Ok... New user comes along..... Creates a form and puts textboxes,dropdowns and listboxes on the form. Drops the .fun file on my software and it creates the php file ?
Chris_Seahorn
04-12-2006, 11:59 PM
That sounds great.
xpattech
04-14-2006, 04:03 PM
Ok anyone up for doing some testing ? PHP Maker (http://www.xpattech.com/php/php maker.rar)
All I need are users to drop a .fun file in the lowest box and see if the correct items are listed in the listbox to the left.. Emails to Phil (phil@xpattech.com) explaining which items are not being displayed would be great.
xpattech
04-14-2006, 04:04 PM
Visual basic 6 runtimes are needed.
blanius
04-15-2006, 08:50 AM
looks good so far but you see to find all the NAMES of the Shapes in the fun file but not the variable names. Look for $vn$ instead of $n$.
For writing the PHP code you should only need the variables sent not things like the send button. Or are you generating the code for the send button too? Which I'm not sure is a good idea as I know mine is more complex than that as I use it to go to a wait frame and send the vars and check the variables before sending
on (release) {
problem="";
lf="\n";
if (name.length<3){
problem+="Name to Short"+lf;
}
if (the_message==""){
problem+="Please enter a message"+lf;
}
if (email.length<7){
problem +="email too short"+lf;
}
if (email.indexOf("@")==-1){
problem+="Email missing @"+lf;
}
if (email.indexOf(".")==-1){
problem+="Email Missing dot"+lf;
}
if (email.indexOf("@")>email.indexOf(".")){
problem+="Mal formed email"+lf;
}
if (email.lastIndexOf(".")>email.length-3){
problem+="invalid Domain"+lf;
}
if (name==""){
problem+="You must enter a name"+lf;
}
if (problem.length<1){
action="send";
this.loadVariables("mailform.php","POST");
this.gotoAndStop("wait");
}
if (problem.length>1){
this.gotoAndPlay("form_error");
}
}
xpattech
04-15-2006, 09:36 AM
Yes i agree with the variables point ( Took me an hour to figure out the .fun file ). As for the send button, i have changed the way it is actually seen from my software. When you know which button is going to be the send button, on the actions/Send form data just type in "holder". I can then pull this button into the software and set the correct .php file as its action/url. Iam writing a small tutorial but really dont have time to finish it today. New version PHP Maker (http://www.xpattech.com/php/php maker.rar) .
Drop your fun file as before but now you need to select the variables (.Fun )you want and in which order ( Just click the arrow to set ). Enter in the variable box and double click the variable ( .Fun side ) you want to assign the variable to. Enter the email/subject in the boxes and give it a .php filename. At the moment it is sent to wherever the software is. Load up the fun file back in Koolmoves and create your .swf and html. Upload both to your site ( Same directory ) and give it a try.
This sounds really bad but its the best i can do at the moment.........
Chris_Seahorn
04-15-2006, 10:28 AM
I'm going to step out of this one. Good luck on the project.
xpattech
04-18-2006, 07:11 PM
Still no instructions other than the very simple previous post but an update to the software.... PHP Maker (http://www.xpattech.com/ccount/click.php?id=1)
Create your forms as normal, just enter "holder" for your send buttons url. The first 2 columns are obvious and need no explanation. The 3rd is where you enter the variable name which shows in the email , just highlight and type.
xpattech
04-19-2006, 06:29 PM
Corrected a bug when removing variables from list.
.fun and .php are now written correctly.
Getting alot of downloads but not much feedback...Any chance of some ???? :thumbsup: or :thumbsdow
Download PHP Maker (http://www.xpattech.com/ccount/click.php?id=1)
Email Phil (phil@xpattech.com)
blanius
04-19-2006, 11:20 PM
Working out of town on a shoot. Look at it soon.
xpattech
04-26-2006, 04:26 PM
Loads of downloads but no responses, not even bad points.......
Removed from downloads....
Thanx for the support Blanius... ( Not sarcastic, you actually came up with some valid points )
blanius
04-26-2006, 11:03 PM
Download link no longer working. Don't feel bad I've gotten very little response about the mp3marker program I did.
xpattech
04-27-2006, 01:42 AM
Download link should work now, but only for today.....
blanius
04-27-2006, 09:08 AM
Got missing ActiveX control errors when installing. Suspect it has to do with the embedded flash.
blanius
04-27-2006, 09:11 AM
Ok so when I create the fun file the URL should be holder? is that right?
xpattech
04-27-2006, 09:11 AM
Do you know which ActiveX ? Flash uses Flash8a.ocx
xpattech
04-27-2006, 09:18 AM
Yup..... This sounds like a big problem coming up!!!!
blanius
04-27-2006, 09:22 AM
it ran anyway. I have a bigger problem though. I had a mother board go down and there is a problem with my graphics driver and I can't open Koolmoves at the moment I get a driver mismatch error.
the errors during install I imagine are missing OCX's from my reconfigured system.
Flash8a.ocx was one of them the other was something like titext.ocx
The program loaded and the flash animation within it showed just fine I have Flash 8 installed and the flash 8 player is installed as well in both IE and FF
xpattech
04-28-2006, 07:17 AM
How is it going blanius
blanius
04-28-2006, 09:13 AM
Slowing getting my system back to normal....
Busy with work as well so I'm afraid your a little low on the priority list. I fixed my km install and will make a simple mailform to test soon.
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.