www.webdeveloper.com

Search:

Type: Posts; User: TJ111

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    4,647

    Thanks, that fixed it.

    Thanks, that fixed it.
  2. Replies
    4
    Views
    4,647

    This is in IE7, although I do have pngfix enabled...

    This is in IE7, although I do have pngfix enabled for IE 6, I'm not heavily supporting IE6 for this application so background-position isn't a big deal.


    <!--[if lte IE 6]>
    <style...
  3. Replies
    4
    Views
    4,647

    [RESOLVED] IE background Position

    I'm having a problem with background-position. I'm trying to align icons to be centered to the left of some text. It work's fine in every browser except IE.

    IE: http://screencast.com/t/mUnXockif...
  4. Replies
    1
    Views
    620

    The solution was semi-simple to this. All I...

    The solution was semi-simple to this. All I needed to do was sort the rows array similar to how I sorted the cells array. It took a little while to come up with it, but I got it. In case people...
  5. Replies
    1
    Views
    620

    [RESOLVED] Table Sorting

    I'm having a small problem with a table sorting class (in mootools) that I'm working on. Since my needs will be very specific, I'd rather write one from scratch then get into the code and modify...
  6. Replies
    1
    Views
    712

    Personally I swear by PhpED...

    Personally I swear by PhpED, but if money is an issue Eclipse PDT is pretty decent as well. Of course everyone has their own opinions, wants, and needs about their IDE, so its up to personal...
  7. Replies
    7
    Views
    5,885

    Read this comment (and the one below it) from the...

    Read this comment (and the one below it) from the php website and see if they help you at all. http://us3.php.net/manual/en/function.mime-content-type.php#79166
  8. Replies
    6
    Views
    1,114

    All that is being returned from the server is...

    All that is being returned from the server is "<select name='flvfile' size='1'></select>". How are trying to populate the select object?
  9. Replies
    6
    Views
    1,114

    The link you included returns 404 not found.

    The link you included returns 404 not found.
  10. Replies
    4
    Views
    6,059

    You have two options. Read the file...

    You have two options. Read the file line-by-line, or use a memory buffer to limit the amount of file being parsed at a time, which will be a littler faster.

    line by line


    $file = "file.txt";...
  11. LONGTEXT is probably way more text than you will...

    LONGTEXT is probably way more text than you will ever need, it can hold over 4 trillion characters. MEDIUMTEXT can hold ~16 million characters, which is still way more than will probably ever by...
  12. Replies
    9
    Views
    1,292

    Thanks for the reply Znupi. After fiddling...

    Thanks for the reply Znupi. After fiddling around for a while, I found preg_replace_callback() which seems to be what I need for this. The only issue is that it seems you can't use arrays as...
  13. Replies
    7
    Views
    936

    Generally speaking, PHP 4 OOP structures will...

    Generally speaking, PHP 4 OOP structures will work in PHP 5. There could be a few minor issues, but the for most part PHP 5 is backwards compatible.
  14. Replies
    9
    Views
    1,292

    In the preg_replace function, yes it can....

    In the preg_replace function, yes it can.
    http://us.php.net/manual/en/function.preg-replace.php

    If thats not what you meant, lemme know.
  15. Replies
    9
    Views
    1,292

    create_function() issues

    I need to create preg_replace arrays and some of them need to use the return results of the "matches" after being passed to a function. However, when simply creating the arrays beforehand, it uses...
  16. Replies
    7
    Views
    936

    That is correct, also functions can't be set as...

    That is correct, also functions can't be set as private or protected in PHP 4, and also you can't create static variables or functions.

    There are a several other differences, but the main one is...
  17. Replies
    7
    Views
    936

    This is what is referred to as Object Oriented...

    This is what is referred to as Object Oriented Programming (OOP). The keyword $this refers to the current implementation of the class. I know that sounds weird, but its much simpler than it sounds....
  18. Replies
    3
    Views
    766

    You definitely have a very solid knowledge of...

    You definitely have a very solid knowledge of HTML (and CSS) before you start learning how to program in PHP. While it's not required, most basic uses of PHP are to generate HTML, and to be able to...
  19. You should try to use...

    You should try to use "document.getElementsByTagName". For example, to get an array of all your select elements in the form above, you could use this:


    var selects =...
  20. Here's how I would do it. Store the initial data...

    Here's how I would do it. Store the initial data in a global object, then just reference the element when you call the checkModified() function. That way you won't need any loops, and it makes your...
  21. Replies
    2
    Views
    781

    That is correct. For more information about...

    That is correct. For more information about regular expressions, check out the link in my signature.
  22. Replies
    0
    Views
    949

    callStatic() overloading pre-5.3

    I'm trying to overload a singleton class that uses all static methods for dynamically loading class files (similar to __autoload() in a way). However, the __callStatic() magic method wasn't...
  23. Thread: Community Sites

    by TJ111
    Replies
    7
    Views
    1,727

    It depends on the type of License the CMS is...

    It depends on the type of License the CMS is released under. The majority of open source licenses containing clauses saying you are free to modify them to your will, although some limit the ability...
  24. Thread: Opening Times

    by TJ111
    Replies
    1
    Views
    654

    Maybe check the closing times, and if less then a...

    Maybe check the closing times, and if less then a certain number, add 24 hours to it so it appears to be the same day. For example.


    $close = ($row['close'] < 6) ? $row['close'] + 24 :...
  25. Replies
    7
    Views
    5,885

    Use mime_content_type to test the actual mimetype...

    Use mime_content_type to test the actual mimetype as determined by the mimetype field written in the first few bytes of the file. Of course these can be spoofed, but it's more secure then just using...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles