/    Sign up×
Community /Pin to ProfileBookmark

Hey! a small problem!

Hello! I am trying to make an easy php caledar to work. It worked allready but my computer crashed and had to be restored to the beginning. Now i cant remeber where was it possible to change the start of the program. Right now it only works when script starts with <php but i need that it accepts <? . Last time this change helped but i cant remember where it was changed. In php.ini or httpd. And what must be changed. Hope it is understandable

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@MindzaiFeb 18.2010 — In php.ini set the 'short_open_tag' directive to '1'. However I would suggest instead doing a quick search and replace to change <? to <?php, using short tags is quite bad practice (fore the reason you have encountered).
×

Success!

Help @karl584 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...