File tree Expand file tree Collapse file tree 4 files changed +22
-1
lines changed Expand file tree Collapse file tree 4 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+ phpinfo ();
3+ ?>
Original file line number Diff line number Diff line change 1+ <html>
2+ <body>
3+ <?php
4+ $ author = simplexml_load_file ('persons/ ' . $ _GET ['u ' ] . '.xml ' );
5+ echo $ author ->data [0 ]->name ;
6+ echo '<hr> '
7+ echo $ author ->data [0 ]->bio ;
8+ ?>
9+ </body>
10+ </html>
Original file line number Diff line number Diff line change 3535echo '<br /><br /> ' ;
3636//start admin content
3737echo "<table border= \"1 \" style= \"width:100% \"> " ;
38- $ dir = $ cf_rooturl . " / admin/modules/ " ;
38+ $ dir = " admin/modules/ " ;
3939$ dh = opendir ($ dir );
4040while (false !== ($ filename = readdir ($ dh )))
4141{
Original file line number Diff line number Diff line change 1+ <person >
2+ <data >
3+ <name >Admin</name >
4+ <bio >
5+ Admin is the default user. He should not be used for normal day-to-day use. He is the owner of the site.
6+ </bio >
7+ </data >
8+ </person >
You can’t perform that action at this time.
0 commit comments