| michaelrflora@netscape.net 2004-03-26, 11:23 pm |
| >Hi, I have little experience with php. _I am installing an application that uses php with embedded html. _When I use Netscape 7.1 to access the application, I get lots of warnings. _Here is an example:
>
>Warning: undefined constant 'general_user_attrs' used as general_user_attrs in /var/www/html/dialup_admin/htdocs/user_new.php3 line 12
>
>The constant general_user_attrs is a user-defined parameter defined in the .conf file for the application. _The .conf file is read in by a php function that stores all parameters in an array called $config. _This array is referenced in php files througho
ut the application tree.
>
>It *appears* that $config is not being passed by php to all the separate files. _Do I have to manually configure php to do this? _Or is the problem something else altogether? _This application (dialup_admin) is not a beta, rather is in general use. _I am
using Red Hat 7.2, PHP 4.0.6, apache 1.3.20.
>
>Regards,
>Michael Flora
>InfinET LLC
>
>"You know my method. _It is founded upon the observance of trifles." -- Sherlock Holmes in "The Boscombe Valley Mystery"
________________________________________
__________________________
Introducing the New Netscape Internet Service.
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
|