[PHP-WIN] Questions about versions of PHP and Apache

2001-09-27 Thread Kenneth Lee
Does anyone know the minimum version of Apache that PHP-4.0.5 can work with? I have a 1.3.7, but it crashes quite often, and it seems it's the PHP module causes it so. Any idea? Kenneth -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-WIN] problem with uploading

2001-09-27 Thread Oliver Robillo
Hello! I have a problem when trying to use ftp_put(). In the function I specified, of course, the ftp stream, the destination file, the source file and the mode. I get an error saying "Warning: error opening C:\...\file_name.jpg in ...". Does anyone know where the problem could be? Oliver.

Re: [PHP-WIN] Lines of txt

2001-09-27 Thread Chen Wei, Lian
Hi Devon, This is the way I do... but not using fopen: if (is_file($file)) { $fileArray = file($file); foreach($fileArray as $line) { // just do whatever u want to the line... echo("$line"); } } hope it helps~ :) -- regards, chen wei (

[PHP-WIN] Re: Using COM

2001-09-27 Thread David Broker
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Crawley) wrote: >"David" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> $adsi = new COM(server.object) > >All you need is ... > >$adsi = new COM( "comobjectname" ); >$adsi->objectmethod(); > >try that, the o

Re: [PHP-WIN] php4 and interbase

2001-09-27 Thread Mike
Yes, but do you have the php_interbase.dll in your extensions directory. And I assume you have a line similar to this in your INI: extension_dir = "f:\apache\php\extensions" "SebastiáN" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > yes, interbase server is

[PHP-WIN] Re: PHP-> JavaScript

2001-09-27 Thread Mike
I'm not sure which way you are trying to go, but here is a function I use all the time: "Sichta Daniel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi !! > > Is there any way to parse variable from JavaScript to PHP

Re: [PHP-WIN] current page

2001-09-27 Thread Mike
The easiest way to find out these kind of constant variables is to create this page and view it: "John Asendorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I believe you can call: > > $thisepage = $PHP_SELF; > > you'll need to look it up though > > ---

[PHP-WIN] Re: Problems setting up a DSN

2001-09-27 Thread Mike
Daniel, If you are accessing an Access 2k database, I would use OLEDB rather than ODBC. With this you would not require a DSN, and the speed is greater. ex. $conn = new COM("ADODB.Connection"); $connString = 'PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=F:\someMDB.MDB;User Id=Foo;Password=B

php-windows Digest 28 Sep 2001 00:47:59 -0000 Issue 777

2001-09-27 Thread php-windows-digest-help
php-windows Digest 28 Sep 2001 00:47:59 - Issue 777 Topics (messages 9572 through 9584): Code did not work on Explorer but worked on PHP coder. 9572 by: Burak Delice PHP-> JavaScript 9573 by: Sichta Daniel 9575 by: Chen Wei, Lian gif not working in php 9574

[PHP-WIN] Lines of txt

2001-09-27 Thread Devon
Below is my source that sipply opens a file http://localhost/Install.txt";, "r"); if ($fp) { print"The file exists!"; } else { print"The file does not exist"; } ?> I Need to be able to a. print the file out b. The file must be printed out line by line c. Write each seperate line to a mysql data

[PHP-WIN] Re: php developer program

2001-09-27 Thread Omar Ortiz
Check http://www.codecharge.com/ Raj wrote: > hi all > > I've just learned asp, and now have been told that php is the language to > learn. Further Mysql does not support asp. > > Is there a web publishing program that can output to php ? so I don't have > to learn php in depth. (As frontpage an

[PHP-WIN] php developer program

2001-09-27 Thread raj
hi all I've just learned asp, and now have been told that php is the language to learn. Further Mysql does not support asp. Is there a web publishing program that can output to php ? so I don't have to learn php in depth. (As frontpage and ultadev can output to asp) If not is it because php is a

RE: [PHP-WIN] Well, I've got it running

2001-09-27 Thread Asendorf, John
Hi Alain... thanks, I've seen it, but the app is written and the last thing I need now is to 1) learn ADODB and then re-write the app to reflect ADODB and 2) add another potential wrench into the works... And I'm not sure how ADODB will fix the SAPI modules problems I'm having anyway... But than

RE: [PHP-WIN] current page

2001-09-27 Thread Asendorf, John
I believe you can call: $thisepage = $PHP_SELF; you'll need to look it up though - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura demen

[PHP-WIN] current page

2001-09-27 Thread Stanley Cheung
Hi all, anyone can tell me the parameter for name of current page? e.g: www.abc.com/hello.php how can retrieve the value (hello.php)? pls advise. thx! Stanley -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP-WIN] php4 and interbase

2001-09-27 Thread Martin Lindhe
> When I edit php.ini file and try to use the Interbase > extension, everytime I > try to open a php on my Browser it display the following warning > > "Unable to load dynamic library > 'c:\php\extensions/php_interbase.dll' - in > Unknown on line 0" > > > Help me please > Look in your

RE: [PHP-WIN] Cannot using session variables with fopen()

2001-09-27 Thread Martin Lindhe
> Hi, > if i use fopen or similars commands to open a file i've see > that the session > variables included in it are not valorized. > Using fopen i've defined the absolute http path to the file, > and the file is > correctly parsed by the PHP interpreter, the only > problem is that the session

RE: [PHP-WIN] gif not working in php

2001-09-27 Thread Martin Lindhe
> Dear List Members, > > Please consider my problem: > > There is one animation (m1.gif) which when called in any html > page works > fine. > But when the same image is called in any php file the same is > not displayed > instead a cross mark (indicating as image not found) is displayed in > b

Re: [PHP-WIN] PHP-> JavaScript

2001-09-27 Thread Chen Wei, Lian
Hi Sichta, it's impossible to do this, alternatively, u can put id as a hidden value of a form and submit to specified page. -- regards, chen wei (http://www.cw213.net) === Solutions Developer of Earth9.com === Thursday, Septemb

[PHP-WIN] gif not working in php

2001-09-27 Thread legal
Dear List Members, Please consider my problem: There is one animation (m1.gif) which when called in any html page works fine. But when the same image is called in any php file the same is not displayed instead a cross mark (indicating as image not found) is displayed in browser. Any suggestion?.

[PHP-WIN] PHP-> JavaScript

2001-09-27 Thread Sichta Daniel
Hi !! Is there any way to parse variable from JavaScript to PHP ? Something like: function xxx (id) { id; } DAN

[PHP-WIN] Code did not work on Explorer but worked on PHP coder.

2001-09-27 Thread Burak Delice
hi I tried a php code below: Title here! whe I run this sample in "php coder" it worked. But when I run on Internet exoplorer it did not work. empty screen appeared. why? not: I have using windows 2000, IIS5 and PHP4. -- PHP Windows Mailing List (http://www.php.net/) To

php-windows Digest 27 Sep 2001 08:49:46 -0000 Issue 776

2001-09-27 Thread php-windows-digest-help
php-windows Digest 27 Sep 2001 08:49:46 - Issue 776 Topics (messages 9560 through 9571): Re: Well, I've got it running 9560 by: Asendorf, John 9563 by: Alain Samoun 9564 by: Alain Samoun GD in PHP with Win 2000 Profressional 9561 by: Marcelo Busana array

[PHP-WIN] Re: Using COM

2001-09-27 Thread Crawley
"David" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > $adsi = new COM(server.object) All you need is ... $adsi = new COM( "comobjectname" ); $adsi->objectmethod(); try that, the only problem you might have is passing variables by reference... to do that you