NYCPHP Meetup

NYPHP.org

HELP!!!

Phil Powell soazine at erols.com
Mon Sep 9 03:09:37 EDT 2002


This will not post onto the PHP board for some reason!

Thanx
Phil
----- Original Message -----
From: Phil Powell
To: talk at nyphp.org
Sent: Monday, September 09, 2002 2:35 AM
Subject: Help! Live Function Cannot Be Accessed!!!!


This is live and I can't figure out what is going on with it, suddenly, it
stopped working!!!!

Warning: Unable to access ./menubar_functions.php in
/users/ppowell/web/repository.php on line 88

Fatal error: Failed opening required 'menubar_functions.php'
(include_path='.:/usr/local/lib/php') in /users/ppowell/web/repository.php
on line 88

Here is the code in repository.php:

<?

  require("menubar_functions.php");
  echo PRODUCE_MENUBAR();

?>

here is menubar_functions.php:

<?

 // This function is the PHP version of the TCL proc PRODUCE_MENUBAR which
 // will produce the menubar for all PHP files
 //
 // Syntax: echo PRODUCE_MENUBAR()
 //


 function PRODUCE_MENUBAR() {
  global $HTTP_HOST;
  $tcl = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "tclsh83" : "tclsh";
  $path = (preg_match("/\\bdyndns\\b/i", $HTTP_HOST)) ? "cgi-bin" :
"cgi-bin/cgiwrap/ppowell";
  $fileID = fopen("http://$HTTP_HOST/$path/menubar.cgi", "r");
  $menubar = fread($fileID, 1000000);
  fclose($fileID);
  return $menubar;
 }

?>

Does anyone have any insight? I'm completely out of ideas

Thanx
Phil

----- Original Message -----
From: "Hans Zaunere" <zaunere at yahoo.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Saturday, September 07, 2002 1:20 PM
Subject: Re: [nycphp-talk] PHP 4.2.3 Out and Mirrored Locally


>
> It's only a minor release, but remember that 4.2.2 was strictly a
> security release.  So essentially, 4.2.3 is the fixes from 4.2.1.
>
> Lays everything out:
>
> http://www.php.net/ChangeLog-4.php
>
>
> Hans
>
>
> --- Michael <mogmios at mlug.missouri.edu> wrote:
> > Anything special in this release?
> >
> >
> > > Hello all,
> > >
> > > It looks like PHP-4.2.3 was just released.  To help in
> > distribution,
> > > the main downloads are available from
> > http://parsec.nyphp.org/mirror/
> > >
> > > Feel free to pass this URL on to as many as you'd like.  As new
> > > releases are made, they should always be available here as well.
> >
> >
> >
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>
>
> --- Unsubscribe at http://nyphp.org/list ---
>
>




More information about the talk mailing list