function display($params = array())
 {
     site_header(array('title' => $GLOBALS['Language']->getText('include_exit', 'exit_error')));
     $sendMail = new Docman_Error_PermissionDenied();
     $sendMail->buildInterface();
     $GLOBALS['HTML']->footer(array('showfeedback' => false));
     exit;
 }
Exemplo n.º 2
0
function exit_with_pretty_error($title, $header, $msg)
{
    if ($title) {
        site_header($title, array("noindex"));
    }
    echo '<h2>' . $header . '</h2>';
    echo '<p>' . $msg . '</p>';
    site_footer();
    exit;
}
Exemplo n.º 3
0
/**
 *  goodbye - Just prints a message and a close button.
 *
 *  @param  string	 The message.
 */
function goodbye($msg)
{
    site_header(array('title' => _('Attachments')));
    html_feedback_top($msg);
    echo '<p><p><center><form method="post"><input type="button" value="Close Window" onclick="window.close()"></form></center>';
    site_footer(array());
    exit;
    /*echo "<center>" . $msg . "</center><p>";
    	die ('<center><form method="post"><input type="button" value="Close Window" onclick="window.close()"></form></center>');*/
}
Exemplo n.º 4
0
function welcome_exit_error($title, $text)
{
    global $HTML, $Language, $pv;
    $GLOBALS['feedback'] .= $title;
    if (isset($pv) && $pv == 2) {
        $HTML->pv_header(array());
    } else {
        site_header(array('title' => $Language->getText('include_exit', 'exit_error'), 'registeration_process' => true));
    }
    echo '<p>', $text, '</p>';
    isset($pv) && $pv == 2 ? $HTML->pv_footer(array()) : $HTML->footer(array('showfeedback' => false));
    exit;
}
Exemplo n.º 5
0
function exit_error($title, $text = '')
{
    global $HTML, $Language;
    $GLOBALS['feedback'] .= $title;
    // if the error comes from the SOAP API, we don't display the site_header and footer, but a soap fault (xml).
    if (substr($_SERVER['SCRIPT_NAME'], 1, 4) != "soap") {
        site_header(array('title' => $Language->getText('include_exit', 'exit_error')));
        echo '<p>', $text, '</p>';
        $HTML->footer(array('showfeedback' => false));
    } else {
        exit_display_soap_error();
    }
    exit;
}
Exemplo n.º 6
0
 public function process(Codendi_Request $request)
 {
     switch ($request->get('action')) {
         case 'provide_datas':
             header('Content-type : text/csv');
             echo file_get_contents($this->getCacheFolder() . 'data.csv');
             break;
         case 'beacon':
             $this->processBoomerangDatas($request);
             break;
         default:
             require_once 'common/templating/TemplateRendererFactory.class.php';
             $header_params = array('title' => 'Boomerang');
             site_header($header_params);
             $renderer = TemplateRendererFactory::build()->getRenderer(BOOMERANG_BASE_DIR . '/../templates');
             $presenter = new PerfDataPresenter();
             $renderer->renderToPage('perf-data', $presenter);
             site_footer(null);
             break;
     }
 }
Exemplo n.º 7
0
 function _header($params)
 {
     if (!headers_sent()) {
         header("Cache-Control: no-store, no-cache, must-revalidate");
         // HTTP/1.1
         header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
         // Date in the past
     }
     if (isset($params['title'])) {
         $htmlParams['title'] = $params['title'];
     } else {
         $htmlParams['title'] = $this->_getTitle($params);
     }
     $htmlParams = array_merge($htmlParams, $this->_getAdditionalHtmlParams($params));
     if (isset($params['pv']) && $params['pv'] > 0) {
         $htmlParams['pv'] = $params['pv'];
         $GLOBALS['HTML']->pv_header($htmlParams);
     } else {
         $GLOBALS['HTML']->includeCalendarScripts();
         site_header($htmlParams);
     }
 }
Exemplo n.º 8
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'releases/5_4_25.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP 5.4.25 Release Announcement");
?>

<h1>PHP 5.4.25 Release Announcement</h1>

<p>The PHP development team announces the immediate availability of PHP
5.4.25. 5 bugs were fixed in this release.
All PHP 5.4 users are encouraged to upgrade to this version.
</p>

