1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

File Input Get Contents

Discussion in 'PHP' started by Pudge1, Aug 13, 2009.

  1. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #21
    Flash, as it can just be hidden and controlled via javascript.
     
    premiumscripts, Aug 16, 2009 IP
  2. Pudge1

    Pudge1 Well-Known Member

    Messages:
    912
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    Digital Goods:
    1
    #22
    So would there be any indication there was flash like would there be a popup asking them if they want to allow this flash object to run?
     
    Pudge1, Aug 16, 2009 IP
  3. Gray Fox

    Gray Fox Well-Known Member

    Messages:
    196
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #23
    Don't think so, flash can even be used for some very sneaky operations (like cookie-stuffing) without any problems.
     
    Gray Fox, Aug 16, 2009 IP
  4. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #24

    As can PHP, quite easily I might add.
     
    kblessinggr, Aug 16, 2009 IP
  5. Pudge1

    Pudge1 Well-Known Member

    Messages:
    912
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    Digital Goods:
    1
    #25
    Yes very easily actually.
     
    Pudge1, Aug 16, 2009 IP
  6. Gray Fox

    Gray Fox Well-Known Member

    Messages:
    196
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #26
    [offtopic]
    But it's limited to one site's cookie if I'm not mistaken? If you use .htaccess with an image?
     
    Gray Fox, Aug 16, 2009 IP
  7. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #27
    Nope, you can basically forward the headers of a url to the browser (which may include cookies) so it gets stuffed. Kinda like someone stuffing a visitor's cookies with amazon and ebay cookies simply from viewing an image that's really a php file.
     
    kblessinggr, Aug 16, 2009 IP
  8. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #28
    Flash and Java are pretty equal on blendability. Both have methods to create your own interface pieces.

    The first thing you'll want to do is determine how many of your visitors have either enabled. I have a mobile site for instance, with 41% of visitors not having Java enabled and 34% of visitors without a Flash version being defined. I've got another non-mobile site with 26% not having Java and 14% not having Flash. On a third site I have 1% without Flash and 11% without Java. As you can see the numbers can vary wildly.

    I use Google Analytics to determine these numbers.

    Another thing to consider, is the ease of installation issue. Installing Flash Player is almost idiot proof, where as installing Java usually gives people headaches.

    Java is more powerfull than Flash, in fact Flex uses Java to compile the bytecode for SWF files, but for an end user Flash is probably going to be your better option, in my opinion.
     
    joebert, Aug 16, 2009 IP
  9. Pudge1

    Pudge1 Well-Known Member

    Messages:
    912
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    Digital Goods:
    1
    #29
    Can I just make it upload normally if they don't have Flash installed? Also can someone help me make this Flash thing? And will I have to make my whole upload script out of Flash now?
     
    Pudge1, Aug 17, 2009 IP
  10. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #30
    Use swfobject to include the flash file, with swfobject you can have the normal upload dialog in a div, but if javascript kicks in and they have flash it will replace that div with the flash method upon load of the page.

    http://code.google.com/p/swfobject/
     
    kblessinggr, Aug 17, 2009 IP
  11. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #31
    premiumscripts, Aug 17, 2009 IP
  12. Pudge1

    Pudge1 Well-Known Member

    Messages:
    912
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    Digital Goods:
    1
    #32
    Thanks to both of you.
     
    Pudge1, Aug 17, 2009 IP