Jump to content

Kizzie33

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

About Kizzie33

  • Birthday 12/02/1993

Contact Methods

  • MSN
    kizzie33@hotmail.com
  • Website URL
    http://parkhallacademy.org.uk

Profile Information

  • Gender
    Male
  • Location
    Birmingham, UK

Kizzie33's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Well, the hardest part was, i never new how many ajax requests may of been made cus a page was created by php which would have a varing amount. How i solved it was, i didnt do multipal requests. each request was added to the end of an array. then a processor went over the array deleting each one as it went along and deling with the current request. It worked rather well but it isnt that fast but its enough. It can handle what i want it to do
  2. couldnt you just put the add in a iframe then put the add on a differnt page on its own and get the js to keep realing it ever x amount of time
  3. basicly, i want to run multipal ajax requests,and ive spent the day messing with this. getting different info of everyone. did you know ajax.onreadystatechange = checkup; you cant use checkup('hello'); becuase it only gets to state 1 then stops ! So i have no idea to tell which request is currently being processed becuase i can pass any data one to the processor or get the URL header of the request ! So ideas on how i can tell which request is currently being processed at all stages 1,2,3 and 4 please ! :'( IF theres any more info you need just ask
  4. you could, first to you connect get all the rows, store that.start a different variable at 0, then each user you process just ++ that and then edit a div <div id="hi"></div> t= amount fo users x= 0 function{ x++ do your user stuff what ever document.getelementById('hi').innerHTML = x."/".t } If that makes sence ? I would make sure the spellings right if you copy and paste that ^] hope it helps !
  5. Kizzie33

    FFmpeg

    I spent ages looking for this, so when i found it i had to share it on the web. It works !!! ( took me 2 days) Warning this only works if you already have the ffmpeg libary already installed ( my host did). you need the laod extenstion bit $extension = "ffmpeg"; $extension_soname = $extension . "." . PHP_SHLIB_SUFFIX; $extension_fullname = PHP_EXTENSION_DIR . "/" . $extension_soname; // load extension if(!extension_loaded($extension)) { dl($extension_soname) or die("Can't load extension $extension_fullname\n"); } $exec_string = 'ffmpeg -i /home/parkhall/public_html/bands/design/uploads/001Spin.mp3 /home/parkhall/public_html/bands/design/uploads/omfg.mp3'; exec($exec_string);
  6. I spent ages looking for this, so when i found it i had to share it on the web. It works !!! ( took me 2 days) Warning this only works if you already have the ffmpeg libary already installed ( my host did) $extension = "ffmpeg"; $extension_soname = $extension . "." . PHP_SHLIB_SUFFIX; $extension_fullname = PHP_EXTENSION_DIR . "/" . $extension_soname; // load extension if(!extension_loaded($extension)) { dl($extension_soname) or die("Can't load extension $extension_fullname\n"); } $exec_string = 'ffmpeg -i /home/parkhall/public_html/bands/design/uploads/001Spin.mp3 /home/parkhall/public_html/bands/design/uploads/omfg.mp3'; exec($exec_string);
  7. Below is some javascript code that will automatically expand the iframes that we currently use to embed forms. (1) Paste The blow to the head <script language="JavaScript"> <!-- function calcHeight() { //find the height of the internal page var the_height= document.getElementById('the_iframe').contentWindow. document.body.scrollHeight; //change the height of the iframe document.getElementById('the_iframe').height= the_height; } //--> </script> (2)Paste the code below to the body and replace "your page here" with your url <iframe width="100%" id="the_iframe" onLoad="calcHeight();" src="your page here" scrolling="NO" frameborder="0" height="1"> An iframe capable browser is required to view this web site. </iframe> I hope this helps others wonting this solution
  8. I need to do what i put to be honest, im building a basic proxy server the I need to change all the herf's So it will be herf="/help/index.php" - for example Now herf=" will never change an it will always end with " And once i have the /help/index.php i wont to encrypt it with any basic encryption key which can then be decrypted later. Again sorry if i over complicated it Thankyou !!
  9. I know you can do ereg_replace(); to find and replace a specific word but i wont to know if i can edit a segment if i dont know what the middle is. I dont know what the middle is but i know whats at the start a middle E.g. src="http://what.ever/goeshere" src=" and " will never change but whats in the middle will change is there a piece of code that will locate the src" and edit whats in the middle and stop at the next " ?? Thankyou ! And i hope i explained it in the least confusing way, im forever over complicating things
×
×
  • 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.