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 09-15-2007, 05:59 PM   #1
allofzen
Confirmed User
 
Join Date: Jul 2007
Posts: 182
<? @include vs <?php include

Is there a difference when run in a .php file?

Is one slightly better, worse, or just personal choice?
__________________
www.adultsexzen.com - TGP
www.adultsexzen.com - TRADE TRAFFIC

Moniker - Your domains make you money - keep them safe! Search GFY for yourself!

JaugarPC HOSTING - reliable VPS HOSTING, 30 day MONEY BACK trial, TRY RISK FREE NOW!
allofzen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2007, 06:10 PM   #2
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
huh?

You should use <?php, not <?

and @include just supresses errors for include.
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2007, 06:10 PM   #3
yahoo-xxx-girls.com
Confirmed User
 
yahoo-xxx-girls.com's Avatar
 
Join Date: Jul 2006
Location: Canada
Posts: 3,143
<?php
$myString = "Really not sure...";
echo $myString;
?>
__________________
sig too big
yahoo-xxx-girls.com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2007, 06:11 PM   #4
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by Tempest View Post
You should use <?php, not <?

and @include just supresses errors for include.
Quoting for accuracy.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2007, 06:14 PM   #5
Chariott
Confirmed User
 
Join Date: Nov 2006
Location: http://UUGallery.com http://UUGallery.com http://UUGallery.com http://UUGallery.com http://UUGallery.com http://UUGallery.com
Posts: 361
<? is a short open php tag (might not work in some systems, must be turned on)
<?php is a lonng open tag (works in all systems)

See short_open_tag derictive

@ - is a sign which suppresses errors output. So if you want some function to stop showing errors, you can put @ sign.
__________________

UUGallery v3.37 builder plugin for Wordpress!
Now it builds FLV VIDEO Galleries! It grabs galleries from FHG's, generates thumbnails, resizes originals,
arranges within your template and posts a gallery within 1 click!
Start making money right now!
ICQ# 475-719-552, Email+MSN: msnaddress[-~at~-]uusoftware.com
Chariott is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2007, 06:15 PM   #6
allofzen
Confirmed User
 
Join Date: Jul 2007
Posts: 182
Okay, just asking coz some scripts use one and others use the other...
__________________
www.adultsexzen.com - TGP
www.adultsexzen.com - TRADE TRAFFIC

Moniker - Your domains make you money - keep them safe! Search GFY for yourself!

JaugarPC HOSTING - reliable VPS HOSTING, 30 day MONEY BACK trial, TRY RISK FREE NOW!
allofzen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2007, 06:20 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 allofzen View Post
Okay, just asking coz some scripts use one and others use the other...
It's a good way to tell if the script was written by a crappy programmer or a good one IMO.
Tempest 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.