php-windows Digest 22 Jun 2002 05:42:59 -0000 Issue 1205
Topics (messages 14334 through 14339):
Re: what's the MIME type of ".zip" in PHP?I only know "image/jpeg" and
"text/html".THANKS
14334 by: Ross Fleming
IIS Custom 404 Error script doesn't work
14335 by: Matthew Hillebrand
Re: CGI Error Instead of 404
14336 by: Peter
Re: Detecting Username's again
14337 by: Peter
Re: Any way of finding out MySQL server address and port ?
14338 by: Matt
PHP Installation problem( with apache ) - help
14339 by: kramer
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 ---
All of them AFAIK:
http://www.isi.edu/in-notes/iana/assignments/media-types/media-types
> -----Original Message-----
> From: Îâ±ó [mailto:[EMAIL PROTECTED]]
> Sent: 21 June 2002 12:58
> To: php
> Subject: [PHP-WIN] what's the MIME type of ".zip" in PHP?I only
> know "image/jpeg" and "text/html".THANKS
>
>
> PLEASE GIVE ME INFORMATION AS MUCH AS POSSIBLE.
> SUCH AS "RAR,MP3,...ETC"THANKS!
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
IIS displays my custom 404.php script in plain text. I've heard of
people successfully using IIS with custom Perl, ColdFusion, and ASP
scripts for 404 errors. Has anyone overcome this problem? Apache does it
just fine, but unfortunately I might need to move to IIS.
Matt
--- End Message ---
--- Begin Message ---
Can you access other PHP files without a problem?
"Anonymous" <[EMAIL PROTECTED]> wrote in message
news:002e01c217fa$bfbfb4f0$3200a8c0@skurk...
hi...
when i try to access a .php file on my webserver that doesnt exist i get the
CGI Error instead of a 404 Error
since I want to use custom error pages i need to know why this happens and
what to do about it
thanks in advance
/d
--- End Message ---
--- Begin Message ---
I don't know myself, but you could try setting the environment variable,
then getting the machine to open a page on the server which prints out all
the variables, like phpinfo().
"Carl Whittaker" <[EMAIL PROTECTED]> wrote in
message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I posted a little while back regarding the detection of network usernames
in
> php for an intranet. But an idea i had was to actually set up the username
> as a windows environmental variable on all of the computers on the network
> (which i can do quite easily) but the problem im having is actually
getting
> that variable sent to the webserver so that i can work with it in php.
>
> the bottom line is can i force a machine to send a windows variable to a
web
> server (baring in mind that i have complete acccess to all computers on
the
> network).
> This is my last ditch effort to do this. But if anyone has any other ideas
> id greatly appreciate them as this one has been bugging me for over a
month
> now
>
> Im using Apache 1.3.26 (thinking of moving to Apache2) and id be willing
to
> use IIS to get this feature
>
> SOS help me!
>
> gratefully,
> Carl
>
>
--- End Message ---
--- Begin Message ---
Ok i thought that woudl be teh case :(
so does anybody know of a free sql database host that allows external
connections. Or does anybody fancy giving me a free db it wont used hardley
anybandwidth as i only test scripts.
Matt
"Christian Leberfinger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Most MySQL-Servers don't allow connections from
> extern hosts.
>
> I don't think, Lycos will be an exception... =)
>
>
> Regards,
>
> Christian Leberfinger
>
> > -----Original Message-----
> > From: Matt [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 21, 2002 12:53 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Any way of finding out MySQL server address and port
> > ?
> >
> >
> > Iam using teh lycos free php sql webhosting service to test
> > scripts but teh
> > adds are getting on my tit.
> >
> > is there a script that will tell me what the address is of the
> > sql server so
> > i can connect from anther host.
> >
> > Thanks Matt
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
--- End Message ---
--- Begin Message ---
hello,
I've Apache 2.0.35 up and running. Installed PHP 4.2.1( for W2k ). I've some
basic questions, can someone help me.
I followed the instructions on install.txt but it doesn't seem to work.
The only change I did in php.ini is including the extension_dir where I had
installed PHP.
Q : Do I need to copy this file to %SYSTEMROOT%( winnt/system32 ) or leave
it in PHP's home directory ?
On httpd.conf,
Q : Do I need give the directory structure for "ScriptAlias" or not ?
I added the entry - AddType application/x-httpd-php .php .phtml
Q : I guess I need this, correct ?
I also added
Action application/x-httpd-php "F:/Program Files/php-4.2.1-Win32/php.exe"
Q : Is this required ?
Basic question of all,
Q : while I give the directory entries, is it \ or / ?
All help are really appreciated. Thanks.
- shanky.
--- End Message ---