Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTTP/1.1 200 OK
- Powered-By: PHP/5.3.7
- Vary: Accept-Encoding
- Content-Type: text/html; charset=utf-8
- <html><head><title>PHP page output page</title></head>
- <body><h1>Content</h1> <p>Some more output follows...</p>
- and <a href="/"> <img src=internal-icon-delayed> </a>
- <!DOCTYPE html>
- <?php
- // Too late for headers already.
- <?php
- # There's a SINGLE space/newline before <? - Which already seals it.
- ?>
- <?php
- phptags --whitespace *.php
- error_reporting(E_ALL);
- ini_set("display_errors", 1);
- exit(header("Location: /finished.html"));
- if (headers_sent()) {
- die("Redirect failed. Please click on this link: <a href=...>");
- }
- else{
- exit(header("Location: /user.php"));
- }
- <meta http-equiv="Location" content="http://example.com/">
- <meta http-equiv="Refresh" content="2; url=../target.html">
- <script> location.replace("target.html"); </script>
- <?php
- // Note the space before "<?php"
- ?>
- THERE SHOULD BE NO BLANK SPACES HERE
- <?php
- echo "your code here";
- ?>
- DO CHECK FOR BLANK SPACES HERE AS WELL; THIS LINE (blank line) SHOULD NOT EXIST.
- <?php
- ob_start();
- // code
- ob_end_flush();
- ?>
- //header("Location:".ADMIN_URL."/index.php");
- echo("<script>location.href = '".ADMIN_URL."/index.php?msg=$msg';</script>");
- ?><script><?php echo("location.href = '".ADMIN_URL."/index.php?msg=$msg';");?></script><?php
- printf ("Hi %s,</br />", $name);
- printf ("Hi %s,</br />", $name);
- <?php
- include('a_important_file.php'); //really really really bad practise
- header("Location:A location");
- ?>
- <?php
- //some php code
- //another line of php code
- //no line above is generating any output
- ?>
- ----------This is the end of the an_important_file-------------------
- $this->_helper->layout->disableLayout();
- <?php
- echo Zend_Json_Encoder::encode($this->object);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement