www.webdeveloper.com

Search:

Type: Posts; User: dk_zero-cool

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: bcompile

    by dk_zero-cool
    Replies
    0
    Views
    1,128

    bcompile

    Hi.
    I'm playing with PHP bytecodes. I tried Zend Guard and got it running, but it's just a 3 day trial version, and 600 is way overpriced for a private testing enviroment. Instead I took a look at...
  2. Thread: WebGL

    by dk_zero-cool
    Replies
    0
    Views
    456

    WebGL

    Hi.
    I'm not much of a 3D programmer, or any kind of graphics for that mater, although I do work with JavaScript a lot.

    However I do know some about what things like OpenGL and such are for. I...
  3. Replies
    2
    Views
    1,380

    Ok. Thx for the answer. I will play around with...

    Ok.
    Thx for the answer. I will play around with the compiling stuff and see if I can fine any useful differences.
  4. Replies
    2
    Views
    1,380

    Two Ques. INI files and PHP Compilers

    Hi. I have two questions.

    1: There are several ways of compiling your PHP work to be used on a web server. This is mostly used, I believe, for proprietary reasons, but what I would like to know is...
  5. Replies
    7
    Views
    4,176

    Well, the real project where I need this is a bit...

    Well, the real project where I need this is a bit more complex than my error handler testing files. There is a lot of different classes in separate files where some classes uses something from...
  6. Replies
    7
    Views
    4,176

    My bad, I made a typing error in the bad file...

    My bad, I made a typing error in the bad file example.
    The error I am triggering in that file is not a parse error do to the missing function name (Which I don't have in the real testing file). I am...
  7. Replies
    7
    Views
    4,176

    I tried putting class_exists("msg", true); in the...

    I tried putting class_exists("msg", true); in the handler, but that won't execute __autolaod either.
  8. Replies
    7
    Views
    4,176

    Not sure on how I would put it in the autoload...

    Not sure on how I would put it in the autoload function. That function is not executed before the e_handler is executed.

    I tried this instead


    function class_load($sClass) {
    ...
  9. Replies
    7
    Views
    4,176

    __autoload and E_STRICT

    Hey.
    I have a problem with PHP's __autoload option when certain errors occurs. I have these test files to try to locate the problem.

    index.php

    function class_load($sClass) {
    include...
  10. Replies
    1
    Views
    799

    Well figured out the Chrome problem. The...

    Well figured out the Chrome problem.
    The container is a table cell, an although I have a fixed size on the table, the table cell still goes to 0 in height en width when completely empty. If I leave...
  11. Replies
    1
    Views
    799

    What does the browsers do?

    Hi.
    I build a small Flash image screener (Or what to call it) replacement in JavaScript. You know the small flash images that changes image every second or so (Hate them, and know it's not for me)
    ...
  12. Replies
    11
    Views
    1,494

    #7 I'm not talking about actual windows. It's...

    #7

    I'm not talking about actual windows. It's JavaScript controlled Windows build out of DIV Elements and images.

    #8

    I know, and it's the same thing. The memory is deleted.
    But I will...
  13. Replies
    11
    Views
    1,494

    It will not destroy the object, no. But it will...

    It will not destroy the object, no. But it will still destroy all the data that takes up space in the memory. And for now that seams to be the closest thing I will get.

    What I need it for.
    Ok, I...
  14. Replies
    11
    Views
    1,494

    It's not quite what I need. I need to delete an...

    It's not quite what I need. I need to delete an object using one variable. And I can't always know if or what the others might be.

    The closest thing I have, is deleting all indexes from the...
  15. Replies
    11
    Views
    1,494

    References

    Hi.
    I have a question about how JavaScript handles references.

    Example:
    Let's say I have two variables that contains an object where one is a reference to the other.

    var object1 = new...
  16. There is nothing wrong with that for loop. And...

    There is nothing wrong with that for loop. And I'm not sure what you want to do?
    The reason why the output prints 1 every time, is that you are looping more than once pr "for loop". The "for" loops...
  17. First of all, why do you make so many connections...

    First of all, why do you make so many connections to the database?
    Make ONE connection an re-use it.

    Second, use DESC on your query to make sure the date is ordered correctly.

    Third, Use...
  18. Replies
    16
    Views
    1,426

    Might agree with some of it. But they do provide...

    Might agree with some of it. But they do provide some useful options when extending classes, that before PHP's support has forced lots of people to do hours, days or/and even month of head spinning...
  19. Replies
    8
    Views
    923

    Nice, You have no idea how many problems I have...

    Nice, You have no idea how many problems I have had some times with preg_replace and subpatterns where this could have helped. This I got to remember :)
  20. Replies
    8
    Views
    923

    Hmm, are you sure that your's only allows valid...

    Hmm, are you sure that your's only allows valid emails? It looks like it allows some pretty weird looking emails?

    Btw now I need to ask. (?: is seen many times, but what does it do. Don't know...
  21. Replies
    8
    Views
    923

    Sorry, I'm making a complete match from start to...

    Sorry, I'm making a complete match from start to end.


    preg_match_all("/([\w-]+@[\w-]+\.[a-z]{2,4})/i", $string, $matches);
  22. Replies
    8
    Views
    923

    preg_match_all("/^([\w-]+@[\w-]+\.[a-z]{2,4})*$/i"...

    preg_match_all("/^([\w-]+@[\w-]+\.[a-z]{2,4})*$/i", $string, $matches);
    print_r($matches);

    Not tested, but should work.
  23. Replies
    2
    Views
    680

    $content =...

    $content = md5(file_get_contents('http://www.google.com/'));

    if($saved_sum != $content) {
    do something;
    $saved_sum = $content;
    }

    Then you just store the value from $saved_sum in a...
  24. Replies
    11
    Views
    1,212

    I purged sendmail when I installed postfix, but...

    I purged sendmail when I installed postfix, but for some reason it was still locked on to port 25 even though it wasn't installed or running.

    postfix works like a charm now :)
    Thanks a lot for...
  25. Replies
    11
    Views
    1,212

    In the *.warn I have this line

    In the *.warn I have this line
Results 1 to 25 of 240
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles