quick php help needed ...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lil2rich4u2
    ICQ: 175171926
    • Oct 2002
    • 11046

    #1

    quick php help needed ...

    thanks,

    i want to make this ...

    include($HEADER);

    to a fixed url for a php file

    like this:

    include(http://www.domain.com/php/oopsie.inc.php);


    do i need to add quotes or something? or can this even be done?


    Thanks in advance.
    HEY!!

    Unbeatable hosting! Customer service is top notch!

    --> ISPrime <-- Do a search on any board, their reputation is rock solid .. for years!!
  • JamesK
    hi
    • Jun 2002
    • 16731

    #2
    PHP Code:
    hi 
    
    M3Server - NATS Hosting

    Comment

    • Jon2
      So Fucking Banned
      • Aug 2001
      • 2875

      #3
      PHP Code:
      include ('http://www.urlgoeshere.com/index.php'); 
      
      Jon

      Comment

      • flashfreak
        Confirmed User
        • Jun 2002
        • 4396

        #4
        Originally posted by Wildcard
        PHP Code:
        hi 
        
        you're wrong.. here's the correct code:
        PHP Code:
        echo "Hello world!"; 
        
        SEO Mogul | ICQ: 163671223

        Comment

        • StupidNewbie
          Registered User
          • Apr 2002
          • 864

          #5
          if it's on the same server just use unlink("filename.htm")

          Comment

          • foe
            Confirmed User
            • May 2002
            • 5246

            #6
            include('http://www.domain.com/php/oopsie.inc.php');

            Comment

            • foe
              Confirmed User
              • May 2002
              • 5246

              #7
              Originally posted by StupidNewbie
              if it's on the same server just use unlink("filename.htm")

              thats horrible

              Comment

              • Libertine
                sex dwarf
                • May 2002
                • 17860

                #8
                Including remote files every time the page is opened is dumb. Download it to your server daily or hourly with a script and a cronjob, then include the local file
                /(bb|[^b]{2})/

                Comment

                • richard
                  Confirmed User
                  • Feb 2001
                  • 543

                  #9
                  Originally posted by StupidNewbie
                  if it's on the same server just use unlink("filename.htm")

                  haha, biatch.

                  What punkworld said, cache it on your machine.

                  Comment

                  • StuartD
                    Sofa King Band
                    • Jul 2002
                    • 29903

                    #10
                    why would you load up a browser, and go to GFY and hit new post and enter in a long winded post explaining your situation and asking if you should "add quotes or something" ?

                    Why not just add the quotes yourself and see if it works? Seems to me that it would have been the quicker solution.
                    This is me on facebook
                    This is me on twitter

                    Comment

                    • Butrflied
                      Confirmed User
                      • Aug 2002
                      • 1344

                      #11
                      Originally posted by StupidNewbie
                      if it's on the same server just use unlink("filename.htm")

                      ohhh .. you're soo mean
                      ~Butrflied~

                      Comment

                      • StupidNewbie
                        Registered User
                        • Apr 2002
                        • 864

                        #12
                        Originally posted by Butrflied
                        ohhh .. you're soo mean
                        you think that's mean, check out the other lil2rich help thread.

                        Comment

                        • JamesK
                          hi
                          • Jun 2002
                          • 16731

                          #13
                          Originally posted by flashfreak

                          you're wrong.. here's the correct code:
                          PHP Code:
                          echo "Hello world!"; 
                          
                          M3Server - NATS Hosting

                          Comment

                          • loverboy
                            When it rains, it pours
                            • May 2003
                            • 20609

                            #14
                            Originally posted by qualitythumbs
                            PHP Code:
                            include ('http://www.urlgoeshere.com/index.php'); 
                            
                            Jon
                            hmm, i can see it from here

                            Comment

                            • fris
                              I have to go potty
                              • Aug 2002
                              • 55782

                              #15
                              [? include "http://www.blah.com/blah.php";?]

                              replace quare with normal php brackets.

                              Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


                              Totally Free Templates

                              Comment

                              Working...