Re: [PHP-WIN] Need help

2007-05-07 Thread DL Neil
Gustav Wiberg wrote: > Hi there! > > Anyone experienced trouble connecting to a MSSQL - Server but not every time? > (About every third time the connection succeeds, fourth time, fitfh time and > so on ...) > > (IIS + PHP + Win2003 Server) > > > Best regards > /Gustav Wiberg Intermittent DNS

Re: [PHP-WIN] Starnge parse problem

2002-12-10 Thread DL Neil
Hi George, Imbalance of { - I think the first one/after the for! =dn > Hi guys, > > I am starting to build a calendar. I know that there are resources out there > but I want to learn, so I'm starting from scratch. > > I've got my thinking this far and I've hit an unexpected snag. > > When I cal

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-07 Thread DL Neil
} > $msg = "E-MAIL SENT FROM WWW SITE\n"; > $msg .= "Sender's Name:$sender_name\n"; > $msg .= "Sender's E-Mail: $sender_email\n"; > $msg .= "Message: $message\n\n"; > $to = "[EMAIL PROTECTED]"; > $s

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
> Sorry to be a pain... but using either: > the address of my outgoing mail server > or > localhost > still gives me: > Warning: Failed to Connect in c:\program files\apache > group\apache\htdocs\send_simpleform.php on line 19 Did you restart Apache after changing PHP.INI? Please post the mail()

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread DL Neil
Ed, > Dl, I tried that and it's still not happening. What else could you > reccommend checking? Is there any way that I can take the guess work out of > this? Here's what my dev system has: include_path = ".;C:\Documents and Settings\Administrator\My Documents\WebWork\Code\Includes" Hope it he

