Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: i'm familiar with php but i'm still confusing with this strange character ....

  1. #1
    Join Date
    Aug 2008
    Location
    karanganyar, solo, indonesia
    Posts
    161
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Arrow i'm familiar with php but i'm still confusing with this strange character ....

    hello....
    can anyone here tell me about these...
    actually i'm falimiar with php but below character is still strange for me.

    @getMemberThumnail($name) --> why does it use "@" before function?


    what is RMS?

    what is RSS?

    thanks....
    ///////////////////////////////////////////////////
    ///// http://www.mediatutorial.web.id
    ///////////////////////////////////////////////////

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Good question.

    The @ symbol checks for errors (will return true if it finds errors, otherwise false). For example:
    PHP Code:
    mysql_connect('localhost''root''');
    if(@
    mysql_connect('localhost''root''')){
      die(
    "Error!");

    This will check to see if there are any errors in connecting to the database, if there are die Error!.

    RMS - Root Mean Square.
    Last edited by Nile; 02-03-2009 at 03:38 AM.
    Jeremy | jfein.net

  3. #3
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    The @ sign means that no error messages will be printed if the getMemberThumbnail does not succeed.

    RSS - Rich Site Summary RSS Definition

    Not sure about RMS though.

  4. #4
    Join Date
    Aug 2008
    Location
    karanganyar, solo, indonesia
    Posts
    161
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    hum? :: thinking::

    so does anyone here know about "RMS"?, i work with dolphin software from boonex.com , ti uses rms on it.

    what is it and what is it used for?
    ///////////////////////////////////////////////////
    ///// http://www.mediatutorial.web.id
    ///////////////////////////////////////////////////

  5. #5
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I think it may be something dolphin software made up. When I search RMS 3.5.1 on google I get this.
    Dolphin 6.1.1 & RMS 3.5.1 :: hd4real's blog
    So, I think I finally have RMS 3.5.1 working on my server. My only problem now is that my Ray widgets do not load. This happens with Adfree & Free 6.1.1 ...

    http://www.boonex.com/unity/blog/ent..._1_1_RMS_3_5_1 - 51k - Cached - Similar pages -
    Jeremy | jfein.net

  6. #6
    Join Date
    Aug 2008
    Location
    karanganyar, solo, indonesia
    Posts
    161
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    so , do you think that RMS is dolphin's own modules?

    if it so, just boonex.com that know what is it and what is it used for on my dolphin.
    ///////////////////////////////////////////////////
    ///// http://www.mediatutorial.web.id
    ///////////////////////////////////////////////////

  7. #7
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Well, not just boonex.com. But I do think it is just dolphin's.

    Although - I don't really know.
    Jeremy | jfein.net

  8. #8
    Join Date
    Apr 2008
    Location
    Limoges, France
    Posts
    395
    Thanks
    13
    Thanked 61 Times in 61 Posts

    Default

    Quote Originally Posted by Nile View Post
    Good question.

    The @ symbol checks for errors (will return true if it finds errors, otherwise false). For example:
    PHP Code:
    mysql_connect('localhost''root''');
    if(@
    mysql_connect('localhost''root''')){
      die(
    "Error!");

    This will check to see if there are any errors in connecting to the database, if there are die Error!.

    RMS - Root Mean Square.
    Nile, not exactly. The @ symbol causes errors an expression may cause to be ignored or supressed. A common use is to ignore errors the mysql_connect() function may cause because printing these errors on the screen could compromise your database security.

    Check here: http://www.php.net/manual/en/languag...rorcontrol.php

    Remember that when you are developing a site you want to see ALL errors your code produces, but when the site is live you don't want to display errors to the users. Especially errors that could compromise your sites security. You have to figure out an elegant way of handling errors on your live site. For example, depending on what kind of error occurs, you could just ignore it, display a "Sorry" message to the user, and / or have error information emailed to you or logged somewhere.
    Last edited by JasonDFR; 02-03-2009 at 07:38 AM.

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    As everyone knows, RMS is Richard Matthew Stallman.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  10. #10
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Quote Originally Posted by Twey View Post
    As everyone knows, RMS is Richard Matthew Stallman.
    Is it you ?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •