Re: [PHP-WIN] C++ dll files

2002-11-25 Thread Franco Pozzer
I try to help to you but I do not sure if it is a correct because I have study the problems but I do not have try it. For my porpose instead to use COM object I like to use C or C++ external pgm. First of all, the DLL must be registred in Windows system. Mine was because it was provided by a

php-windows Digest 26 Nov 2002 07:24:46 -0000 Issue 1457

2002-11-25 Thread php-windows-digest-help
php-windows Digest 26 Nov 2002 07:24:46 - Issue 1457 Topics (messages 17109 through 17129): PHP 4.2.3 + Apache 2.0.43 17109 by: Erik Nilsson 17119 by: Dash McElroy Re: Another Newb PHP question 17110 by: DL Neil 17113 by: Joe Finlinson 17114 by: DL Ne

Re: [PHP-WIN] Extensions

2002-11-25 Thread Franco Pozzer
In Win32 system under dir like to me: D:/Php/php-4.2.1-Win32/extensions The php.ini at the section extension must to be: ; Directory in which the loadable extensions (modules) reside. ;extension_dir = ./ extension_dir = D:/Php/php-4.2.1-Win32/extensions the extensions PHP I have find at link ht

Re: [PHP-WIN] MS FTP ftp_nlist() hang?

2002-11-25 Thread Jack Kelly Dobson
Okay... I just set my script to do 1000 iterations of a call to ftp_nlist() and it didn't so much as hesitate. I'm convinced it's fixed. j- "Jack Kelly Dobson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Happily this bug appears to be fixed in 4.3 releas

[PHP-WIN] C++ dll files

2002-11-25 Thread Brennan Mann
Hello Everybody, Can PHP call a DLL file? If so, do you know where I might be able to find an example? Thanks Again, Brennan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

SUM: [PHP-WIN] Getting my IP adress (not 127.0.0.1)

2002-11-25 Thread Michael Delorme
Thanks to Ignatius Reilly, Dash McElroy, John Asendorf I finally used Ignatius trick. Like him, it's used to store my dynamic IP adress on a public server. I use php to periodically send (via FTP) a new page with a like to my home computer... Thanks everyone Michael -- PHP Windows Mailing List

RE: [PHP-WIN] MS FTP ftp_nlist() hang?

