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 Mark Forums Read
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 05-27-2002, 12:57 PM   #1
Va2k
I知 still alive barley.
 
Va2k's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
PHP script help

I have a counter script that uses php how would I get the part of script into my home page the only way I can view this script is by typing in the url /index.php anyone know what IM talking about?
__________________
Va2k is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:02 PM   #2
Va2k
I知 still alive barley.
 
Va2k's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
cum on anyone???
__________________
Va2k is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:10 PM   #3
spanky
Confirmed User
 
Industry Role:
Join Date: Apr 2002
Posts: 231
PHP Code:
<?PHP include("./counter.php"); ?>
cheers
spanky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:11 PM   #4
mike503
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
heh, not really. you're trying to execute some php code inside of your home page?
__________________
php/mysql guru. hosting, coding, all that jazz.
mike503 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:20 PM   #5
Va2k
I知 still alive barley.
 
Va2k's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
Quote:
Originally posted by spanky
PHP Code:
<?PHP include("./counter.php"); ?>
cheers
good try didnt work
__________________
Va2k is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:20 PM   #6
Va2k
I知 still alive barley.
 
Va2k's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
Quote:
Originally posted by mike503
heh, not really. you're trying to execute some php code inside of your home page?
YES Mike Can this even be done?
__________________
Va2k is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:22 PM   #7
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
does your homepage have a .php extention if not just load an invisible iframe to the site with the counter.
foe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:23 PM   #8
mike503
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
Quote:
Originally posted by va2k

YES Mike Can this even be done?
yes. the script would need to have an extension that the webserver will parse (i.e. index.php) and the file you call can be called anything.

use &lt;?php require_once("./counter.php"); ?&gt; inside of that then. counter.php will be the code for the counter itself.
__________________
php/mysql guru. hosting, coding, all that jazz.
mike503 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:23 PM   #9
spanky
Confirmed User
 
Industry Role:
Join Date: Apr 2002
Posts: 231
Quote:
Originally posted by va2k

good try didnt work
what was the error?

cheers
spanky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:30 PM   #10
Va2k
I知 still alive barley.
 
Va2k's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
screw this I will just setup ssi lol
__________________
Va2k is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2002, 01:36 PM   #11
boldy
Macdaddy coder
 
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
Quote:
Originally posted by va2k
I have a counter script that uses php how would I get the part of script into my home page the only way I can view this script is by typing in the url /index.php anyone know what IM talking about?
What about contacting me ? You lost faith in me ?
__________________
MacDaddy Coder.
boldy 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
Thread Tools



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.