User Profile

Collapse

Profile Sidebar

Collapse
electronik
electronik
Last Activity: Dec 23 '09, 12:29 AM
Joined: Dec 17 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • electronik
    replied to Mysql DATETIME
    I dont want to store the datetime in a diffrent format...
    I want to edit them on every INSERT UPDATE or SELECT
    INSERT 20.01.2010 --> 2010-01-20
    SELECT 2010-01-20 --> 20.01.2010
    so that I dont have to change it on every query.
    See more | Go to post

    Leave a comment:


  • electronik
    replied to Proxy on website
    in PHP
    the solution in PHP would be:
    Code:
    echo file_get_contents('http://www.example.com/');
    but thats not a proxy it just gives you the html from the site... not the images and other data..
    So if there is a link to a file on the site with the URL example.com the browser would try to get it from there... and fail because of the filter

    A solution could be setting up a dynamic DNS... if the filter is name base
    ...
    See more | Go to post

    Leave a comment:


  • electronik
    started a topic Mysql DATETIME

    Mysql DATETIME

    I dont really have a problem, but I want to make my code faster and prettier.
    I have some tables with DATETIME in it.
    They have the std format %Y-%m-%d %H:%i:%s
    I need them to be in %d.%m.%Y %H:%i format.

    I tried to fix it with the server variable "datetime_forma t".
    After reading a lot in mysql doc I found out that:

    http://dev.mysql.com/doc/refman/5.0/en/server-system-variables....
    See more | Go to post

  • electronik
    replied to md5 file
    in PHP
    There are rainbow tables but I guess that the original string is too long for that...
    See more | Go to post

    Leave a comment:


  • electronik
    started a topic How to access stdClass
    in PHP

    How to access stdClass

    Hello!
    My var_export() from $object says:

    Code:
    stdClass::__set_state(array(
       'event_id' => '21',
       'test' => 5,
       'anode' => NULL,
    ))
    I want to access 'anode'.

    How can I do that?
    See more | Go to post
    Last edited by Dormilich; Dec 18 '09, 07:26 AM. Reason: added link to var_export()
No activity results to display
Show More
Working...