php-windows Digest 31 Jan 2002 12:04:29 -0000 Issue 978
Topics (messages 11729 through 11740):
Re: Bcc headers in mail function
11729 by: Bram Somers
11730 by: R'twick Niceorgaw
IIS equivalent to Apache's .htaccess files
11731 by: Brinkman, Theodore
11734 by: Manuel Lemos
Re: New to PHP
11732 by: Gita Street Kristiansen
Re: Version of Merlin/PHP that works??
11733 by: Mike Maltese
PHP Nuke vs. Post Nuke
11735 by: ST Ooi
Re: Is ISAPI stable ?
11736 by: Ashraf Al Shafaki
Win2k(SP2), Apache1.3.23, PHP4.1.0(CGI) problems
11737 by: David
Re: When typing "localhost\.." the computer wants to connect to internet.
11738 by: Michel Laine
11740 by: Alek Andreev
How to compile a zip module under win32(PHP_ZIP readolny)
11739 by: ·²²İ
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 ---
sorry, maybe is this a stupid question...
But, can somebody tell me how to set up php for windows please?
thanks a lot
Bram Somers
----- Original Message -----
From: "Shrock, Court" <[EMAIL PROTECTED]>
To: "'Dario Fernando Escobar R.'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 11:06 PM
Subject: RE: [PHP-WIN] Bcc headers in mail function
> Personally, I have tried many ways to get it to work. In an earlier post,
I
> mentioned that the only way I was able to get mail to work at all was
> removing the bcc and cc headers from my windows php scripts. If a
solution
> does exist, I would be interested in it as well....
>
> Court
>
> > -----Original Message-----
> > From: Dario Fernando Escobar R. [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 30, 2002 11:41 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Bcc headers in mail function
> >
> >
> > I would like to know if it's possible to make any combination
> > of tricks to
> > use the BCC header in the mail function. I've got win 2k,
> > apache and php
> > 4.05.
> >
> > If anyone can help me...
> >
> > --
> >
> > _________________________________
> > Dario Fernando Escobar Risueño
> > Webmaster Telesat S.A.
> > [EMAIL PROTECTED]
> > Cali - Valle - Colombia
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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 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]
>
>
>
--- End Message ---
--- Begin Message ---
Look at the phpmailer class. It has support for Bcc, Cc as well as many
other functions like SMTP server . I have used it and it works quite fine.
http://phpmailer.sourceforge.net/
----- Original Message -----
From: "DL Neil" <[EMAIL PROTECTED]>
To: "Dario Fernando Escobar R." <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 5:31 PM
Subject: Re: [PHP-WIN] Bcc headers in mail function
> Dario,
>
> > I would like to know if it's possible to make any combination of tricks
to
> > use the BCC header in the mail function. I've got win 2k, apache and
php
> > 4.05.
>
>
> Check out phpguru.org
>
> Regards,
> =dn
>
>
>
> --
> 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]
>
>
--- End Message ---
--- Begin Message ---
I'm busy trying to fight to keep the project I'm on as platform independant
as possible, but it's currently a loosing battle, because the team lead
insists on using Windows Domain User security, which means if you're not
using IE, you can't even get to the site. I'm vaguely familiar with the
.htaccess files you can use with Apache to control access, and I'm looking
for a similar way to get the user's windows credentials from other browsers.
Is there any way I can do this?
- Theo
--- End Message ---
--- Begin Message ---
Hello,
Theodore Brinkman wrote:
>
> I'm busy trying to fight to keep the project I'm on as platform independant
> as possible, but it's currently a loosing battle, because the team lead
> insists on using Windows Domain User security, which means if you're not
> using IE, you can't even get to the site. I'm vaguely familiar with the
> .htaccess files you can use with Apache to control access, and I'm looking
> for a similar way to get the user's windows credentials from other browsers.
> Is there any way I can do this?
You don't need Apache .htaccess to authenticate anybody. You can do it
all in PHP. The only questions is where is the user and password
database that you want to authenticate against?
Regards,
Manuel Lemos
--- End Message ---
--- Begin Message ---
I had the same problems as you too, and figured that the message that
Explorer told me was the usual Windows "thing". And it seemed it was the
Microsoft Personal Web Server (PWS) that was causing the problem.
I solved it by following:
1. Uninstall PWS
2. Reboot Windows
3. Personal web server was gone in the Add/Install Programs but still there
and running!!
4. Disable the s_cker (and maybe you need to restart again)
Hope it will work for you too...
Regards
Gita
http://www.streetpatrol.com/Gita
Alan McFarlane <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Nah, that sounds pretty normal for Windows...
>
> Laserjetter <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > RE access violations:
> > I've never encountered this error message with PHP but for some reason
on
> > Win98/Apache 1.3.20/PHP 4.0.6 and also running WinVNC for remote
control,
> I
> > cannot modify any files which have been used or processed by Apache.
This
> > includes any PHP files which have been executed and the httpd.conf
fileand
> > attempting to modify or delete these produces a dialog saying the file
is
> in
> > use - trouble is that as far as I know there aren't any other programs
> using
> > the file.
> > Not sure if this is related to your error but there's something not
right
> > there!!!
> >
> > LJ
> >
> >
> >
> >
> > "Alan McFarlane" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Okay, so PHP is installed correctly, but what are the details of the
> > access
> > > violation...
> > >
> > > It also looks like you are running Win2K or WinXP (?), I believe there
> > have
> > > been some problems on both platforms - keep an eye on other posts in
> this
> > > group...
> > >
> > > --
> > > Alan
> > >
> >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Well, you didn't think Apache made any registry entries either, so that
pretty much covers that....
----- Original Message -----
From: "Ross Fleming" <[EMAIL PROTECTED]>
To: "Mike Maltese" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 2:19 AM
Subject: RE: [PHP-WIN] Version of Merlin/PHP that works??
> AddModule mod_php4.c ?
>
> Not on any windows installation I've ever seen!..
>
> -----Original Message-----
> From: Mike Maltese [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 30, 2002 12:10 AM
> To: PHP on Windows Mailing List
> Subject: Re: [PHP-WIN] Version of Merlin/PHP that works??
>
>
> A few notes.....
>
> First, uninstall Apache and delete all of your PHP directory.
>
> Re-install Apache. It works right out of the box,just specify localhost
for
> the domain name. Make sure you choose to install it as a service for all
> users.
>
> Start Apache. Open your browser and point it to 127.0.0.1 or just
localhost
> to verify that Apache is running if it is, proceed with the PHP
> installation.
>
> I would suggest downloading the PHP binary and not the installer. Unzip
the
> files to c:\php. If your using WinZip, extract using folders.
>
> Since you're setting up a working site, I'll go over the module
> installation.
>
> In the http.conf file, add the following lines in the appropriate places:
>
> LoadModule php4_module "C:/php/sapi/php4apache.dll"
>
> AddModule mod_php4.c
>
> AddType application/x-httpd-php .php (plus any other extensions you want
to
> use)
> AddType application/x-httpd-php-source .phps (optional)
>
> Now, place your test file (just use <? phpinfo(); ?>) in your htdocs
folder
> and restart Apache. Point your browser to http://localhost/info.php (or
> whatever).
>
> You should now have your baseline system up and running. Now you can
> customize your directories and PHP options.
>
> Post back and let me know if this has helped, and good luck!
>
> Mike
>
>
> ----- Original Message -----
> From: "Ross Fleming" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 29, 2002 3:47 PM
> Subject: RE: [PHP-WIN] Version of Merlin/PHP that works??
>
>
> > Might I suggest geocities if you just want a website?
> >
> > Apache doesn't have a GUI with a configuration file, that's what the
.conf
> > files are for. The instructions for getting apache to work are here:
> > http://httpd.apache.org/docs/windows.html They are the only instructions
I
> > followed to get Apache running from scratch. After that, installing PHP
> > simply involves editing the httpd.conf file in the manner that is
> described
> > in the readme that comes with PHP. Might I suggest
> > [EMAIL PROTECTED] as an alternative?
> >
> > Either way.
> >
> > 1. forward slashes.
> > 2. Sounds about right.
> > 3. Depends how you're stopping. Just closing the command window should
do
> > it
> > 4. Never developed on Win2K, so wouldn't know about running is as a
> service.
> > http://httpd.apache.org/docs/win_service.html provides details though.
> Note
> > it only runs as a service on NT/2K/XP(presumably)
> > 5. search for php.ini, there should only be one. Keep it in c:\windows
or
> > c:\winnt. This is the conf file for php.
> > Edit your httpd.conf file to point to php.exe for .php files.
> > 6. 1/2 of uninstall exe's don't remove stuff from the registry anyway,
> > apache and php don't have registry entries anyway, so I wouldn't worry
> about
> > that.
> >
> > Ross
> >
> > -----Original Message-----
> > From: tom [mailto:[EMAIL PROTECTED]]
> > Sent: 29 January 2002 22:57
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Version of Merlin/PHP that works??
> >
> >
> > Is there a version of Merlin and/or php that works out of the box?
> >
> > I have spent days -- days and more days -- just trying to get the
> > infrastructure of a single programming language to work. with no
success.
> > after three days I finally got Merlin to serve a localhost file. the
docs
> > did not adequately explain how to install this stuff on a w2k IIS
system.
> > Two more days, and I finally got test.php to parse (although a simple
> > include statement does not work, Apache cannot find the icons folder,
> etc.,
> > etc., etc..) errors -- more errors, configuration files with conflicting
> > instructions and no mention of even which version of php the file is
for.
> >
> > Examples:
> > 1) httpd.conf says never use backslashes, always use forward slashes in
> > paths on windows machines. The the Merlin setup installs the file with
> > backslashes in it. So which one is right?
> > 2) Start Apache - opens command window that does not close or have any
> > configuration gui.
> > 3) Stop Apache - works --- sometimes.
> > 4) Install Apache as service - this should execute and exit, leaving a
> > server process running in the background. It does not. It opens another
> > command window and just sits there.
> > 5) When I started trying to use PHP, I downloaded the binaries from
> php.net
> > and installed them. Could not get squat out of it. So some kind person
> tells
> > me about Apache Merlin. So I download this huge motha and install that
> too.
> > Now I have two different versions of php on my machine, and have no idea
> > which one is actually being used. or which config files actually --do--
> > something. (php.exe has no version resource!!!)
> > 6) So in total frustration I tried to remove Merlin from my system. Of
> > course, that did not work either. So I just deleted the whole directory
> and
> > now I'm stuck with who knows what in the registry.
> >
> > I don't mean to be bitchy, but for the love of God!! I do not have time
> for
> > this! I am trying to create a working website, not become
> > php-apache-guru-man. Does any one have any suggestions for making the
> stuff
> > work, I mean just ____ work?
> >
> > --
> > Thanks,
> >
> > Thomas Kirby
> > RichmondArtists.com
> > P.O. Box 1261
> > Glen Allen, VA 23060
> > 804-262-6429
> > [EMAIL PROTECTED]
> > www.richmondartists.com
> >
> >
> >
> >
> > --
> > 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 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 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]
>
>
--- End Message ---
--- Begin Message ---
Anyone has any comparisons table and which one is better?
Thanks
ST Ooi
Malaysia
--- End Message ---
--- Begin Message ---
bugs are bugs and will always remain bugs. it's not a terminology used by
this group in particular, but by ALL programmers.
a program that when compiled does not compile has an ERROR, not a bug
a program that runs, and makes no 'errors' cans still give you results that
you do not expect or "Did Not Intend", this is called a bug by ALL
programmers.
i hope i've clarified what a bug means.
but let me give an example to make it even more clear:
suppose you wanted to make a very simple program to ask the user to enter
two numbers, then you "intend" to give the user the sum of these two
numbers.
supoose you make a mistake while coding and miltiply the two numbers instead
of adding them. this program of yours might run so nicely with no 'errors',
but for sure it will give results that you did not expect or intend (neither
did the user). this is what we (and everybody else) call a BUG.
hope this helps.
cheers
Ashraf
"Angie Tollerson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there. When you say "bugs", what do you mean? When I have bugs in my
> code, it doesn't run, period. But if you mean "warnings" ? which will
> let your code run but there are some handling errors? Just trying to
> find out your terminology...
>
> Angie Tollerson
> Alliance Technologies
> Web Programmer
> (515)245-7628
> [EMAIL PROTECTED]
>
> >>> "John Lim" <[EMAIL PROTECTED]> 01/30/02 09:20AM >>>
> Hi,
>
> PHP's ISAPI error handling is still not thread safe. If your code has
> no
> errors PHP will run fine. However if there are bugs in your PHP
> script, they are not handled properly and eventually your process
> will crash in ISAPI after repeated calls to the error-prone script.
>
> Regards, John
>
> Samuel Collado <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I think so.
> >
> > I work with php 4.1.0 on IIS 5 (Windows 2000) with php_mssql.dll and
> > php_oracle.dll and all it's ok. We have done some tests with Mercury
> > LodeRunner with many SQL requests at the same time and we noticed
> some
> > memory leak but it was IIS fault ! PHP is, in my opinion, stable
> with
> > these dll.
> >
> > Samuel
> >
> > Steen Rabol wrote:
> >
> > > Hi
> > >
> > > According to the install.txt of php, the ISAPI version is not
> stable,
> but.... that statement have been there for about 1 year, so my question
> is:
> Is ISAPI version considered stable ?
> > >
> > > Thanks in advance.
> > >
> > > Best
> > > Steen
> > >
> > >
> > >
> >
>
>
>
> --
> 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]
>
--- End Message ---
--- Begin Message ---
Hi,
I have a box setup with the Apache1.3.23(on Win2k as a service), running PHP 4.1.0 as
CGI, all's fine. (no errors/warnings/
however something bothers me, after some time, apache just dies (nothing special in
apache logs). a "net stop" + "net start" to restart apache will always solve this
problem, but i'm curious to know why this happens...
anyone with similar prolems?
Thanks, David
--- End Message ---
--- Begin Message ---
"Tim LüDemann" wrote:
> At first:
> I run win 98 on my standalone computer.
> I installed Apache 1.3.22 and PHP 4.1.0, edit the files php.ini and
> httpd.conf and put them at the right place. I doublechecked the files.
> When typing "localhost\index.html.de" the computer wants to connect to
> internet. It is possible to open the file "C:\apache\htdocs\index.html.de".
>
> I tryed to change my IP to 127.0.0.1 but got an error massage.
> I changed to 192.168.1.2 but no better result.
>
> When trying to open php-files the computer trys to download something I
> cannot read because the download-window opens and closes many times very
> fast until I press esc. When the browser opens a php-file he shows nothing.
>
> I hope to get help of anyone of you because I worked several days on it and
> have no further idea how to solve the problem.
>
> Thank You
>
> Tim Lüdemann
* Did you verify that your web server is running? - not with PHP or anything
(one should see a apache 'welcome'-screen of some kind i believe)
* Do you (your client) have the accessrights needed to access the webserver?
* What if you say 'cancel' on the dialup request?
* What if you use 'http://' in front of your localhost address?
* What if you rename your startpage to index.html or index.php instead and try
to acces it again?
Read the doc that come with the Apache installation / or homepage - I am sure
that something of this is covered.
I am no expert on Apache nor Dialup connection in W98, but there are dozen
things to test - as well as there is some tweaks for the dialup in windows too.
To tweak the dialup i believe that you find something in Settings/Control
panel/Network/Properties/Configuration/Dialup
where one can set dialup to something like this: "always" / "when needed" /
"never".
I don't have any dialup connection installed, so i cannot verify if this is
correct.
There might be a tweak in IE too - or, if i remember wrong - the tweak above.
My suggestion is that you do things in this order:
1: Make sure that Apache is up and running.
2: Try to access the default apache startpage (using http://127.0.0.1). This
often involves checking / changing / browsing through the apache config files
if it doesn't work. Try with different computers / browsers if possible.
3: Replace the default apache startpage with your own (named as the apache one)
and see if it works.
4: Put some *simple* PHP code in this file like:
<?PHP
phpinfo();
?>
5: ...
--
Michel Laine
--- End Message ---
--- Begin Message ---
Best solutions is to use http://127.0.0.1/ instead. Or try
http://<my_computer_netbios_name>/
Regards,
Alek Andreev
[EMAIL PROTECTED]
-----Original Message-----
From: Michel Laine [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 11:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: When typing "localhost\.." the computer wants to
connect to internet.
"Tim LüDemann" wrote:
> At first:
> I run win 98 on my standalone computer.
> I installed Apache 1.3.22 and PHP 4.1.0, edit the files php.ini
and
> httpd.conf and put them at the right place. I doublechecked the files.
> When typing "localhost\index.html.de" the computer wants to connect to
> internet. It is possible to open the file
"C:\apache\htdocs\index.html.de".
>
> I tryed to change my IP to 127.0.0.1 but got an error massage.
> I changed to 192.168.1.2 but no better result.
>
> When trying to open php-files the computer trys to download something
I
> cannot read because the download-window opens and closes many times
very
> fast until I press esc. When the browser opens a php-file he shows
nothing.
>
> I hope to get help of anyone of you because I worked several days on
it and
> have no further idea how to solve the problem.
>
> Thank You
>
> Tim Lüdemann
* Did you verify that your web server is running? - not with PHP or
anything
(one should see a apache 'welcome'-screen of some kind i believe)
* Do you (your client) have the accessrights needed to access the
webserver?
* What if you say 'cancel' on the dialup request?
* What if you use 'http://' in front of your localhost address?
* What if you rename your startpage to index.html or index.php instead
and try
to acces it again?
Read the doc that come with the Apache installation / or homepage - I am
sure
that something of this is covered.
I am no expert on Apache nor Dialup connection in W98, but there are
dozen
things to test - as well as there is some tweaks for the dialup in
windows too.
To tweak the dialup i believe that you find something in
Settings/Control
panel/Network/Properties/Configuration/Dialup
where one can set dialup to something like this: "always" / "when
needed" /
"never".
I don't have any dialup connection installed, so i cannot verify if this
is
correct.
There might be a tweak in IE too - or, if i remember wrong - the tweak
above.
My suggestion is that you do things in this order:
1: Make sure that Apache is up and running.
2: Try to access the default apache startpage (using http://127.0.0.1).
This
often involves checking / changing / browsing through the apache config
files
if it doesn't work. Try with different computers / browsers if possible.
3: Replace the default apache startpage with your own (named as the
apache one)
and see if it works.
4: Put some *simple* PHP code in this file like:
<?PHP
phpinfo();
?>
5: ...
--
Michel Laine
--
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]
--- End Message ---
--- Begin Message ---
Hi,
I want to compile a module(php_zip),but have some problem.
Olny can run function "zip_open"
thanks! fancao
--- End Message ---