Completed
Pull Request — develop (#51)
by Patrick
05:28 queued 02:46
created

thanks.php (1 issue)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
require_once('class.ProfilesPage.php');
3
$page = new ProfilesPage('Burning Flipside Profiles');
4
5
$page->body .= '
6
<div id="content">
7
    <h1>Thanks for registering!</h1>
8
    <p>You should receive an email shortly. This email will contain instructions needed to complete your registration.</p>
9
</div>';
10
11
$page->printPage();
12
?>
0 ignored issues
show
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...
13