Jump to content

Snubby

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by Snubby

  1. a unique view. every unique vistor that sees at most one add.
  2. 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?
  3. Snubby

    Gradient Bg

    Amazing. Thanks, man!
  4. on denvish.net he didn't disable it but its in a weird foreign code.
  5. This is a small page but it has a horizontal scroll bar. How can I avoid this?
  6. Snubby

    Gradient Bg

    How can I make the bg of a page or table a gradient? Sorry if this is CSS, I wasn't sure.
  7. How do I make an iframe's scrollbar just vertical?
  8. 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?
  9. Snubby

    Modifying Pages

    Cool, thanks for all the help guys. I'm going to learn about databases.
  10. Snubby

    Modifying Pages

    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?
  11. Snubby

    Modifying Pages

    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.
  12. Snubby

    Modifying Pages

    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!
  13. 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!
  14. Snubby

    Simple PHP Help

    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!
  15. Snubby

    Simple PHP Help

    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.
  16. 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
  17. 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 () { /**/ }
  18. Snubby

    PHP+Flash

    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.
  19. Snubby

    What does this mean?

    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
  20. Snubby

    Mail : : From

    Thanks! I guess I missed that part, I see it now next time ill triple check.An Email form I made
  21. Snubby

    Mail : : From

    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?
  22. 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
×
×
  • Create New...