Date: 11/08/99
- Next message: Rex Byrns: "RE: [PHPLIB] using phplib online"
- Previous message: cain: "[PHPLIB] using phplib online"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Cain,
cain wrote:
> hi list, i just subscribed this list, and i hope my questionis not
> already a bore if i use phplib on my online-account, where i can't
> change theinclude_path and the auto_prepend_file,
>
> You can change this by creating a .htaccess file (if you are using
> Apache WWW Server)
> and insrerting directives that will override the defaults.
>
> See forwarded email below.
>
>
>
>
>
>
> do i haveto include the prepend.php3 everytime with the rightpath and
> set $_PHPLIB["libdir"] to my include-diror how do i do it?i am sure
> someone has experience ... thank cain
-- Chris Cochella801-588-0494 (voice) 801-883-0551 (fax) 530-688-7418 (voice) 530-323-7016 (fax)
www.cochella.com cochella <email protected>
PO Box 581015 Salt Lake City, UT 84158
attached mail follows:
Chris Cochella wrote: >Could someone show me an example of putting php directives in a >.htaccess file.
handy tip: 1 do up a page (that gets parsed) and put "phpinfo()" in it where you are piddling.
<html> <head> <title>PHP Test</title></head> <body> <?php echo "Hello World<P>"; ?> <HR> <?php echo $HTTP_USER_AGENT; ?> <HR> <?php phpinfo()?> </body></html>
2. load that page as you make changes to you configuration and it will show you all kinds of neats, especially the diff between your Master Value and Local Value.
(below could be .htaccess in top dir for user "callbox4") == AddType application/x-httpd-php3 .php AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3 .htm AddType application/x-httpd-php3 .html AddType application/x-httpd-php3 .phtml
php3_track_vars on php3_track_errors on php3_magic_quotes_gpc on php3_include_path /home/callbox4/php/ php3_auto_prepend_file /home/callbox4/php/prepend.php3
> >The PHPLIB describes this possibility: > > > >"All of this comes very handy when you have multiple virtual hosts (e.g. >you are an ISP). In this case you can comfortably place the php3 >directives in the ><VirtualHost> block or in an .htaccess file in the client directory. " >
- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.
- Next message: Rex Byrns: "RE: [PHPLIB] using phplib online"
- Previous message: cain: "[PHPLIB] using phplib online"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

