[PHP] security issues on shared servers

2003-02-18 Thread David Feldman
hey purchased Web space at the same company I did) to have access to it. Is there any way, short of a dedicated server or a wholesale switch to another server-side language, to avoid these problems? Thanks. --Dave -------- -- Da

Re: [PHP] security issues on shared servers

2003-02-19 Thread David Feldman
introduced into a large multi user environment, switching programming languages would not alleviate these security issues. On Tue, 2003-02-18 at 15:49, David Feldman wrote: I run a PHP-based Web site hosted on a shared UNIX server provided by a pretty standard Web hosting company -- as I imagine

Re: [PHP] online tutorial

2003-02-19 Thread David Feldman
I originally learned PHP from the section in O'Reilly's book, Webmaster in a Nutshell. I did have extensive prior programming experience though. Since then, the PHP online manual has been more than sufficient. --Dave On Wednesday, February 19, 2003, at 07:10 AM, Awlad Hussain wrote: http://www

Re: [PHP] security issues on shared servers

2003-02-19 Thread David Feldman
to/include/file.php"; works fine, but include "include/file.php" doesn't. I don't see anything in the docs about this...what's going on? Thanks again, --Dave On Wednesday, February 19, 2003, at 08:03 AM, David Feldman wrote: Thanks. Looks like a properly configu

[PHP] safe mode not working

2003-02-19 Thread David Feldman
I've enabled safe mode on my local test server, but it doesn't seem to be working. If I run a script owned by one user (me), and within it include (using include()) another script or file owned by another user, the include is successful, whereas it shouldn't be in safe mode. I can verify throug

[PHP] sending uploaded images as mail attachments

2003-02-19 Thread David Feldman
I'm working on a script that allows the user to upload several images, then base64 encodes them and attaches them to an email to me. I'm having trouble getting the images readable on the other end. I've managed to get all the MIME types and message parts straight enough to be recognized as sepa

[PHP] Re: sending uploaded images as mail attachments

2003-02-19 Thread David Feldman
t 12:29 PM, Philip Hallstrom wrote: http://www.phpguru.org/mime.mail.html makes it pretty easy. On Wed, 19 Feb 2003, David Feldman wrote: I'm working on a script that allows the user to upload several images, then base64 encodes them and attaches them to an email to me. I'm having

[PHP] safe mode on Mac OS X?

2003-02-19 Thread David Feldman
More safe mode questions: I'm using the standard binary distribution of PHP on Mac OS X -- the one managed by Marc Liyanage, not the one that ships with OS X -- and can't seem to get safe mode working. I can turn it on and it doesn't generate any errors, but it doesn't restrict access to fil

[PHP] accessing protected remote files

2003-03-31 Thread David Feldman
I have a script that needs to open a remote file on another Web server, which may or may not be protected (for example, by an htaccess file). What would be the best way to check if it's protected, and if so, prompt the user for username and password to open it? Thanks. --Dave -- PHP General M

Re: [PHP] accessing protected remote files

2003-03-31 Thread David Feldman
cess control in whatever manner is uses. I.e., if your script tries to open a file whose access is controlled by a .htaccess file (and http-basic authentication) the user will simply get the authentication prompt when they access your page/php script. -- Original Message ------ From

Re: [PHP] accessing protected remote files

2003-04-02 Thread David Feldman
How would that work? --Dave On Monday, March 31, 2003, at 09:27 AM, Marek Kilimajer wrote: You need to use socket functions and check the response headers David Feldman wrote: I have a script that needs to open a remote file on another Web server, which may or may not be protected (for

[PHP] XSLT not doing anything

2003-06-08 Thread David Feldman
I'm trying to get the XSLT extension working, and all I can get it to do is echo the source XML back to me. I'm using sample markup from O'Reilly's XSLT book as my XML and XSL files, as follows: hello.xml: Hello, world! hello.xsl: http://www.w3.org/1999/XSL/Transform";