[PHP-WIN] Cannot "View Source" via IE browser

2001-05-15 Thread John M

Hi there,

Ever since I installed PHP4 on my PC, I cannot "view source" via my
IE5 explorer.  I get a weird error:

"Cannot open the php_submit.php C:\WINDOWS\Temporary Internet
Files\Content.IE5\8H2R8DMR\bugs(1).txt file.
Make sure a disk is in the drive you specified."

For every page I try, the above message ONLY CHANGES where the "filename" is
specified.  The "php_submit.php" always appears.

Now I have checked Microsoft's site and cannot find an answer, so I thought
I'd try here.
I have yet to check ALL of PHP-newsgroups but will.

I appreciate any assistance on this.

Thanks.
  John M.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Cannot "view source" via IE browser

2001-05-20 Thread John M

Hello.

I am having a problem when trying to "view source" via my IE browser.
When I try I get the following error:

"Cannot open the
php_submit.php C:\WINDOWS\Temporary Internet
Files\Content.IE5\8DMZ02HJ\www.yahoo(1) file.
Make sure a disk is in the drive you specified."

**  Above I just tried viewing source on Yahoo's home page as an example.

Now, interestingly, the "php_submit.php" file was one of the first PHP files
I created when I first started
playing around with PHP on my PC.  For every time I try to "view source",
this file is mentioned as above.
The second file (ie. 'www.yahoo(1)' ) is different for every page I try to
view source on.

I have checked with Microsoft's technet and found no help and tried all that
was suggested.  I am now
thinking that maybe my PHP installation may have caused this.

I do not recall this error happening JUST AFTER I installed.  I think I
could for awhile and then all of
a sudden I could not.

I am posting this question in a few other PHP newsgroups as I am unsure
where this would fall under:
php.dev
php.doc
php.general
php.windows

Thanks to anyone who can assist.

  John M.




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] SSL win platform

2003-03-08 Thread John M.
Hi,
Does SSL or openSSL work on a win2000, apache(1.3.xx or 2.xx - precompiled binary) and 
php(4.3.x) system?
If yes, is there someone who can tell what to do for installing it and make it work? 
Thank you.

John M.

[PHP-WIN] link error on compile php4ts.dsw - cannot open input file "zlib.lib"

2003-03-14 Thread John M. Calvert
Hi, I trying for the first time ever to compile PHP on my Windows 2000 
machine using MS VC++ 6. I have been following the instructions in 
/manual/en/install.windows.php. Everything goes fine until the linker kicks 
in:

Linking...
LINK : fatal error LNK1181: cannot open input file "zlib.lib"
Error executing link.exe.
php.exe - 1 error(s), 21 warning(s)

I've spent a few hours poking at it but there is too much new to me to 
figure my way out. The best I can figure is that zlib.lib should be in 
win32build/lib but it isn't.

Can anyone help?

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Re: [PHP-WIN] link error on compile php4ts.dsw -cannot open input file "zlib.lib"

2003-03-15 Thread John M. Calvert
I'm not familiar enough with the architecture of PHP to fully understand
your comment. When you say module, to me that means *.dll. However, my error
occurs when the linker is trying to link a library, zlib.lib. The relevant
details are in the /win32/php4dllts.dsp project which is part of the
/win32/php4ts.dsw workspace. I'm trying to build php4ts.dsw as per
/manual/en/install.windows.php#install.windows.build.

Given the linker error I get, I'm looking for zlib.lib which I don't see
anywhere. Mind you, is there a search function for cvs.php.net? I had to
look by randomly rooting around. The zlib project (/ext/zlib/zlib.dsp)
builds php_zlib.dll so that is not it.

Some external libraries are included in /extra/win32build.zip, and the above
instructions even have us build an additional resolv.lib, but there is no
sign of zlib.lib.

I've tried this with both the PHP 4.3.1 (tar.gz) [4,395Kb] - 17 February
2003 and a PHP snapshot Latest CVS (4.5.x-dev). Same problem with both. But
I'm not sure if the problem is my machine configuration, or an error in the
MS VC++ workspace / project details.

