[PHP-WIN] Has anyone got PHP working with IIS5

2002-10-28 Thread Neil
on win2k? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] php.ini - is it possible to set which in a script should use ?

2002-02-03 Thread Neil
from: address in the php code. ( works fine with unix ) are there any workarounds ? can i specify a different ini file ? any ifor appreciated , Thanks Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] HELP!!! php4ts.dll

2001-04-21 Thread Neil
, Email me please! [EMAIL PROTECTED] -Neil -- 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] apache/php help!!!!!

2001-04-21 Thread Neil
, Email me please! [EMAIL PROTECTED] -Neil -- 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] multiple SQL commands using mysql_query in php

2004-08-06 Thread neil
;blah' I can't see how I can do that with mysql_query in PHP with mysql Thanks Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] using the mail function in php

2004-08-14 Thread neil
; I get this: page title http://somwhere.com/images/something.jpg\"; border=\"0\" width=\"300\" height=\"200\" alt=\"\"> Any ideas? Thanks Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] include_path and relative vs. absolute paths

2004-08-16 Thread neil
olders specified. Does anyone know another way of dealing with this? Thanks Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] replying to the news group

2004-08-16 Thread neil
I thought that when people had answers to questions it was protocol to answer to the newsgroup? I seem to be getting quite a number of direct emails rather than through the news group. Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: include_path and relative vs. absolute paths

2004-08-17 Thread neil
Thanks John That is a great solution, well at least for my development box where I can control my php.ini. The jokers who host one of the sites I look after have the include_path pointing to a non-existent place and won't modify it. Thanks anyway Neil "John Lim" <[EMAIL PR

Re: [PHP-WIN] using the mail function in php

2004-08-18 Thread neil
Thanks Lenny The stripslashes worked. I didn't think to use it as there was no slashes to strip. But since it puts it in they need to be removed. Neil "Lenny Davila" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Try using the strip slashes http://us3

Re: [PHP-WIN] using the mail function in php

2004-08-18 Thread neil
Hi Justin I'm not sure I appreciate the aggro. I am new to .php and so this is a learning exercise for me. THERE IS NO SLASHES in the data being submitted so obviously something is putting them in. So again thank you for your help - the stripslashes did work. Neil "Justin Patri

[PHP-WIN] MySQL newsgroup ?

2004-08-24 Thread neil
Does anyone know of a MySQL newsgroup (not a mailing list)? I need to ask some fairly basic questions. Thanks Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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] 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] 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

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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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-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] 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] 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] 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

[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] 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

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Neil Lincoln
I spent many hours on this and gave up and added a process kill for the EXCEL "zombie" after exiting the COM code. There must be a better way.. -Original Message- From: Scott Hurring [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 4:40 PM To: Php-Win (E-mail) Subject: [PHP-WIN] E

RE: [PHP-WIN] I want to learn more COM for my php script

2002-04-24 Thread Neil Lincoln
This problem is real and is undocumented as a bug by MS but has appeared several times in several newsgroups. No solutions were ever proposed. So I repeat our solution to this problem despite its brute force nature. We installed PVIEW and exec a pview KILL EXCEL* when we are done with the EXCEL C

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-25 Thread Neil Lincoln
On our systems the EXCEL COM object executes as a member of "SYSTEM" instead of as a child of the owner of the Apache/php server. When the COM object completes it leaves the EXCEL hanging around as a child of a SYSTEM process. -Original Message- From: Scott Hurring [mailto:[EMAIL PROTECTE

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Neil Lincoln
nAs my account "scott", so it shouldn't be plauged > by the "SYSTEM" ownership issue... even though > i haven't tested it) > > Please check out: http://furt.com/code/php/com_issues/ > (Read 'readme.txt') > > --- > Scott Hurring > Sys

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Neil Lincoln
Message - From: "Scott Hurring" <[EMAIL PROTECTED]> To: "Php-Win (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, April 26, 2002 16:08 Subject: RE: [PHP-WIN] Excel not closing after using it via COM > Neil: Go through your code and make sure there are no > ind

[PHP-WIN] Re: run as

2002-07-09 Thread Neil Smith
s by adjusting the permissions on the file & directory on a case by case basis, not the other way around. Please tell me the address of your webserver, I wanna hack it ;-) (Actually you dont need to - somebody will probably beat me to it!) Cheers, Neil Smith. >For me, when i setup apache

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] 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] 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] 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] 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 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] 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

[PHP-WIN] Re:Image resizing in PHP

