php-windows Digest 27 Jun 2002 10:31:03 -0000 Issue 1213
Topics (messages 14430 through 14439):
cookies in windows
14430 by: michael
14431 by: Stuart Dallas
14433 by: michael
Re: cookies in windows - get url.exe [1/1]
14432 by: Alex Elderson
14434 by: michael
14437 by: Alex Elderson
14438 by: michael
14439 by: michael
Re: php error logging
14435 by: Alex Elderson
Re: PHP Newbie: Needs help with dbase extensions
14436 by: Alex Elderson
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 ---
I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine with php
but I can't set a cookie. There is no error message or anything, only no
cookie. Does anyone have an idea what might be wrong?
There's nothing wrong in my code cause it works fine on another server, just
not on localhost.
Thx
--
. : . : . : . : . : . : . : . : . : . : . : . : . : .
michael ericsson
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
> I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine with php
> but I can't set a cookie. There is no error message or anything, only no
> cookie. Does anyone have an idea what might be wrong?
My guess is that it's register_globals related.
> There's nothing wrong in my code cause it works fine on another server, just
> not on localhost.
Your code is not the only variable when moving from server to server. Check the
PHP version on the other server and also compare your register_globals setting
to theirs.
--
Stuart
--- End Message ---
--- Begin Message ---
> My guess is that it's register_globals related.
> Your code is not the only variable when moving from server to server.
Check the
> PHP version on the other server and also compare your register_globals
setting
> to theirs.
They're all the same. Both are version 4.2.1 and register_blobals is set to
On.
If I look at the Session part of phpinfo() I see 2 differences between the
servers:
1. session.save_path - /tmp and c:\winnt\temp
2. session.use_trans_sid - only on localhost
Any other suggestions?
--
. : . : . : . : . : . : . : . : . : . : . : . : . : .
michael ericsson
[EMAIL PROTECTED]
"Stuart Dallas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
>
> > I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine with
php
> > but I can't set a cookie. There is no error message or anything, only no
> > cookie. Does anyone have an idea what might be wrong?
>
> My guess is that it's register_globals related.
>
> > There's nothing wrong in my code cause it works fine on another server,
just
> > not on localhost.
>
> Your code is not the only variable when moving from server to server.
Check the
> PHP version on the other server and also compare your register_globals
setting
> to theirs.
>
> --
> Stuart
>
--- End Message ---
--- Begin Message ---
Use this (small) util to view your headers
look for
Set-Cookie:
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
>
>On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
>
>> I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine with php
>> but I can't set a cookie. There is no error message or anything, only no
>> cookie. Does anyone have an idea what might be wrong?
>
>My guess is that it's register_globals related.
>
>> There's nothing wrong in my code cause it works fine on another server, just
>> not on localhost.
>
>Your code is not the only variable when moving from server to server. Check the
>PHP version on the other server and also compare your register_globals setting
>to theirs.
>
>--
>Stuart
>
--- End Message ---
--- Begin Message ---
what util? url.exe? where can I find it?
--
. : . : . : . : . : . : . : . : . : . : . : . : . : .
michael ericsson
[EMAIL PROTECTED]
"Alex Elderson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Use this (small) util to view your headers
>
> look for
>
> Set-Cookie:
>
>
>
>
> In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> >
> >On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
> >
> >> I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine with
php
> >> but I can't set a cookie. There is no error message or anything, only
no
> >> cookie. Does anyone have an idea what might be wrong?
> >
> >My guess is that it's register_globals related.
> >
> >> There's nothing wrong in my code cause it works fine on another server,
just
> >> not on localhost.
> >
> >Your code is not the only variable when moving from server to server.
Check the
> >PHP version on the other server and also compare your register_globals
setting
> >to theirs.
> >
> >--
> >Stuart
> >
--- End Message ---
--- Begin Message ---
Sorry, outlook don't want to send the file.
download it from http://debug.hardinxveld.netflex.nl/get_url.exe
you must also install the VB runtime library!!
let me know if you downloaded the file then i will remove the file
[EMAIL PROTECTED]
"Michael" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> what util? url.exe? where can I find it?
>
> --
> . : . : . : . : . : . : . : . : . : . : . : . : . : .
> michael ericsson
> [EMAIL PROTECTED]
>
>
> "Alex Elderson" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Use this (small) util to view your headers
> >
> > look for
> >
> > Set-Cookie:
> >
> >
> >
> >
> > In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] says...
> > >
> > >On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
> > >
> > >> I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine
with
> php
> > >> but I can't set a cookie. There is no error message or anything, only
> no
> > >> cookie. Does anyone have an idea what might be wrong?
> > >
> > >My guess is that it's register_globals related.
> > >
> > >> There's nothing wrong in my code cause it works fine on another
server,
> just
> > >> not on localhost.
> > >
> > >Your code is not the only variable when moving from server to server.
> Check the
> > >PHP version on the other server and also compare your register_globals
> setting
> > >to theirs.
> > >
> > >--
> > >Stuart
> > >
>
>
--- End Message ---
--- Begin Message ---
done.
Is it .NET Framework you're refering to?
--
. : . : . : . : . : . : . : . : . : . : . : . : . : .
michael ericsson
[EMAIL PROTECTED]
"Alex Elderson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Sorry, outlook don't want to send the file.
>
> download it from http://debug.hardinxveld.netflex.nl/get_url.exe
>
> you must also install the VB runtime library!!
>
> let me know if you downloaded the file then i will remove the file
>
> [EMAIL PROTECTED]
>
> "Michael" <[EMAIL PROTECTED]> schreef in bericht
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > what util? url.exe? where can I find it?
> >
> > --
> > . : . : . : . : . : . : . : . : . : . : . : . : . : .
> > michael ericsson
> > [EMAIL PROTECTED]
> >
> >
> > "Alex Elderson" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Use this (small) util to view your headers
> > >
> > > look for
> > >
> > > Set-Cookie:
> > >
> > >
> > >
> > >
> > > In article <[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED] says...
> > > >
> > > >On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
> > > >
> > > >> I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine
> with
> > php
> > > >> but I can't set a cookie. There is no error message or anything,
only
> > no
> > > >> cookie. Does anyone have an idea what might be wrong?
> > > >
> > > >My guess is that it's register_globals related.
> > > >
> > > >> There's nothing wrong in my code cause it works fine on another
> server,
> > just
> > > >> not on localhost.
> > > >
> > > >Your code is not the only variable when moving from server to server.
> > Check the
> > > >PHP version on the other server and also compare your
register_globals
> > setting
> > > >to theirs.
> > > >
> > > >--
> > > >Stuart
> > > >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Great util!
I get Set-Cookie: some cookie when I use the URL where it works, but not on
localhost.
strange...
--
. : . : . : . : . : . : . : . : . : . : . : . : . : .
michael ericsson
[EMAIL PROTECTED]
"Alex Elderson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Use this (small) util to view your headers
>
> look for
>
> Set-Cookie:
>
>
>
>
> In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> >
> >On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
> >
> >> I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine with
php
> >> but I can't set a cookie. There is no error message or anything, only
no
> >> cookie. Does anyone have an idea what might be wrong?
> >
> >My guess is that it's register_globals related.
> >
> >> There's nothing wrong in my code cause it works fine on another server,
just
> >> not on localhost.
> >
> >Your code is not the only variable when moving from server to server.
Check the
> >PHP version on the other server and also compare your register_globals
setting
> >to theirs.
> >
> >--
> >Stuart
> >
--- End Message ---
--- Begin Message ---
Let your webserver log for you.
if u run apache with VH do:
<VirtualHost <snip>>
<snip>
ErrorLog c:/web/logs/webserver.hardinxveld.netflex.nl-error_log
CustomLog c:/web/logs/webserver.hardinxveld.netflex.nl-access_log common
<snip>
</VirtualHost>
in your php.ini:
;error_log
----- Original Message -----
From: "Joris Pinnoo" <[EMAIL PROTECTED]>
Newsgroups: php.windows
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 12:26 AM
Subject: php error logging
> in php.ini my error_log directive has a specific value : c:\php\error.log
>
> so all the errors are logged in one file.
>
> how do you make multiple log-files? each file containing the errors from
one
> specific website.
>
> any ideas?
>
> thanks,
> Joris Pinnoo
>
>
--- End Message ---
--- Begin Message ---
If you want to include a library on linux you must recompile php.
On windows you have only to uncommented the "extension-php_dbase.dll" line
If you get a error on API numbers then you have a wrong version of dbase (or
php).
"Tony Tzankoff" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]...
> Hello one and all...
>
> I am a PHP newbie who needs a little help with installing dbase extensions
> on Windows 98. I took a look around on php.net and saw that everybody
seems
> to have uncommented the "extension-php_dbase.dll" line from the php.ini
> file. Well, I did that...but something tells me there is more to the
picture
> than meets my untrained PHP-related eye. Further instructions state that I
> have to recompile PHP with the "--enable-dbase" option, but it says that
the
> API numbers do not match. Did I type something wrong? What can I do to fix
> this?
>
> Please help. Thank you. :o)
>
> Tony Tzankoff
> http://www.tzankoff.com
> ========================================
>
>
>
--- End Message ---