php-windows Digest 9 Apr 2001 17:10:32 -0000 Issue 535

Topics (messages 6569 through 6581):

Re: PHP
        6569 by: Tom Mathews

HDSL
        6570 by: IFC - Internet, Fantasia, Competenza

Apache and SSL
        6571 by: Urmil Parikh
        6576 by: Steve Prentice

Re: saving images which have been assigned a strange name
        6572 by: Phil Driscoll
        6573 by: Urmil Parikh
        6574 by: Phil Driscoll
        6575 by: Urmil Parikh
        6577 by: Darvin Andrioli
        6578 by: Phil Driscoll

PHP4 on IIS4: extensions
        6579 by: Houtenbos, Robert

fatal error with mysql and php4
        6580 by: Damien du Toit

Map_array not available
        6581 by: Jeremy Adams

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]


----------------------------------------------------------------------


If you're not too fussed about security, then the easiest way is to create a
cookie and then check for it at the beginning of each page
(ie if (!ISSET(CookieName) {})

Tom

Synopsis wrote:

> any one here , know how to pass the login data to each page a user gose on,
> and that page checking it to make sure its right , i can do this but it has
> the user name & password in the browers address bar which i dont want ,
> anyone know how???
>
> --
> 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]




Salve a tutti,
volevo chiedere un parere a tutti gli interessati sulla nuova offerta HDSL
di Aruba.it

ARUBA HDSL £ 375000 al mese + iva (comprendente costi di linea, traffico di
2,5 GBytes (£ 250.000) e noleggio router (£ 125.000), mentre per ogni MB
eccedente è previsto un corrispettivo di Lit. 83)

· attivazione gratuita del servizio
· collegamento con velocità massima di 2Mbit/s sia in download che in upload
· 1Mb/s di banda minima garantita fino all'accesso alle dorsali
· possibilità di potenziare la velocità fino a 8 MBit/s
· 8 indirizzi IP, espandibili a richiesta
· registrazione e mantenimento di n°1 dominio (a scelta fra it, net, com,
org);
· spazio web illimitato a corredo del dominio su www.aruba.it
· caselle di posta elettronica illimitate a corredo del dominio
· supporto telefonico o via e-mail

Credete che sia il caso di proporla ai propri clienti per mettersi il server
WEB in casa ?
Qualcuno sà che tipo di garanzie fornisce l'HDSL ?
E che velocità raggiunge EFFETTIVAMENTE ?

Grazie a tutti
Ciao
Tommaso

--------------------------------------------------------
Tommaso Fuzier Cayla
Project Manager
IFC
Internet, Fantasia, Competenza
Via Fra Diamante 34/r
50143 Firenze
Tel. 055 / 700695
Fax 02 700516505
http://www.ifcdesign.com
[EMAIL PROTECTED]
------------------------------------------------------
IFC
Web design e progetti multimediali
------------------------------------------------------





Hi,

Has anybody got SSL module for apache on windows?

Regards,       | Linux
Urmil Parikh   | Is it really safe to turn on your computer?






"Urmil Parikh" <[EMAIL PROTECTED]> wrote in a message:
>
> Hi,
>
> Has anybody got SSL module for apache on windows?
>
> Regards,       | Linux
> Urmil Parikh   | Is it really safe to turn on your computer?
>


http://www.modssl.org/contrib/

I'd suggest

www.modssl.org/contrib/Apache_1.3.19-Mod_SSL_2.8.2-OpenSSL_0.9.6a-WIN32.zip

HTH,

Steve






Almost certainly a bug in your code. Post some code for more help.
-- 
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org






It is certainly a bug, but in Internet Explorer...

It has happened with me too. IE takes the download filename from the URL one
clicks to download it.

Regards,       | Linux
Urmil Parikh   | Is it really safe to turn on your computer?



-----Original Message-----

Almost certainly a bug in your code. Post some code for more help.
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org






>It has happened with me too. IE takes the download filename from the URL
one
>clicks to download it.

Not if you send out the correct headers:

header("Content-Type: $mimetype";
header("Content-Length: $filelength");
header("Content-Disposition: attachment; filename=$filename");

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org






I did not try Content-Length, but I have tried Content-Type with
Content-Disposition which did not work.

Regards,       | Linux
Urmil Parikh   | Is it really safe to turn on your computer?



-----Original Message-----

>It has happened with me too. IE takes the download filename from the URL
one
>clicks to download it.

Not if you send out the correct headers:

header("Content-Type: $mimetype";
header("Content-Length: $filelength");
header("Content-Disposition: attachment; filename=$filename");

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org






I've got the same problem with IE 4.01, so I looked for it at MIcrosoft and I got:

According to RFC 2183, servers should be able to force a Save-As type dialog box by 
sending a "Content-Disposition: attachment" server response header to the client when 
sending the requested file back to the browser. Because of a bug (or "feature") in 
Internet Explorer's data-sniffing architecture, this header is mostly ignored in 
Internet Explorer 4.01. See Knowledge Base article BUG: Content-Disposition: Does not 
Force File Download Dialog 
<http://msdn.microsoft.com/isapi/gosupport.asp?TARGET=/support/kb/articles/q182/3/15.asp>
 

At the moment I never made test using IE 5, probably, I'll run it in future.

Bye

Darvin
-----Original Message-----
From:   Urmil Parikh [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, April 09, 2001 12:35 PM
To:     Php Windows (E-mail)
Subject:        RE: [PHP-WIN] saving images which have been assigned a strange name

I did not try Content-Length, but I have tried Content-Type with
Content-Disposition which did not work.

Regards,       | Linux
Urmil Parikh   | Is it really safe to turn on your computer?



-----Original Message-----

>It has happened with me too. IE takes the download filename from the URL
one
>clicks to download it.

Not if you send out the correct headers:

header("Content-Type: $mimetype";
header("Content-Length: $filelength");
header("Content-Disposition: attachment; filename=$filename");

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org



-- 
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]





>I did not try Content-Length, but I have tried Content-Type with
>Content-Disposition which did not work.
I should try again, as it works every time for me.
-- 
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org





Hi there!

I'm having great difficulties configuring the php.ini file on WinNT4 and
IIS4.
I want to use the GD extension for dynamic imaging, but i keep getting this
error message in phpinfo():

PHP Warning: gd: Unable to initialize module Module compiled with debug=0,
thread-safety=1 module API=20000809 PHP compiled with debug=0,
thread-safety=1 module API=20001214 These options need to match in Unknown
on line 0 

I trid the posted tip about 
include_path .;X:\WhereTheActionIs
and dropping the dlls in the WINDOWS\SYSTEM32 dir
and UNIX notations, and DOS notations in the ini file.

At first, the dll could not be found, but now this error.

1. Could anyone help me out here?

2. Does anyone have the libpng and jpeg-6b libs for WinNT, or know where to
get the DLLs?
http://www.libpng.org/pub/png/src/libpng-1.0.8-win32.zip is Error404
I'd like the dlls, since I do not have a compiler running (authorisation
reasons...).

Thanks in Advance,
Robert




"Fatal error: Call to undefined function: mysql_db_query() in ....?"

What would cause this problem?
I know that with PHP3 you got an error when you didn't uncomment that line 
in php.ini, but PHP4 claims to have mysql build in?
What is the problem now?


Damien du Toit
New Media Programmer

tel +27 21 425 9710
fax +27 21 425 9713

GENERATOR COMMUNICATIONS | BE AN ISLAND




I'm trying to use the map_array function, but I'm getting a "Call to
undefined function: map_array()". It seems like it's not available in the
Win32 distribution. Is there a way to activate it?

-Jeremy Adams





Reply via email to