1. accessing an object like an array

    Date: 02/20/09     Keywords: no keywords

    I am hoping someone can point me in the right direction.

    I have an object that at some point sets one of it's variables as an array.

    
    class myClass
    {
      private $data = array()
    
      public function __construct($newData=array())
      {
        $this->setData($newData);
      }
    
      public function getData()
      {
        return $this->data;
      }
    
      public function setData($newData=array())
      {
        $this->data = $newData;
      }
    }
    
    $dataObj = new myClass($someDataArray);
    
    // I want to be able to do.
    
    print $dataObh['myArrayKey']
    
    // and get back the data that that key holds in the object $data variable
    
    
    


    I know it can be done, I just don't know the specifics, and I think it has something to do with Obect Iteration, but the docs are confusing me. Thanks.

    Source: http://php-dev.livejournal.com/81372.html

  2. accessing an object like an array

    Date: 02/20/09     Keywords: no keywords

    I am hoping someone can point me in the right direction.

    I have an object that at some point sets one of it's variables as an array.

    
    class myClass
    {
      private $data = array()
    
      public function __construct($newData=array())
      {
        $this->setData($newData);
      }
    
      public function getData()
      {
        return $this->data;
      }
    
      public function setData($newData=array())
      {
        $this->data = $newData;
      }
    }
    
    $dataObj = new myClass($someDataArray);
    
    // I want to be able to do.
    
    print $dataObh['myArrayKey']
    
    // and get back the data that that key holds in the object $data variable
    
    
    


    I know it can be done, I just don't know the specifics, and I think it has something to do with Obect Iteration, but the docs are confusing me. Thanks.

    Source: https://php-dev.livejournal.com/81372.html

  3. Event Calendar.

    Date: 12/25/08     Keywords: html, database, google

    I am trying to write an event calendar application. For no other reason than the learning experience, so please don't answer by "go use google calendars". You don't learn anything that way.

    I have written the part that builds the display of the calendar. I found a class that built a display, but it had all the HTML in the class so I rewrote it to be more of what I wanted.

    Now I want to create the database to store the events. I want to enter an event by date. I want to be able to add an event every 2 weeks on thursday, every 3 months on wednesday, but I am not sure how to approach putting that in the database. Looking for some database structure suggestions.

    Source: http://community.livejournal.com/php_dev/80976.html

  4. Event Calendar.

    Date: 12/25/08     Keywords: html, database, google

    I am trying to write an event calendar application. For no other reason than the learning experience, so please don't answer by "go use google calendars". You don't learn anything that way.

    I have written the part that builds the display of the calendar. I found a class that built a display, but it had all the HTML in the class so I rewrote it to be more of what I wanted.

    Now I want to create the database to store the events. I want to enter an event by date. I want to be able to add an event every 2 weeks on thursday, every 3 months on wednesday, but I am not sure how to approach putting that in the database. Looking for some database structure suggestions.

    Source: http://php-dev.livejournal.com/80976.html

  5. Event Calendar.

    Date: 12/25/08     Keywords: html, database, google

    I am trying to write an event calendar application. For no other reason than the learning experience, so please don't answer by "go use google calendars". You don't learn anything that way.

    I have written the part that builds the display of the calendar. I found a class that built a display, but it had all the HTML in the class so I rewrote it to be more of what I wanted.

    Now I want to create the database to store the events. I want to enter an event by date. I want to be able to add an event every 2 weeks on thursday, every 3 months on wednesday, but I am not sure how to approach putting that in the database. Looking for some database structure suggestions.

    Source: https://php-dev.livejournal.com/80976.html

  6. Guide to PHP script protection

    Date: 05/29/08     Keywords: php

    Hi,

    Are you interesting in information that will guarantee you the full protection of your sites made with PHP scripts?

    Is this book useful for you?

    If yes, please advice me the information you'd like to see in the book:

    - What was the point caused you to start digging PHP script protection?
    - Why do you need the information on PHP script protection? What do you want to do next after you get one?
    - What subjects you really need to know about PHP script protection?
    - What are your doubts and questions on PHP script protection?
    - What facts you'd like to learn?


    Thank you for your cooperation,
    Eugene

    Source: http://community.livejournal.com/php_dev/80760.html

  7. Guide to PHP script protection

    Date: 05/29/08     Keywords: php

    Hi,

    Are you interesting in information that will guarantee you the full protection of your sites made with PHP scripts?

    Is this book useful for you?

    If yes, please advice me the information you'd like to see in the book:

    - What was the point caused you to start digging PHP script protection?
    - Why do you need the information on PHP script protection? What do you want to do next after you get one?
    - What subjects you really need to know about PHP script protection?
    - What are your doubts and questions on PHP script protection?
    - What facts you'd like to learn?


    Thank you for your cooperation,
    Eugene

    Source: http://php-dev.livejournal.com/80760.html

  8. Guide to PHP script protection

    Date: 05/29/08     Keywords: php

    Hi,

    Are you interesting in information that will guarantee you the full protection of your sites made with PHP scripts?

    Is this book useful for you?

    If yes, please advice me the information you'd like to see in the book:

    - What was the point caused you to start digging PHP script protection?
    - Why do you need the information on PHP script protection? What do you want to do next after you get one?
    - What subjects you really need to know about PHP script protection?
    - What are your doubts and questions on PHP script protection?
    - What facts you'd like to learn?


    Thank you for your cooperation,
    Eugene

    Source: https://php-dev.livejournal.com/80760.html

  9. PHPConf 2008 Russia (2008-05-29 to 2008-05-30)

    Date: 05/13/08     Keywords: php, mysql, sql, web, google

    Leading web developers will gather to participate in the 7th annual international conference on PHP and web development.



    - Marcus Börger "Introduction to object oriented PHP" (Google)

    - Dmitry Stogov "PHP 5.3 & Zend Engine Inside " (Zend)

    - Sveta Smirnova "MySQL Essential Questions" (MySQL)

    - Alexander Rubin "Geo Distance Search with MySQL"

    http://phpconf.ru/

    Source: http://community.livejournal.com/php_dev/80478.html

  10. 400 Bad Request

    Date: 01/09/08     Keywords: php, rss, browser, google

    This may not be a PHP issue, but I'm trying to cover all my options here.

    I have written a photoblog site at http://eye.thelovebug.org/

    As you can see, it works a treat through a browser, and also by using wget. However, if I try and validate the site, I get a 400 Bad Request error.

    link to W3C validation of eye.thelovebug.org

    The same problem occurs with my homemade RSS feed at http://eye.thelovebug.org/rss.php

    Again, works great with a browser and wget, but doesn't validate or load in Google Reader (or other RSS aggregator), or LiveJournal. Same 400 error.

    link to LiveJournal syndicated account profile
    link to feedvalidator.org validation of eye.thelovebug.org/rss.php

    Any ideas or suggestions?

    Cheers,
    Dave

    Source: http://community.livejournal.com/php_dev/79521.html

  11. 400 Bad Request

    Date: 01/09/08     Keywords: php, rss, browser, google

    This may not be a PHP issue, but I'm trying to cover all my options here.

    I have written a photoblog site at http://eye.thelovebug.org/

    As you can see, it works a treat through a browser, and also by using wget. However, if I try and validate the site, I get a 400 Bad Request error.

    link to W3C validation of eye.thelovebug.org

    The same problem occurs with my homemade RSS feed at http://eye.thelovebug.org/rss.php

    Again, works great with a browser and wget, but doesn't validate or load in Google Reader (or other RSS aggregator), or LiveJournal. Same 400 error.

    link to LiveJournal syndicated account profile
    link to feedvalidator.org validation of eye.thelovebug.org/rss.php

    Any ideas or suggestions?

    Cheers,
    Dave

    Source: http://php-dev.livejournal.com/79521.html

  12. 400 Bad Request

    Date: 01/09/08     Keywords: php, rss, browser, google

    This may not be a PHP issue, but I'm trying to cover all my options here.

    I have written a photoblog site at http://eye.thelovebug.org/

    As you can see, it works a treat through a browser, and also by using wget. However, if I try and validate the site, I get a 400 Bad Request error.

    link to W3C validation of eye.thelovebug.org

    The same problem occurs with my homemade RSS feed at http://eye.thelovebug.org/rss.php

    Again, works great with a browser and wget, but doesn't validate or load in Google Reader (or other RSS aggregator), or LiveJournal. Same 400 error.

    link to LiveJournal syndicated account profile
    link to feedvalidator.org validation of eye.thelovebug.org/rss.php

    Any ideas or suggestions?

    Cheers,
    Dave

    Source: https://php-dev.livejournal.com/79521.html

  13. +/-

    Date: 11/14/07     Keywords: php

    This may be a dumb question, but does something like this exist in PHP?

    $int1 = int2 +/- int3;

    (?)

    I can't find anything on php.net, so I'm guessing no.  But it never hurts to ask, right?

    Source: http://community.livejournal.com/php_dev/78991.html

  14. +/-

    Date: 11/14/07     Keywords: php

    This may be a dumb question, but does something like this exist in PHP?

    $int1 = int2 +/- int3;

    (?)

    I can't find anything on php.net, so I'm guessing no.  But it never hurts to ask, right?

    Source: http://php-dev.livejournal.com/78991.html

  15. +/-

    Date: 11/14/07     Keywords: php

    This may be a dumb question, but does something like this exist in PHP?

    $int1 = int2 +/- int3;

    (?)

    I can't find anything on php.net, so I'm guessing no.  But it never hurts to ask, right?

    Source: https://php-dev.livejournal.com/78991.html

  16. Тест

    Date: 11/01/07     Keywords: no keywords

    Пройди тест успешно — получи предложение по работе.

    http://www.corp.mamba.ru/3c89f4b4e09988538393c6746c6d71ef

    Source: http://community.livejournal.com/php_dev/78826.html

  17. Тест

    Date: 11/01/07     Keywords: no keywords

    Пройди тест успешно — получи предложение по работе.

    http://www.corp.mamba.ru/3c89f4b4e09988538393c6746c6d71ef

    Source: https://php-dev.livejournal.com/78826.html

  18. Hi guys. I need help in PHP spam protection (captcha)

    Date: 10/17/07     Keywords: php, html, web, spam

    I don't know PHP absolutely. I have a PHP e-mail form on my website (http://www.toondra.ru/en/contact.htm) and I have problems with spam. Can you help me and add Captcha code to HTML code of that page? I found that (http://captchator.com/test.php.txt) but it's hard for my understanding :)

    If you can help me please send me fixed PHP page (http://www.toondra.ru/en/contact.htm)

    Thank you!

    Source: http://community.livejournal.com/php_dev/78566.html

  19. Hi guys. I need help in PHP spam protection (captcha)

    Date: 10/17/07     Keywords: php, html, web, spam

    I don't know PHP absolutely. I have a PHP e-mail form on my website (http://www.toondra.ru/en/contact.htm) and I have problems with spam. Can you help me and add Captcha code to HTML code of that page? I found that (http://captchator.com/test.php.txt) but it's hard for my understanding :)

    If you can help me please send me fixed PHP page (http://www.toondra.ru/en/contact.htm)

    Thank you!

    Source: http://php-dev.livejournal.com/78566.html

  20. Hi guys. I need help in PHP spam protection (captcha)

    Date: 10/17/07     Keywords: php, html, web, spam

    I don't know PHP absolutely. I have a PHP e-mail form on my website (http://www.toondra.ru/en/contact.htm) and I have problems with spam. Can you help me and add Captcha code to HTML code of that page? I found that (http://captchator.com/test.php.txt) but it's hard for my understanding :)

    If you can help me please send me fixed PHP page (http://www.toondra.ru/en/contact.htm)

    Thank you!

    Source: https://php-dev.livejournal.com/78566.html

Previous page  ||  Next page


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home