www.webdeveloper.com

Search:

Type: Posts; User: ellisgl

Page 1 of 15 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    867

    Well unfortunately - No more help from me if your...

    Well unfortunately - No more help from me if your purposes are for evil.
  2. Replies
    1
    Views
    672

    Great if you are looking for all possible...

    Great if you are looking for all possible combination's for what is given.
    http://www.charles-reace.com/PHP_and_MySQL/Anagram_Finder/index.php

    You could look at soundex functions...
  3. Replies
    6
    Views
    867

    Your matching might be something like this: (

    Your matching might be something like this:
    (<a href=("|')(.*)\?(.*)("|').*>.*</a>|<img src=("|')(.*)\?(.*)("|').*>)
  4. Replies
    6
    Views
    867

    You would have to use preg_match to find the tags.

    You would have to use preg_match to find the tags.
  5. Replies
    10
    Views
    1,059

    Ok - after fixing my error logging calls, I ended...

    Ok - after fixing my error logging calls, I ended up with another story for why the script was dying. My MySQL wrapper wasn't reselecting the DB after reconnect. Doh.. Of course we'll see tomorrow if...
  6. Replies
    10
    Views
    1,059

    During my test on the code last night, I would...

    During my test on the code last night, I would stop the server that it was connected to.. Then start it back up and it worked. But this morning, the script died with the message basically stating 2...
  7. Replies
    10
    Views
    1,079

    http://www.phpclasses.org/browse/package/2996.html

    http://www.phpclasses.org/browse/package/2996.html
  8. Replies
    10
    Views
    1,059

    My error handler shows this in the log: 20080919...

    My error handler shows this in the log:
    20080919 07:00:45
    manager.php
    fsocketopen
    Could not reconnect after 2 retries
    --------------------
  9. Replies
    10
    Views
    1,059

    Hmmph.. Ok - I have $maxRetries set for 120 -...

    Hmmph..
    Ok - I have $maxRetries set for 120 - but the script dies after 2 retries... What the..... Weird.
  10. Replies
    4
    Views
    898

    Magic = evil! =)

    Magic = evil! =)
  11. Replies
    2
    Views
    532

    Just get ModX

    Just get ModX
  12. Replies
    10
    Views
    1,079

    Why 2 days for St. Patrick's? ...

    Why 2 days for St. Patrick's?

    http://www.smart.net/~mmontes/ushols.html will give your more holidays, also don't forget holidays which dates change each year.. Look at the end of the page for...
  13. Replies
    10
    Views
    1,059

    This quickly done version works fine.. ...

    This quickly done version works fine..


    <?php
    // Run "forever"
    set_time_limit(0);

    /**
    * Configuration of reconnection stuff
    */
  14. Replies
    10
    Views
    1,059

    It's the second one: // Double check our...

    It's the second one:


    // Double check our stream
    if(feof($socket))
    {
    // Try again?
    if($reconnect === 1)
    {
    $tries = 0;
  15. Replies
    10
    Views
    1,059

    Drunken compairison?

    I have a script that connect to server. I need to be able to reconnect on a disconnect. The first reconnect part of my script works on the initial connect.. But if the connection is broken during the...
  16. Replies
    1
    Views
    735

    $exploded_term=explode('|',$term); ...

    $exploded_term=explode('|',$term);

    $exploded_term would be a simple array with two elements. 0 and 1 - 0 would be 2 and 1 would be 5.99.

    simple test would be to do this:


    <?php
    $term ...
  17. Just in you wanted to know how I tested: ...

    Just in you wanted to know how I tested:


    <?php
    // No Timing out.
    set_time_limit (0);

    class BenchMark
    {
    private $start = "";
  18. After doing some tests - this is faster... ...

    After doing some tests - this is faster...


    <?php
    $action = array();
    $ip_address = array();
    $hostname = array();
    $comments = array();
    $action = $_POST['action'];
    $ip_address =...
  19. Explaination:...

    Explaination: http://www.electrictoolbox.com/php-echo-commas-vs-concatenation/
  20. Yeah - finding the count before the loop really...

    Yeah - finding the count before the loop really speeds things up since you only check the variable for a integer each iteration of the loop instead of having to count the elements each iteration.
    ...
  21. Opps I should have really commented my code. ...

    Opps I should have really commented my code.



    // Get the number of elements in the array $action and subtract 1
    // to get get the loop to work right with loop counter offset
    $x =...
  22. The reason to put a "\n" after a line break is...

    The reason to put a "\n" after a line break is that if you are trying to trouble shoot via HTML, it will look a bit more pretty.
  23. View Post

    <?php
    $action = array();
    $ip_address = array();
    $hostname = array();
    $comments = array();
    $action = $_POST['action'];
    $ip_address = $_POST['ip_address'];
    $hostname =...
  24. Thread: form to mail

    by ellisgl
    Replies
    5
    Views
    1,152

    Could you post the code?

    Could you post the code?
  25. Replies
    4
    Views
    1,039

    Yes, I think your HTACCESS file is the issue here.

    Yes, I think your HTACCESS file is the issue here.
Results 1 to 25 of 361
Page 1 of 15 1 2 3 4
HTML5 Development Center



Recent Articles