RE: [PHP] enable/disable per directory

2003-06-30 Thread Micha Silver
Hello Jason: Thanks for the quick reply... > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 5:21 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] enable/disable per directory > > > On Tuesday 01 July 2003 00:12, Micha

[PHP] enable/disable per directory

2003-06-30 Thread Micha Silver
Using apache 1.3.20 and php 4.0.2 Can I enable / disable posting of php scripts per directory? i.e. no php allowd from /home//public_html TIA Micha Silver Arava Development Co. tel: (972) 8-6592270 cellular: (972) 5-3665918 -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Variable Value 2 Session Name

2002-11-05 Thread Silver
well - as far as I understand - this line... > $SessionUser = $row['.$IDFeild.']; ...should read: $SessionUser = $row[$IDField]; so - in my eyes just a syntax error. I hope I'm right in case you have session_autostart disabled in yout php.ini you first have to start the session with the ses

Re: [PHP] Re: Authentication with PHP and HTTP

2002-11-05 Thread Silver
;www.site.com/"); > ?> > > I think it might be at least better than frames. :-) > > Chris > > silver wrote: > > >you could use this URL syntax: > >http://user:password@;www.site.com to automatically log your user in to the > >htaccess protected a

[PHP] Re: Authentication with PHP and HTTP

2002-11-04 Thread silver
hi - I'm not quite sure if this will help you, but lets give it a try: you could use this URL syntax: http://user:password@;www.site.com to automatically log your user in to the htaccess protected area. the bad thing about it is that user / password show up in the URL, but you could hide this inf