php-windows Digest 28 Mar 2002 20:07:26 -0000 Issue 1067

Topics (messages 12798 through 12806):

R: [PHP-WIN] Session errors....
        12798 by: Alberto. Sartori

Re: Session errors....
        12799 by: Martin.Andrew

mail() with attachments
        12800 by: George Pitcher

R: [PHP-WIN] mail() with attachments
        12801 by: Darvin Andrioli

ASP vs PHP
        12802 by: Ciro Martins

Re: [PHP] ASP vs PHP
        12803 by: J. Scott Johnson

Please, forgive me, and ignore this stupid test mail....
        12804 by: Svensson, B.A.T. (HKG)

PDF color issue
        12805 by: Ethan Nelson

Problems with PHP 4.1.2 and COM automation
        12806 by: Alavi, Ahmad A

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Check if you have the correct permissions on that folder (write)

-----Messaggio originale-----
Da: Piotr Pluciennik [mailto:[EMAIL PROTECTED]]
Inviato: giovedì 28 marzo 2002 8.15
A: [EMAIL PROTECTED]
Oggetto: Re: [PHP-WIN] Session errors....


Hi,

PHP cannot save session information to your disk. As
described in error message you probably haven't
defined correct path to session directory (it's
different on linux and windows)... or not set rights
to it. So check php.ini "session.save_path" and
properties of that directory. 
 
For example:
session.save_path = c:\sessions

HTH 
Piotr

--- "Martin.Andrew" <[EMAIL PROTECTED]> wrote:
> Quick Question...
> 
> I am registering a session with the session_start(),
> session_register()
> functions,
> when I do it on our test server (UNIX, Apache) I
> have no problems, locally
> (Win2K, Apache) I get the follwoing error
> 
> Warning:
> open(/tmp\sess_0ac1a7836d05713e245d299b54528e64,
> O_RDWR) failed: m
> (2) in d:\projects\shop\cart.inc on line 5
> 
> I have checked the php.ini thinking it's a
> configuration problem but both
> are identical, concerning session details anyway!
> Could it be an apache configuration issue?
> Anyone got any ides?
> Thanks.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

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

--- End Message ---
--- Begin Message ---
That does the trick, I must have changed this (long) before as it was
looking for a directory that no longer exists!
Thanks.

-----Original Message-----
From: Piotr Pluciennik [mailto:[EMAIL PROTECTED]]
Sent: 28 March 2002 08:15
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Session errors....


Hi,

PHP cannot save session information to your disk. As
described in error message you probably haven't
defined correct path to session directory (it's
different on linux and windows)... or not set rights
to it. So check php.ini "session.save_path" and
properties of that directory. 
 
For example:
session.save_path = c:\sessions

HTH 
Piotr

--- "Martin.Andrew" <[EMAIL PROTECTED]> wrote:
> Quick Question...
> 
> I am registering a session with the session_start(),
> session_register()
> functions,
> when I do it on our test server (UNIX, Apache) I
> have no problems, locally
> (Win2K, Apache) I get the follwoing error
> 
> Warning:
> open(/tmp\sess_0ac1a7836d05713e245d299b54528e64,
> O_RDWR) failed: m
> (2) in d:\projects\shop\cart.inc on line 5
> 
> I have checked the php.ini thinking it's a
> configuration problem but both
> are identical, concerning session details anyway!
> Could it be an apache configuration issue?
> Anyone got any ides?
> Thanks.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi guys,

I'm doing a query/export/email routine and I can't find anything on
attachments. The manual says that attachments can be handled but doesn't say
how or give any examples.

I'm sure that this must be in widespread use, so can anyone give me a
pointer or two?

George

--- End Message ---
--- Begin Message ---
See this colomns

http://www.zend.com/zend/spotlight/sendmimeemailpart1.php

Darvin

> -----Messaggio originale-----
> Da: George Pitcher [mailto:[EMAIL PROTECTED]]
> Inviato: giovedì 28 marzo 2002 12.26
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] mail() with attachments
>
>
> Hi guys,
>
> I'm doing a query/export/email routine and I can't find anything on
> attachments. The manual says that attachments can be handled but
> doesn't say
> how or give any examples.
>
> I'm sure that this must be in widespread use, so can anyone give me a
> pointer or two?
>
> George
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---

