By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,521 Members | 1,420 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,521 IT Pros & Developers. It's quick & easy.

<?php ...<? both are the php tags whats the diff

P: n/a
<?php ...<? both are the php tags whats the diff b/w name of the
tag??? then
i write the code using <? this tag full coding , but the server can
not accept my (<?)tag,, its only used <? php tag only

what can i do for ...

Feb 17 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
da*******@gmail.com kirjoitti:
<?php ...<? both are the php tags whats the diff b/w name of the
tag??? then
i write the code using <? this tag full coding , but the server can
not accept my (<?)tag,, its only used <? php tag only
That's a php.ini setting called short_open_tags or something, which can
be set on or off by server administrator. Apparently it's off in your case.
what can i do for ...
Write <?php always. <? has it's downsides.

--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
sp**@outolempi.net | Gedoon-S @ IRCnet | rot13(xv***@bhgbyrzcv.arg)
Feb 17 '07 #2

P: n/a
On Feb 16, 10:56 pm, Kimmo Laine <s...@outolempi.netwrote:
damod....@gmail.com kirjoitti:
<?php ...<? both are the php tags whats the diff b/w name of the
tag??? then
i write the code using <? this tag full coding , but the server can
not accept my (<?)tag,, its only used <? php tag only

That's a php.ini setting called short_open_tags or something, which can
be set on or off by server administrator. Apparently it's off in your case.
what can i do for ...

Write <?php always. <? has it's downsides.

--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
s...@outolempi.net | Gedoon-S @ IRCnet | rot13(x...@bhgbyrzcv.arg)
thanks for ur help.,
you mean search all <? and put near <?php like that,,,,ok sir if any
other way, if my project having lot of .php files means hat can i do
for, ..

Feb 17 '07 #3

P: n/a
On Feb 16, 10:56 pm, Kimmo Laine stated...
: Write <?php always. <? has it's downsides.
:
<da*******@gmail.comasked...
: you mean search all <? and put near <?php like that,,,,

(1) Get a newsreader to post and read messages. Google
creates problems.
(2) Learn to properly write English when asking questions
in English.

"<?" confuses XML documents (as defined by the w3
standards organization). All XML documents start off with
an XML type declaration...

<?xml version="1.0" encoding="utf-8"?>

See...
http://www.w3.org/QA/Tips/Doctype
http://www.w3.org/QA/2002/04/valid-dtd-list.html

--
Jim Carlock
Post replies to the group.
Feb 17 '07 #4

P: n/a
"Jim Carlock" <an*******@127.0.0.1wrote in message
news:45***********************@roadrunner.com...
....
(1) Get a newsreader to post and read messages. Google
creates problems.
This is not always practical.
(2) Learn to properly write English when asking questions
in English.
This newsgroup is read by many people in many countries, so let's have a
little tolerance. The OP's English was more than adequate, and in any case
any question that can be understood can be answered.
--
Mike Russell
www.curvemeister.com/forum/
Feb 17 '07 #5

P: n/a
On Sat, 17 Feb 2007 12:27:22 GMT, "Mike Russell"
<RE*********@Curvemeister.comRE-MOVEwrote:
>"Jim Carlock" <an*******@127.0.0.1wrote in message
news:45***********************@roadrunner.com.. .
...
>(1) Get a newsreader to post and read messages. Google
creates problems.

This is not always practical.
>(2) Learn to properly write English when asking questions
in English.
Learn not to split infinitives.
>
This newsgroup is read by many people in many countries, so let's have a
little tolerance. The OP's English was more than adequate, and in any case
any question that can be understood can be answered.
Feb 18 '07 #6

P: n/a
da*******@gmail.com wrote:
On Feb 16, 10:56 pm, Kimmo Laine <s...@outolempi.netwrote:
>damod....@gmail.com kirjoitti:
>><?php ...<? both are the php tags whats the diff b/w name of the
tag??? then
i write the code using <? this tag full coding , but the server can
not accept my (<?)tag,, its only used <? php tag only
That's a php.ini setting called short_open_tags or something, which can
be set on or off by server administrator. Apparently it's off in your case.
>>what can i do for ...
Write <?php always. <? has it's downsides.

--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
s...@outolempi.net | Gedoon-S @ IRCnet | rot13(x...@bhgbyrzcv.arg)

thanks for ur help.,
you mean search all <? and put near <?php like that,,,,ok sir if any
other way, if my project having lot of .php files means hat can i do
for, ..
No, if your host does not have short_open_tags enabled (I find that most
do not), you can't use it. You must use <?php. So you'll have to
change it in all of your files.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Feb 18 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.