[PHP-WIN] Re: strange problem configuring two sites in IIS

2001-09-06 Thread Alessio Bernesco Làvore
I receive the same message when running PHP as an isapi module. If yours too run as isapi try to change the configuration to let it run as cgi. Bye, Alessio. "Carlos Andre Marques Moreira" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I've been ru

[PHP-WIN] Error using domxml_dumpmem()

2001-08-31 Thread Alessio Bernesco Làvore
Hi, using domxml_dumpmem() (and some other php domxml commands) generates a system error both using Apache or IIS as web server. Using php as ISAPI modules i receive "PHP has encountered an Access Violation at 00AD" error in web page Using as CGI it pop's up a sistem windows with "php.exe has

Re: [PHP-WIN] Very slow response using php.exe under windows9x

2001-08-29 Thread Alessio Bernesco Làvore
www.angorasoftware.com, it works well (win95 excluse...) Ale. "Erik H. Mathy" <[EMAIL PROTECTED]> ha scritto nel messaggio 002401c1309c$7b4b5310$1300020a@erik_laptop">news:002401c1309c$7b4b5310$1300020a@erik_laptop... > > i'll explain better the problem, > > i'm using ScriptView to process some

Re: [PHP-WIN] Very slow response using php.exe under windows9x

2001-08-29 Thread Alessio Bernesco Làvore
i'll explain better the problem, i'm using ScriptView to process some very simple php pages that will disposed on a distribution cd. The cd work very well on win2k but on win9x it's many times slower. The problem is that all our customer use win9x and on their machine, so i'm looking for a soluti

[PHP-WIN] Very slow response using php.exe under windows9x

2001-08-29 Thread Alessio Bernesco Làvore
Hi, i'm using php.exe directly to parse some php files, under windows2k and windowsNT the procedure is very fast, otherwise under windows95/98 it's very slow... Why? i really need to obtain some performances under win9x too... Thanks a lot. Alessio. -- PHP Windows Mailing List (http://www.ph

[PHP-WIN] Someone use a working dom-based xml parser?

2001-08-03 Thread Alessio Bernesco Làvore
Hi, I'm trying to use the DomXml lib under IIS 5.0/Win2000/Php 4.0.7 but when i launch a page containing call to any function except "xmldoc()" the sistem crashes, using the domxml_lib. Using some others library i dont obtain any result. It's very frustrating... Did someone use a dom-based parser

Re: [PHP-WIN] system(), Access is denied

2001-06-27 Thread Alessio Bernesco Làvore
I'm afraid you can't reach files on network mapped disks. They're impossible to reach also with commands like fopen and similars, so probably you cannot use system() or exec() and so on. I'm wrong? Alessio. "jong jong" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP-WIN] How to launch a .bat file with php.

2001-06-26 Thread Alessio Bernesco Làvore
xec(), system(), passthru() > that might be interesting to you. > > Happy coding. > > /Johan > > "Alessio Bernesco Làvore" wrote: > > > > Well... > > I've to execute by the command line a program called "HTTrack" that will > > p

Re: [PHP-WIN] How to launch a .bat file with php.

2001-06-26 Thread Alessio Bernesco Làvore
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > That's a tricky one... dunno if it really could be done without many > security issues and ugly workarounds. > > I think you got it a bit backwards... > > If I ask you like this: > What is it that you need in t

[PHP-WIN] How to launch a .bat file with php.

2001-06-26 Thread Alessio Bernesco Làvore
Hi, I've a batch file on the server, how can i launch it and know when it's finished. Thanks everyone, Alessio. -- 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

[PHP-WIN] Truncated pages with PHP 4.0.6-dev & IIS 5.0

2001-06-19 Thread Alessio Bernesco Làvore
Hi, Installing PHP 4.0.6-dev (and others versions) on a new machine with Win 2K pro & IIS 5.0 the pages are created truncated. I.e. phpinfo shows just the first 20 rows... On the same machine is installed Apache on port 8080 and the same pages works well. It's not the first time i install PHP und

Re: [PHP-WIN] Getting the URL of the parent script/page in an included script

2001-05-17 Thread Alessio Bernesco Làvore
I've used this script to include modify date and copyright notes in every page. It grab the informations of the page where was included... i think you can do something similar for other varibles than the last modification date. Greets, Alessio. note.php.inc \n"; echo "\n"; ?> "Timo Würsch" <[

[PHP-WIN] Discussion about using data with Scriptview.