Re: [PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
Anthony, > I have quoted her exactly from her book where it says: > > Windows Users: > > **Check your php.ini File** > > She then writes what I previously posted. > That's it. She offers no alternatives. Not true - you've bamboozled yourself somehow. You quoted Julie: "1. For the SMTP entry, us

Re: [PHP-WIN] Includes not working on W2K

2002-12-06 Thread DL Neil
Ed, > Still no luck with this. My include path in the php.ini is set to: > include_path = ".;\c:\php\includes" and I have the includes directory in the > above listed location. Any ideas? you don't want the first \ - before the c:\etc path Regards, =dn -- PHP Windows Mailing List (http://www.

[PHP-WIN] Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
Anthony, > The PHP mail scripts were taken from Julie Meloni's book on PHP called "Fast > and East" on pp. 116-117. (PrimaTech). > In fact, she writes: > "If you're using PHP4 on Windows, look for the following lines in your > php.ini file: > 1. For the SMTP entry, use 'localhost" or the name of t

[PHP-WIN] Event Viewer Entries

2002-12-05 Thread DL Neil
PHP v4.2.3 with Apache 1.3.24 under Win2000 Prof SP2 Logging PHP errors: PHP.INI> log_errors = On Errors are duly logged to Win2000 Application Log as: The description for Event ID ( 2000 ) in Source ( c-client ) cannot be found. The local computer may not have the necessary registry information o

Re: [PHP-WIN] Windows 2000, XP and ME difference

2002-12-04 Thread DL Neil
Jim, > I am running PHP and MySQL on the following platforms;Windows 2000, XP and > ME and I am finding that the same code does not work. Can some one please > explain this to me? > It fails on the connect string every time. Is there a reason for this? > > Windows 2000 = No work > XP = No work > M

Re: [PHP-WIN] data format..

2002-12-03 Thread DL Neil
Hi Sands, I have a PHP - MySQL site on one hand and various types of clients .. mean to say, I hv clients who need the data in the MySQL db supplied to them in MS Access, Excel, Dbase formats such that they can integrate the data directly into their existing type of database. for Excel, I can pro

Re: [PHP-WIN] Another Newb PHP question

2002-11-25 Thread DL Neil
gt; 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? >

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

Re: [PHP-WIN] create table

2002-10-21 Thread DL Neil
Bruno, > I do not succeed to create of the tables using php follows listing > ciao. > # FileName="Connection_php_mysql.htm" > # Type="MYSQL" > # HTTP="true" > $hostname_connLiceo = "localhost"; > $database_connLiceo = "maresped"; > $username_connLiceo = "bruno"; > $password_connLiceo = "pamela";

Re: [PHP-WIN] RE: switch($action) { case "something": ...

2002-09-01 Thread DL Neil
Marlene, I am trying to figure out someone else's example to produce code of my own. In the following code, what is the "createcalendar" in the second line? the filename of the php document itself? what is case? =if CASE is confusing you then you need to read the manual. If you have never heard

Re: [PHP-WIN] mail server on windows

2002-08-31 Thread DL Neil
krizz, Apache is a web server. What you need is an SMTP (outbound email) server. Check the PHP.INI. There are two settings to make. One of them should be the same email server that you use for sending email from Outlook Express. Regards, =dn > I have an apache server for windows, for testing

Re: [PHP-WIN] mail() does not work. Help please...

2002-08-28 Thread DL Neil
t like to try scanning some of the PHP subject sites, eg PHPBuilder.com. They will have tutorials illustrating these concepts, that will help you get a handle on the terminology and config details. =Regards, =dn > with friendly greetings, > Peter van Summeren > > >From: "DL Neil&quo

Re: [PHP-WIN] mail() does not work. Help please...

2002-08-28 Thread DL Neil
Peter, > What must I fill in "your.smpt.server"? > Where is my smpt-server? At this moment I hava no idea. I can get my > address with ipconfig /all. So, I can fill in the sendmail_from address > (although I do not want to receive e-mails at that address)Or must I > take here some other address?.

Re: [PHP-WIN] resolution?

2002-08-20 Thread DL Neil
Afan, links to open new window, full size, full screen and according visitors resolution I'll put appropriate image (600x480 or 800x600 or 1024x740) as a background. So what about the (Windows) tool bar - is it hidden or present? - what size is it? - which of the four sides of the screen is it

Re: [PHP-WIN] Query within Mail Function

2002-08-20 Thread DL Neil
James, > I have a rather long list of names and I want to email the whole list and not one by one, do you know what I mean? May I suggest that you always reply to the list: someone else may answer better/faster/in color... Also how about a clear specification of need: why are you retrieving a s

Re: [PHP-WIN] Query within Mail Function

2002-08-20 Thread DL Neil
Hi James, Please bear with my limited knowledge of PHP... Does anyone know if it is possible to code a sql query within the message part of the mail function, e.g.: mail( "$to_mail","$sumject"," $sql = mysql_query("select * from table") or die("error with query\n"); while ($row = m

Re: [PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt)

2002-04-22 Thread DL Neil
Ron, > I have been trying to create strings dynamically by combining text and > variables. Because SQL wants single quotes surrounding the values I > have been forced to create the string as follows (all variables have > been previuosly set earlier on the page): > > $query = "select bio FROM ind

[PHP-WIN] Re: [PHP-DB] how to get consistent UTC from gmmktime (w/o dst-offset) ????

2002-03-26 Thread DL Neil
BTW for all who are following this, Patrick has cleverly illustrated that most of the northern hemisphere locations where summer time is observed will 'spring forward' this weekend. Most of the southern hemisphere locations that were in summer time did their 'fall back' last weekend! NB the two us

Re: [PHP-WIN] sendmail for windows

2002-03-08 Thread DL Neil
LaserJetter, > Is 192.168.0.2 a valid IP address? I didn't know you could have a zero as > one of the elements. I'm not sure where this question came from, but ... Yes you can have a zero value in IP address octets. Obviously they all can't be zero. (I haven't researched it, but maybe the first

Re: [PHP-WIN] mail() and no internet connection

2002-03-06 Thread DL Neil
> If I issue a mail() command but there is no live internet connection, what > happens? Will the mail be sent when there is a connection? That is the principle of SMTP (store and forward). I didn't find anything about this situation in the manual though. Please tell us what happens when you try

Re: [PHP-WIN] mail() function EXTREMELY slow

2002-03-06 Thread DL Neil
James, > I personally found that messages were slow on my machine (going to an > external mail server) and I discovered that if you can use the built-in IIS > (Windows) SMTP mail server you'll have no more problems. The built-in IIS > SMTP server was easily 1000 times faster in my case. Of cour

Re: [PHP-WIN] Warning: Undefined variable

2002-03-04 Thread DL Neil
Crizz, You have had two good answers to your original question. One telling you to turn errmsgs completely off, and another telling you how to turn them on for debugging. Since then the water has been muddied by all sorts of 'jumping in'. If you have completed your debugging (my interpretation)

Re: [PHP-WIN] Re: error query

2002-03-04 Thread DL Neil
Mark, I seem to be jumping in part-way, but... I seem to have isolated my problem. My code will only work with non-numerical tables for some reason, which is kind of a pain. =Why do you say that? Is there any way to use php to connect to a mysql table that has a numerical value as its name (1,2

Re: [PHP-WIN] Warning: Undefined variable

2002-03-02 Thread DL Neil
crizz, > I'm really newbye in PHP and just installed php on my IIS on my XP. All > sample scripts I tried returns me error messages about "Warning: Undefined > variable" > It's probably something with the configuration, right? You got it! Check out php.ini (in Windows folder). There is a load o

Re: [PHP-WIN] sending mail with mail(), Post Cast Server

2002-03-01 Thread DL Neil
Matt, > Everyone with mail() problems should consider www.postcastserver.com. It's > free SMTP server software that works quite well. Just don't forget to > disable IIS' smtp server. Have made a note of the product for future reference. Thanks. >From another current conversation on PHP-email:

Re: [PHP-WIN] sending mail with mail()

2002-03-01 Thread DL Neil
Hi Aris, Still have questions, but at least you have a solution! > Ok last thing i disocverd about this problem was > that I was not only unable to do mail() from PHP but any other socket > connection was not succesiful. It worked fine when i start php.exe in > shell (command line) but the same

Re: [PHP-WIN] sendmail for windows

2002-03-01 Thread DL Neil
Scott, > Come to think of it I have MS SMTP service from the IIS install, I wonder > if you install that, then point it to your ISP if that would work. The answer is a definite "maybe"! It is a topic that comes up on the list from time-to-time. Some claim to have made it work. The overwhelming

Re: [PHP-WIN] sendmail for windows

2002-02-28 Thread DL Neil
Please post the mail section of your php.ini file. Have you checked that a email client, eg OL/OE, can use the SMTP server successfully? Please advise, =dn > i have tried that solution, but its still not working. > do you know another method? > > > If your ISP does not mind just put their SMTP s

Re: [PHP-WIN] sending mail with mail()

2002-02-27 Thread DL Neil
Aris, Thanks for such a complete run-down. My comments/further questions are interposed:- > SMTP = mail.server.com > sendmail_from = [EMAIL PROTECTED] > ;sendmail_path = I can't see the mail server from 'outside', but the settings look right - when you can, let's look at the 'real deal' though!

Re: [PHP-WIN] sending mail with mail()

2002-02-27 Thread DL Neil
Hi Aris, > Im trying to use mail() function with PHP 4.02 under WIndows NT Server > and IIS > and I allways get Failed to connect > even though the SMPT server in php.ini is setup correctly > and i cna acces that server from webserver > > doing the same thing on WIndows NT Workstation and apache

Re: [PHP-WIN] Windows crashes

2002-02-26 Thread DL Neil
Aleborg, > I'm using PHP 4.1.1 on a Win2K server with IIS5, Dual PIII 933Mhz, 1,5GB > SDRam. > > If I try to use the PHP4ISAPI.DLL and run php.info(), then I get a > bluescreen and something abut NDIS.SYS What networking configuration do you have set up on that machine? =dn -- PHP Windows

Re: [PHP-WIN] Method get for Windows ME and PWS w/PHP-4.1.1

2002-02-26 Thread DL Neil
Frank, > I am just trying to pass a value from one page to the > next, nothing complicated. In the the addess bar I see > the string pass, but on the page it is blank? Any > Ideas? Oh, everything is in lower case. > > My code is like this for page test.html: > > > > > > > > then for the test

Fw: [PHP-WIN] Beginner's Teething Problems

2002-02-25 Thread DL Neil
Forwarded to list, in case others would like to add their wisdom/benefits of their experience. =dn - Original Message - From: "DL Neil" <[EMAIL PROTECTED]> To: "Lindsay Gillam" <[EMAIL PROTECTED]> Sent: 25 February 2002 13:27 Subject: Re: [PHP-W

Re: [PHP-WIN] Beginner's Teething Problems

2002-02-25 Thread DL Neil
Lindsay, [I have posted this back to the list - there are others here with greater minds than mine!] > It sounds as if you are opening the .htm[l] or .php file in your browser. > Remember that PHP requires server-side > processing, so a page must be called from a web server (which is in turn > i

Re: [PHP-WIN] Beginner's Teething Problems

2002-02-25 Thread DL Neil
Hi Lindsay, > These probably sound like really trivial and stupid questions to you but I > am a newcomer in this field. I have literally started looking at PHP this > weekend as I have been given a project in work to do and PHP seemed like the > best option. I have some previous programming exper

Re: [PHP-WIN] Re: WELCOME to php-windows@lists.php.net

2002-02-22 Thread DL Neil
Hi Dustin, > I was wondering I am running php on a win2k server and have downloaded and > installed phpwebdev which uses the apache webserver. I need to be able to > send mail on this box. Can you tell me of a program that will work with php > and windows. and what code I need besides the mail()

Re: [PHP-WIN] Backgrounding PHP

2002-02-16 Thread DL Neil
Hi Cary, > I'm new to php on Windows and to this list. This is probably a really basic > question for most of you, but I've searched the web for hours trying to > find an answer. Hopefully somebody here will be kind enough to clue me in. > > Here's the question... > When running a php script from

Re: [PHP-WIN] Re: Searching MS Word Docs

2002-02-13 Thread DL Neil
e why the need for CTRL-Z? - or is CTRL-Z not used under *nix? Any *nix bit-busters amongst us? > /Anders - who was tempted to sporadically insert some ctrl-Z in this > message. :) =perversely enough, the RFC determines a different convention to denote the end of an email msg!!!??? (probab

Re: [PHP-WIN] Re: Searching MS Word Docs

2002-02-13 Thread DL Neil
Sorry B.A.T, Alain's quote is taken directly from http://www.php.net/manual/en/function.fopen.php Using/not "b" does make a difference under Windows - haven't tested it under *nix! The 'end' of a Windows file can be defined in two ways: an ASCII file ends with CTRL+Z, a 'binary' file ends wher

Re: [PHP-WIN] DOS box, scheduled tasks, PHP script

2002-02-06 Thread DL Neil
Hi Ziggi, > Did you mean to run the scheduled task as a differnt user (for instance not > as Administrator) ? > > By default there are two users under Win2000: Administrator and SYSTEM. > Will setting the scheduled task under SYSTEM will stop this stupid DOS box > from poping-up - how do you thin

Re: [PHP-WIN] DOS box, scheduled tasks, PHP script

2002-02-06 Thread DL Neil
Thank you Pac mon, the idea of running the scheduled tasks under a different userId (to the console operator) certainly does stop the 'DOS box' (console window) putting in uninvited appearance. Neat thinking! Many thanks to all who contributed suggestions. Mike: if PHP is run directly (as per

[PHP-WIN] DOS box, scheduled tasks, PHP script

2002-02-06 Thread DL Neil
Have a 'monitoring' PHP command line script timed to run hourly. Controlled by the new?IE5.5 Scheduled Tasks facility (as listed in Windows Explorer - not quite the same as AT (which is what I have used previously) ) Script is kicked off by a batch file. Batch file is object in scheduled tasks en

Re: [PHP-WIN] Windows NT SMTP Set Up Help Needed

2002-02-04 Thread DL Neil
> > > A client is having trouble setting up SMTP services on their > > > Windows NT machine so PHP can access it through the mail() function. > > > > > > SMTP is set to mail.theserver.com in the php.ini. > > > Mail() works when set to a different mail server. > > > If they're on the same machine,

Re: [PHP-WIN] DLL problems

2002-02-02 Thread DL Neil
Hi Dave, > I'm using win 98, php 4.04, and apache 1.3.19. Have had no problems > executing simple scripts, including some with mySql access. > HVR, when I uncomment any of the php dll's in the php.ini file I get the > following message (one for each dll): > "unable to load dynamic library 'c:\w

Re: [PHP-WIN] Bcc headers in mail function

2002-01-30 Thread DL Neil
Dario, > I would like to know if it's possible to make any combination of tricks to > use the BCC header in the mail function. I've got win 2k, apache and php > 4.05. Check out phpguru.org Regards, =dn -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP-WIN] Problems using mail() it always states Failed to Receive in

2002-01-28 Thread DL Neil
Jan-Volkert, > I'm trying to use mail() and have read about all kinds of troubles, but i've > got another one :-) > > The machine is running IIS5 configurated for smtp-mail. > I've set $email, $subject, $body and $header and try to use >$mailsend = mail("$email", "$subject", "$body", "$heade

Re: [PHP-WIN] mail()

2002-01-24 Thread DL Neil
Hello Fabian, Please post a copy of the code you are using, as is. =dn > I have made a php formmailer! > > My Problem: > > When I receive the mail, in the from(sender) line is something like > www-data, but I wont the real sender adress for example [EMAIL PROTECTED] in > the from line not in

Re: [PHP-WIN] smtp help

2002-01-23 Thread DL Neil
Hi Mike, > I'm trying to make PHP send email from a windows server, or rather, I'm > trying to help my girlfriend do it. =well seeing there's a lady involved... > in php.ini the SMTP variable is set to her mail server (which does relay > for her netblock). > Also, the sendmail_from line is also

[PHP-WIN] Re: [PHP] Re: [PHP-WIN] command line are -c doesn't work on win2k?

2002-01-18 Thread DL Neil
> the path to php is already in the PATH variable... > > I'm not doing anything different that http://bugs.php.net/bug.php?id=6742 > ,but for some reason the -c doesn't make a difference... > > Jeff. > > > "Dl Neil" <[EMAIL PROTECTED]> wro

Re: [PHP-WIN] command line are -c doesn't work on win2k?

2002-01-18 Thread DL Neil
Jeff, The following batch files works for me (WinNTWS 4.0 SP6a):- cd c:\program files\php php.exe -q c:\.path.\w.php >>c:\.path.\webute.log NB the first line reflects my PHP config - your mileage may vary! Of course the other possibility is to add the PHP folder into the PATH environment vari

Re: [PHP-WIN] urgent mail() function error

2001-12-08 Thread DL Neil
Hi Emad - or is that "salaam"? > I tried a lot to use the mail() function , but I'm always faced with an > error like this "Warning: Server Error in C:\apache\htdocs\mail.php on line > 43". > I tried to get a script from the net, but it didn't work, I searched a lot > about this thing. > Do anyon

Re: [PHP-WIN] Auto reply

2001-12-06 Thread DL Neil
and the best-built Fords worldwide (as in, fewest warranty claims per vehicle) are manufactured by ... Mazda! =dn PS any guesses why James Bond switched his Aston Martin for a BMW? PPS yes it is the end of the working day in Europe (9-5 day that is) - Original Message - From: "Svensson

Re: [PHP-WIN] Auto reply

2001-12-06 Thread DL Neil
Steve, Please find a large dose of sympathy attached. ...is this a real, every-day justification for web mail services? =dn A great plan, however the assumption that everyone has a "reply all" button is erroneous. I am an independent contractor working in the pensions sector. As regards IT th

[PHP-WIN] Utility script: dates

2001-11-01 Thread DL Neil
Somewhere on my travels around the many PHP/script sites, I'm sure that at one time I noticed a date-display utility. I cannot find it again. Please would someone point the way... What I'm looking for: displays a form with a variety of date/time fields, user enters a date/time into various fiel

Re: [PHP-WIN] Apache not running correctly

2001-11-01 Thread DL Neil
I have installed apache onto my machine (W2K) but when i type "localhost" in IE5 it says page cannot be found, apache is running as a console window I think this means Apache is not running correctly I have added these lines to my httpd.conf file: LoadModule php4_module /php/sapi/php4apache.dll

Re: [PHP-WIN] PHP 4.0.6, Apache 1.3x and SL Mail

2001-10-31 Thread DL Neil
> I'm running apache w/ php 4.0.6 on our win nt 4 server. I can't seem to get > the mail function to work. It doesn't complain -- nothing complains. The > email are not going through > ... > I've checked my php.ini file and have tried localhost and the direct IP of > the server in the SMTP

Re: [PHP-WIN] Sendmail...

2001-10-26 Thread DL Neil
t consider yourself lucky. :) > PS You should be shot for that "clara-fy" pun!!! ;) > DL Neil wrote: =yes "lucky" is my middle name - in part because I've had people attempt to shoot me for less... at last, someone who appreciates lousy puns! =dn > > Ross, &

[PHP-WIN] Re: [PHP] variable gets lost in function problem again...

2001-10-26 Thread DL Neil
Thanks for the added data, Spunk. I guess I should have asked for a view of the screen/echo conversation too... I'm not strong on RegExps so took a look at the manual (http://www.php.net/manual/en/function.ereg-replace.php), which says: - string ereg_replace (string pattern, string replacem

Re: [PHP-WIN] Sendmail...

2001-10-26 Thread DL Neil
bearing on things? I tried it before (granted > without the .TLD at the end) and it didn't work > > I'll give it a go and let you know what happens > > Cheers for your info! Appreciate it :) > > Ross > > DL Neil wrote: > > > > Ross, > > > &g

Re: [PHP-WIN] 4.0.6 mssql.dll Extension load failure

2001-10-25 Thread DL Neil
> We have PHP installed as an ISAP module on our W2K IIS5 server and > its operational with no problems - phpinfo() runs just fine. > > But - When I uncomment the php_mssql.dll extension in php.ini I get an error > when PHP starts up saying it cannot find the .dll file. > > The extension directory

Re: [PHP-WIN] Sendmail...

2001-10-25 Thread DL Neil
Ross, If you're still dissatisfied, here is my PHP.ini mail section - I'm using WinNT 4.0 SP6a and link into my ISP's SMTP server (I don't run a local SMTP or POP server because the less I run on the (portable) box itself, the faster/better I like it!) - [mail function] ; For Win32 only. S

Re: [PHP-WIN] Search Engine Problem

2001-10-25 Thread DL Neil
I am using this piece of code to display news articles based on the variables inputted by a user. However, it will only display one article, never more, even if more are within the terms of the "WHERE" clause. What am I doing wrong? $search = mysql_query("SELECT news.ID, newstitle, newsdescript

Re: [PHP-WIN] Mail and NT

2001-10-24 Thread DL Neil
> I'm developing a site on a NT box (I'm much more familiar with unix) and > am unable to get mail to send on NT. I've edited the php.ini file so > that SMTP = gatekeeper, which is the name of the server. That's all I > saw in the manual and archives that would need to be changed. They have > Exch

Re: [PHP-WIN] PHP Installation

2001-10-24 Thread DL Neil
> Just a bit of an update. As I mentioned below, I am using virtual hosts > to host 3 websites on my machine. I ended up copying a php file to the > default website and lo and behold the php ran fine. Why won't it run on > the other two sites? Does anyone have any ideas? Jason, How about the d

Re: [PHP-WIN] Help on using mail() function

2001-10-18 Thread DL Neil
> I think the problem is the installation or configuration, if I use the > mail() function I doesn't run, I've changed configurations, permisions, etc. > but nothing. > > The system is a Win2k Server with IIS5 including its own SMTP server, after > I've installed PHP 4.0.6 (the automatic installat

Re: [PHP-WIN] Help on using mail() function

2001-10-17 Thread DL Neil
> I can't use the mail function with Win2k Server/IIS5, I'm ussing PHP4, what > can I do??? Carlos, It worked for me! If you provide details of the problem we might be able to identify a solution. Regards, =dn -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP-WIN] How do I obtain the client's IP?

2001-10-13 Thread DL Neil
> How can I obtain the client's IP address in PHP? I'm trying to migrate from > IIS/ASP to Apache & PHP and need something similar to ASP's servervariables' > collection? (HTTP_REMOTE_ADDR) Chris, PHP's environment variables offer a "REMOTE_ADDR" value and "HTTP_SERVER_VARS["REMOTE_ADDR"]". Th