Hi!


I've been programming in PHP for long. But one question that always is
coming to my mind is to know if there exists some kind of tools (like
for SP. It exists a tool called ASPWebTools for wich it is possible to
develop applications written in ASP and connecting with DB like SQL
Server in an automatic way) that can help in the development of
applications using PHP and databases. For instance, that could allow to
develop automatically forms to connect to databases using PHP.

Does anyone know any related application or tools.
Because in ASP with that tool is more easy to develop code.

Thanks in advance

Ciro Martins

--- End Message ---
--- Begin Message ---
I've seen a tool called Code Charge which claims to do that.

http://www.codecharge.com/index2.html

And, I think that the new Zend tools make this easier (but I really haven't
started evaluation yet).

www.zend.com

Scott

* * * * * * * * * * * * * * * * * * * * * * * * * *
J. Scott Johnson
PHP Consulting and Design Work
* * * * * * * * * * * * * * * * * * * * * * * * * *
Virtual:
* * * * * * * * * * * * * * * * * * * * * * * * * *
[EMAIL PROTECTED]
http://www.fuzzygroup.com/
Yahoo IM: fuzzygroup



-----Original Message-----
From: Ciro Martins [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 7:49 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] ASP vs PHP



Hi!


I've been programming in PHP for long. But one question that always is
coming to my mind is to know if there exists some kind of tools (like
for SP. It exists a tool called ASPWebTools for wich it is possible to
develop applications written in ASP and connecting with DB like SQL
Server in an automatic way) that can help in the development of
applications using PHP and databases. For instance, that could allow to
develop automatically forms to connect to databases using PHP.

Does anyone know any related application or tools.
Because in ASP with that tool is more easy to develop code.

Thanks in advance

Ciro Martins


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


--- End Message ---
--- Begin Message ---
 
--- End Message ---
--- Begin Message ---
Hello,

I checked the developer database, and I'm not saying it isn't in there...
but I couldn't find it, so here it goes:

Here is the problem... given the code below, I would expect a fill color of
73% cyan, 26% magenta, 5% yellow and 0 black.  However, the 73% cyan will
default to zero unless you specify 1.  The bug is that no gradient is
allowed for the first color option in the pdf set color command.  It takes
either 1 or zero and anything in between defaults to zero.  This is true of
RGB as well.  If you do not specify 1, the first colorspace defaults to 0.

pdf_setcolor("$pdf","fill","cmyk",.73,.26,.05,0);

I'm using php 4.05 RC1.  I know there was a bug about the last options being
required but ignored for color options, such as RGB, that doesn't make use
of them, but I don't know of one relating to this... am I doing something
wrong?

-Ethan Nelson
--- End Message ---
--- Begin Message ---
We have an automated COM application that has been working with ASP for years. We are 
trying to use it with PHP. We tried it on two machines with the following problems.

1- On both machine we get the following error from php.exe

The instruction at "0xx001301da" referenced memory at "0x782a4a47". The memory could 
not be "read".

If we  comment out a line that sets a COM object property of type IDispatch (sets it 
to another object) or if we include that line and we add another line that gets a 
property of an object (a different object) we don't get the error and everything 
works. We have also installed 4.0.6. If we copy 4.0.6 php.exe and php4ts.dll over 
4.1.2, then everything works.


2- Totally unrelated to first problem, in one of the machines we get the following 
error even if we visit a .php file that only has the html tag and does not have any <? 
and ?>. We don't have the problem on the other machine and on neither machine if we 
use 4.0.6.

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP 
headers. The headers it did return are:



One of the machines have both IIS and Apache loaded. The first problem happens on both 
IIS and Apache using 4.1.2. The second problem happens only on one machine and only 
with IIS and PHP 4.1.2. PHP 4.0.6 works fine on both machine and with both IIS and 
Apache.

I am new to PHP.


--- End Message ---

Reply via email to