<p>For source downloads of PHP 5.4.25 please visit our <a href="http://www.php.net/downloads.php">downloads page</a>,
Windows binaries can be found on <a href="http://windows.php.net/download/">windows.php.net/download/</a>.
The list of changes is recorded in the <a href="http://www.php.net/ChangeLog-5.php#5.4.25">ChangeLog</a>.
</p>

<?php 
site_footer();
Exemplo n.º 9
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'license/index.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("License Information", array("current" => "help"));
?>

<h1>PHP Licensing</h1>

<p>
For licensing and copyright information on the PHP project materials, please see the following links:
</p>    

<ol>
 <li><a href="#code-lic">PHP Codebase</a></li>
 <li><a href="#doc-lic">PHP Documentation</a></li>
 <li><a href="#web-lic">PHP Website</a></li>
 <li><a href="#logo-lic">PHP Logo</a></li>
 <li><a href="#faq-lic">FAQ's</a></li>
 <li><a href="#other-lic">Licensing information for related projects</a></li>
</ol>

<ol>
 <li><!-- {{{ code-lic -->
  <a name="code-lic"></a>
  <h2>PHP Codebase</h2>

  <ul>
   <li>
    PHP 4 and PHP 5 are distributed under the
<?php

require_once 'sp-bootstrap.php';
$bootstrap->isLoggedIn();
$system = 'time';
$type = 'pay_period_hours';
site_header($system);
$get_page = $_SERVER['PHP_SELF'];
site_header($system);
?>
         
    
     <h3><a href="/main/settings.php">Settings</a>  > <?php 
echo $_GET['id'] ? '<a href="' . $get_page . '">Pay Period Hours</a>' : 'Pay Period Hours';
?>
</h3>
     <div data-role="controlgroup" data-type="horizontal" class="ui-mini">
        <a href="<?php 
echo $_SERVER['PHP_SELF'];
?>
?add=true" class="ui-btn ui-btn-icon-right ui-icon-plus">Add</a>
        <a href="<?php 
echo $_SERVER['PHP_SELF'];
?>
?edit=true" class="ui-btn ui-btn-icon-right ui-icon-edit">Edit</a>
        <a href="<?php 
echo $_SERVER['PHP_SELF'];
?>
?delete=true" class="ui-btn ui-btn-icon-right ui-icon-delete">Delete</a>
    </div>
<?php 
Exemplo n.º 11
0
<?php

$_SERVER['BASE_PAGE'] = 'archive/2016.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/pregen-news.inc';
news_archive_sidebar();
site_header("News Archive - 2016");
//site_header("News Archive - 2016", array("cache" => true));
?>

<h1>News Archive - 2016</h1>

<p>
 Here are the most important news items we have published in 2016 on PHP.net.
</p>

<hr>

<?php 
print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage", "nofrontpage"), 500, 2016);
/* %s/<a href="\(.*\)"><img src="\/images\/news\/\(.*\)" alt="\(.*\)" width.*><\/a>/<?php news_image("\1", "\2", "\3"); ?>/g */
site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA));
Exemplo n.º 12
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'software.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP Software", array("current" => "help"));
?>

<h1>PHP Software</h1>

<p>
 This page contains a list of sites where you can find software distributed
 under the <a href="/license/3_01.txt">PHP license</a>.  
</p>

<p>
 <?php 
echo make_image("logos/php-icon-white.gif", $alt = "www.php.net", "left");
?>
&nbsp;
 <a href="http://www.php.net/">www.php.net</a><br />
 &nbsp;Main site for the PHP project.<br clear="left" />
</p>
<p>
 <?php 
echo make_image("pear-icon.png", $alt = "pear.php.net", "left");
?>
&nbsp;
 <a href="http://pear.php.net/">pear.php.net</a><br />
 &nbsp;The PEAR project where you can find reusable components for PHP .<br clear="left" />
</p>
Exemplo n.º 13
0
$SIDEBAR_DATA = '
<div class="panel">
  <a href="/supported-versions.php">Supported Versions</a>
  <div class="body">
    Check the <a href="/supported-versions.php">supported versions</a> page for
    more information on the support lifetime of each version of PHP.
  </div>
</div>

<p class="panel"><a href="download-docs.php">Documentation download</a></p>
<p class="panel"><a href="download-logos.php">PHP logos</a></p>

<p class="panel"><a href="/git.php">Development sources (git)</a></p>
<p class="panel"><a href="/releases/">Old archives</a></p>
';
site_header("Downloads", array('link' => array(array("rel" => "alternate", "type" => "application/atom+xml", "href" => $MYSITE . "releases/feed.php", "title" => "PHP Release feed")), "current" => "downloads"));
?>
<a id="v5"></a>
<?php 
$i = 0;
foreach ($releases as $v => $a) {
    ?>
  <?php 
    $mver = substr($v, 0, strrpos($v, '.'));
    ?>
  <?php 
    $stable = $i++ === 0 ? "Current Stable" : "Old Stable";
    ?>

  <h3 id="v<?php 
    echo $v;
Exemplo n.º 14
0
 *
 * You should have received a copy of the GNU General Public License
 * along with Codendi; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * 
 */
require 'pre.php';
$hp = Codendi_HTMLPurifier::instance();
$vPv = new Valid_Pv();
if ($request->valid($vPv) && $request->get('pv') == 2) {
    $pv = 2;
    $HTML->pv_header(array());
} else {
    $pv = 0;
    site_header(array('title' => $Language->getText('my_redirect', 'page_title')));
}
$vReturnTo = new Valid_String('return_to');
$vReturnTo->required();
if ($request->valid($vReturnTo)) {
    // if return_to URL start with a protocol name then take as is
    // otherwise prepend the proper http protocol
    // Re-serialize feedback to display it on the 'return_to' page.
    $HTML->_serializeFeedback();
    $return_to = trim($request->get('return_to'));
    $use_ssl = session_issecure() || $GLOBALS['sys_force_ssl'];
    if ($use_ssl) {
        $server_url = "https://" . $GLOBALS['sys_https_host'];
    } else {
        $server_url = "http://" . $GLOBALS['sys_default_domain'];
    }
Exemplo n.º 15
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'releases/4_2_0_fr.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("Annonce de publication de PHP 4.2.0", array("lang" => "fr"));
?>

<h1>Annonce de publication de PHP 4.2.0</h1>

<p>[ <a href="/releases/4_2_1.php">English Version</a> ]</p>

<p>
 Apr&egrave;s avoir pass&eacute; avec succ&egrave;s le processus
 qualit&eacute;, PHP 4.2.0 est officiellement <a href="/downloads.php">publi&eacute;</a>!
</p>

<h2>Variables externes</h2>

<p>
 Le changement le plus important de PHP 4.2.0 concerne la gestion des
 variables. Les <strong>variables externes (issues de l'environnement d'ex&eacute;cution,
 des requ&ecirc;tes HTTP, des cookies ou du serveur web) ne sont plus enregistr&eacute;es
 dans l'environnement d'ex&eacute;cution global par d&eacute;faut.</strong>
 La m&eacute;thode recommand&eacute;e pour acc&eacute;der aux variables
 externes est d'utiliser les nouveaux tableaux globaux, introduits en
 PHP 4.1.0. Pour plus d'informations sur ces modifications:
</p>
<ul>
 <li><a href="/variables.predefined">PHP Manual : Predefined variables</a></li>
 <li><a href="/releases/4_1_0.php">Annonce de PHP 4.1.0</a></li>
Exemplo n.º 16
0
        }
    }
    $db->sql_freeresult($result);
    /**
     * Query recently opened and closed reports 
     */
    $stat_reports = array('new_reports' => array('WHERE' => 'r.report_closed = 0', 'LIMIT' => 5), 'closed_reports' => array('WHERE' => 'r.report_closed = 1', 'LIMIT' => 5));
    if ($user->data['is_registered'] && !$user->data['is_bot']) {
        $stat_reports['own_reports'] = array('WHERE' => 'r.report_closed = 0 AND t.topic_poster = ' . $user->data['user_id'], 'LIMIT' => false);
        $stat_reports['assigned_reports'] = array('WHERE' => 'r.report_closed = 0 AND r.report_assigned = ' . $user->data['user_id'], 'LIMIT' => false);
    }
    // Query the reports
    foreach ($stat_reports as $name => $settings) {
        $sql_array = array('SELECT' => 'r.report_id, r.report_title, p.project_name, p.project_title', 'FROM' => array(BUGS_REPORTS_TABLE => 'r'), 'LEFT_JOIN' => array(array('FROM' => array(TOPICS_TABLE => 't'), 'ON' => 'r.topic_id = t.topic_id'), array('FROM' => array(BUGS_PROJECTS_TABLE => 'p'), 'ON' => 'r.project_id = p.project_id')), 'WHERE' => $settings['WHERE'], 'ORDER_BY' => 't.topic_time DESC');
        if (isset($settings['LIMIT'])) {
            $result = $db->sql_query_limit($db->sql_build_query('SELECT', $sql_array), $settings['LIMIT'], 0);
        } else {
            $result = $db->sql_query($db->sql_build_query('SELECT', $sql_array));
        }
        while ($row = $db->sql_fetchrow($result)) {
            $template->assign_block_vars($name, array('REPORT_ID' => $row['report_id'], 'PROJECT_TITLE' => $row['project_title'], 'REPORT_TITLE' => $row['report_title'], 'U_REPORT' => append_sid($phpbb_root_path . 'bugs.' . $phpEx, 'mode=report&amp;project=' . urlencode($row['project_name']) . '&amp;report_id=' . $row['report_id'])));
        }
        $db->sql_freeresult($result);
    }
    // Assign some vars
    $template->assign_vars(array('U_BUG_TRACKER' => append_sid($phpbb_root_path . 'bugs.' . $phpEx)));
    // Output page
    site_header($user->lang['BUG_TRACKER'], 'bugs', array(array('bugs.' . $phpEx, 'BUG_TRACKER')));
    $template->set_filenames(array('body' => 'bugs_index.html'));
    site_footer();
}
Exemplo n.º 17
0
<?php

