php-windows Digest 26 Nov 2002 07:24:46 -0000 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 Neil
IIS and PHP with pass through authentication
17111 by: Shaun Garriock
Re: Download file
17112 by: Radovan Radic
Re: Sending Attachment through Email
17115 by: Brian 'Bex' Huff
Re: telnetting
17116 by: Brian 'Bex' Huff
MS FTP ftp_nlist() hang?
17117 by: Jack Kelly Dobson
17118 by: Rich Gray
17125 by: Jack Kelly Dobson
17128 by: Jack Kelly Dobson
get Url
17120 by: Rodrigo San Martin
17121 by: brother - Martin Bagge
17122 by: Dash McElroy
Getting my IP adress (not 127.0.0.1)
17123 by: Michael Delorme
17124 by: Ignatius Reilly
17126 by: Michael Delorme
C++ dll files
17127 by: Brennan Mann
Re: Extensions
17129 by: Franco Pozzer
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!
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:\Program Files\Apache Group\Apache2\bin>apache.exe
>apache.exe: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is
not
>compatible with this version of Apache (found 20020628, need 20020903).
>Please contact the vendor for the correct version.
It would seem that apache needs an upgrade but there isn't any official
packages that is newer.
Any suggestions?
==================
Erik Nilsson
--- End Message ---
--- Begin Message ---
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.3 works great with Apache 2.0.40, PHP 4.2.2 with Apache
2.0.39, etc).
-Dash
-----Original Message-----
From: Erik Nilsson [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 3:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP 4.2.3 + Apache 2.0.43
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:\Program Files\Apache Group\Apache2\bin>apache.exe
>apache.exe: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is
not
>compatible with this version of Apache (found 20020628, need 20020903).
>Please contact the vendor for the correct version.
It would seem that apache needs an upgrade but there isn't any official
packages that is newer.
Any suggestions?
==================
Erik Nilsson
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
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. Each frame is given a name, or 'target'. Accordingly when an
HTML page is to be displayed (<A HREF etc command) it must be 'pointed' at a
particular frame. The author of the software gets to choose those names. The
outside frame - or the window also has a name. If you direct a new page to
be opened there, then it will obliterate any sub-frame/sub-pages. If you
open a new page without giving it a target, then most (quite probably 'all')
browsers will open that page in a new window.
Regards,
=dn
> ok... so last weeks struggle was getting my computer set up as a php mysql
> server for testing. I guess it was also a struggle learning how to
install
> my first "precoded" program. With that being said, I am very grateful for
> all for the help that you here in this forum gave me.
>
> I have now given myself a new problem. The site I am trying to build has
> frames, all is fine and dandy until I hit my PHP calendar, if all I do is
> look at the calendar there is no problem however, if I do anything that
runs
> a script within the calendar when I go to my navbar and then try to go to
> somewhere else in the site, rather than opening the page in my main frame
> (where the calendar currently is) it ends up opening the page in a new
> window. This a rather troublesome side effect. Any suggestions? I will
> include the link to the calendar maybe one of you smart people can tell me
> what is going on in the code... I would post the site up but I don't want
to
> hand out my IP address, and the organization for which I am doing the site
> hasn't upgraded their account to support php and myself. I am trying to
> give a presentation to my school class about the site tomorrow... so I
would
> like to fix this... any suggestions?
>
> The zip file with the calendar code/instructions is attached here is
their
> website: http://calendar.codewalkers.com/
>
> any quick solutions would be very appreciated!
> ~Joe
>
>
>
----------------------------------------------------------------------------
----
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
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 program
obliterates the code for the frames once it is up? or were you saying that
my navbar was incorrectly coded?
"Dl Neil" <[EMAIL PROTECTED]> wrote in message
0fc601c29479$c039ead0$c900a8c0@jrbrown">news:0fc601c29479$c039ead0$c900a8c0@jrbrown...
> 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. Each frame is given a name, or 'target'. Accordingly when
an
> HTML page is to be displayed (<A HREF etc command) it must be 'pointed' at
a
> particular frame. The author of the software gets to choose those names.
The
> outside frame - or the window also has a name. If you direct a new page to
> be opened there, then it will obliterate any sub-frame/sub-pages. If you
> open a new page without giving it a target, then most (quite probably
'all')
> browsers will open that page in a new window.
> Regards,
> =dn
>
>
> > ok... so last weeks struggle was getting my computer set up as a php
mysql
> > server for testing. I guess it was also a struggle learning how to
> install
> > my first "precoded" program. With that being said, I am very grateful
for
> > all for the help that you here in this forum gave me.
> >
> > I have now given myself a new problem. The site I am trying to build
has
> > frames, all is fine and dandy until I hit my PHP calendar, if all I do
is
> > look at the calendar there is no problem however, if I do anything that
> runs
> > a script within the calendar when I go to my navbar and then try to go
to
> > somewhere else in the site, rather than opening the page in my main
frame
> > (where the calendar currently is) it ends up opening the page in a new
> > window. This a rather troublesome side effect. Any suggestions? I
will
> > include the link to the calendar maybe one of you smart people can tell
me
> > what is going on in the code... I would post the site up but I don't
want
> to
> > hand out my IP address, and the organization for which I am doing the
site
> > hasn't upgraded their account to support php and myself. I am trying to
> > give a presentation to my school class about the site tomorrow... so I
> would
> > like to fix this... any suggestions?
> >
> > The zip file with the calendar code/instructions is attached here is
> their
> > website: http://calendar.codewalkers.com/
> >
> > any quick solutions would be very appreciated!
> > ~Joe
> >
> >
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
--- End Message ---
--- Begin Message ---
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... 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 program
> obliterates the code for the frames once it is up? or were you saying
that
> my navbar was incorrectly coded?
>
>
> "Dl Neil" <[EMAIL PROTECTED]> wrote in message
> 0fc601c29479$c039ead0$c900a8c0@jrbrown">news:0fc601c29479$c039ead0$c900a8c0@jrbrown...
> > 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. Each frame is given a name, or 'target'. Accordingly when
> an
> > HTML page is to be displayed (<A HREF etc command) it must be 'pointed'
at
> a
> > particular frame. The author of the software gets to choose those names.
> The
> > outside frame - or the window also has a name. If you direct a new page
to
> > be opened there, then it will obliterate any sub-frame/sub-pages. If you
> > open a new page without giving it a target, then most (quite probably
> 'all')
> > browsers will open that page in a new window.
> > Regards,
> > =dn
> >
> >
> > > ok... so last weeks struggle was getting my computer set up as a php
> mysql
> > > server for testing. I guess it was also a struggle learning how to
> > install
> > > my first "precoded" program. With that being said, I am very grateful
> for
> > > all for the help that you here in this forum gave me.
> > >
> > > I have now given myself a new problem. The site I am trying to build
> has
> > > frames, all is fine and dandy until I hit my PHP calendar, if all I do
> is
> > > look at the calendar there is no problem however, if I do anything
that
> > runs
> > > a script within the calendar when I go to my navbar and then try to go
> to
> > > somewhere else in the site, rather than opening the page in my main
> frame
> > > (where the calendar currently is) it ends up opening the page in a new
> > > window. This a rather troublesome side effect. Any suggestions? I
> will
> > > include the link to the calendar maybe one of you smart people can
tell
> me
> > > what is going on in the code... I would post the site up but I don't
> want
> > to
> > > hand out my IP address, and the organization for which I am doing the
> site
> > > hasn't upgraded their account to support php and myself. I am trying
to
> > > give a presentation to my school class about the site tomorrow... so I
> > would
> > > like to fix this... any suggestions?
> > >
> > > The zip file with the calendar code/instructions is attached here is
> > their
> > > website: http://calendar.codewalkers.com/
> > >
> > > any quick solutions would be very appreciated!
> > > ~Joe
> > >
> > >
> > >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
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 in. Integrated Windows Auth is turned off. When I turn it on and try to login it
says login failed. I know that ASP can have a script added to the page to turn pass
through auth but I need one for PHP.
I am using $HTTP_SERVER_VARS["LOGON_USER"] to get the username and it works when I
login. I just need to get rid of the login box.
Thanks for your help in advance.
Shaun Garriock
*** The contents of this message are confidential and are intended for the addressee
only. The views expressed in this message do not necessarily represent those of Robert
Gordon's College. Electronic mail transmission is not guaranteed to be secure,
therefore, Robert Gordon's College does not accept liability for the contents of this
transmission. This message does not form a legal binding contract. ***
--- End Message ---
--- Begin Message ---
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") //
> {
> $filename="./dload_files/temp.txt";
add line:
$file=basename($filename);
> // now create file, and load some data from mssql in it - it is ok
> $fp=fopen($filename,"w");
> write_data($fp);
> fclose($fp);
> }
> $len=filesize($filename);
> header('Cache-Control: no-cache, must-revalidate');
> header('Pragma: no-cache');
> header("Content-type: application/download");
> header("Content-Length: $len");
> header("Content-Disposition: attachment; filename=\"$filename\"");
replace this line
header("Content-Disposition: attachment; filename=\"$file\"");
> $fp=fopen($filename, "r");
> fpassthru($fp);
> exit;
> }
> ?>
>
> 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-disposition
> headers.
> Anyone can help here?
>
> Radovan
>
>
--- End Message ---
--- Begin Message ---
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' function to send multipart MIME
messages... in other words, emails with attachments. Its kind of a pain
to assemble it all by hand like the Zend article shows, so I'd use the
PEAR code. Still... its an interesting read.
--
Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424
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. and then send the
email.
thanx in advance
--- End Message ---
--- Begin Message ---
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.levels4you.com/cdc/d3/telnetwrapper/
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/mserv-control/php-telnet/
Or, you could try opening up your system's telnet program with
'proc_open', which gives you control over standard input and standard
output. This is more powerful than 'exec' or 'system', because you can
interact with your process:
http://www.php.net/manual/en/function.proc-open.php
As you can see... its a bit harder to manage than 'exec' or 'system',
but that's the price you pay for power ;)
--
Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424
is there a way to connect to telnet via PHP
e.g. login then excute command then logout
O
Ensign Baker
HCO Officer
USS Atlantis
--- End Message ---
--- Begin Message ---
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 loop.
However, MS FTP hangs on ftp_nlist() and/or ftp_rawlist() more often than it
returns results. Strangely enough the other functions that upload the file
etc... don't ever hang.
Can anyone that has had experience using PHP and MS FTP together tell me if
this is an inherent problem with MS FTP or do I have something wrong with my
installation?
thx j-
--- End Message ---
--- Begin Message ---
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]
Subject: [PHP-WIN] MS FTP ftp_nlist() hang?
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 loop.
However, MS FTP hangs on ftp_nlist() and/or ftp_rawlist() more often than it
returns results. Strangely enough the other functions that upload the file
etc... don't ever hang.
Can anyone that has had experience using PHP and MS FTP together tell me if
this is an inherent problem with MS FTP or do I have something wrong with my
installation?
thx j-
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
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 PROTECTED]]
> Sent: Monday, November 25, 2002 10:33 AM
> To: Jack Kelly Dobson; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] MS FTP ftp_nlist() hang?
>
>
> 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]
> Subject: [PHP-WIN] MS FTP ftp_nlist() hang?
>
>
> 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 loop.
>
> However, MS FTP hangs on ftp_nlist() and/or ftp_rawlist() more
> often than it
> returns results. Strangely enough the other functions that upload the file
> etc... don't ever hang.
>
> Can anyone that has had experience using PHP and MS FTP together
> tell me if
> this is an inherent problem with MS FTP or do I have something
> wrong with my
> installation?
>
> thx j-
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
--- End Message ---
--- Begin Message ---
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 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 PROTECTED]]
> > Sent: Monday, November 25, 2002 10:33 AM
> > To: Jack Kelly Dobson; [EMAIL PROTECTED]
> > Subject: RE: [PHP-WIN] MS FTP ftp_nlist() hang?
> >
> >
> > 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]
> > Subject: [PHP-WIN] MS FTP ftp_nlist() hang?
> >
> >
> > 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 loop.
> >
> > However, MS FTP hangs on ftp_nlist() and/or ftp_rawlist() more
> > often than it
> > returns results. Strangely enough the other functions that upload the
file
> > etc... don't ever hang.
> >
> > Can anyone that has had experience using PHP and MS FTP together
> > tell me if
> > this is an inherent problem with MS FTP or do I have something
> > wrong with my
> > installation?
> >
> > thx j-
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> >
>
--- End Message ---
--- Begin Message ---
"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
--- End Message ---
--- Begin Message ---
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 <oldfile>
<newfile>. If I'm not mistaken.
--- End Message ---
--- Begin Message ---
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).
-Dash
-----Original Message-----
From: Rodrigo San Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 6:49 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] get Url
"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.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi
I try to get my local IP adress :
<?php
$arrIp = gethostbynamel("localhost");
foreach ($arrIp as $ip) {
echo $ip."<br />";
}
?>
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 04 74 23 26 10
mailto:[EMAIL PROTECTED]
_________________________________________
--- End Message ---
--- Begin Message ---
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. . . . . . . . . . . . : " ;
$a = strrchr( $text, $needle ) ;
$a = substr( $a , 35, 16 ) ;
$new_ip = trim( $a ) ;
Not quite elegant, but efficient (W2K format for ipconfig - I don't know if
it also applies to Windows 98)
(Le bazar me servait à rediriger vers une adresse IP dynamique...)
En espérant avoir été utile...
Ignatius
____________________________________________
----- Original Message -----
From: "Michael Delorme" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 25, 2002 6:52 PM
Subject: [PHP-WIN] Getting my IP adress (not 127.0.0.1)
> Hi
>
> I try to get my local IP adress :
>
> <?php
> $arrIp = gethostbynamel("localhost");
> foreach ($arrIp as $ip) {
> echo $ip."<br />";
> }
> ?>
>
> 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 04 74 23 26 10
> mailto:[EMAIL PROTECTED]
> _________________________________________
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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 http://kromann.info/php4.php
Ciao Franco.
Gary Hayers wrote:
> Any idea where I can get the extensions php_mcal.dll and php_mcrypt.dll
> from as a windows binary?
>
> TIA
>
> Regards,
>
> Gary
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---