-
Posts
39 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Snubby
-
a unique view. every unique vistor that sees at most one add.
-
I've got a google add on a page that I use the PHP include function on to include it all over my site, but does that count as a new page impression per page, or is it just one?
-
on denvish.net he didn't disable it but its in a weird foreign code.
-
This is a small page but it has a horizontal scroll bar. How can I avoid this?
-
How can I make the bg of a page or table a gradient? Sorry if this is CSS, I wasn't sure.
-
How do I make an iframe's scrollbar just vertical?
-
How do I use count?
-
How can I check the length of an array? In ActionScript I'd go, my_array.length; but that doesn't work in PHP. Help?
-
Cool, thanks for all the help guys. I'm going to learn about databases.
-
for some reason file_put_contents () function doesn't work for me, it says it doesn't recognize the function. How do I add/write information to a file?
-
So, I'd have to make a form modify a .txt file, and then 'require' that file? I'll try it, thanks To justsomeguy, I've only worked with files, not databases.
-
I'm not sure if I am a complete noob, or if this isn't PHP, but how can I permanently change a page without having to moderate the HTML from a form.For eg. I want to program a news system for the relaunch of my site, so I would have a hidden URL that I could have a form on, like, 'Title, Date, Information' and then when I submit it the page would from that point on include that information on the news page.I know how to submit things and use get and post, and I know how to open files, but I can't figure out how to do this from that knowledge. Help, please!
-
I've seen it done, and it was awesome (the site is no longer up ). I wish you good luck, you sound like a great programmer and I have faith in you. If you need any help with the Actionscript aspect of things, I may be some help, but not with PHP. Good luck!
-
oh ok, I get it now. Somehow I was under the impression that only read the same line over and over. Thanks for the quick reply!
-
How do I read the whole contents of a file and not just one line (fgets)? When I just go...$file = fopen ("file", "r");echo $file;...It doesn't work.
-
To import them you can go File > Import, and then they will go into your library (Crtl + L, Window > Library). When you export them, .mp3 is the best but you can use pretty much anything. I'd suggest MP3 or WAV.To align things in flash you really should use the Align panel, Window > Align. Just play around with it and you'll figure it out, it's invaluable once you get the hang of it
-
You could try to use loadMovie (), like... this.createEmptyMovieClip ("my_button", 1);with (this.my_button){ loadMovie ("http://www.snubbyland.com/otherpics/logo.gif", this); createEmptyMovieClip ("hit", 2); hit.beginFill (0xFFFFFF, 0); hit.lineTo (120, 0); hit.lineTo (120, 80); hit.lineTo (0, 80); hit.endFill ();} Now you can refference the button with an onPress function and add the getURL or something. Good luck (heres the onPress function if you aren't farmiliar) hit.onPress = function () { /**/ }
-
Hmm, perhaps I am misreading your question but from what I understand you want a flash file to send variables to a php file. Here's how I'd do it...1. Make a new LoadVars object to hold the info. var image_clicked:LoadVars = new LoadVars (); 2. Then, when a certain part of the image is clicked I'd send the info to the property in the image_clicked property. on (press){ _root.image_clicked.clicked = "button5";} That way, you can say image_clicked.clicked; Now, you'll want to send that to your php file, so let's do the heavy lifting (this is a modified code for the button code; the one listed above)... on (press){ _root.image_clicked.clicked = "button5"; _root.sendAndLoad ("reaction.php", _root.image_clicked, "post");} I'm a little shifty-eyed on the sendAndLoad function but it should work. If it doesn't, sorry.
-
Cool, thanks for the words. Somehow I got it in my head that it meant something like a file upload system This will come in handy, thanks
-
Thanks! I guess I missed that part, I see it now next time ill triple check.An Email form I made
-
W3Schools Mail TutorialIt says the syntax for the mail function is...mail(to,subject,message,headers,parameters)But how would I handle the 'from'? It's not one of the arguments so how do I set it?
-
Open a File Tutorial on W3SchoolsI don't understand what this tutorial is trying to teach me, and part of the reason is that I don't really know what it means (in that context) to 'open a file'. Can somebody please explain to me or show me what this means? Thanks in advance