2002-11-25 Thread Jack Kelly Dobson
Happily this bug appears to be fixed in 4.3 release candidate 1 (see: http://qa.php.net). At least I haven't see it fail so far. Way to go dudes! happiness. j- Jack Kelly Dobson Systems Administrator Charlton [EMAIL PROTECTED] > -Original Message- > From: Rich Gray [mailto:[EMAIL PROTE

Re: [PHP-WIN] Getting my IP adress (not 127.0.0.1)

2002-11-25 Thread Ignatius Reilly
I once wrote a script to do just that: // get W2K ipconfig info: $text = `ipconfig` ; // back ticks, not single quotes // first extract text block after "PPP" $needle = "PPP" ; $a = strstr( $text, $needle ) ; $a = substr( $a , 0, 180 ) ; // then extract IP address $needle = "IP Address. . . . .

[PHP-WIN] Getting my IP adress (not 127.0.0.1)

2002-11-25 Thread Michael Delorme
Hi I try to get my local IP adress : "; } ?> However I only get 127.0.0.1 But I want the "public" dynamic adress my ISP gave me, as shown by the ipconfig windows command. Thanks in advance M _ Michael Delorme 41 bd de Brou 01000 Bourg-en-Bresse tel/fax 0

RE: [PHP-WIN] get Url

2002-11-25 Thread Dash McElroy
PHP with register_globals = on: $PHP_SELF PHP with register_Globals = off: $_SERVER['PHP_SELF'] (4.1.x or greater) Check a phpinfo() screen for more variables. There are some other ones that can be extremely helpful (if you have a GET string you want to save too, use $_SERVER['REQUEST_URI'], etc).

RE: [PHP-WIN] get Url

2002-11-25 Thread brother - Martin Bagge
Rodrigo San Martin: > "Http://www.host.com/testfile.php"; > > Need to get the filename "testfile.php". > > How do i do that??? if your shell doesn't support filerenaming then just use a regular FTPclient to connect to the FTPserver, the command for renaming is rename . If I'm not mistaken. --

[PHP-WIN] get Url

2002-11-25 Thread Rodrigo San Martin
"Http://www.host.com/testfile.php"; Need to get the filename "testfile.php". How do i do that??? -- Rodrigo San Martin Institutt for datateknologi og informatikk -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

RE: [PHP-WIN] PHP 4.2.3 + Apache 2.0.43

2002-11-25 Thread Dash McElroy
Use Apache 1.3.x (easy), search this list for PHP 4.2.3 and Apache 2 (not that hard - there are instructions for downloading a new php4apache2.dll file), or if you're daring, possibly try PHP 4.3.0 RC1. Apache2 support in PHP 4.2.x is experimental (and breaks with new versions of either - PHP 4.2.

RE: [PHP-WIN] MS FTP ftp_nlist() hang?

2002-11-25 Thread Rich Gray
Jack I'm afraid this is a known bug... and it's still a problem with v4.2.3 I believe.. Check http://bugs.php.net for more info - sorry I don't have the Bug # Rich -Original Message- From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]] Sent: 25 November 2002 16:22 To: [EMAIL PROTECTED] Subje

[PHP-WIN] MS FTP ftp_nlist() hang?

2002-11-25 Thread Jack Kelly Dobson
Hey folks, I'm having a bit of a problem with the FTP functions and Microsoft's FTP software. I've written an app that uploads a file to an FTP server then lists all the files in the directory. When I point this at a Linux FTP server it works fine and doesn't even mind being put into an endless l

[PHP-WIN] Re: telnetting

2002-11-25 Thread Brian 'Bex' Huff
Now that's an interesting question! You could use the PHP Sockets extension to send the raw data back and forth to the telnet server, according to the telnet protocol (ish)... You could try to use somebody else's implementation of the above, of which I found a few with google: http://www.leve

[PHP-WIN] Re: Sending Attachment through Email

2002-11-25 Thread Brian 'Bex' Huff
If you check the documentation for the 'mail' function: http://www.php.net/manual/en/function.mail.php You'll see that it points to these references: http://www.zend.com/zend/spotlight/sendmimeemailpart1.php http://pear.php.net/package-info.php?pacid=21 Which explain how to use the 'mail' func

Re: [PHP-WIN] Another Newb PHP question

2002-11-25 Thread DL Neil
Joe, PHP only outputs HTML. The navbar links must position the web page in the appropriate frame, and every page within the calendar must stay within the same frame - or deliberately break out. You are the only one who can see both 'levels' of the code. =dn > The navbar is configured correctly...

Re: [PHP-WIN] Another Newb PHP question

2002-11-25 Thread Joe Finlinson
No... no one has to write code for me. I am just not understanding why it doesn't work. The navbar is configured correctly... and until I run the calendar all of the navbar links work just fine... everything opens in the "main" frame (yes I did target them correctly). Are you saying that the PHP

[PHP-WIN] Re: Download file

2002-11-25 Thread Radovan Radic
Answering to myself: "Radovan Radic" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > I have problems with downloading files from my web application in php. > Here is the code from download.php > > if (isset($dload)) > { > if ($dload=="cdrs") // > { > $fi

[PHP-WIN] IIS and PHP with pass through authentication

2002-11-25 Thread Shaun Garriock
Hi The problem I am having is as follows: I setup PHP with IIS and it seems to work fine. I am creating a Intranet site and would like to obtain the user logged on to the networks username. I have setup basic auth but when I visit the site it asks me for my username and password before I can get

Re: [PHP-WIN] Another Newb PHP question

2002-11-25 Thread DL Neil
Ok Joe, So you want someone to write your homework for you? This is an HTML issue. We normally think of a single web page occupying a while window. With frames this changes. Each frame is basically a single HTML page, and the framework allows multiple HTML pages to appear within a single window. Ea

[PHP-WIN] PHP 4.2.3 + Apache 2.0.43

2002-11-25 Thread Erik Nilsson
Hi! I'm trying to set up a basic apache server wih PHP-support. Both the PHP package and the Apache is the latest binary packages available from www.apache.org and www.php.net (not counting release candidates). However I run in to problem when I'm trying to load the module php4apache2.dll >C:\P

php-windows Digest 25 Nov 2002 10:57:28 -0000 Issue 1456

2002-11-25 Thread php-windows-digest-help
php-windows Digest 25 Nov 2002 10:57:28 - Issue 1456 Topics (messages 17099 through 17108): Re: Help required... Simple File Upload 17099 by: Dash McElroy 17102 by: Raheel Hussain 17104 by: Raheel Hussain 17105 by: Raheel Hussain Re: Unable to upload.. :(

[PHP-WIN] Download file

2002-11-25 Thread Radovan Radic
Hi I have problems with downloading files from my web application in php. Here is the code from download.php download.php is called from another page I get the save as dialog box , but filename is not temp.txt but download with no extension. I have heard this is bug in IE about content-disposit

[PHP-WIN] Sending Attachment through Email

2002-11-25 Thread Raheel Hussain
hi, can any body tell that what directive or headers should be used in the mail function if i want to send an attachment via email, i have simple email composer form with SendTo, SendFrom,Subject , Body and Attachment(input type=file) Fields and server side form, where i get all the fields. a