Search results

  1. kbjradmin

    PHP - unlink() returning true, but not deleting file

    I am using the following PHP function to recursively delete directories: class Classname{ //... public function rmdir($dir) { if (is_dir($dir)) { $objects = scandir($dir); foreach ($objects as $object) { if ($object != "." && $object != "..") { chmod("$dir/$object", 0777)...
  2. kbjradmin

    Take a screenshot of a client browser

    alright, i have a javascript "application" that allows the user to add new elements, move them around, and create a design. when they are finished, they need to be able to submit their design. i considered maybe json encoding the information i need about the elements and uploading that, i just...
  3. kbjradmin

    Take a screenshot of a client browser

    hello all, i am working on a webpage and i need to be able to take a screenshot of the client's browser window (or at least a portion of it). from my searching i have found that this cannot be done in JavaScript, but that it may be able to be done using Java. i honestly know nothing about Java...
  4. kbjradmin

    Just another web template

    yes, i know that there are a few problems and bug here and there. i am working on those. i mainly am interested in what people think of the idea. as a side note: i am aware that this template currently looks really crappy in IE. i am working on it...
  5. kbjradmin

    Just another web template well, there you go. what do you guys think?
  6. kbjradmin

    XML Parsing Error: no element found Location

    i don't know a lot about aspx (therefore, please correct anything wrong that i say), from what i've gathered by searching around, your error seems to mean that your document is empty, usually resulting from some sort of exception being thrown before any output can be made. however, without being...
  7. kbjradmin

    2,222 credits - Menu Bar Design

    how about that?
  8. kbjradmin

    Custom Fonts in Internet Explorer

    awesome @leviathon, i will have to bookmark that (:
  9. kbjradmin

    Custom Fonts in Internet Explorer

    if you want to cut back on the code in your html document, you could put a lot of that in an external file like this index.html <!--[if IE]> <link rel="stylesheet" href="ie-only.css" /> <![endif]--> <link rel="stylesheet" href="main.css" /> ie-only.css @font-face {...
  10. kbjradmin

    Custom Fonts in Internet Explorer

    i've done some looking around, and from what i can tell, the best way to do it is to use conditional comments to do the IE part. eg. <!--[if IE]> <style type="text/css" media="all"> @font-face { font-family: Bleeding Cowboys; font-style: normal; font-weight: normal; src...
  11. kbjradmin

    Custom Fonts in Internet Explorer

    first, your code there is valid CSS3. second, what version of IE are you using? as far as i'm aware, older versions of IE do not support custom fonts at all. (although i'm not sure on that). edit: woot! 500th post!
  12. kbjradmin

    Gaming & Tech Website Staff Needed

    i'm interested. please PM me some info. edit: actually, i PMed you...
  13. kbjradmin

    Help with draggable layers javascript

    sorry for the late reply, but if this is still a problem, perhaps this could be helpful
  14. kbjradmin

    2,222 credits - Menu Bar Design

    maybe something sort of like this . . . ? obviously, the styles can be changed to whatever you want...
  15. kbjradmin

    Maybe this will save someone some time . . .

    i'm not quite sure if this is the right place to post this; if not, please just move it (: anyway, i recently decided to change over my http error handling from storing information in a hard-coded file to storing it in a database. i figured this might be helpful to someone else out there, so...
  16. kbjradmin

    Javascript and radio buttons help

    yes, that should work; however, a caution, on the second line, I ended it with a comma (, ) not a semi-colon(; ). the comma tells it that the "var" statement isn't over, the semi-colon, though, ends the "var". This can have bad effects depending on what the rest of your code looks like. I would...
  17. kbjradmin

    PHP mail problem

    try doing $sent = mail(...); echo $sent; and see what you get. true means your message was sent, false means it wasn't