php-windows Digest 23 Dec 2001 09:35:14 -0000 Issue 915
Topics (messages 11081 through 11095):
Re: PHP software tool
11081 by: Mike
11082 by: Michael Sims
PHP 4.1.0 Win32 problem
11083 by: Andrew Saturn
11084 by: alain samoun
11088 by: Andrew Saturn
11089 by: Michael Sims
11092 by: alain samoun
11093 by: Andrew Saturn
Radio buttons
11085 by: Mihail Bota
11086 by: Andrew Saturn
11087 by: Mihail Bota
11090 by: Michael Sims
11091 by: Mihail Bota
11094 by: R'twick Niceorgaw
Re: PHP 4.1.0 Install on Windows 98/PWS 4.0
11095 by: Martin Halford
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 ---
TextPad is another good text editor for all types of programming languages.
Unforuntatly it is not free but the demo my work for you.
http://www.textpad.com
It supports multiple languages like PHP, JAVA and HTML
-Mike
"Laserjetter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anybody know of or can recommend any freeware text editing tools for
> editing PHP code in Win32?
> I can manage with Windows' Notepad but something with code highlighting
etc
> and of a similar footprint to notepad would be useful.
>
>
--- End Message ---
--- Begin Message ---
At 09:17 PM 12/22/2001 +0000, Martin Halford wrote:
>Dear 'LaserJetter'
>
>I quite like HTML-Kit from:
>
>http://www.chami.com/html-kit/
>
>It's free, stable, has line numbering, php plug-in and above all else
>remembers file locations and has a good recent files look-up.
I second the recommendation for HTML-Kit....I couldn't live without
it. One of the best features is that you can place your cursor at the
beginning of a PHP function and hit F1 and it will connect to the php.net
website and look up the function for you. Great software...
--- End Message ---
--- Begin Message ---
I'm running Apache 1.3.22 on Windows ME (a 9x Win kernel - not NT\2k\XP)
with PHP 4.1.0
I've done everything I can think of to make PHP work, but it simply won't,
and I have no clue whats wrong, because the only thing the error_log will
tell me is:
Premature end of script headers: c:/php/php.exe
which, can mean a ton of things...
any idea what could possibly be wrong?
list of things I've done:
-re-wrote my php.ini file, using the "recommended" sample php.ini file
included with the install
-commented out the GD library DLL from the ini (it said it couldnt load it
in previous errors)
-changed my $SERVER_NAME variables to $_SERVER["name"]:
// -- old php 4.0.x way below
if ($SERVER_NAME == "ca.roogroup.com") {}
// -- php 4.1.x way below (what I changed the above to)
if ($_SERVER["name"] == "ca.roogroup.com") {}
I hope someone can help me ... this is really annoying (it happens every
time I upgrade PHP O_o)
thanks,
-andrew saturn
roogroup.com
--- End Message ---
--- Begin Message ---
OK: Try to run your script in a DOS window (php yourscript.php) starting in
the directory of php.exe, and tell us what is the error there.
A+
Alain
-----Original Message-----
From: Andrew Saturn [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 22, 2001 5:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP 4.1.0 Win32 problem
I'm running Apache 1.3.22 on Windows ME (a 9x Win kernel - not NT\2k\XP)
with PHP 4.1.0
I've done everything I can think of to make PHP work, but it simply won't,
and I have no clue whats wrong, because the only thing the error_log will
tell me is:
Premature end of script headers: c:/php/php.exe
which, can mean a ton of things...
any idea what could possibly be wrong?
list of things I've done:
-re-wrote my php.ini file, using the "recommended" sample php.ini file
included with the install
-commented out the GD library DLL from the ini (it said it couldnt load it
in previous errors)
-changed my $SERVER_NAME variables to $_SERVER["name"]:
// -- old php 4.0.x way below
if ($SERVER_NAME == "ca.roogroup.com") {}
// -- php 4.1.x way below (what I changed the above to)
if ($_SERVER["name"] == "ca.roogroup.com") {}
I hope someone can help me ... this is really annoying (it happens every
time I upgrade PHP O_o)
thanks,
-andrew saturn
roogroup.com
--
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]
--- End Message ---
--- Begin Message ---
>OK: Try to run your script in a DOS window (php yourscript.php) starting in
>the directory of php.exe, and tell us what is the error there.
>A+
>Alain
I did that, here is the output:
C:\PHP>php c:\program files\apache group\apache\users\saturn\htdocs\index.roo
Content-type: text/html
PHP Warning: Unable to load dynamic library './php_gd.dll' - One of the
library
files needed to run this application cannot be found.
in Unknown on line 0
X-Powered-By: PHP/4.1.0
Content-type: text/html
PHP Fatal error: Unable to open c:\program in Unknown on line 0
C:\PHP>
--
I used the default gd library, and it's uncommented in php.ini:
extension=php_gd.dll
do I need to uncomment anything else? (or need any other files?)
this worked fine before I upgraded to v4.1.0...
maybe the command for GD stuff changed?
regards,
-andrew saturn
PS: just a little note: the .roo extension has nothing to do with the
errors -- dont let that confuse you ... its just a thing I did for fun, so
that it sort of "fits" my site... its still 100% PHP.
--- End Message ---
--- Begin Message ---
At 10:44 PM 12/22/2001 -0500, Andrew Saturn wrote:
>PHP Warning: Unable to load dynamic library './php_gd.dll' - One of the
>library
> files needed to run this application cannot be found.
[...]
>I used the default gd library, and it's uncommented in php.ini:
>
>extension=php_gd.dll
Did you forget to set
extension_dir =
to the right path in PHP.INI?
--- End Message ---
--- Begin Message ---
Comment your GD dll:
;extension=php_gd.dll
in php.ini
and run your program again on DOS . what is happening?
A+
Alain
-----Original Message-----
From: Andrew Saturn [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 22, 2001 7:45 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] PHP 4.1.0 Win32 problem
>OK: Try to run your script in a DOS window (php yourscript.php) starting in
>the directory of php.exe, and tell us what is the error there.
>A+
>Alain
I did that, here is the output:
C:\PHP>php c:\program files\apache
group\apache\users\saturn\htdocs\index.roo
Content-type: text/html
PHP Warning: Unable to load dynamic library './php_gd.dll' - One of the
library
files needed to run this application cannot be found.
in Unknown on line 0
X-Powered-By: PHP/4.1.0
Content-type: text/html
PHP Fatal error: Unable to open c:\program in Unknown on line 0
C:\PHP>
--
I used the default gd library, and it's uncommented in php.ini:
extension=php_gd.dll
do I need to uncomment anything else? (or need any other files?)
this worked fine before I upgraded to v4.1.0...
maybe the command for GD stuff changed?
regards,
-andrew saturn
PS: just a little note: the .roo extension has nothing to do with the
errors -- dont let that confuse you ... its just a thing I did for fun, so
that it sort of "fits" my site... its still 100% PHP.
--
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]
--- End Message ---
--- Begin Message ---
>Comment your GD dll:
>;extension=php_gd.dll
>in php.ini
>and run your program again on DOS . what is happening?
>A+
>Alain
did that, and it returned:
error in Unknown on line 0
...
I changed
extension_dir= ./
to
extension_dir= ./extensions/
and it works fine now O_O
I cant believe they give out the default config like that -- and give out
extensions in an extension folder ...
weeiirrd stuff
thanks to everyone who helped :]
-andrew saturn
--- End Message ---
--- Begin Message ---
Hi all,
I know this problem is not worth of this list of discussion, but I am
asking you because I think (hope) you've encountered this problem.
The problem is extremely simple: a number of radio buttons for a form,
using echo in php. In IE, everything works fine: I can select different
buttons ( button k selected and other is de-selected), but in Nescape it
does nt work...all the buttons that I would select remain selected. I use
Netscape 6, but I do not think this is different for previous versions of
it. I use the correct syntax for input type, I have different values for
different values.
Anybody encountered this problem and found a solution?
Thanks
Mihai
--- End Message ---
--- Begin Message ---
>Hi all,
>
>I know this problem is not worth of this list of discussion, but I am
>asking you because I think (hope) you've encountered this problem.
>The problem is extremely simple: a number of radio buttons for a form,
>using echo in php. In IE, everything works fine: I can select different
>buttons ( button k selected and other is de-selected), but in Nescape it
>does nt work...all the buttons that I would select remain selected. I use
>Netscape 6, but I do not think this is different for previous versions of
>it. I use the correct syntax for input type, I have different values for
>different values.
>Anybody encountered this problem and found a solution?
>
>Thanks
>
>Mihai
I think this is because Netscape handles radio buttons differently than IE
(from my experience in GUI programming)...
maybe:
IE automatically puts all radiobuttons within a form into a group
Netscape requires a radiobutton group -- which I'm not sure how to do
check HTML tutorial sites.
if all else fails, try a combo box instead?
regards,
-andrew saturn
--- End Message ---
--- Begin Message ---
Andrew, I even checked a big HTML bible (one of the newest), nothing new,
or I did not know. I looked over HTML tutorial sites, the same story,
identical syntax, goodies for colors, shapes etc. but nothing related to
this problem.
I'll try the grouping option and the combo...
Thanks!
Mihai
On Sat, 22 Dec 2001, Andrew Saturn wrote:
>
> >Hi all,
> >
> >I know this problem is not worth of this list of discussion, but I am
> >asking you because I think (hope) you've encountered this problem.
> >The problem is extremely simple: a number of radio buttons for a form,
> >using echo in php. In IE, everything works fine: I can select different
> >buttons ( button k selected and other is de-selected), but in Nescape it
> >does nt work...all the buttons that I would select remain selected. I use
> >Netscape 6, but I do not think this is different for previous versions of
> >it. I use the correct syntax for input type, I have different values for
> >different values.
> >Anybody encountered this problem and found a solution?
> >
> >Thanks
> >
> >Mihai
>
> I think this is because Netscape handles radio buttons differently than IE
> (from my experience in GUI programming)...
> maybe:
> IE automatically puts all radiobuttons within a form into a group
> Netscape requires a radiobutton group -- which I'm not sure how to do
>
> check HTML tutorial sites.
>
> if all else fails, try a combo box instead?
>
>
> regards,
> -andrew saturn
>
>
>
> --
> 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]
>
>
--- End Message ---
--- Begin Message ---
At 07:34 PM 12/22/2001 -0800, Mihail Bota wrote:
>Andrew, I even checked a big HTML bible (one of the newest), nothing new,
>or I did not know. I looked over HTML tutorial sites, the same story,
>identical syntax, goodies for colors, shapes etc. but nothing related to
>this problem.
>I'll try the grouping option and the combo...
>Thanks!
Here's the site I always use when I need to brush up on HTML forms, and
it's straight from developer.netscape.com so it's sure to work in their
browser:
http://developer.netscape.com/docs/manuals/htmlguid/tags10.htm
--- End Message ---
--- Begin Message ---
Thanks guys!
Mihai
On Sat, 22 Dec 2001, Michael Sims wrote:
> At 07:34 PM 12/22/2001 -0800, Mihail Bota wrote:
> >Andrew, I even checked a big HTML bible (one of the newest), nothing new,
> >or I did not know. I looked over HTML tutorial sites, the same story,
> >identical syntax, goodies for colors, shapes etc. but nothing related to
> >this problem.
> >I'll try the grouping option and the combo...
> >Thanks!
>
> Here's the site I always use when I need to brush up on HTML forms, and
> it's straight from developer.netscape.com so it's sure to work in their
> browser:
>
> http://developer.netscape.com/docs/manuals/htmlguid/tags10.htm
>
>
> --
> 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]
>
>
--- End Message ---
--- Begin Message ---
I thinjk in NS4.x, you have to make the Name or ID of all radio buttons same
otherwise it will not work.
----- Original Message -----
From: Mihail Bota <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 22, 2001 10:26 PM
Subject: [PHP-WIN] Radio buttons
> Hi all,
>
> I know this problem is not worth of this list of discussion, but I am
> asking you because I think (hope) you've encountered this problem.
> The problem is extremely simple: a number of radio buttons for a form,
> using echo in php. In IE, everything works fine: I can select different
> buttons ( button k selected and other is de-selected), but in Nescape it
> does nt work...all the buttons that I would select remain selected. I use
> Netscape 6, but I do not think this is different for previous versions of
> it. I use the correct syntax for input type, I have different values for
> different values.
> Anybody encountered this problem and found a solution?
>
> Thanks
>
> Mihai
>
>
> --
> 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]
>
>
--- End Message ---
--- Begin Message ---
Progress.....
I've now got PHP 4.1.0 working, but why it wouldn't work following the
install instructions remains a mystery. This is what I did and what I've
found out:
- All downloaded files unzipped into c:\php directory
- Moved php4ts.dll and php4isapi.dll into c:\windows\system directory
overwriting older versions
- Used pws-php4isapi.reg to update the registry to point to
c:\windows\system\php4isapi.dll
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Scrip
t Map]
".php"="c:\\windows\\system\\php4isapi.dll"
- checked this had worked using regedit.
- At this point phpinfo() still showed version 4.0.2
- Originally php 4.0.2 files had been unzipped to c:\Program Files\PHP, so I
tried putting the new .dll's in this location
- Bingo! it worked - but why?
I presume somewhere in registry there is a pointer to c:\Program Files\PHP
that is over-riding the pws-php4isapi.reg instructions. Any ideas - I'd
like to solve this?
Best regards,
Martin
----------------------------------
Martin Halford
V-Consult Limited
http://www.v-consult.co.uk
----------------------------------
-----Original Message-----
From: Martin Halford [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 7:32 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP 4.1.0 Install on Windows 98/PWS 4.0
Hi!
I've tried to install PHP 4.1.0 on the above Windows configuration using the
Installer program.
Running phpinfo() I'm still showing Version 4.0.2, but something has changed
because php has suddenly become very fussy about variables being defined and
strings being quoted - in fact hardly any of my pages work!!
I suspect the installer is loading the CGI version and I have the ISAPI
module already installed? I'm wary of fiddling around because the original
setup of 4.02 involved making changes to the Windows Registry.
Any ideas?
Best regards,
Martin
----------------------------------
Martin Halford
V-Consult Limited
http://www.v-consult.co.uk
----------------------------------
--
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]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.309 / Virus Database: 170 - Release Date: 17-Dec-01
--- End Message ---