John

- Original Message -
From: "Frank M. Kromann" <[EMAIL PROTECTED]>
To: "John M. Calvert" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, March 15, 2003 3:22 AM
Subject: Re: [PHP-WIN] link error on compile php4ts.dsw -cannot open input
file "zlib.lib"


the zlib extension is compiled in and you need to get the zlib module from
cvs.php.net.

- Frank

> Hi, I trying for the first time ever to compile PHP on my Windows 2000
> machine using MS VC++ 6. I have been following the instructions in
> /manual/en/install.windows.php. Everything goes fine until the linker
kicks
> in:
>
> Linking...
> LINK : fatal error LNK1181: cannot open input file "zlib.lib"
> Error executing link.exe.
>
> php.exe - 1 error(s), 21 warning(s)
>
> I've spent a few hours poking at it but there is too much new to me to
> figure my way out. The best I can figure is that zlib.lib should be in
> win32build/lib but it isn't.
>
> Can anyone help?
>
> _
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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



Re: [PHP-WIN] link error on compile php4ts.dsw -cannotopen input file "zlib.lib"

2003-03-15 Thread John M. Calvert
Thank you, that solved my immediate problem. I now have a fully compiled and
linked php.exe. I have to play with my configuration a little more to be
sure that it works properly.

I'll report a bug against php-4.3.1.tar.gz and
/manual/en/install.windows.php for this situation with zlib.lib so it can be
tracked.

I have a couple of related questions if anyone can help get me up the PHP
"Build from source" learning curve.

1) I should have dug deeper in CVS [PHP] /zlib to discover that it builds
zlib.lib and that would have saved both of us some time. But I wasn't clear
on the CVS [PHP] structure and how it relates to [PHP] /php4/ext/zlib. Is
there a readme somewhere that explains the overall directory structure of
CVS [PHP]?

2) I just installed WinCVS and I'm looking at /anoncvs.php which is written
from a command-line CVS client point of view. Are there any pointers on
translating the various instructions to their appropriate section of the
WinCVS config?

3) Where is the php 5.0.x tree in CVS? I see [PHP] /php3 and  [PHP] /php4
but no [PHP] /php5.

Once again, thanks for your help. Regards

John

