Ejemplo n.º 1
0
<?php

$title = "Xdebug - Debugger and Profiler Tool for PHP";
include "include/header.php";
hits('xdebug');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP</span><br />

<?php 
include "include/menu.php";
?>

<div style="float: right; width: 200px; border: solid green 1px; margin-right: 20px; padding: 10px;">
<img src="/images/xdebug-logo.png" alt="logo"/>
<p style="text-align: center;">
If you like Xdebug, please consider a <a href="/donate.php">donation</a>.
</p>
</div>

<!--<iframe id="flickr" align="right" src="http://www.flickr.com/slideShow/index.gne?user_id=36163802@N00&set_id=72157601485462007" frameBorder=0 width=300 scrolling=no height=300></iframe>-->
<a name="announcements"></a>
<h2>Announcements</h2>

<dl class="main">
Ejemplo n.º 2
0
<?php

$title = "Xdebug: Buy Support - Thanks";
include "include/header.php";
hits('xdebug-buy-support-thanks');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | BUY SUPPORT | THANKS</span><br />

<?php 
include "include/menu.php";
?>

<?php 
if (isset($_GET['pdf']) && $_GET['pdf'] == 'yes') {
    ?>
<h1>Thank you for buying your PDF</h1>
<p>
I will soon e-mail you the PDF and send a thank you note!
</p>
<?php 
} else {
    ?>
<h1>Thank you for buying your support agreement</h1>
<p>
I will soon e-mail you a thank you note!
Ejemplo n.º 3
0
<?php

$title = "Xdebug: Contributing";
include "include/header.php";
hits('xdebug-contributing');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | CONTRIBUTING</span><br />

<?php 
include "include/menu.php";
?>

<h2>Contributing</h2>

<p>Xdebug is hosted in GIT. The source code can be browsed through <a
href='https://github.com/xdebug/xdebug'>github</a> and can be checked out with:
</p>
<pre>
git clone git://github.com/xdebug/xdebug.git
</pre>
<p>
If you think you want to fix a bug or work on a new feature, then you
need to follow the instructions below.
</p>
<a name="setup"></a>
Ejemplo n.º 4
0
<?php

$title = "Xdebug: Documentation - Protocol - DBGp";
include "include/header.php";
hits('xdebug-docs-protocol');
?>
		<tr>
			<td>&nbsp;</td>
			<td>
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | DOCUMENTATION - PROTOCOL - DBGP</span><br />

<?php 
include "include/menu-docs.php";
?>

<h1 class="title">DBGP - A common debugger protocol for languages and debugger UI communication</h1>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Version:</th>
<td>1.0</td></tr>
<tr><th class="docinfo-name">Status:</th>
<td>draft 16</td></tr>
<tr><th class="docinfo-name">Authors:</th>
<td>Shane Caraveo, ActiveState &lt;<a class="reference external" href="mailto:shanec&#64;ActiveState.com">shanec&#64;ActiveState.com</a>&gt;
<br />Derick Rethans &lt;<a class="reference external" href="mailto:derick&#64;derickrethans.nl">derick&#64;derickrethans.nl</a>&gt;</td></tr>
</tbody>
Ejemplo n.º 5
0
<?php

$title = "Xdebug: Support";
include "include/header.php";
hits('xdebug-support');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | SUPPORT</span><br />

<?php 
include "include/menu.php";
?>

<h2>Bugs</h2>

<p>
If you think that you found a bug in Xdebug, please file a bugreport at the <a
href="http://bugs.xdebug.org">Bug Tracking</a> page. You will need to register
because this prevents abuse by smammers and other abusing parties. Try to give
as much possible information to reproduce the bug, this will greatly help in
fixing them. For some hints on what information is useful, see the following
sections. <b>Versions before 2.1 are no longer supported</b>.
</p>

<a name='remote'></a>
<h3>Remote Debugger Bugs</h3>
Ejemplo n.º 6
0
<?php

$title = "Xdebug: Updates";
include "include/header.php";
hits('xdebug-updates');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | UPDATES</span><br />

<?php 
include "include/menu.php";
function bug($nr)
{
    echo "bug <a href='http://bugs.xdebug.org/bug_view_page.php?bug_id=" . sprintf("%08d", $nr) . "' target='_blank'>#{$nr}</a>";
}
?>

<h2>Updates</h2>

<?php 
/*
:'<,'>s/bug \#\(\d\+\)/<?php bug(\1); ?>/
:'<,'>s/issue \#\(\d\+\)/<?php bug(\1); ?>/
*/
?>
Ejemplo n.º 7
0
<?php

$title = "Xdebug: Downloads";
include "include/header.php";
hits('xdebug-downloads');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | DOWNLOADS</span><br />

<?php 
include "include/menu.php";
?>

<div style="float: right; width: 200px; border: solid green 1px; margin-right: 20px; padding: 10px;">
<img src="/images/xdebug-logo.png" alt="logo"/>
<p style="text-align: center;">
If you like Xdebug, please consider a <a href="/donate.php">donation</a>.
</p>
</div>

<h2>Source</h2>

<p>
The Xdebug extension helps you debugging your script by providing a lot of
valuable debug information. The debug information that Xdebug can
provide includes the following:
Ejemplo n.º 8
0
<?php

$title = "Xdebug: License";
include "include/header.php";
hits('xdebug-license');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | LICENSE</span><br />

<?php 
include "include/menu.php";
?>

<h2>License</h2>

<hr />
<p class="center">
                  The Xdebug License, version 1.01<br />
             (Based on "The PHP License", version 3.0)<br />
Copyright (c) 2002 - 2007 Derick Rethans. All rights reserved.
</p>
<hr />

<p>
Redistribution and use in source and binary forms, with or without
modification, is permitted provided that the following conditions
Ejemplo n.º 9
0
            </div>
            <p class="info">发布于
              <time><b>{$vo.updatetime|date="Y-m-d H:i:s",###}</b></time>
              ,归属于<b>
              <?php 
$_keywords = explode(' ', $vo[keywords]);
$_key = array();
foreach ($_keywords as $k) {
    $_key[] = '<a href="' . $Config['siteurl'] . 'tag-' . $k . '.html" target="_blank">' . $k . '</a>';
}
echo join(",", $_key);
?>
              </b>,
              <comment action="get_comment" catid="$vo['catid']" id="$vo['id']"> <a href="{$vo.url}" title="{$vo.title}" target="_blank">前<b>{$data.total}</b>个座位已被强势霸占!</a> </comment>
              共有<b><?php 
echo hits("c-" . $vo['catid'] . "-" . $vo['id']);
?>
</b>人围观 </p>
            <s data-id="109" class="tag tag-already-read J_AlreadyRead">已阅</s> </footer>
        </article>
      </volist>
      <!--内容循环结束-->
      <div class="wp-pagenavi"> {$pages} </div>
    </get>
  </div>
  <template file="Contents/sidebar.php"/> 
</div>
<template file="Contents/footer.php"/> 
<!--[if lte IE 6]>
<script src="http://letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]--> 
Ejemplo n.º 10
0
<?php

$title = "Xdebug: Support; Tailored Installation Instructions";
include "include/header.php";
hits('xdebug-findbinary');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | DOCUMENTATION | INSTALLATION</span><br />

<?php 
include "include/menu.php";
?>

<h2>Tailored Installation Instructions</h2>

<?php 
if ($_POST && isset($_POST['submit']) && $_POST['submit'] == 'Analyse my phpinfo() output' && isset($_POST['data'])) {
    require 'include/phpinfo-scanner.php';
    $x = new xdebugVersion();
    $x->analyse($_POST['data']);
    if (($reason = $x->determineSupported()) !== true) {
        echo "<h2>{$reason}</h2>\n";
    } else {
        $dlFile = $x->determineFile();
        $iniFile = $x->determineIniFile();
        $iniLine = $x->determineIniLine();
Ejemplo n.º 11
0
<?php

$title = "Xdebug: Donate";
include "include/header.php";
hits('xdebug-donate');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | DONATING</span><br />

<?php 
include "include/menu.php";
?>

<h2>Donating</h2>

<p>
Xdebug is a complicated piece of software, and has always been released under
an Open Source <a href='/licence.php'>licence</a>, and this will continue into
the far future. It has cost
<a href='http://derickrethans.nl/contact.html'>me</a> thousands of hours to
develop, test and support Xdebug. If you find Xdebug valuable, I would
appreciate it if you would consider a small donation.
</p>
<p>You can donate through PayPal by clicking on the Xdebug/donate logo:</p>

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
Ejemplo n.º 12
0
            $c = true;
        }
        echo <<<END
» <a href='/docs/{$name}'>{$feature[0]}</a><br />
<p class="shortdesc">
{$feature[2]}
</p>
END;
    }
    echo <<<END
<hr />
» <a href='/docs/all_settings'>All Configuration Settings</a><br />
» <a href='/docs/all_functions'>All Functions</a><br />
<hr />
END;
}
?>
</div>
<!-- MAIN FEATURE END -->
<?php 
$text = ob_get_contents();
ob_end_clean();
include "include/header.php";
hits('xdebug-docs');
echo $text;
?>
			</td>
			<td>&nbsp;</td>
		</tr>
<?php 
include "include/footer.php";
Ejemplo n.º 13
0
<?php

$title = "Xdebug: Donate";
include "include/header.php";
hits('xdebug-buy-support');
?>
		<tr>
			<td>&nbsp;</td>
			<td>
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | DONATE</span><br />

<?php 
include "include/menu.php";
?>

<h2>Donations</h2>

<p>Xdebug is a complicated piece of software, and has always been released
under an Open Source <a href='/license.php'>license</a>, and this will continue
into the far future. It has cost
<a href='http://derickrethans.nl/who.html'>me</a> thousands of hours to
develop, test and support Xdebug. If you find Xdebug valuable, I would
appreciate it if you would consider having a look at my Amazon <a
href='http://www.amazon.co.uk/registry/wishlist/SLCB276UZU8B'>Wishlist</a>. If
you want to donate something smaller, than an <a
href="https://www.amazon.co.uk/gp/product/B006AUF6X0/gcrnsts">Amazon Gift
Certificate from the UK store</a> is also very welcome.</p>
Ejemplo n.º 14
0
<?php

$title = "Xdebug: Screenshots";
include "include/header.php";
hits('xdebug-screens');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | SCREENSHOTS</span><br />

<?php 
include "include/menu.php";
?>

<a name="stack"></a>
<span class="sans">STACKTRACES</span><br />

<p>
The default PHP error handler is modified, so that the error message includes
information about the functions in the call stack together with the parameters,
as you can see in this screenshot:
</p>
<p>
<img align="center" src="images/xdebug_ss1.jpg">
</p>

<a name="function"></a>
Ejemplo n.º 15
0
    hits($hitsid);
    echo "\$('#todaydowns').html('{$dayviews}');";
    echo "\$('#weekdowns').html('{$weekviews}');";
    echo "\$('#monthdowns').html('{$monthviews}');";
} elseif ($_GET['module'] && $_GET['id']) {
    $module = $_GET['module'];
    if (preg_match('/([^a-z0-9_\\-]+)/i', $module)) {
        exit('1');
    }
    $hitsid = $module . '-' . intval($_GET['id']);
    $r = get_count($hitsid);
    if (!$r) {
        exit;
    }
    extract($r);
    hits($hitsid);
}
/**
 * 获取点击数量
 * @param $hitsid
 */
