Using php include to hide source??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xxweekxx
    Confirmed User
    • Oct 2002
    • 6780

    #1

    Using php include to hide source??

    Say i have a website, and i want to include some stuff from another website(but when people view my source they see mysite.com/crap.php, they cant actually tell where crap.php is pulling info from).

    For example say my website is xxweekxx.com, and at the bottom of my index page i want to load up gfy.com, but i want to use php, so my users see gfy at the bottom(ill call it using maybe xxweekxx.com/gfy.php), but they cant actually tell gfy.php came from gfy.com

    does this make sense?
    _________________
    I am the best
  • heymatty
    Confirmed User
    • Oct 2001
    • 2188

    #2
    If they really want the info badly they can just download the file and look at your the path to the includes. Sure some people will only view html source but you can't guaratee they won't download the file.

    Cashlantis ~ Black Book Cash

    Comment

    • psili
      Confirmed User
      • Apr 2003
      • 5526

      #3
      Why so sketchy?
      Your post count means nothing.

      Comment

      • rowan
        Too lazy to set a custom title
        • Mar 2002
        • 17393

        #4
        Sounds like you're describing a proxy.

        More shifty shit.

        Comment

        • CYF
          Coupon Guru
          • Mar 2009
          • 10973

          #5
          Originally posted by heymatty
          If they really want the info badly they can just download the file and look at your the path to the includes. Sure some people will only view html source but you can't guaratee they won't download the file.
          how do you propose downloading a php file and viewing the source?

          even using something like wget, the server still executes the php and returns html code.

          unless the server is misconfigured you're probably not going to be able to download the php and view the source code
          Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more!
          AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons

          Comment

          • woj
            <&(©¿©)&>
            • Jul 2002
            • 47882

            #6
            icq: 33375924 if you want to invest a few bucks
            Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
            Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
            Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

            Comment

            • xxweekxx
              Confirmed User
              • Oct 2002
              • 6780

              #7
              a proxy? wtf u smoking dude get off my balls..

              im trying to LOAD UP HTML PAGES from my server but dont want people to know the source of the pages..

              A proxy LETS YOU CONNECT to another server/network and MASK who you are.

              it has nothing to do with PHP/HTML.. sheesh, get offffffffff my balls nigga

              you follow my threads like shit on a fly bashing me left and right and you have 0 clue what im doing.. what im doing is 100% legal, IS NOT MAIL, its a project im working on... you happy? leave me alone now

              Ill be hitting you up woj
              Last edited by xxweekxx; 10-24-2009, 01:28 AM.
              _________________
              I am the best

              Comment

              • Sands
                Confirmed User
                • Feb 2007
                • 3134

                #8
                Originally posted by xxweekxx
                a proxy? wtf u smoking dude get off my balls..

                im trying to LOAD UP HTML PAGES from my server but dont want people to know the source of the pages..

                A proxy LETS YOU CONNECT to another server/network and MASK who you are.

                it has nothing to do with PHP/HTML.. sheesh, get offffffffff my balls nigga

                you follow my threads like shit on a fly bashing me left and right and you have 0 clue what im doing.. what im doing is 100% legal, IS NOT MAIL, its a project im working on... you happy? leave me alone now

                Ill be hitting you up woj
                Edit: I had originally typed out some stuff, but I'll get rid of it so woj can get paid ;)
                Last edited by Sands; 10-24-2009, 01:47 AM.

                Comment

                • k0nr4d
                  Confirmed User
                  • Aug 2006
                  • 9231

                  #9
                  <? echo file_get_contents('http://www.gfy.com'); ?>
                  php.ini has to have allow_furl_open or osmething liek that enabled
                  Mechanical Bunny Media
                  Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

                  Comment

                  Working...