Search results

  1. L

    Decode footer

    lol, null a theme.....
  2. L

    [CODE]Extracting Video Links from YouTube Playlist

    why not use the api ? $url="http://gdata.youtube.com/feeds/api/videos/KHLrEF9tHjw/related"; $comments=simplexml_load_file($url); foreach($videos->entry as $video) { echo $video->title . "<br />"; }
  3. L

    remove attribute in jquery itself

    $(".someclass").bind("mousedown",function(e){ //callback $(this).unbind(e); })
  4. L

    [PHP] SLN - Server Load Notifier v1.0 - Opensource

    Why email, why not just write to log file, and people should also note that is only for Unix servers.
  5. L

    Anyone Who Knows PHP Programing

    This dies not make a difference in PHP, single quotes are used for escape chars
  6. L

    Anyone Who Knows PHP Programing

    session_start(); $status = isset($_SESSION['status']) ? $_SESSION['status'] : "OFF"; switch($status) { case "ON": $status = $_SESSION['status'] = "OFF"; break; case "OFF": $status = $_SESSION['status'] = "ON"; break; }
  7. L

    preg_replace first half of matches ?

    People should read the manual a little more in depth: Meaning you can go: $total_found = preg_match_all('(\[img=.*?\])',$subject); $test = preg_replace($pattern,'replaced',$test, ceil($total_found / 2)); echo $test; The 4th param is the limit variable, not to be confused with the 5th param...
  8. L

    New Q&A Site - Support needed

    All committed members will be the chosen to trial the beta stages yes, after beta there is the public beta where all users can test and begin making this grow. if all goes well and content is generated at a healthy growth then we will finalize the design and create a domain for this.
  9. L

    New Q&A Site - Support needed

    samples can no longer be added during the committed stage, that's only within the definition stage. thanks for supporting :)
  10. L

    New Q&A Site - Support needed

    Heya guys. Im currently working on a new project that needs members to be committed in order to launch the project. The paragraph below sums up what the site is: So far the site has gone threw some primary stages where fellow users have create example questions what may be asked and...
  11. L

    [PHP]Include functions scope

    To be honest you want to place all your methods in a Namespace and then there will be no conflict. namespace Functions { function file_get_contents($path) { return \file_get_contents($path); //the \ is to resolve at the root scope } } then use like so: $data =...
  12. L

    What CPU do you use at home?

    AMD Are shit.
  13. L

    Link checker idea

    +1 Splitice.
  14. L

    google crawler poting values on my site WTF ?

    all i see is your site has too many connections to mysql
  15. L

    PHP List Hierarchy

    References are not ugly, if i used a custom class for storing the data they would be passed by reference anyways as of PHP5 References allow control over the data in the memory, as your referencing data and not creating new ones. This is a new technique that should be used as standard, if he...
  16. L

    Happy Birthday LiteWarez :)

    Thanks Guys, Merry Crimbo!!
  17. L

    PHP List Hierarchy

    The problem is that most programmers including the better ones will always do recursive calls to the database, causing higher load on the DB. You can do this in a single pass, using PHP References. Example: $refs = array(); $list = array(); //This is the baby $result = mysql_query("SELECT *...
  18. L

    Creating a simple Object Config system in PHP

    Creating a config system that's suitable for any website application, this is the way 1 of the ways I use. Why? It has a global scope You can enable / disable changes to protected configs You can add any settings during anywhere within runtime. You can make the class automated to fetch public...
  19. L

    64Bit OS on 32Bit Architecture... Whhaaaa

    x86-64 is an extension of the x86 instruction set. It supports vastly larger virtual and physical address spaces than are possible on x86, thereby allowing programmers to conveniently work with much larger data sets. x86-64 also provides 64-bit general purpose registers and numerous other...
  20. L

    64Bit OS on 32Bit Architecture... Whhaaaa

    Get back to me if no one else has a better prospective on it.
Back
Top