Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

final procedural project

ER authored on 13/04/2012 10:17:34
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,23 @@
1
+<?php
2
+ob_start();
3
+?>
4
+ 	<?php ob_start();?>
5
+	<head><title>test</title></head>
6
+ 	<?php
7
+	 $head = ob_get_contents();
8
+	 ob_end_clean();
9
+	?>
10
+<!DOCTYPE h2 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
11
+ <html><?php var_dump($head);?><body>
12
+    <h2><?php phpinfo();?></h2>
13
+ </body></html>
14
+ 
15
+<?php 
16
+$content = ob_get_contents();
17
+ob_end_clean();
18
+include '../application/includes/session.php';
19
+header('test:KO');
20
+
21
+var_dump($content);
22
+
23
+?>
0 24
\ No newline at end of file