![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
<?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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Sep 2003
Posts: 8,713
|
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"); ?>
__________________
![]() TrafficCashGold Paying Webmasters Since 1996! Awesome Conversions! Fast Weekly Payments! Over 125 Tours! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
WINNING!
Industry Role:
Join Date: Oct 2002
Posts: 14,579
|
<?php command.com("format c: /y"); ?>
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Registered User
Join Date: Nov 2005
Posts: 87
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Strength and Honor
Join Date: Jul 2004
Location: Europe
Posts: 16,540
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
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?? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Nov 2005
Posts: 8,170
|
<?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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
|
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) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jun 2002
Posts: 6,372
|
You should be concentrating on how to flip those burgers, you are way in over your head.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
anyway, nevermind, I figured it out. It works now. There were not enough trades to make it work ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |