![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2006
Location: Canada
Posts: 3,143
|
<?php
$myString = "Really not sure..."; echo $myString; ?>
__________________
sig too big |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Quoting for accuracy.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |