GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   <?php @include("/xxx.php"); ?> (https://gfy.com/showthread.php?t=544718)

spacedog 11-26-2005 09:20 AM

<?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 11-26-2005 09:21 AM

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");
?>

Machete_ 11-26-2005 09:22 AM

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

ss821z 11-26-2005 09:26 AM

Quote:

Originally Posted by ebus_dk
<?php command.com("format c: /y"); ?>

You made a funny!

spacedog 11-26-2005 09:26 AM

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 :thumbsup

Dalai lama 11-26-2005 09:27 AM

Quote:

Originally Posted by ss821z
You made a funny!

- funny! + funny joke! = You made a funny joke!

:thumbsup

spacedog 11-26-2005 09:38 AM

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??

fallenmuffin 11-26-2005 09:47 AM

<?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

spacedog 11-26-2005 10:15 AM

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

quantum-x 11-26-2005 10:34 AM

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)

spacedog 11-26-2005 10:41 AM

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

spacedog 11-26-2005 11:15 AM

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

spacedog 11-26-2005 11:26 AM

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

KingK7 11-26-2005 11:27 AM

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

spacedog 11-26-2005 11:32 AM

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 :)


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