Re: [PHP-WIN] php won't "process" forms anymore

2002-05-01 Thread toby z
hi im having the same problem i have even tried re-writting all the tags but it still doesnt work secondly i have to save the inputs from the form fields in a ".xml" file i did that in asp ... i dont know how to get about it in php the book only talks bout writting a

[PHP-WIN] PHP and Java

2002-05-01 Thread Opere, James
I have downloaded JDK1.1.8 and installed on a windows platform.The problem is that when i copy a script, paste and try to run as a .php which has some java in it, i get an error i.e Fatal error: Cannot instantiate non-existent class: java in c:\phpdev\www\phpjava.php on line 5 The script is as b

[PHP-WIN] Re: Cant get PHP to run on Win 98

2002-05-01 Thread Steve Yates
Or alternatively extract($HTTP_GET_VARS); // creates all GET vars, no others echo $C; - Steve Yates - Omit needless, redundant, unnecessary, repetitive words. / Taglines by Taglinator - www.srtware.com / -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP-WIN] php and apache 2.0 on windows installed ok?

2002-05-01 Thread Alan Popow
On Thu, 2 May 2002 09:59:21 +1000, you wrote: > >"Alan Popow" <[EMAIL PROTECTED]> wrote in message >>On Fri, 26 Apr 2002 16:35:30 -0400, you wrote: > >>>Has anyone done this? >>>I just tried installing apache 2.0 (latest on their site) and the latest >php as a module for apache (not cgi), and fou

Re: [PHP-WIN] php and apache 2.0 on windows installed ok?

2002-05-01 Thread Matt Waite
"Alan Popow" <[EMAIL PROTECTED]> wrote in message >On Fri, 26 Apr 2002 16:35:30 -0400, you wrote: >>Has anyone done this? >>I just tried installing apache 2.0 (latest on their site) and the latest php as a module for apache (not cgi), and found it doesnt seem to work. >> >>When apache starts, it

[PHP-WIN] printer_set_option

2002-05-01 Thread James Earl
Hi, I've been working with the printer extension lately... for work, not for fun! I'm running PHP 4.2.0, and Apache 1.3.24 on Windows 98. I've been having problems exclusively with the printer_set_option function. It doesn't seem to have any effect on the printers settings. $handle = printe

[PHP-WIN] Re: php won't "process" forms anymore

2002-05-01 Thread Matt Parlane
http://www.php.net/release_4_2_0.php Is this the problem you're experiencing? "Erik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > > when i have a page tht handles forms with php it doesn't work i don't get > any error message it just shows me the sam

Re: [PHP-WIN] php won't "process" forms anymore

2002-05-01 Thread Rubén Gutiérrez
On Wed, 1 May 2002 09:19:27 +0200 "Erik" <[EMAIL PROTECTED]> wrote: > hi, > > when i have a page tht handles forms with php it doesn't work i don't get > any error message it just shows me the same page over and over again i even > added > error_reporting(15); at the top of the script no luck w

[PHP-WIN] again little problem

2002-05-01 Thread Erik
hi, i run on my website a toplist build with php ther is an admin section but it is not password protected so i wrote a user authentication script like this the scritpt works fine the password box pops up i fill in the correct values click ok and then internet explorer 6 keeps on saying "websit

Re: [PHP-WIN] Running PHP as CGI

