Re: [PHP-WIN] Installing PHP for Apache on Windows XP

2002-06-23 Thread Steve Parrish
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 .i

Re: [PHP-WIN] Newbye question

2002-06-23 Thread Saci
Hi Cristian I tried your code , and receive the folowing message Notice: Undefined index: texto in d:\inetpub\wwwroot\impac\php\teste03.php on line 5 I guess my problem is regarding configuration, to help here is my php.ini [PHP] engine = On short_open_tag = On asp_tags = on precision=

RE: [PHP-WIN] Newbye question

2002-06-23 Thread Ross Fleming
Check out the new global_register that phpv4.2 employs, variables cannot be set in the http request anymore, in order to access texto, you need to access $_GET[texto] > -Original Message- > From: Saci [mailto:[EMAIL PROTECTED]] > Sent: 23 June 2002 05:56 > To: [EMAIL PROTECTED] > Subject:

RE: [PHP-WIN] MIME type for an .exe file?

2002-06-23 Thread Mikey
Scratch that - I have found out that it is octet-stream that I need. However, using code as follows: if (strstr ($dt->table[0][1], ".zip")) header ("Content-Type: application/x-zip-compressed"); else header ("Content-Type: application/octet-stream");

Re: [PHP-WIN] MIME type for an .exe file?

2002-06-23 Thread Mark Filipak
Hi Mikey! Mikey wrote: > > Hi there! > > Was just wondering if anyone knew what mime type I should use when > sending a ".exe" file to a user? I have looked through the list and > the closest (I think) I can find is application/octet-stream - is this > right, or is there an better type I can't

[PHP-WIN] MIME type for an .exe file?

2002-06-23 Thread Mikey
Hi there! Was just wondering if anyone knew what mime type I should use when sending a ".exe" file to a user? I have looked through the list and the closest (I think) I can find is application/octet-stream - is this right, or is there an better type I can't see on the list? regards, Mikey --

[PHP-WIN] Installing PHP for Apache on Windows XP

2002-06-23 Thread Dave
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 directo

php-windows Digest 23 Jun 2002 09:08:50 -0000 Issue 1207

2002-06-23 Thread php-windows-digest-help
php-windows Digest 23 Jun 2002 09:08:50 - Issue 1207 Topics (messages 14346 through 14352): Re: Mysql socket error :\ 14346 by: Peter Newbye question 14347 by: Saci 14348 by: Matthew Hillebrand 14350 by: Brian Graham 14351 by: Saci 14352 by:

RE: [PHP-WIN] Newbye question

2002-06-23 Thread Christian Leberfinger
1) action="" [works also, with register_globals=Off] You can also leave the action-tag blank - then the form always posts to itself! 2) $texto should be $_POST['texto'] [again the autoglobals...] 3) Correct code - I hope it helps you Learning PHP "; ?> Christian L