require_once 'sp-bootstrap.php';
$bootstrap->isLoggedIn();
site_header();
$get_page = $_SERVER['PHP_SELF'];
$type = 'time_entries';
$data = $bootstrap->get_equipment();
// Pull in most recently used employee list
//$previous_list = $bootstrap->get_lastsubmitted_emp($bootstrap->userInfo['id']);
//$employee_count = count($previous_list);
?>
<script type="text/javascript">
	$(document).ready(function(){
    $('.check:button').toggle(function(){
        $('input:checkbox').attr('checked','checked');
        $(this).val('uncheck all')
    },function(){
        $('input:checkbox').removeAttr('checked');
        $(this).val('check all');        
    })
})
</script>
    <form action="submit.php" method="post">
    <fieldset> 
   <div data-role="content" >
      
            <input type="hidden" id="submitter_id" name="submitter_id" value="<?php 
echo $bootstrap->userInfo['id'];
?>
" > 
Exemplo n.º 18
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'releases/4_1_0.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP 4.1.0 Release Announcement");
?>

<h1>PHP 4.1.0 Release Announcement</h1>

<p>
 After a lengthy QA process, PHP 4.1.0 is <a href="/downloads.php">finally out</a>!<br>
 [ <a href="/releases/4_1_0_fr.php">Version Fran&ccedil;aise</a> ]