2002-09-20 Thread Neil Smith
to receive resized image ImageCopyResized($im2,$im1,0,0,0,0,$newwidth,$newheight,$size[0],$size[1]); // Does the hard work header("Content-type:image/jpeg"); // Tell browser the next data is an image ImageJPEG($im2); // Actually output the image you just created Cheers, Neil Smith. At

[PHP-WIN] Re: Subject: ENCTYPE

2002-09-22 Thread neil smith
directory in a .htaccess file or global configuration? Cheers, Neil Smith At 15:00 22/09/2002 +, you wrote: >From: "Kit Kerbel" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Date: Sat, 21 Sep 2002 22:48:48 -0500 >Mime-Version: 1.0 >Content-Type: text/plain; format=flowed

[PHP-WIN] Re: session under windows

2002-09-25 Thread neil smith
PHP expects you to have defined an external (script) session handling function somewhere because you have specidfied 'user' Why not change it back in your php.ini and see if it works then ? Cheers, Neil Smith. At 13:

[PHP-WIN] Re: ? (Errr... problem uploading files)

2002-09-25 Thread neil smith
e of the browse field that you gave in the forms HTML. Cheers, Neil Smith. At 00:39 25/09/2002 +, you wrote: >From: "Jose Fandos" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]> >Date: Tue, 24 Sep 2002 19:22:14 +0100 >Mes

[PHP-WIN] Re: Subject: What do I need to do?

2002-10-05 Thread neil smith
Hi - you dont have 'team share' on your machine, its Sharepoint Team Services. The SQL server icon is in fact MSDE (microsoft data engine) which is a cut down or 'desktop' version of SQL server for smaller applications. I have worked with sharepoint & STS, and my recommendation is to avoid it &

[PHP-WIN] Re:Subject: printer_ functions...

2002-10-16 Thread neil smith
ean the printer wil advance to the next sheet). Use CSS-P to layout the page first in a recognised print unit - pt, in, mm etc. PHP should be the least of your problems with this. Cheers, Neil Smith. At 19:48 16/10/2002 +, you wrote: >Message-ID: <[EMAIL PROTECTED]> >To: [EMAIL

[PHP-WIN] Re: php-windows Digest 23 Oct 2002 14:05:19 -0000 Issue 1402

2002-10-23 Thread neil smith
until you are happy with how it works - its much easier and less risky than editing the global httpd.conf file Other alternative is to add an index file which simply has an HTTP redirect to the main page of your site. Cheers, Neil Smith. == IndexIgnore directive Syntax: IndexIgnore

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";

[PHP-WIN] Re: Subject: PHP and databases? ...without MySQL and such

2002-10-23 Thread neil smith
ueries over data storage which makes is extra good for medim size web aplications. Cheers, Neil Smith. When I get done with it I'll post it for free at www.ideablue.com (my personal site). Well, I do give thanks in advance for any help. NOTE: I think PHP is a great language and I do hope

[PHP-WIN] Re: Notice: Undefined variable:

2002-10-25 Thread neil smith
iables are arrays. Theres also $HTTP_POST_FILES[] which is populated when you use a file upload field in your form. You will need to read the manual more for posting files, there are a few gotchas. Good luck Neil Smith. At 02:14 25/10/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To:

[PHP-WIN] Re:How to prevent error email from being sent?

2002-10-29 Thread neil smith
emoniously delete the user anyway. The other way to validate is of course to send a validation link in the email such that the user is required to validate their receipt of the mail against the database - anybody not renewing their a/c in say a week, gets deleted. Cheers Neil Smith. At 07:22

[PHP-WIN] RE : Subject: Faxing from php

2002-10-30 Thread neil smith
The service is currently free and run by a network of ISPs including Demon internet in the UK. If you are using for commercial use I recommend you speak to your ISP as many have this service available for a small fee. Regards, Neil Smith At 22:13 29/10/2002 +, you wrote: Message-ID: &l

[PHP-WIN] Re: Subject: PHP and Tomcat

2002-10-31 Thread neil smith
cgi, php is invoked - then it is shut down at the end of script execution (at least on windoze) HTH Neil Smith At 01:37 31/10/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> Date: Wed, 30 Oct 2002 14:51:51 -0500 From: "R.S. Herhuth" <[EMAIL PROTECTED]> Reply-To:

[PHP-WIN] Re: Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread neil smith
Hahahaha :-) An I have a problem, my php interpreter dont mak da coffee even when I shout 'brew up you bastard!' Anybody know what n prb is, plz ? Thx a million guyz LOL At 16:01 01/11/2002 +, you wrote: From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> To: "Php-Windows (E-mail)" <[EMAIL

[PHP-WIN] fsockopen fails if port blocked by firewall - PHP 4.0.6 / Apache / Linux

2002-11-04 Thread neil smith
ry about latency. Thanks for any help or suggestions to fix this problem, or any anecdotal evidence I can use to fix it !! Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Subject: dynamic font

2002-11-06 Thread neil smith
uot;>');<br> // Suit screen size 800px or greater<br> }<br> Obviously, you can add all sorts of styles - TD cells might have different font sizes and font families again, so in our stylesheet use TD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size

[PHP-WIN] Beware - Franco Posser is a spammer - Mailer of huge unsolicited attachments

2002-11-07 Thread neil smith
Hello List - I would just like to suggest that you blacklist Franco Pozzer on your mail filters. He just send me a 2.5 meg mailbomb, after I kindly replied to his question on dynamic fonts - so Franco you Moron , I hope you rot you tosser. Im on dialup and I pay for this you know. Re: Subject

[PHP-WIN] Re: Subject: mysql_fetch_array problem

2002-11-09 Thread neil smith
etc. } You can always chec a query by printing it, then cut & paste into mysql console or (better imho) insert it into the query box in phpmyadmin - you will get more useful / less cryptic information there. Hope that helps, Regards, Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: HTML email marketing tool