function get_count($hitsid)
{
    global $db;
    $r = $db->get_one(array('hitsid' => $hitsid));
    if (!$r) {
        return false;
    }
    return $r;
}
/**
Ejemplo n.º 16
0
<?php

$title = "Xdebug: Documentation - Protocol - GDB";
include "include/header.php";
hits('xdebug-docs-protocol-gdb');
?>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | DOCUMENTATION - PROTOCOL - GDB</span><br />

<?php 
include "include/menu-docs.php";
?>

<a name="introduction"></a>
<span class="sans">INTRODUCTION</span><br />

<p><b>more will follow soon</b></p>
			</span></td>
			<td>&nbsp;</td>
		</tr>
<?php 
include "include/footer.php";
Ejemplo n.º 17
0
          </div>
          <footer>
            <div class="author J_Author" data-weib="shuipf">
              <figure> <img alt="作者:{$vo.username}" src="<?php 
echo get_avatar(1);
?>
" class="avatar avatar-70 photo" height="70" width="70">
                <figcaption><b>{$vo.username}</b></figcaption>
              </figure>
            </div>
            <p class="info">发布于
              <time><b>{$vo.updatetime|date="Y-m-d H:i:s",###}</b></time>
              ,归属于<b>{$tag}</b>,
              <comment action="get_comment" catid="$vo['catid']" id="$vo['contentid']"> <a href="{$vo.url}" title="{$vo.title}" target="_blank">前<b>{$data.total}</b>个座位已被强势霸占!</a> </comment>
              共有<b><?php 
echo hits("c-" . $vo['catid'] . "-" . $vo['contentid']);
?>
</b>人围观 </p>
            <s data-id="109" class="tag tag-already-read J_AlreadyRead">已阅</s> </footer>
        </article>
      </volist>
      <!--内容循环结束-->
      <div class="wp-pagenavi"> {$pages} </div>
    </tags>
  </div>
  <template file="Contents/sidebar.php"/> 
</div>
<template file="Contents/footer.php"/> 
<!--[if lte IE 6]>
<script src="http://letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]--> 
    die;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["tabs"])) {
    tabs();
    exit;
}
if (isset($_GET["hits"])) {
    hits();
    exit;
}
if (isset($_GET["size"])) {
    hits(true);
    exit;
}
if (isset($_GET["users"])) {
    users();
    exit;
}
if (isset($_GET["users-search"])) {
    users_search();
    exit;
}
if (isset($_GET["websites"])) {
    websites();
    exit;
}
if (isset($_GET["websites-search"])) {