Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 5 of 5

Thread: Eof???

  1. #1
    Platinum Lifetime Member
    hotdog_pk's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    530
    DNF$
    414
    Bank
    0
    Total DNF$
    414
    Donate  

    Eof???

    Are there any PHP coders who could tell me about, or point to a reference about:

    <<<EOF
    ...
    EOF;

    It is used regularly in a script I am trying to modify however I have no idea how it works... the code is very complicated. I figured <<<EOF starts something whilst EOF ends it....

    thanks.

    hotdog

  2. #2
    www.LOL.biz
    Bender's Avatar
    Join Date
    Apr 2004
    Location
    .ro
    Posts
    1,912
    DNF$
    6,241
    Bank
    0
    Total DNF$
    6,241
    Donate  

    Re: Eof???

    Quote Originally Posted by hotdog_pk
    Are there any PHP coders who could tell me about, or point to a reference about:

    <<<EOF
    ...
    EOF;


    hotdog
    looks like Perl, are you sure it's PHP?

  3. #3
    Platinum Lifetime Member
    hotdog_pk's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    530
    DNF$
    414
    Bank
    0
    Total DNF$
    414
    Donate  

    Re: Eof???

    i dont understand the nature of perl, its the script found at www.votingscript.com , i bought it off this forum...

    doesnt perl need a header something like # usr/bin (or something similar)? ... i cant see this anywhere ... :-o

  4. #4
    Exclusive Lifetime Member
    theparrot's Avatar
    Join Date
    Mar 2004
    Posts
    641
    DNF$
    36,543
    Bank
    0
    Total DNF$
    36,543
    Donate  

    Re: Eof???

    It is a HERETO string, it comes from sh actually, and has been borrowed by both perl and php...

    it means output till you match this string to stdout... or a shorthand way of printing out a many lines of stuff

  5. #5
    Platinum Lifetime Member
    hotdog_pk's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    530
    DNF$
    414
    Bank
    0
    Total DNF$
    414
    Donate  

    Re: Eof???

    thanks parrot, that explains it ... i couldnt get accurate results on google (which is very frustrating)

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
  •  

Domain name forum recommended by Domaining.com