Re: [PHP] Download PHP from Linux machine?

2001-02-23 Thread Simons

try to "double quotes" the url


""Jorge Alvarez"" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
976k7t$2t2$[EMAIL PROTECTED]">news:976k7t$2t2$[EMAIL PROTECTED]...
> Hi there,
>
> I want to download PHP from my Linux server, but I can't just type "lynx
>
http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz&source_
> site=www.php.net"
>
> This is the link in the PHP downloads page, but the shell gets confused by
> the & character.
>
> What should I do?
>
> Best Regards,
>
> Jorge.
>
>
>
> --
> PHP General 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 General 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] Question

2005-10-07 Thread Sven Simons
I've installed PHP using the windows installer 
I try to open then php pages containing the following script :
";
 
 echo "Server IP Address: ";
 $ipx = getenv("SERVER_ADDR") ? getenv("SERVER_ADDR") : 0;
 echo !$ipx ? "UNKNOWN" : $ipx;
?> 
It works and gives me a correct current IP address
 
When manually installing PHP it always gives me the status UNKNOWN.
 
The only difference I've seen is that the Windows installer uses the
php5ts.dll for ISAPI filter while the manually installed php uses the
php5isapi.dll.
I know that the PHP is working (when manually installed) because this script
works :

 
The only strange thing is that the phpinfo says that the ini file is located
in C:\Winnt although it is not there (when installing manually it is in
C:\PHP)
 
How can I make the IP address script working when manually installing PHP ?
Or is it really so unsafe to use the windows installer on a online server?
 
Sincerely,
 
Sven