php-windows Digest 29 Jun 2002 06:21:17 -0000 Issue 1216

Topics (messages 14458 through 14466):

404 error not being triggered for files with a php extension
        14458 by: Ian Tuck

Re: More sites
        14459 by: Jan - CWIZO
        14460 by: Dash McElroy

Re: Installing PHP for Apache on Windows XP
        14461 by: Gustavo Castro
        14462 by: Rasmus Lerdorf
        14465 by: Gustavo Castro

no Values  in  variables
        14463 by: Gustavo Castro

variable is not value
        14464 by: Gustavo Castro

Set Locale
        14466 by: Saci

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 ---
Hi everyone,
I'm using the most recent security patched version of apache (downloaded
yesterday, v1.3 series), and most recent PHP (also downloaded yesterday),
hoping to solve a problem that I'm having, to no avail.

For some reason, when I request a file with a php extension that doesn't
exist, apache doesn't check to see if it exists before sending it off to
php.exe.  Is there a way to fix this without switching to the module version
of php? (if that will fix it).  I'm pretty sure that it's a problem with
apache, as it shouldn't even be *getting* to the php processor, but can't
see where I've configured it incorrectly.

non-existent htm, or html files all show the correct 404 error.

Any hints, suggestions, tips, or voodoo spells I can use to fix this?

Regards,
Ian

--- End Message ---
--- Begin Message ---
Sorry, I thot you guys could help me becouse I thing almost all of you uses 
apache.

Dash thanx for the link, I will check it out !


LP
JaN
www.3delavnica.com
www.ks-con.si

At 16:56 27.6.2002 -0300, you wrote:
>yes this is possible, somthing about the apache virtual hosts, unfortunately
>i´m not pretty good with it and, darn, this is a php related list
>try some apache lists or read apache docs, they are very helpfull
>
>Cassiano Dal Pizzol
>Informática CIELO
>[EMAIL PROTECTED]
>www.cielo.ind.br
>UIN 72941129
>----- Original Message -----
>From: "Jan - CWIZO" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, June 27, 2002 4:42 PM
>Subject: [PHP-WIN] More sites
>
>
> > Hi
> >
> >
> >
> > I have apache installeted on my computer.
> > And I am using the www.dns2go.com software, so I have a domain
> > (www.cwizo.d2g.com)
> >
> > Is there any wey that I woudl have 2 difrent domains pointing to my
>adress,
> > so one would display one page, and the other domain woudl display the
>other
> > page.
> >
> >
> > IS this posible ?
> >
> >
> >
> > LP
> > JaN
> > www.3delavnica.com
> > www.ks-con.si
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >


--- End Message ---
--- Begin Message ---
I saw some links on phpbuilder.com the other day about psuedo virtual
hosting (wow!) using PHP.

http://www.phpbuilder.com/tips/item.php?id=352
http://www.phpbuilder.com/tips/item.php?id=320

I haven't tried either of these yet, but they look rather intriguing.

I'd rather do the Apache based virtual hosting first, but that might work if
you can't figure it out.

Good luck!

-Dash

p.s. apache ip based virtual hosts are simple as pie. Name based can't be
far from the same.

-----Original Message-----
From: Jan - CWIZO [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 28, 2002 11:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] More sites 


Sorry, I thot you guys could help me becouse I thing almost all of you uses 
apache.

Dash thanx for the link, I will check it out !


LP
JaN
www.3delavnica.com
www.ks-con.si

At 16:56 27.6.2002 -0300, you wrote:
>yes this is possible, somthing about the apache virtual hosts,
unfortunately
>i´m not pretty good with it and, darn, this is a php related list
>try some apache lists or read apache docs, they are very helpfull
>
>Cassiano Dal Pizzol
>Informática CIELO
>[EMAIL PROTECTED]
>www.cielo.ind.br
>UIN 72941129
>----- Original Message -----
>From: "Jan - CWIZO" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, June 27, 2002 4:42 PM
>Subject: [PHP-WIN] More sites
>
>
> > Hi
> >
> >
> >
> > I have apache installeted on my computer.
> > And I am using the www.dns2go.com software, so I have a domain
> > (www.cwizo.d2g.com)
> >
> > Is there any wey that I woudl have 2 difrent domains pointing to my
>adress,
> > so one would display one page, and the other domain woudl display the
>other
> > page.
> >
> >
> > IS this posible ?
> >
> >
> >
> > LP
> > JaN
> > www.3delavnica.com
> > www.ks-con.si
> >
> >
> > --
> > 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
--- End Message ---
--- Begin Message ---
hi dahs:

Ok function.

 But if I call a pagina with parametros the variales appears vacias because.
Ej: htt://localhost/welcome.php?name=Gustavo