</p>

<p> PHP 4.1.0 includes several other key improvements:</p>
<ul>
 <li>A new input interface for improved security (read below)</li>
 <li>Highly improved performance in general</li>
 <li>
  Revolutionary performance and stability improvements under
  Windows.  The multithreaded server modules under Windows (ISAPI,
  Apache, etc.) perform as much as 30 times faster under load!  We
  want to thank Brett Brewer and his team in Microsoft for working
  with us to improve PHP for Windows.
 </li>
 <li>
  Versioning support for extensions.  Right now it's barely being
  used, but the infrastructure was put in place to support separate
  version numbers for different extensions.  The negative side effect
  is that loading extensions that were built against old versions of
Exemplo n.º 19
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'releases/5_6_2.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP 5.6.2 Release Announcement");
?>

<h1>PHP 5.6.2 Release Announcement</h1>

<p>The PHP development team announces the immediate availability of PHP 5.6.2.
Four security-related bugs were fixed in this release, including fixes for CVE-2014-3668, CVE-2014-3669 and CVE-2014-3670.
All PHP 5.6 users are encouraged to upgrade to this version.
</p>

<p>For source downloads of PHP 5.6.2 please visit our <a href="http://www.php.net/downloads.php">downloads page</a>,
Windows binaries can be found on <a href="http://windows.php.net/download/">windows.php.net/download/</a>.
The list of changes is recorded in the <a href="http://www.php.net/ChangeLog-5.php#5.6.2">ChangeLog</a>.
</p>

