For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > February 2007 > #40650 [NEW]: philip









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #40650 [NEW]: philip
philip@php.net

2007-02-26, 7:01 pm

From: philip@php.net
Operating system: OS X
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: philip

Description:
------------
require, include, and their _once siblings no longer link within the
manual when using the <function> syntax. Previous builds did, so this
appears to be a XSLT build specific problem.

Adding this bug so we don't forget.

Reproduce code:
---------------
<function>include</function>

Expected result:
----------------
A link to the manual page

Actual result:
--------------
No link

--
Edit bug report at http://bugs.php.net/?id=40650&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40650&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40650&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40650&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40650&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40650&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40650&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40650&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40650&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40650&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40650&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40650&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40650&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40650&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40650&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40650&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40650&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40650&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40650&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40650&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40650&r=mysqlcfg
Glenn Cogan

2007-02-27, 4:02 am

Philip, I can't seem to post -

I have a simple redirect form code on a business website that has worked great (until today). My site is biltconstruction.com, the form field is at the top right. When launched, my script requires another php page 'clientid.php' for access codes (this is uploaded asc II), if code is valid it will redirect the person to the approriate webpage associated with the code, if code is invalid, user gets invalid message.

My code mysteriously stopped working today after 6 years. The code is truly great, and offers a great option to handling access codes and re-direct instruction on the server, rather than webpage, but can anyone help me get it back to operational??!

This is the code that appears on every page on my site:
<?php
require (" E:\InetPub\Websites\biltconstruction\cli
entid.php");
if ($Cust_ID != '') {
$Cust_ID=strtoupper($Cust_ID);
$filename=$clientid["$Cust_ID"];
if ($filename) {
$filecontent=file("$filename");
$totalrows=count($filecontent);
$message='';
for ($i=0;$i<$totalrows;$i++) {
$message .= " $filecontent[$i]";
}
echo $message;
exit;
} else {
$strResponse = "<font color=white>Unauthorized Access!</Font><BR>";
}
} else {
$strResponse='';
}
?>
----------------------------------------------------------------------------------------------------------

This is the VERY simple code for the asc II php access code page that my script requires called "clientid.php"

<?php
$clientid=array(

"legal" => "doc.php",

"floorplan" => "plan.php"

);
?>

Any ideas...

gc
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com