2001-05-17 Thread Alessio Bernesco Làvore
Hi everyone, I'd like to know your opinion about these question: I have to create a redistribuitable CD using Scriptview. The CD will contain a limited edition of an actual website, based on a MySQL database. The question is: what's the best way to use the data with Scriptview? The data are some

[PHP-WIN] HELP: Print directory structure.

2001-05-15 Thread Alessio Bernesco Làvore
Could someone help me, please? I have to build a recursive function that print to video all the directories (and sub-directories and so on...) names presents in a specified sub-directory on the server. I can't handle that function, please, i'm in panic... Thanks, Alessio. -- PHP Windows M

[PHP-WIN] Assing NT user to PHP cgi Process.

2001-05-08 Thread Alessio Bernesco Làvore
(Win NT 4.0, IIS 4.0) Hi, I've made a script to create some sub-folders to my web root. To turn around security problems (like set the root or another sub-folder as "Everyone change") I would like to create and use an NT user to assign to the PHP process and then assign security permission just f

Re: [PHP-WIN] PHP and HTML

2001-05-08 Thread Alessio Bernesco Làvore
Wath did you mean with "html pages"? Have you set the extensions of these pages as .php? Bye, Alessio. ""Jordy"" <[EMAIL PROTECTED]> ha scritto nel messaggio 9d8qbe$934$[EMAIL PROTECTED]">news:9d8qbe$934$[EMAIL PROTECTED]... > Hi there, > I have Php 4.0.5 and Apache Web Server, > It all works f

Re: [PHP-WIN] fread() and windows directory permissions

2001-05-08 Thread Alessio Bernesco Làvore
I think you could not use fopen to open just a directory, without specify a file. Instead try to use: $handle=opendir('mydir'); while ($file = readdir($handle)) { echo "$file\n"; } closedir($handle); Bye, Alessio ""Benjamin Listwon"" <[EMAIL PROTECTED]> ha scritto nel messaggio 9d8l8b$74

Re: [PHP-WIN] Cannot upload file with POST method. IIS4 PHP 4.0.5

2001-05-04 Thread Alessio Bernesco Làvore
Ok, solved. Don't know why but in php.ini on non-functional machine the register_globals var was turned off, so the parameters where not passed with the post command. Thanks all for the answers. Bye, Alessio. ""Alessio Bernesco Làvore"" <[EMAIL PROTECTED]> ha s

[PHP-WIN] Cannot upload file with POST method. IIS4 PHP 4.0.5

2001-05-04 Thread Alessio Bernesco Làvore
Hello, Using the same script used under Windows2000 IIS 5.0 (where it works) cannot upload file to the server under NT 4.0 IIS4.0 The php ini file, the (tried) uploaded file and modality (cgi) are identical on both platforms. Ideas? thanks Alessio. -- PHP Windows Mailing List (http://www.php

Re: [PHP-WIN] RE: What is this??

2001-04-27 Thread Alessio Bernesco Làvore
www.f2s.com, I use it, sometimes little slow, but gives PHP extensions, MySQL account, FTP access, SMTP server and a little more services. Totally free. Bye, Alessio. ""Manesh"" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need a free web server

[PHP-WIN] Using cookies with IIS to manage sessions.

2001-04-24 Thread Alessio Bernesco Làvore
Hi, I'm not able to use cookie to manage sessions... Has anybody does it? Thanks, Ale. -- 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]

[PHP-WIN] Storing images in Interbase database

2001-04-23 Thread Alessio Bernesco Làvore
Hi, Anyone know how to do it? I've already done it with MySql, using "load_file" command, now is there something like this with interbase? Thanks a lot, Alessio. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: [PHP-WIN] Installing GDLib

2001-04-23 Thread Alessio Bernesco Làvore
Yes, jpeg & png. Ciao, Ale. "Patrick Dunford" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On 23 Apr 2001 01:11:05 -0700 AD in php.windows, Alessio Bernesco Làvore > said: > > >GDLib should be also

Re: [PHP-WIN] Installing GDLib

2001-04-23 Thread Alessio Bernesco Làvore
GDLib should be also included in the php 4 distribution, so you already have the compiled dll (look in php\extensions for php_gd.dll) To be able to use gd functions you have to edit php.ini (probably in your \windows directory, or do a find file) and change line: ;extension=php_gd.dll to extens

[PHP-WIN] Problems using Sablotron for XSLT transformations.

2001-04-23 Thread Alessio Bernesco Làvore
Good morning, Using the Sablotron module i receive a generic error message, has someone do some transformations succesfully? Thanks a lot Ale. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con