<?php 
site_footer();
Exemplo n.º 20
0
<?php

//
// SourceForge: Breaking Down the Barriers to Open Source Development
// Copyright 1999-2000 (c) The SourceForge Crew
// http://sourceforge.net
//
// $Id: contact.php,v 1.3 2001/01/13 18:32:01 child Exp $
require "pre.php";
// Initial db and session library, opens session
site_header(array('title' => 'Contact Us'));
?>

<P>You may contact any of the <A href="staff.php">staff</A> directly via email.
<P>
All <B>support questions</B> should be submitted through the 
<A HREF="/support/?func=addsupport&group_id=1">Support Manager</A>.
<P>
If you feel you are encountering a <B>bug</B> or unusual error of any kind, 
please <A HREF="/bugs/?func=addbug&group_id=1"><B>submit a bug</B></A>.

<P>All press inquiries should be directed to:
<UL><LI><A href="/sendmessage.php?toaddress=eureka_maillink_valinux.com">Eureka Endo</A>
<BR>Press Relations Manager, VA Linux Systems
<BR>408.542.5754</UL>

<P>All complaints/bugs should be directed to:
<UL><LI><A href="/bugs/?group_id=1">Our Bug Tracking System</A></UL>
<P>If you're especially bored, you can visit our bug tracking system
to see what other people have submitted, too.
Exemplo n.º 21
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'releases/5_2_9.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP 5.2.9 Release Announcement");
?>

<h1>PHP 5.2.9 Release Announcement</h1>
<p>
The PHP development team would like to announce the immediate
availability of PHP 5.2.9. This release focuses on improving the stability of
the PHP 5.2.x branch with over 50 bug fixes, several of which are security related. 
All users of PHP are encouraged to upgrade to this release.
</p>

<p>
<b>Security Enhancements and Fixes in PHP 5.2.9:</b>
</p>
<ul>
	<li>Fixed security issue in imagerotate(), background colour isn't validated correctly with a non truecolour image. Reported by Hamid Ebadi, APA Laboratory (Fixes CVE-2008-5498). (Scott)</li>
	<li>Fixed a crash on extract in zip when files or directories entry names contain  a relative path. (Pierre)</li>
	<li>Fixed explode() behavior with empty string to respect negative limit. (Shire)</li>
	<li>Fixed a segfault when malformed string is passed to json_decode(). (Scott)</li>
</ul>

<p>
<b>Key enhancements in PHP 5.2.9 include:</b>
</p>
<ul>
	<li>Added optional sorting type flag parameter to array_unique(). Default is SORT_REGULAR. (Andrei)</li>
Exemplo n.º 22
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'download-logos.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
$SIDEBAR_DATA = '
<h3>More PHP artwork</h3>
<p>
 <a href="http://www.elroubio.net/">Vincent Pontier</a> also made some
 really neat PHP artwork, for the French PHP sites, and for the benefit
 of the whole community. You can download some of his works and use
 under a GPL license.
</p>
';
site_header("Download Logos", array("current" => "downloads"));
// Print recommended star cell
function print_star()
{
    echo "<td class=\"star\"><span class=\"star\" title=\"recommended\">*</span></td>\n";
}
// Provide a random bgcolor setting for a cell
function random_bgcolor($min, $max)
{
    echo "style=\"background-color: #" . sprintf('%02x%02x%02x', rand($min, $max) * 51, rand($min, $max) * 51, rand($min, $max) * 51) . ";\"";
}
?>

<h1>Download Logos and Icons</h1>

<p>
 Right click on one of the images and select "Save Image As" to save the
Exemplo n.º 23
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'archive/2007.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
news_archive_sidebar();
site_header("News Archive - 2007", array("generate_modified" => true));
?>

<h1>News Archive - 2007</h1>

<p>
 Here are the most important news items we have published in 2007 on PHP.net.
</p>

<hr />

