Jump to content

andyjimmy

Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

andyjimmy's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, This should do the job if you modify it to your code <form> <input type=hidden name="hidden" id="hidden"> <input type=button value="Fill Hidden" onClick="fillHidden('hidden','value');"> </form> <script> function fillHidden(hidden_id,value) { document.getElementById(hidden_id).value=value; } </script>
  2. Hey Guys, Man IE has to stop being so crap. document.getElementById('done').setAttribute("onClick","transport_query('" + data_id + "');"); The done element is a button that needs to have the value that is sent to the function transport_query. FF works great... IE doesn't Does someone have a simple workaround that either works for both, or just works for IE (and i can make a switch depending on the browser) Thanks in Advance.
  3. Awesome! I will have to look into it with my host and also look into how it all works. Thanks everyone for your help
  4. Thanks for the quick replies already... What actually is mencoder? I checked my phpinfo() and it isn't listed in there
  5. I don't know if this is even possible, but I knew that this would be the best place to ask. What i'm looking to do it to have users upload their AVIs (divx or xvid etc) and have my script convert them into FLV, obviously behind the scenes as it would take quite some time to do. Does anyone know of any resources, perhaps ready made scripts, additional librarys that would make it possible, anything to shed some light on this area would be most appreciated as i didn't turn anything up googling. Thanks in advance.
  6. Thanks Tom, A very simple solution, thankyou, i hadn't even thought of using php to fulfil this need, but serverside is definately a better solution! Andy
  7. Hi All, The title of my question does seems rather ambiguous, but please allow me to explain. What i'm looking to impliment is this, I want http://mydomain.com/artist/artist_name.html to load in two different ways depending on how they are loaded. For example if you put http://mydomain.com/artist/artist_name.html into your browser address thingo it loads up the page complete with page headers, the information about the artist and the page footer, just like a normal website. --BUT-- If its loaded in an iframe it only displays the artist info. I hope that makes sense. So what i'm after is something in the artist_name.html that recognises the iframe that it has been loaded in. Does anyone know if this is even possible, can anyone point me/ provide me with some code etc that would give the desired result. Kind Regards and thanks in advance!!
  8. Hi, I have been scratching me head alot with attempting to detect the presence of the Java Plugin. I have tried if (navigator.javaEnabled) alert('Java Installed') I have also tried a number of scripts that claim to detect java etc on a wide variety of browers, with no sucess. I have tried all of these on internet explorer and firefox on my windows xp machine. but with no success and from what i've read most people seem to have problems with detecting java in winxp. Does anyone know how to detect Java in winxp? Thanks, Andy
  9. Hi everyone, My host has recently upgraded to PHP 5.0.4, which i love the new image manuipulation features, but sadly one of my sorting scripts no longer works. the script terminates... no error messages... no nothing [code] function DESC($a, $b) {       return strcasecmp($b[1],$a[1]); } function ASC($a, $b) {     return strcasecmp($a[1],$b[1]); } if ($dir=="DESC") usort($transport_info, 'DESC'); else usort($transport_info, 'ASC'); [/code] How can i make this compatible with PHP5, i have heard that there is something about it that won't return values from functions or something like that. Perhaps there is a work about way to get this going that works with both PHP4 and PHP5 Thanks in advance for your help and advise
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.