php-install Digest 15 Aug 2002 22:38:22 -0000 Issue 980
Topics (messages 8128 through 8131):
Apache on win2000 and PHP 4
8128 by: Lukáš Moravec
Two version of php in the same system
8129 by: Breno Cardoso Perucchi
printing error on Wndows 2000, PHP 4.2.2.
8130 by: Salvador Gil
well i need help
8131 by: Erik
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 ---
Hi there,
I have a problem with apache for win2000 and PHP.
When I installed Apache, I tried to configure Apache. In Install manual
there are two ways :
First - inserting these lines into conf.file :
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
And setting a directive cgi.force_redirect to 1.
When I did it, I tested a javascript which is giving to script one =
variable (action="post", input name="variable") but script returned =
that this variable is not defined....
When I used other way the apache does not work but i do not know where
to insert these lines (in htconf)...
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Same problem I had with IIS5 ... variables from any javascript form =
were not defined...
If you can help me ...do it please...
Moravec
--- End Message ---
--- Begin Message ---
Exists some way of to have 2 different versions in the same system ?
I am trying to running the version 4.2.2 and 4.0.3 .
Thanks
Breno Cardoso Perucchi
breno@omegatec.
--- End Message ---
--- Begin Message ---
Hi,
Anybody can helpme ?
I trying to print with PHP 4.2.2 on Windows 2000, but I can't because an
errors:
Warning: couldn't allocate new print job in d:\ventas\imprime_Fact.php
on line 108
Warning: couldn't start a new page in d:\ventas\imprime_Fact.php on line
109
Warning: couldn't end the page in d:\ventas\imprime_Fact.php on line
310
Atributos Impresora:2
Fatal error: couldn't terminate print job in d:\ventas\imprime_Fact.php
on line 311
HTTP/1.1 502 Gateway Error Server: Microsoft-IIS/5.0 Date: Thu, 15 Aug
2002 00:17:31 GMT Content-Length: 186 Content-Type: text/html
CGI Timeout
The specified CGI application exceeded the allowed time for processing.
The server has deleted the process.
where lines:
108 $handle = printer_open("\\\\SRV_MEX_04\La_rh");
109 printer_start_doc($handle, "Factura");
309 printer_end_page($handle);
310 printer_end_doc($handle);
311 printer_close($handle);
Aditionaly an aplication error log is:
Event Type: Error
Event Source: Perflib
Event Category: None
Event ID: 1000
Date: 14/08/2002
Time: 05:36:13 p.m.
User: N/A
Computer: SGIL
Description:
Access to performance data was denied to IUSR_SGIL as attempted from
C:\WINNT\System32\drwtsn32.exe
I think PHP can't print directly on W2000, and need to configure
aditional things, but I don't have idea..... :(
Thanks in advance....
--- End Message ---
--- Begin Message ---
hi,
i create a script to view the source of php files now i don't want the whole
world to know my MySQL and other passes he so i found a security hole in the
script i wrote
i call it like this
http://www.mydomain.com/source.php?file_name=myfile.php
now i have a file called "dbinfo.php" this fill contains my MySQL pass and i
found if you call the script like this
http://www.mydomain.com/source.php?file_name=DbInfo.php
the whole source code including my pass is visible !!!!
is php capable of removing the uppercase characters so DbInfo becomes
dbinfo wich is blocked
already tryed with strtolower() but no luck help ! here you have the source
regards
Erik
--- End Message ---