<div class="newsItem">
    <a name="2007-11-08-1" id="2007-11-08-1"><h1>PHP 5.2.5 Released</h1></a>
    <div>
  <span class="newsdate">[09-Nov-2007]</span>
  <p>        The PHP development team would like to announce the immediate        <a href="/downloads.php#v5">availability of PHP 5.2.5</a>.        This release focuses on improving the stability of the PHP 5.2.x        branch with over 60 bug fixes, several of which are security related.        All users of PHP are encouraged to upgrade to this release.</p>

  <p>        Further details about the PHP 5.2.5 release can be found in the        <a href="/releases/5_2_5.php">release announcement for 5.2.5</a>, the full list of        changes is available in the <a href="/ChangeLog-5.php#5.2.5">ChangeLog for PHP 5</a>.</p>
  <p>
    <b>Security Enhancements and Fixes in PHP 5.2.5:</b>
  </p>
  <ul>

    <li>Fixed dl() to only accept filenames. Reported by Laurent Gaffie.</li>
    <li>Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887). Reported by Laurent Gaffie.</li>
Exemplo n.º 24
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'releases/7_0_3.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP 7.0.3 Release Announcement");
?>

     <h1>PHP 7.0.3 Release Announcement</h1>
     
     <p>The PHP development team announces the immediate availability of PHP
     7.0.3. This is a security release. Several security bugs were fixed in
     this release. 
     
     All PHP 7.0 users are encouraged to upgrade to this version.
     </p>
     
     <p>For source downloads of PHP 7.0.3 please visit our <a href="http://www.php.net/downloads.php">downloads page</a>,
     Windows source and binaries can be found on <a href="http://windows.php.net/download/">windows.php.net/download/</a>.
     The list of changes is recorded in the <a href="http://www.php.net/ChangeLog-7.php#7.0.3">ChangeLog</a>.
     </p>

<?php 
site_footer();
Exemplo n.º 25
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'archive/2006.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
news_archive_sidebar();
site_header("News Archive - 2006", array("cache" => true));
?>

<h1>News Archive - 2006</h1>

<p>
 Here are the most important news items we have published in 2006 on PHP.net.
</p>

<hr>
<?php 
news_image("http://www.prophp.com.br/phpconference.php", "phpconfbrasil.jpg", "PHP Brasil 2007");
?>
<h1>PHP Conference Brazil</h1>
<p>
 <span class="newsdate">[27-Nov-2006]</span>
 The PHP Conference Brasil is the first Brazilian conference related exclusively
 to the PHP language in Sao Paulo, on December 1st and 2nd, 2006.
</p>

<p>
 It will be a 
 great opportunity to establish a sustainable Brazilian PHP community and to
 exchange ideas among our professionals.
 More info is available at
Exemplo n.º 26
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'manual/help-translate.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
site_header("Help translate the PHP Manual");
?>

<h3>Looking for a translation?</h3>
<p>
The PHP Manual has over 30 translations already setup, but due to inactivity many have been taken offline. The odds are high that your language has already started a translation, but for various reasons it's no longer being updated or shown at php.net.
</p>

<h3>How to help translate the PHP Manual</h3>
<p>
If you're interested in helping translate a specific language, then please read the translation section of the <a href="https://wiki.php.net/doc/howto">PHP Documentation HOWTO</a> and contact the appropriate mailing list. Whether or not your language is shown below, you are very welcome to help translate the PHP Manual from English to another language.
</p>

<h3>Using outdated translations</h3>
<p>
The following list of languages already contain SVN modules, and will show up on the documentation development server. Warning: These translations are considered outdated, so content within each may be completely wrong or insecure!
</p>