2002-11-12 Thread neil smith
ant that your unsubscribe works, but usually you would need to delete any prospects who have not replied to your mail within say 1 month. If you do not do this, you *are* a spammer. Regards, Neil Smith. At 05:13 12/11/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> Date: Tue, 12 No

[PHP-WIN] Re: Subject: php - login and password

2002-11-16 Thread Neil Smith
the path to where you store this file instead. You *will* definitely need to read the server (apache?) documentation to do this. Come back to the list if you have problems - I have the docs somewhere but I'm rebuilding my system right now. Hope that helps Neil Smith. At 22:15 15/11/2002 +

[PHP-WIN] Re: Subject: String as submit

2002-11-18 Thread Neil Smith
y are you posting it to a PHP newsgroup??? Regards, Neil Smith. At 08:17 18/11/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Rodrigo San Martin" <[EMAIL PROTECTED]> Date: Mon, 18 Nov 2002 09:19:05 -0800 Subject: String as submit hi. I w

[PHP-WIN] Re: Why run apache and IIS ?

2002-11-21 Thread Neil Smith
ns on IIS, using apache as a reverse-proxy for IIS. << Waits with bated breath for reasons *not* to do this - ok I venture stability, ease of use, security etc LOL Neil Smith. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Subject: Help required... Simple File Upload

2002-11-24 Thread Neil Smith
This is common on linux but should work okay on w95/98/ME because they don't have strong security settings for directory access) Hope that helps Neil Smith. At 07:21 24/11/2002 +, you wrote: Message-ID: <[EMAIL PROTECTED]> Date: Sat, 23 Nov 2002 23:21:11 -0800 (PST) From: Raheel

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] 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? >

[PHP-WIN] Re: php-windows Digest 26 Nov 2002 22:04:20 -0000 Issue 1458

2002-11-27 Thread Neil Smith
wrote: Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: "mst" <[EMAIL PROTECTED]> From: "mst" <[EMAIL PROTECTED]> Date: Tue, 26 Nov 2002 15:56:23 +0100 Subject: Users on line How i can check who is on line? mst Regards, Neil << Baff

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] 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] 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] 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] 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] 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-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

[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
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, &

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

[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

[PHP-WIN] Re: [PHP] Undefined Variables ?

2001-10-23 Thread Neil Freeman
You can test if a variable has been set by using the command: isset() eg if (isset($my_name)) echo "hi"; else echo "no name set"; This will stop any undefined variable warnings. Neil Maurice Schalker wrote: > After an update to 4.06 my guestbook isn“t workin

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

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] 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

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] 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] 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

[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

[PHP-WIN] Imap_Open

2002-01-20 Thread Neil H.
How can I add Imap support on PHP 4 (latest build) on windows 2000? Thanks, Neil

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

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] 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] 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] 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] 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,

[PHP-WIN] query_session fault in PHP4.0.3pl1?

2002-02-04 Thread Neil Harrison
E4 and don't know if any visitors are OK as I'm only reporting errors (details e-mailed to me). Anybody got any ideas? Not found anything in the bug list. -- Cheers, Neil -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

  1   2   >