Cheap Web Space, Domain Name:
Web Space With E-Mail, PHP/MySQL.

Why does my website show PHP code instead of the expected output, even though the script name ends in .php?

Question: 

Searching …

 

Unfortunately nothing found on "".

Premium support for Bitpalace web hosting customers only!

 from Botswana: +49 30 32 70 18 92, Fax (in Germany) +49 30 32 70 18 91

service@bitpalast.net 

Skype: bitpalast

One moment please … your browser is loading the page.

 

 

Symptom

You have created a PHP script or are using a script that you have downloaded from another source. The filename ends in .php, but still the file or parts of it are not interpreted as PHP. Instead, when the file is requested, the web browser displays the source code that is in the file.

 

Cause

PHP code in a .php file must be started by a PHP Open Tag. If the tag is missing, the code is not interpreted as a PHP script, but output as text to the browser.

PHP scripts can be initiated by two different opening tags:

or

The tag "

Exception: "

Reason for the changed presetting is the increasing use of XML-Code, which is characterized as and thus can collide with the “PHP Short Open Tag” syntax.

 

Solution

Make sure that all PHP script parts in the accessed pages begin with a PHP Open Tag. If you use PHP Short Open Tags, you must additionally set "PHP Short Open Tag" to "On" in the PHP configuration.

The PHP Short Open Tag setting cannot be changed by yourself. Please send a request to our support and let us know for which of your domains PHP Short Open Tag should be activated.

 

Overview of frequently asked questions 

 

 

 


 

Additional Services

Starter Server: Affordable web server from  2.24 US$ () /month with PHP, database and many more 

Online Reservation System: Occupancy & vacancy schedule for any ressources (vehicles, sports facilities …) & guest houses, holiday apartments …  1.04 US$ () /month 

Software development: Development of database applications, programming and revision of computer programs & scripts  18.78 US$ () /hour 

 

FAQ – frequently asked questions 

 

Cuba

Austria

Kenya

Guyana

Panama

Lesotho

Liberia

Antigua and Barbuda

Paraguay

Cameroon

Argentina

Germany

Australia

Dominican Republic

Bahamas

Madagascar

Barbados

Belize

Peru

Uganda

India

Philippines

Malta

Bolivia

Chile

Marshall Islands

Costa Rica

Puerto Rico

Ireland

Mauritius

Rwanda

Saint Kitts and Nevis

Saint Vincent and the Grenadines

Saint Lucia

Mexico

Zambia

Samoa

Jordan

Micronesia, Federated States of

Switzerland

Dominican Republic

Malawi

Seychelles

Namibia

Kiribati

Ecuador

Nauru

Sierra Leone

New Zealand

El Salvador

Singapore

Fiji

Gambia

Solomon Islands

Ghana

Spain

Nicaragua

Sudan

Nigeria

Swaziland

South Africa

Pakistan

Palau

Tanzania, United Republic of

Colombia

Grenada

Tonga

Trinidad and Tobago

Honduras

Tuvalu

Uruguay

Papua New Guinea

Venezuela

United States

Jamaica

Canada

Guatemala

Guinea

United Kingdom

Zimbabwe

 

"Cheap Web Space": Affordable web space, cheap web server, low-cost webserver, low-price web servers: fast web server / small web server (cheap web space). Web server for private homepages / small website projects.

  from Botswana: +49 30 32 70 18 92 •  GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024  GmbH. All rights reserved. and the logo are registered trademarks of GmbH. For photo credits see imprint.

Imprint Privacy policy Sitemap