Welcomw.php File
===============================

<? echo "Hi , $name! "?>


================================
End File

Output

Hi , !


Gustavo Castro


"Dash McElroy" <[EMAIL PROTECTED]> escribió en el mensaje
ABA3F1F1A223D411BE6C006008A6F7E260428B@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E260428B@MSX1-PTON...
> You have to create a phpinfo.php file in your htdocs directory first. Fill
> it out with this:
>
>   <?php
>   phpinfo();
>   ?>
>
> and test it.
>
> -Dash
> -----Original Message-----
> From: Dave [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 3:29 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] Installing PHP for Apache on Windows XP
>
>
> Hi.  Thank you for the Help.
>
> I did download the new PHP4apache2.dll and then unmarked the Load Module
for
> that, and Apache started!  This is a step forward.  But still when I try
to
> pull up http://localhost/phpinfo.php  I come up with an OBJECT NOT FOUND.
> 404 ERROR.
>
> Any Ideas???
>
> Thank you again,
>
> Dave
>
>
>
> "Steve Parrish" <[EMAIL PROTECTED]> wrote in message
> news:p05100301b93be18f57b7@[66.136.32.169]...
> > At 7:18 AM -0700 6/23/02, Dave wrote:
> > >I have been trying to install PHP for Apache on WinXP.  I have added
all
> of
> > >the necessary lines to the Apache Config file, although when i try to
add
> > >
> > >LoadModule php4_module c:/php4/sapi/php4apache2.dll
> > >
> > >Apache wont restart.
> > >
> > >I copied all of the PHP .ini and .dll files into the appropriate
> > >directories, but I just wont work.
> > >
> > >You think they would have made it a little more compatible, even the
PHP
> > >installer doesnt work properly.
> > >
> > >Can anyone help?
> > >
> >
> > Are you running Apache 2.0.39? What is the error? It helps to share
> > this info when seeking assistance.  :)
> >
> > I'll guess that you need an updated php4apache2.dll.
> >
> > You can get a replacement php4apache2.dll here:
> > <http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip>
> >
> > That worked for me. Thanks to Matt Parlane, who recently posted a
> > message with this info.
> >
> > HIH,
> >
> > Steve Parrish
> > --
> > <mailto:[EMAIL PROTECTED]>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Edit your php.ini file and turn on register_globals or alternatively use
$_GET[name]

-Rasmus

On Fri, 28 Jun 2002, Gustavo Castro wrote:

> hi dahs:
>
> Ok function.
>
>  But if I call a pagina with parametros the variales appears vacias because.
> Ej: htt://localhost/welcome.php?name=Gustavo
>
> Welcomw.php File
> ===============================
>
> <? echo "Hi , $name! "?>
>
>
> ================================
> End File
>
> Output
>
> Hi , !
>
>
> Gustavo Castro
>
>
> "Dash McElroy" <[EMAIL PROTECTED]> escribió en el mensaje
> ABA3F1F1A223D411BE6C006008A6F7E260428B@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E260428B@MSX1-PTON...
> > You have to create a phpinfo.php file in your htdocs directory first. Fill
> > it out with this:
> >
> >   <?php
> >   phpinfo();
> >   ?>
> >
> > and test it.
> >
> > -Dash
> > -----Original Message-----
> > From: Dave [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 24, 2002 3:29 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] Installing PHP for Apache on Windows XP
> >
> >
> > Hi.  Thank you for the Help.
> >
> > I did download the new PHP4apache2.dll and then unmarked the Load Module
> for
> > that, and Apache started!  This is a step forward.  But still when I try
> to
> > pull up http://localhost/phpinfo.php  I come up with an OBJECT NOT FOUND.
> > 404 ERROR.
> >
> > Any Ideas???
> >
> > Thank you again,
> >
> > Dave
> >
> >
> >
> > "Steve Parrish" <[EMAIL PROTECTED]> wrote in message
> > news:p05100301b93be18f57b7@[66.136.32.169]...
> > > At 7:18 AM -0700 6/23/02, Dave wrote:
> > > >I have been trying to install PHP for Apache on WinXP.  I have added
> all
> > of
> > > >the necessary lines to the Apache Config file, although when i try to
> add
> > > >
> > > >LoadModule php4_module c:/php4/sapi/php4apache2.dll
> > > >
> > > >Apache wont restart.
> > > >
> > > >I copied all of the PHP .ini and .dll files into the appropriate
> > > >directories, but I just wont work.
> > > >
> > > >You think they would have made it a little more compatible, even the
> PHP
> > > >installer doesnt work properly.
> > > >
> > > >Can anyone help?
> > > >
> > >
> > > Are you running Apache 2.0.39? What is the error? It helps to share
> > > this info when seeking assistance.  :)
> > >
> > > I'll guess that you need an updated php4apache2.dll.
> > >
> > > You can get a replacement php4apache2.dll here:
> > > <http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip>
> > >
> > > That worked for me. Thanks to Matt Parlane, who recently posted a
> > > message with this info.
> > >
> > > HIH,
> > >
> > > Steve Parrish
> > > --
> > > <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> > --
> > 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
>

