Jump to content

debug

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

debug's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks so so much I didn't know about the array_rand function either, so thanks again.
  2. Hi- I've uploaded the code here as its still acting weird and spitting some weird errors: www.reality-debug.co.uk/generativeBG.zip Thanks for this! please excuse all badly named variables (its a habit of mine).
  3. I've tried both methods and the first didn't make any difference whatsoever and the second did appear to be attempting to load a new image (the page took longer to load) however it just returned a '?' swatch so I'm guessing it can't find the file. Heres the link: http://www.reality-debug.co.uk/index_new.php Do you want me to upload the code?
  4. Thanks! that worked first time! but for some reason everytime I refresh the page the image fails to update (its a generative image that should change with every refresh). heres the code I'm using: // this is within the index.php file <div id="backgroundImage"><img src="generative.php"></div> --- // this is within the generative file (its just the end of the code as its a big file): header('Content-Type: image/png'); imagepng($handleBG); imagedestroy($handleBG); ?> Thanks again
  5. Hi- Yesterday I wrote a quick script to generate an image using the GD graphics library and it works great however now when I try to put the code into a Div tag I'm getting a error stating that the header has already been set and then it churns out a load of garbage (which I assume is the png file in its raw format). any ideas how I could embed my generated image into a div tag? Thanks
  6. Hi- Yesterday I wrote a quick script to generate an image using the GD graphics library and it works great however now when I try to put the code into a Div tag I'm getting a error stating that the header has already been set and then it churns out a load of garbage (which I assume is the png file in its raw format). any ideas how I could embed my generated image into a div tag? Thanks
  7. Hi- I've got the following code and it works when i call it from a button (code included) but when i put it in a function to call from 'onload' it doesn't work, any ideas? Thanks! <script language="javascript" src="Tween.js"> function loadSwish(){ t1 = new Tween(document.getElementById('titleMenu').style,'top',Tween.elasticEaseOut,-100,27,2,'px'); t1.start(); } </script> <body onload="loadSwish()"> <input type="button" value="start()" onclick=" t1 = new Tween(document.getElementById('titleMenu').style,'top',Tween.elasticEaseOut,-100,27,2,'px'); t1.start();">
  8. Hi- Any ideas why i'm getting the message '404 - controller.php not found' from this bit of code? Thanks. $url = "http://www,reality-debug.co.uk/index.html"; if (!($fp = fopen($url, "r"))) { die("cannot open ".$url); } $contents = ''; while ($line = fread($fp, 50000)) { $contents .= $line; } fclose($fp); echo $contents;
×
×
  • 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.