Re: [PHP] Re: safe_mode and include "http://"; question

2002-10-01 Thread Tomasz Orzechowski

[EMAIL PROTECTED] wrote on Wed, Oct 02, 2002 at 03:22:26AM +0200:
> Post it as a bug please. It looks like one, anyway it will be closed 
> if its not.

done, as bug #19703  safe_mode allows include-ing of http documents

http://bugs.php.net/bug.php?id=19703

thanks,
-- 
Tomasz Orzechowski   [EMAIL PROTECTED]
APK.net systems administration teamTO630


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] safe_mode and include "http://"; question

2002-10-01 Thread Tomasz Orzechowski

should PHP with safe_mode enabled allow include-ing of files via http://
or not?  The way I read the docs it shouldn't and I would expect it to
not allow such includes if it enforces permissions and open_basedir and
such.

i browsed around on bugs.php.net but cannot find anything revevant.  is
this a bug in php or in my perception of the docs?
-- 
Tomasz Orzechowski   [EMAIL PROTECTED]
APK.net systems administration teamTO630


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Please, help with Sourceforge's PHP command-line not working at all

2002-09-03 Thread Tomasz Orzechowski

Alberto wrote on Tue, Sep 03, 2002 at 06:32:56PM -0300:
> There is an error code that says that it cannot load module 'mm' at line 
> 0, or something like that.

in your shell do: ldd `which php`

it will most likely say something like: 'libmm.so.11 not found'

you will then need to find the 'mm' library on the system, perhaps with:
find /usr/lib -name \*mm\*
find /usr/local/lib -name \*mm\*
and set your LD_LIBRARY_PATH accordingly, or call the PHP binary with
the library preloaded: 'LD_PRELOAD=/usr/lib/libmm.so.11 php'

or I might be way off base ;)
-- 
Tomasz Orzechowski   [EMAIL PROTECTED]
APK.net systems administration teamTO630


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: PHP / Bulk E-Mail

2002-09-03 Thread Tomasz Orzechowski

Justin French wrote on Wed, Sep 04, 2002 at 11:58:10AM +1000:
> Currently I have one client who demands personalised emails.  Luckily, it's
> a small list (200 people), and I break the send-out down to batches of 20
> emails, split apart by 2 minutes (this could be done manually, or with META
> refresh tags, or even javascript).

And why does the whole process even have to be web based?  Fill out the
form with the data, and submit sort-of a batch job, recieve a report in
your inbox when it exits, c'est la vie.

Also, if using sendmail, you will benefit if you only queue up the mail,
not attempt to deliver it upon submission, and let sendmail deliver it
in a normal queue run.  This way many/all messages destined to the same
mail server will be delivered in one large transaction, not many small
ones.  A small gain, but it adds up.
-- 
Tomasz Orzechowski   [EMAIL PROTECTED]
APK.net systems administration teamTO630


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] $PHPRC and CGI php ; multiple php.ini files

2002-09-03 Thread Tomasz Orzechowski

For a summary see http://bugs.php.net/bug.php?id=19202 :)

Please be sure to follow the link to my phpinfo(); which will include
the environment variables as seen by the CGI PHP parser.  The link
is also in the 'bug' report - http://aktualnosci.tras.pl/php.sphp

Can someone please either confirm that the CGI version of PHP will look
at its environment and look at PHPRC every time, or that it will ignore
PHPRC in its environment?  Or does $PHPRC only apply to the module 
version of php and not php used via CGI?

Also, can php.ini 'include' another (global) php.ini file?  I asked this
on php-install but got no echo back, hence the repeat.

Thank you,
-- 
Tomasz Orzechowski   [EMAIL PROTECTED]
APK.net systems administration teamTO630


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Email formatting

2002-08-30 Thread Tomasz Orzechowski

Ron Dyck wrote on Fri, Aug 30, 2002 at 01:28:34PM -0400:
> Is it safe to assume that email addresses are accepted by all servers case
> insensitive?

accepted, yes, perhaps, but per rfc2821 says:

The local-part of a mailbox MUST BE treated as case sensitive.  Therefore,
SMTP implementations MUST take care to preserve the case of mailbox
local-parts.  Mailbox domains are not case sensitive.  In particular,
for some hosts the user "smith" is different from the user "Smith".
However, exploiting the case sensitivity of mailbox local-parts impedes
interoperability and is discouraged.
-- 
Tomasz Orzechowski   [EMAIL PROTECTED]
APK.net systems administration teamTO630


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php