P.S. Unlike your situation, as a newbie to PHP source compilation I tend to
avoid head revisions which can be less stable (perhaps don't even compile?),
in the hopes that I'll have fewer gotchyahs to worry about. Don't know if
that backfired this time.

- Original Message -
From: "Frank M. Kromann" <[EMAIL PROTECTED]>
To: "John M. Calvert" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, March 15, 2003 12:57 PM
Subject: Re: [PHP-WIN] link error on compile php4ts.dsw -cannotopen input
file "zlib.lib"


Hi John,

I have never used the pre build version of the source code (I allways
build from the cvs version). From version 4.3.0 of php we decided to have
the zlib extension compiled in so there is no need for php_zlib.dll. In
order to compile php you need to get a copy of the zlib sources. I guess
we need to update the build instructions and include this code in the
distribution.

You can get zlib from the cvs server (cvs.php.net). This will give you a
zlib directory next to php4 and bindlib_w32. You will find zlib.dsp and
dsw files in this directory. These files can be used to build the
zlib.lib

- Frank

> I'm not familiar enough with the architecture of PHP to fully
understand
> your comment. When you say module, to me that means *.dll. However, my
error
> occurs when the linker is trying to link a library, zlib.lib. The
relevant
> details are in the /win32/php4dllts.dsp project which is part of the
> /win32/php4ts.dsw workspace. I'm trying to build php4ts.dsw as per
> /manual/en/install.windows.php#install.windows.build.
>
> Given the linker error I get, I'm looking for zlib.lib which I don't
see
> anywhere. Mind you, is there a search function for cvs.php.net? I had
to
> look by randomly rooting around. The zlib project (/ext/zlib/zlib.dsp)
> builds php_zlib.dll so that is not it.
>
> Some external libraries are included in /extra/win32build.zip, and the
above
> instructions even have us build an additional resolv.lib, but there is
no
> sign of zlib.lib.
>
> I've tried this with both the PHP 4.3.1 (tar.gz) [4,395Kb] - 17
February
> 2003 and a PHP snapshot Latest CVS (4.5.x-dev). Same problem with both.
But
> I'm not sure if the problem is my machine configuration, or an error in
the
> MS VC++ workspace / project details.
>
> John
>
> - Original Message -
> From: "Frank M. Kromann" <[EMAIL PROTECTED]>
> To: "John M. Calvert" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Saturday, March 15, 2003 3:22 AM
> Subject: Re: [PHP-WIN] link error on compile php4ts.dsw -cannot open
input
> file "zlib.lib"
>
>
> the zlib extension is compiled in and you need to get the zlib module
from
> cvs.php.net.
>
> - Frank
>
> > Hi, I trying for the first time ever to compile PHP on my Windows
2000
> > machine using MS VC++ 6. I have been following the instructions in
> > /manual/en/install.windows.php. Everything goes fine until the linker
> kicks
> > in:
> >
> > Linking...
> > LINK : fatal error LNK1181: cannot open input file "zlib.lib"
> > Error executing link.exe.
> >
> > php.exe - 1 error(s), 21 warning(s)
> >
> > I've spent a few hours poking at it but there is too much new to me
to
> > figure my way out. The best I can figure is that zlib.lib should be
in
> > win32build/lib but it isn't.
> >
> > Can anyone help?


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



[PHP-WIN] determine host platform - win32 / *nix

2003-03-22 Thread John M. Calvert
Hello, how do I determine from code the host platform running PHP? For
example, php.dl() requires a different module name under Win32 and *nix so
for more portable code I would like to write something like:
if (php_platform() == WIN32)
dl('module.dll');
else
dl('module.so');

Does this exist?

John M. Calvert, M.Sc., MCSD

1310521 Ontario Inc.
49 Belmont Ave.
Ottawa ON K1S 0V2
(613) 730-9851
http://members.rogers.com/john-m-calvert/

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



Re: [PHP-WIN] determine host platform - win32 / *nix

2003-03-23 Thread John M. Calvert
Thanks Eric.

This constant PHP_OS doesn't give the OS version number. I don't need that
at this moment, but it would be useful to distinguish. OS funtionality can
change as much from one version to the next as from one platform to another.
How do I go about submitting this as a feature suggestions for PHP?

BTW, while it is true that PHP_OS appears in the manual, it's meaning is not
defined anywhere. The following man pages:
/manual/en/reserved.constants.core.php
/manual/en/reserved.constants.standard.php
list a number of predefined constants, but don't say what they mean, nor
what if any function they are associated with. Isn't that kind of important?
A hyperlink from these lists of constants to any associated functions would
be quite useful. For example, take a guess at "EXTR_REF". I'm sure PHP
experts know the answer, but what about those of us learning the language.
For the latter I'd like to submit a documentation suggestion. I'll try
forwarding this message to [EMAIL PROTECTED]

John

- Original Message -
From: "Eric Gach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'John M. Calvert'" <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 6:57 PM
Subject: RE: [PHP-WIN] determine host platform - win32 / *nix


> There's a few examples of this in the manual somewhere... but here's
> some basic code for it:
>
> if (strtoupper(substr(PHP_OS, 0,3) == 'WIN'))
> dl('module.dll');
> else
> dl('module.so');
>
> Hope that helps.
>
> ~ Eric Gach
> EvilWalrus.com Co-Administrator
>
> -Original Message-
> From: John M. Calvert [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 22, 2003 8:03 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] determine host platform - win32 / *nix
>
> Hello, how do I determine from code the host platform running PHP? For
> example, php.dl() requires a different module name under Win32 and *nix
> so
> for more portable code I would like to write something like:
> if (php_platform() == WIN32)
>     dl('module.dll');
> else
> dl('module.so');
>
> Does this exist?
>
> John M. Calvert, M.Sc., MCSD
>
> 1310521 Ontario Inc.
> 49 Belmont Ave.
> Ottawa ON K1S 0V2
> (613) 730-9851
> http://members.rogers.com/john-m-calvert/

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



Re: [PHP-WIN] determine host platform - win32 / *nix

2003-03-23 Thread John M. Calvert
Hi Eric, thanks for those comments. With your prompting I did some more
hunting around and looked through the source code for "phpinfo(" in
/ext/standard/info.c and found php_uname() which is in the manual :)
although from the name you might never guess it is what you need. However,
the documentation says:
- Returns information about the operating system PHP was __built__ on [my
underlining]

