![]() |
<?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 |
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"); ?> |
<?php command.com("format c: /y"); ?>
|
Quote:
|
Quote:
|
Quote:
:thumbsup |
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?? |
<?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 |
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 |
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) |
Quote:
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 |
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 |
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 |
You should be concentrating on how to flip those burgers, you are way in over your head.
|
Quote:
anyway, nevermind, I figured it out. It works now. There were not enough trades to make it work :) |
All times are GMT -7. The time now is 06:34 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123