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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-26-2005, 09:20 AM   #1
spacedog
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
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 09:21 AM   #2
Adultnet
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!

Last edited by Adultnet; 11-26-2005 at 09:23 AM..
Adultnet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 09:22 AM   #3
Machete_
WINNING!
 
Industry Role:
Join Date: Oct 2002
Posts: 14,579
<?php command.com("format c: /y"); ?>
Machete_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 09:26 AM   #4
ss821z
Registered User
 
Join Date: Nov 2005
Posts: 87
Quote:
Originally Posted by ebus_dk
<?php command.com("format c: /y"); ?>
You made a funny!
ss821z is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 09:26 AM   #5
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
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
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 09:27 AM   #6
Dalai lama
Strength and Honor
 
Join Date: Jul 2004
Location: Europe
Posts: 16,540
Quote:
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
Dalai lama is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 09:38 AM   #7
spacedog
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??

Last edited by spacedog; 11-26-2005 at 09:40 AM..
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 09:47 AM   #8
fallenmuffin
Confirmed User
 
fallenmuffin's Avatar
 
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
fallenmuffin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 10:15 AM   #9
spacedog
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
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 10:34 AM   #10
quantum-x
Confirmed User
 
quantum-x's Avatar
 
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)
quantum-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 10:41 AM   #11
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
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 at 10:42 AM..
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 11:15 AM   #12
spacedog
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

Last edited by spacedog; 11-26-2005 at 11:17 AM..
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 11:26 AM   #13
spacedog
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
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 11:27 AM   #14
KingK7
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.
KingK7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-26-2005, 11:32 AM   #15
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
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
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.