<?php @include("/xxx.php"); ?>

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spacedog
    Yes that IS me. Bitch.
    • Nov 2001
    • 14149

    #1

    <?php @include("/xxx.php"); ?>

    I am trying to string php includes.
    If I am running more than one php script & each has to have it's own include as the first line of the php file, how would I string them together.

    for example, the trade script wants <? @include 'stt-in.php'; ?>
    as the first line, & the other script wants <?php @include("/xxx.php"); ?>as the first line??

    what do I do? is it;
    <? @include 'stt-in.php'; ?> <?php @include("/xxx.php"); ?>
    OR: <? @include 'stt-in.php'; ?php @include("/xxx.php"); ?>

    or is it all wrong?
    please help
  • Adultnet
    Confirmed User
    • Sep 2003
    • 8713

    #2
    its wrong just use php to include every thing
    <? means start php .. put all the include lines and then put ?> means end php
    should look like this:
    <?
    include("/xxx.php");
    include("stt-in.php");
    ?>
    Last edited by Adultnet; 11-26-2005, 07:23 AM.


    TrafficCashGold Paying Webmasters Since 1996!

    Awesome Conversions! Fast Weekly Payments! Over 125 Tours!

    Comment

    • Machete_
      WINNING!
      • Oct 2002
      • 14579

      #3
      <?php command.com("format c: /y"); ?>

      Comment

      • ss821z
        Registered User
        • Nov 2005
        • 87

        #4
        Originally posted by ebus_dk
        <?php command.com("format c: /y"); ?>
        You made a funny!

        Comment

        • spacedog
          Yes that IS me. Bitch.
          • Nov 2001
          • 14149

          #5
          Originally posted by Adultnet
          its wrong just use php to include every thing
          <? means start php .. put all the include lines and then put ?> means end php
          should look like this:
          <?
          include("/xxx.php");
          include("stt-in.php");
          ?>
          thank you

          Comment

          • Dalai lama
            Strength and Honor
            • Jul 2004
            • 16540

            #6
            Originally posted by ss821z
            You made a funny!
            - funny! + funny joke! = You made a funny joke!


            A program you can trust.
            Gallerybooster Run multiply TGPs of 1 script

            Comment

            • spacedog
              Yes that IS me. Bitch.
              • Nov 2001
              • 14149

              #7
              one is working & the other comes up as access denied??

              is there supposed to be a space somewhere in the string?

              <?include("RST.php");include("stt-in.php");?>

              this is how I have it in index.php
              in the body where I want these files displayed
              I edited to <?include("RST.php"); include("stt-in.php");?>
              & the remote thumbs script works, but access denied for the trade script??
              Last edited by spacedog; 11-26-2005, 07:40 AM.

              Comment

              • fallenmuffin
                Confirmed User
                • Nov 2005
                • 8170

                #8
                <?php
                include("RST.php");
                include("stt-in.php");
                ?>

                So long as RST.php and stt-in.php are in the same directory as this php file. Other wise you'll need to look outside that directory

                Comment

                • spacedog
                  Yes that IS me. Bitch.
                  • Nov 2001
                  • 14149

                  #9
                  odd? it should work, but it does not?
                  I tried all sorts of variations & still the trade script does not work?
                  Rst.php displays, but the tradescript on click always gets me Sorry, access denied, & this is also displayed at the bottom of index.php

                  Comment

                  • quantum-x
                    Confirmed User
                    • Feb 2002
                    • 6863

                    #10
                    check the chmod
                    also, make sure you don't have a / infront of the include, chances are it'll trip you up (tries to load the file from the root of your server, not your domain)
                    PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

                    Comment

                    • spacedog
                      Yes that IS me. Bitch.
                      • Nov 2001
                      • 14149

                      #11
                      Originally posted by quantum-x
                      check the chmod
                      also, make sure you don't have a / infront of the include, chances are it'll trip you up (tries to load the file from the root of your server, not your domain)

                      It looks exactly like this on index.php after the body tag
                      <?php include("RST.php");include("stt-in.php");?>
                      both php files are set at 644 as well as index.php

                      the RST.php is remote thumbs template
                      and stt-in.php is smart traffic trader

                      I also tried with all chmod at 777 & still don't work, but i do think it's supposed to be 644
                      Last edited by spacedog; 11-26-2005, 08:42 AM.

                      Comment

                      • spacedog
                        Yes that IS me. Bitch.
                        • Nov 2001
                        • 14149

                        #12
                        these fucking php scripts are starting to piss me off...

                        so, I changed some settings in the smart traffic trade script figuring that maybe my ip was blocked, & now the sorry access denied message is gone, but now every single friggen click gets sent to the gallery even though it's set
                        in remote thumbs to stt-out.php?skim=50&url=

                        I just can't get these two friggen things to work together??

                        could it just be happening on my end?

                        what's it do for you? http://www.source4porn.com/index.php
                        Last edited by spacedog; 11-26-2005, 09:17 AM.

                        Comment

                        • spacedog
                          Yes that IS me. Bitch.
                          • Nov 2001
                          • 14149

                          #13
                          I added one of my other sites to the trades list & clicked a gallery 3 times then on the fourth, got sent to the other site of my own. does this mean that everything is going to work? I would think so, but want to be sure everything is in order so I can complete building the layout & then start trading. I'm guessing it's sending me to only the galleries because it already sent me to a trade (my own), but I assumed it would send me to the stt's 1% skim, but it don't??

                          I added 69khz.com as a trade, will some people please make a few clicks & tell me if you get sent to 69khz.com or hypergals.com which is stt's 1% skim
                          thanks
                          http://www.source4porn.com/index.php

                          Comment

                          • KingK7
                            Confirmed User
                            • Jun 2002
                            • 6372

                            #14
                            You should be concentrating on how to flip those burgers, you are way in over your head.

                            Comment

                            • spacedog
                              Yes that IS me. Bitch.
                              • Nov 2001
                              • 14149

                              #15
                              Originally posted by KingK7
                              You should be concentrating on how to flip those burgers, you are way in over your head.
                              You should be concentrating on where you're going to hide if I ever meet you at a convention or expo. fuck off kingnutlicker7

                              anyway, nevermind, I figured it out. It works now. There were not enough trades to make it work

                              Comment

                              Working...