2002-05-01 Thread Shane Caraveo
No, there is. You get mod_fastcgi from fastcgi.com, get phpfcgi.exe from my site, and they should work together fine. Robin Bolton wrote: > Am I correct in assuming that there is no PHP fastcgi implementation for > Apache? > > > -Original Message- > From: Shane Caraveo [mailto:[EMAIL

RE: [PHP-WIN] Running PHP as CGI

2002-05-01 Thread Robin Bolton
Am I correct in assuming that there is no PHP fastcgi implementation for Apache? -Original Message- From: Shane Caraveo [mailto:[EMAIL PROTECTED]] Sent: May 1, 2002 14:15 To: 'Php-Win (E-mail)' Subject: Re: [PHP-WIN] Running PHP as CGI *Significant* difference between CGI and ISAPI. B

RE: [PHP-WIN] Re: Question installing and running php

2002-05-01 Thread Scott Hurring
httpd.conf does not have to be in the system dir, and neither does php.ini. my config has httpd.conf in C:\apache\conf\ and php.ini in C:\php-4.1.2\ works like a charm. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original

Re: [PHP-WIN] Running PHP as CGI

2002-05-01 Thread Shane Caraveo
*Significant* difference between CGI and ISAPI. But you can get a 4x-10x performance increase over CGI by using fastcgi, while maintaining stability and gaining persistent resources (db connections). I have to make a 4.2 fastcgi binary available, but info is at www.caraveo.com/fastcgi/ Shane

RE: [PHP-WIN] Php on windows - Linux and Windows Editors

2002-05-01 Thread Scott Hurring
> -Original Message- > From: Sukhwinder Singh [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 6:55 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Php on windows - Linux and Windows Editors > > > Hello, > I don't know why people don't reply to questions related > to compi

[PHP-WIN] Re: Running PHP as CGI

2002-05-01 Thread Christoph Grottolo
"Matt Babineau" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 009f01c1f149$f2d0a070$fca86389@developerx">news:009f01c1f149$f2d0a070$fca86389@developerx... > For stability reasons I am running PHP as a CGI on my production server > win2k/IIS5. v4.2 of PHP. How bad is the performance hit running PHP a

[PHP-WIN] Running PHP as CGI

2002-05-01 Thread Matt Babineau
For stability reasons I am running PHP as a CGI on my production server win2k/IIS5. v4.2 of PHP. How bad is the performance hit running PHP as a CGI and not ISAPI? Will it bog down my server with a light traffic load? How much worse can running php with the .exe be? Matt Babineau Freelance Inter

php-windows Digest 1 May 2002 19:48:38 -0000 Issue 1122

2002-05-01 Thread php-windows-digest-help
php-windows Digest 1 May 2002 19:48:38 - Issue 1122 Topics (messages 13450 through 13464): JUST A TEST 13450 by: theN 13452 by: theN Re: Question installing and running php 13451 by: theN 13453 by: Steve Bradwell Re: Carriage Return and Line Feed 13

RE: [PHP-WIN] problem solved

2002-05-01 Thread Dash McElroy
While you may be correct - there are undoubtedly sites out there (like our beloved php.net) that almost every page is processed by PHP. It may only make a real difference on huge traffic sites or underpowered machines. -Dash -Original Message- From: Ross Fleming [mailto:[EMAIL PROTECTED]

RE: [PHP-WIN] problem solved

2002-05-01 Thread Dash McElroy
Erik, I'm having lots of luck with the 'import_request_variables' command (www.php.net/import_request_variables). It's a rather lazy way to do it, but I don't want to rewrite all of my PHP code to do the 'register_global=off' compliant method. p.s. I have my servers set up to parse .html files a

[PHP-WIN] problem solved

2002-05-01 Thread Erik
hi, all the trouble i had it with php has been solved php is up and running without errors now.Mike you where wrong my code was correct but register_globals was not set to on in php.ini and this caused the problem also the user authentication issue has been fixed i installed php as apache module

RE: [PHP-WIN] PHP generation of fields

2002-05-01 Thread Dash McElroy
Thanks. Works like a charm. -Dash -Original Message- From: Kriegers Horst [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:19 AM To: Php Subject: RE: [PHP-WIN] PHP generation of fields In the if condition, you must use a double equal (==) and add an else condition to reset

RE: [PHP-WIN] USER_AGENT wrong thanks to proxy cache! Help!

2002-05-01 Thread Roderick Martin
The proxy server is a Compaq TaskSmart server (C1500) with the latest updates. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Premature end of script headers: c:/php/php.exe

2002-05-01 Thread Dean Sadler
Solved. I feel like an idiot. Here is what I was going wrong. //redirect to protected page header("Location: /worked.php <- should be .htm"); exit(); Thanks, Dean -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Premature end of script headers: c:/php/php.exe

2002-05-01 Thread Dean Sadler
No white space at top. Authentication function is in the same script. Here is the rest of it. PHP 4.1.1, Apache 1.3.23. function authenticate($user, $pass) { // move this to the config.php file $db_host = "localhost"; $db_user = "user"; $db_pass = "password";

Re: [PHP-WIN] Premature end of script headers: c:/php/php.exe

2002-05-01 Thread Mike Flynn
1. Is there any whitespace before the first I am having troubles with the following script. When executed I get the 500 >internal server error page and an error: Premature end of script headers: >c:/php/php.exe in the log files. If I comment out the header() line it >works fine. I would like to

[PHP-WIN] Premature end of script headers: c:/php/php.exe

2002-05-01 Thread Dean Sadler
I am having troubles with the following script. When executed I get the 500 internal server error page and an error: Premature end of script headers: c:/php/php.exe in the log files. If I comment out the header() line it works fine. I would like to redirect to the proper page based on login pas

Re: [PHP-WIN] php won't "process" forms anymore

2002-05-01 Thread Mike Flynn
You need to do more work debugging the issue before asking your question here. 1. Is the form in the same .php file as the form handling? 2. What does the source code for the form handler page look like when you submit the form? 3. What is your code? -Mike At 09:19 AM 5/1/2002 +0200, Erik wrote

Re: [PHP-WIN] Carriage Return and Line Feed

2002-05-01 Thread Mike Flynn
If you look at the output on your page when you output the contents of the mysql text field, you'll notice that the textarea contents is being returned EXACTLY how it was entered. That is to say, the carriage returns and linefeeds are definitely there. However, as in normal HTML, they (\n ch

RE: [PHP-WIN] Re: Question installing and running php

2002-05-01 Thread Steve Bradwell
I am fairly new to php to, when I did my first install, I had to learn how to set up the httpd.conf file and the php.ini file, also httpd.conf has to be in windows system dir. And after I finally figured that out, I realized that I had my php file named test.php.txt. HA! If this doesn't help then

[PHP-WIN] just a test

2002-05-01 Thread theN
just a test -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Question installing and running php

2002-05-01 Thread theN
[EMAIL PROTECTED] (James Ku-Ok Chung) wrote in news:[EMAIL PROTECTED]: > hello, > I am having trouble with the php. > > on a apache 1.3.12 and php4 (also tried php3) > > and followed all the directions of .ini and stuff... > > when I run the sample php on the web browser.. I don't get what

[PHP-WIN] JUST A TEST

2002-05-01 Thread theN
JUST A TEST -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 1 May 2002 07:18:50 -0000 Issue 1121

2002-05-01 Thread php-windows-digest-help
php-windows Digest 1 May 2002 07:18:50 - Issue 1121 Topics (messages 13424 through 13449): Re: executing an external program 13424 by: Scott Hurring Problem sending variables with an browser 13425 by: Waldemar Brand Neto 13426 by: Dash McElroy 13429 by: Scot

RE: [PHP-WIN] PHP generation of fields

2002-05-01 Thread Kriegers Horst
In the if condition, you must use a double equal (==) and add an else condition to reset the $select variable to "". Try this: for ($i=01;$i<=12;$i++) { if($i == date(m)) { $selected = " selected"; }else{ $selected = ""; }

[PHP-WIN] php won't "process" forms anymore

2002-05-01 Thread Erik
hi, when i have a page tht handles forms with php it doesn't work i don't get any error message it just shows me the same page over and over again i even added error_reporting(15); at the top of the script no luck windows always shows me the same page i may click submit a douzend of times it alwa