--- End Message ---
--- Begin Message ---
Ok!!!


Thanks


Gustavo


"Rasmus Lerdorf" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]...
> Edit your php.ini file and turn on register_globals or alternatively use
> $_GET[name]
>
> -Rasmus
>
> On Fri, 28 Jun 2002, Gustavo Castro wrote:
>
> > hi dahs:
> >
> > Ok function.
> >
> >  But if I call a pagina with parametros the variales appears vacias
because.
> > Ej: htt://localhost/welcome.php?name=Gustavo
> >
> > Welcomw.php File
> > ===============================
> >
> > <? echo "Hi , $name! "?>
> >
> >
> > ================================
> > End File
> >
> > Output
> >
> > Hi , !
> >
> >
> > Gustavo Castro
> >
> >
> > "Dash McElroy" <[EMAIL PROTECTED]> escribió en el mensaje
> > ABA3F1F1A223D411BE6C006008A6F7E260428B@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E260428B@MSX1-PTON...
> > > You have to create a phpinfo.php file in your htdocs directory first.
Fill
> > > it out with this:
> > >
> > >   <?php
> > >   phpinfo();
> > >   ?>
> > >
> > > and test it.
> > >
> > > -Dash
> > > -----Original Message-----
> > > From: Dave [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, June 24, 2002 3:29 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [PHP-WIN] Installing PHP for Apache on Windows XP
> > >
> > >
> > > Hi.  Thank you for the Help.
> > >
> > > I did download the new PHP4apache2.dll and then unmarked the Load
Module
> > for
> > > that, and Apache started!  This is a step forward.  But still when I
try
> > to
> > > pull up http://localhost/phpinfo.php  I come up with an OBJECT NOT
FOUND.
> > > 404 ERROR.
> > >
> > > Any Ideas???
> > >
> > > Thank you again,
> > >
> > > Dave
> > >
> > >
> > >
> > > "Steve Parrish" <[EMAIL PROTECTED]> wrote in message
> > > news:p05100301b93be18f57b7@[66.136.32.169]...
> > > > At 7:18 AM -0700 6/23/02, Dave wrote:
> > > > >I have been trying to install PHP for Apache on WinXP.  I have
added
> > all
> > > of
> > > > >the necessary lines to the Apache Config file, although when i try
to
> > add
> > > > >
> > > > >LoadModule php4_module c:/php4/sapi/php4apache2.dll
> > > > >
> > > > >Apache wont restart.
> > > > >
> > > > >I copied all of the PHP .ini and .dll files into the appropriate
> > > > >directories, but I just wont work.
> > > > >
> > > > >You think they would have made it a little more compatible, even
the
> > PHP
> > > > >installer doesnt work properly.
> > > > >
> > > > >Can anyone help?
> > > > >
> > > >
> > > > Are you running Apache 2.0.39? What is the error? It helps to share
> > > > this info when seeking assistance.  :)
> > > >
> > > > I'll guess that you need an updated php4apache2.dll.
> > > >
> > > > You can get a replacement php4apache2.dll here:
> > > > <http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip>
> > > >
> > > > That worked for me. Thanks to Matt Parlane, who recently posted a
> > > > message with this info.
> > > >
> > > > HIH,
> > > >
> > > > Steve Parrish
> > > > --
> > > > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> > >
> > > --
> > > 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
> >
>


--- End Message ---
--- Begin Message ---
No values in variable why??


http://locahost/welcome.php?name=Gustavo

File Welcome.php


<? echo "Hola, $name!" ?>


**********************
I Explorer

Hola,!

He does not appear nothing in the variable $$name. That problem can have in
the installation of the PHP.

Gustavo


--- End Message ---
--- Begin Message ---
Step a variable to a pagina of the following form and does not show anything
in the exit.
welcome.php?name=Gustavo

***********
In Welcome.php

<?echo "My name is, $name!" ?>


 It is as if he was vacia. It does not give ningun error. That it can be bad
in configuraion.


--- End Message ---
--- Begin Message ---
For example

setlocale(LC_ALL, "De");
setlocale(LC_ALL, 'nl_NL');

Where I can found a table with all locale strings available ?

What is the string to set locale to Brazilian locale ?


--- End Message ---

Reply via email to