+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: php ? include require

  1. #1
    dharmil's Avatar
    dharmil is offline x10 Elder dharmil is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Avenel New Jersey
    Posts
    828

    php ? include require

    PHP Code:
    <?php include(); ?>
    PHP Code:
    <?php require(); ?>
    whats the diffrence

  2. #2
    Rising is offline x10 Lieutenant Rising is an unknown quantity at this point
    Join Date
    Dec 2005
    Posts
    396

    Re: php ? include require

    One is probably going to get cut out in a future version of PHP, like some of the older functions that have newer codes, i might be wrong, (someone who actually knows PHP say something) im just using an educated guess, because my friend says they do this kind of stuff all the time

  3. #3
    dharmil's Avatar
    dharmil is offline x10 Elder dharmil is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Avenel New Jersey
    Posts
    828

    Re: php ? include require

    if its the same thing they might do that but i am not sure if its the same so i am asking

  4. #4
    dsfreak's Avatar
    dsfreak is offline x10 Elder dsfreak is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Arizona, USA
    Posts
    669

    Re: php ? include require

    Well, I would look here, as it looks to tell you what they do, basically. http://builder.com.com/5100-31-5077715.html
    ^^ Yes, .com.com IS CORRECT, NOT A TYPO

    But, I think require happens to require the page's content in the page the "require" tag is in, while include seems to be used more to check authentication, like, (not really code), "if login=true then include ('file.php')", while require would be like, "Copyright require ('ipblicensecheck.ipb.com/8989990980.php')" to require that file to validate, otherwise, the page will not load.


    Anyone, correct me if I am wrong... Thanks!

  5. #5
    dharmil's Avatar
    dharmil is offline x10 Elder dharmil is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Avenel New Jersey
    Posts
    828

    Re: php ? include require

    what you said does make sence thanks for the help

  6. #6
    dsfreak's Avatar
    dsfreak is offline x10 Elder dsfreak is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Arizona, USA
    Posts
    669

    Re: php ? include require

    No problem, just glad to help.

  7. #7
    Brandon Guest

    Re: php ? include require

    So will include be removed from Php 6

  8. #8
    dharmil's Avatar
    dharmil is offline x10 Elder dharmil is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Avenel New Jersey
    Posts
    828

    Re: php ? include require

    no it wil still be there because there are is other things you can do with it like creat a navagation thing with it

  9. #9
    Brandon Guest

    Re: php ? include require

    Ok thanks my site is all based in php include.

  10. #10
    dharmil's Avatar
    dharmil is offline x10 Elder dharmil is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Avenel New Jersey
    Posts
    828

    Re: php ? include require

    Quote Originally Posted by DesertWar
    Ok thanks my site is all based in php include.

    same

+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  2. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  3. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  4. PHP Include Support
    By Afterburn in forum Free Hosting
    Replies: 5
    Last Post: 07-05-2006, 09:01 PM
  5. Include php into Html
    By Tyler in forum Scripts & 3rd Party Apps
    Replies: 11
    Last Post: 07-13-2005, 08:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers