Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7853699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:46:23+00:00 2026-06-02T19:46:23+00:00

Hey guys so I had everything working perfectly on my old server with php

  • 0

Hey guys so I had everything working perfectly on my old server with php 5.1.6 I had this script:

<? session_start(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<?
$name = $_SESSION['name'];
print $name;
if (empty($name)){
print "
<link rel=stylesheet href=css/screen2.css media=screen />
<form id=contactform class=rounded method=post action=panelBackend.php>
<h3>Login</h3>

<div class=field>
<label for=name>Username:</label>
<input type=text class=input name=name id=name />
<p class=hint>Minecraft Username.</p>
</div>

<div class=field>
<label for=password>Password:</label>
<input type=password class=input name=password id=password />
<p class=hint>Free Minecraft Host Password.</p>
</div>

<input type=submit name=Login  class=button value=Login />
</form>";
} else {
header( 'Location: http://x.x.x.x/panelBackend.php' );
}
?>

And before it worked fine! Now when I goto it i get the form WITHOUT the style, and it prints out this php code at the bottom:

"; } else { header( 'Location: http://69.64.80.200/panelBackend.php' ); } ?>

Is there something that different in the PHP versions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T19:46:24+00:00Added an answer on June 2, 2026 at 7:46 pm

    Yes. The new one doesn’t have short tags enabled. Change all <? to <?php.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys i had an idea yesterday. Can you help me with this. Here
hey guys how to make these php html links codes possible. i have tried
hey guys I have the follow code in js: $(document).ready(function(){ $(.replyLink).click(function(){ $(#form-to-+this.id).html(htmlForm()).toggle(500); return false;
Hey guys, I want to store a categorized list of URLs. This is an
Hey Guys, here is my code for this, the only help i get from
Hey guys, I'm using Twitter's PHP API, called twitterlibphp , and it works well,
Hey guys, hope this isn't too much of a n00b question I'm mainly a
Hey guys, so I am creating a List(Of String), always of size 9. This
Hey guys, sorry I'm kind of new to programming, but I had a small
Hey Guys I've been struggling with this for the last hour and pouring over

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.