<h3>Inactive languages already in SVN</h3>
<ul>
<?php 
// $none are manuals we don't even have old versions of
$none = array('ar');
foreach ($INACTIVE_ONLINE_LANGUAGES as $cc => $lang) {
    $link = '<a href="http://docs.php.net/manual/' . $cc . '">archive</a>';
Exemplo n.º 27
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'releases/4_3_3.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("Annonce de publication de PHP 4.3.3");
?>

<h1>Annonce de publication de PHP 4.3.3</h1>

<p>[ <a href="/releases/4_3_3.php">English version</a> ]</p>

<p>
Apr&egrave;s avoir suivi un long processus qualit&eacute;, <a href="/downloads.php">PHP 4.3.3</a> est disponible!<br />
Cette version de maintenance r&eacute;sout un bon nombre de bugs d&eacute;couverts
dans des versions ant&eacute;rieures de PHP. Elle corrige aussi plusieurs
probl&egrave;mes de s&eacute;curit&eacute;. Il est <strong>vivement recommand&eacute;</strong> &agrave; tous les
utilisateurs d'utiliser cette version aussit&ocirc;t que possible.
</p>

<h2>Corrections et nouveaut&eacute;s</h2>

<p>
PHP 4.3.3 contient la liste suivante et non exhaustive de corrections,
am&eacute;liorations et ajouts :
</p>

<ul>
<li>Am&eacute;lioration du moteur pour utiliser les entr&eacute;es/sorties Posix et socket lorsque c'est possible.</li>
<li>Corrections de plusieurs probl&egrave;mes de d&eacute;passement de capacit&eacute; avec les entiers et buffers.</li>
<li>Correction des jeux de caract&egrave;res multi-octets qui incluent le caract&egrave;re 0x5c en tant que second octet des formulaires multipart/form-data.</li>
Exemplo n.º 28
0
<?php

// $Id$
$_SERVER['BASE_PAGE'] = 'usage.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP Usage Stats", array("current" => "community"));
?>

<h1>Usage Stats for January 2013</h1>

<p>
PHP: 244M sites, 2.1M IP addresses<br>
Source: <a href="http://news.netcraft.com/archives/2013/01/31/php-just-grows-grows.html">Netcraft</a><br>
</p>

<p>
<?php 
print_image("stats/php-trend-201301-netcraft.png", "Graph");
?>
</p>

<p>
<a href="http://w3techs.com/">w3techs.com</a> provides statistics for
<a href="http://w3techs.com/technologies/overview/programming_language/all">server-side programming languages</a>
where you can also see the market share
<a href="http://w3techs.com/technologies/details/pl-php/all/all">by version</a>.
<br>
See their <a href="http://w3techs.com/faq">FAQ</a> and <a href="http://w3techs.com/technologies">technologies</a>
page for the details of the methodologies used for the surveys.
</p>
Exemplo n.º 29
0
<?php

// $Id: 5_2_0.php,v 1.4 2007/01/16 16:04:05 bjori Exp $
$_SERVER['BASE_PAGE'] = 'releases/5_5_1.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP 5.5.1 Release Announcement");
?>

<h1>PHP 5.5.1 Release Announcement</h1>
<p>
The PHP development team is proud to announce the immediate availability
of PHP <a href="http://php.net/downloads.php#v5.5.1">5.5.1</a>.
This release fixes several bugs.
</p>

<p>The PHP development team announces the immediate availability of PHP
5.5.1. About 20 bugs were fixed, including a security fix in the XML parser (Bug #65236).
All users of PHP are encouraged to upgrade to this release.</p>

<p>For source downloads of PHP 5.5.1 please visit our <a href="http://www.php.net/downloads.php">downloads page</a>,
Windows binaries can be found on <a href="http://windows.php.net/download/">windows.php.net/download/</a>.
The list of changes is recorded in the <a href="http://www.php.net/ChangeLog-5.php#5.5.1">ChangeLog</a>.
</p>

<?php 
site_footer();
Exemplo n.º 30
0
<html lang='en'>
	<head>
		<meta charset='utf-8'>
		<meta http-equiv='X-UA-Compatible' content='IE=edge'>
		<meta name='viewport' content='width=device-width, initial-scale=1'>
		
		<title>Bloghub</title>

		<link href='css/form.css' rel='stylesheet'>
		<link href='css/global.css' rel='stylesheet'>
		<link href='css/bootstrap.min.css' rel='stylesheet'>
	</head>

	<body>
		<?php 
echo site_header($navbar);
?>
		<div class="col-sm-8 blog-main">
			<form class="form-signin" action="register_submit.php" method="post">
				<h2 class="form-signin-heading">Register</h2>
				<label for="email" class="sr-only">E-mail Address</label>
				<input type="email" id="email" name="email" class="form-control" placeholder="E-mail address" required autofocus>
				<label for="username" class="sr-only">Username</label>
				<input id="username" name="username" class="form-control" placeholder="Username" pattern="[a-zA-Z0-9]+" maxlength="20" required>
				<p>Usernames can only contain letters and numbers, with a maximum length of 20 characters.</p>
				<label for="password" class="sr-only">Password</label>
				<input type="password" id="password" name="password" class="form-control" placeholder="Password" required>
				<label for="repass" class="sr-only">Retype Password</label>
				<input type="password" id="repass" name="repass" class="form-control" placeholder="Retype Password" required>
				<input type="hidden" name="form_token" value="<?php 
echo $form_token;