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 01-04-2006, 09:59 PM   #1
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
Can I use <? include("filename....

can I use that tag in a php file to include a regular html file?
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 10:00 PM   #2
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
sure .........
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 10:02 PM   #3
Slap Dot
Confirmed User
 
Slap Dot's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: BASS
Posts: 3,168
Yeah, if you finish it..
__________________

» AIM: slapdotted
» Skype: slapdot
» ICQ: 190444
Slap Dot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 10:02 PM   #4
Lace
Too lazy to set a custom title
 
Lace's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 16,116
yup yup..
__________________
Your Paysite Partner
Strength In Numbers!
StickyDollars | RadicalCash | KennysPennies | HomegrownCash
Lace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 10:03 PM   #5
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
Quote:
Originally Posted by Slap Dot
Yeah, if you finish it..
If i'm doing this within the <?php and ?> tags, do I need to still do the whole thing

<?php include("file"); ?>

or can I just do

include("file");
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 10:06 PM   #6
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
helloooooooo?
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 10:07 PM   #7
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by brizzad
If i'm doing this within the <?php and ?> tags, do I need to still do the whole thing

<?php include("file"); ?>

or can I just do

include("file");
If you're already inside a pair of <?php ?> tags then you don't need to put them again... You might also want to consider putting a @ in front of the include (@include('file.html');). That way if there's an error and it's not found it won't print out one of those ugly php messages that shows your path etc.
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-04-2006, 10:09 PM   #8
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
Quote:
Originally Posted by Tempest
If you're already inside a pair of <?php ?> tags then you don't need to put them again... You might also want to consider putting a @ in front of the include (@include('file.html');). That way if there's an error and it's not found it won't print out one of those ugly php messages that shows your path etc.
okay great, thanks!

thanks everyone else too
brizzad 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.