Which is not true. If PHP was build on a WinNT4 box but is running on a
WinXP box, it is going to report the OS platform and version for WinXP. So
the docs need a little correction here. I'm tempted to add my first ever
"user contribution" comment on this, but it seems like a pretty minor point.

John

P.S. I didn't have any problem searching for EXTR_REF in the docs. It was
simply an example of why a hyperlink would reduce confusion and simplify
navigation (aka searching) the docs.

- Original Message -
From: "Eric Gach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'John M. Calvert'" <[EMAIL PROTECTED]>
Sent: Sunday, March 23, 2003 3:23 PM
Subject: RE: [PHP-WIN] determine host platform - win32 / *nix



John,

I've talked this issue over before with some of the PHP
development/documentation team. Most of them seem to think that all of
the constants are self explanatory. If you search for EXTR_REF in the
manual search, it shows http://www.php.net/function.explode where there
is an explanation for it. As for the version number... I think there is
something in the $_SERVER variable. Check you’re a phpinfo() page to
find out. Hope that helps.

~ Eric Gach
EvilWalrus.com Co-Administrator

-Original Message-
From: John M. Calvert [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 23, 2003 7:08 AM
To: [EMAIL PROTECTED]
Cc: Eric Gach
Subject: Re: [PHP-WIN] determine host platform - win32 / *nix

Thanks Eric.

This constant PHP_OS doesn't give the OS version number. I don't need
that
at this moment, but it would be useful to distinguish. OS funtionality
can
change as much from one version to the next as from one platform to
another.
How do I go about submitting this as a feature suggestions for PHP?

BTW, while it is true that PHP_OS appears in the manual, it's meaning is
not
defined anywhere. The following man pages:
/manual/en/reserved.constants.core.php
/manual/en/reserved.constants.standard.php
list a number of predefined constants, but don't say what they mean, nor
what if any function they are associated with. Isn't that kind of
important?
A hyperlink from these lists of constants to any associated functions
would
be quite useful. For example, take a guess at "EXTR_REF". I'm sure PHP
experts know the answer, but what about those of us learning the
language.
For the latter I'd like to submit a documentation suggestion. I'll try
forwarding this message to [EMAIL PROTECTED]

John

- Original Message -
From: "Eric Gach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'John M. Calvert'" <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 6:57 PM
Subject: RE: [PHP-WIN] determine host platform - win32 / *nix


> There's a few examples of this in the manual somewhere... but here's
> some basic code for it:
>
> if (strtoupper(substr(PHP_OS, 0,3) == 'WIN'))
> dl('module.dll');
> else
> dl('module.so');
>
> Hope that helps.
>
> ~ Eric Gach
> EvilWalrus.com Co-Administrator
>
> -Original Message-
> From: John M. Calvert [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 22, 2003 8:03 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] determine host platform - win32 / *nix
>
> Hello, how do I determine from code the host platform running PHP? For
> example, php.dl() requires a different module name under Win32 and
*nix
> so
> for more portable code I would like to write something like:
> if (php_platform() == WIN32)
> dl('module.dll');
> else
> dl('module.so');
>
> Does this exist?
>
> John M. Calvert, M.Sc., MCSD
>
> 1310521 Ontario Inc.
> 49 Belmont Ave.
> Ottawa ON K1S 0V2
> (613) 730-9851
> http://members.rogers.com/john-m-calvert/


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