Re: [PHP-WIN] PHP MSSQL versions

2002-08-28 Thread Brian McGarvie
I was having trouble using the mssql functions... I believe it was because i was running it as CGI (s - i know) i am now running it as ISAPI (yes I am unfortinatley an IIS user untill Apache2/PHP combination is deemed ready for use on a production server). As I am now ISAPI, the functions sh

[PHP-WIN] Re: skipping quotes...

2002-08-28 Thread Brian McGarvie
try using this b4 database... http://www.php.net/manual/en/function.addslashes.php "Afan Pasalic" <[EMAIL PROTECTED]> wrote in message 00bc01c24e0f$78bcf2c0$311f49d1@VAIO">news:00bc01c24e0f$78bcf2c0$311f49d1@VAIO... Hi, My information from database: We've got "the beat" I'm trying to edit using

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

2002-08-28 Thread Peter
My mail() does not work. Apache server tells me that no connection could be made. (I have: windows XP, Apache, PHP4, MySQL)I do not have a provider. I just have a bare ADSL line (which I could hire for a bargain). 1. what must I do in the ini-files? (send_mail etc.) 2. this is my small text whic

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

2002-08-28 Thread Piotr Pluciennik
So, you should have an access to smtp server. Then in php.ini set lines as below according to address of your server and your mailbox... [mail function] SMTP= your.smtp.server sendmail_from = [EMAIL PROTECTED] HTH Piotr --- Peter <[EMAIL PROTECTED]> wrote: > M

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

2002-08-28 Thread Peter
Hello Piotr, Thanks for your reaction. 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 h

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

2002-08-28 Thread Svensson, B.A.T. (HKG)
> Hello Piotr, > Thanks for your reaction. > What must I fill in "your.smpt.server"? Anything that accepts a connection on port 25, and has a mail transfer agent installed at that port. > Where is my smpt-server? > At this moment I hava no idea. Check your e-mail configuration in your e-mail

[PHP-WIN] WebCalendar, IIS and mysql

2002-08-28 Thread Frode Mangseth
Anyone managed to install WebCalendar 0.9.39 properly on Win2000 with IIS, MySQL and PHP 4.4.2? I can't get it to work without making alot of changes, but even then it doesn't function properly (login failure, sql faults...) Frode Mangseth -- PHP Windows Mailing List (http://www.php.net/) To

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

[PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Peter
Hello, I repeat: my PHP mail() function does not work. Apache tells me it can not connect. I have XP, Netscape, Apache, PHP, MYSQL. I have not the faintest idea where my smpt server is. I use Netscape for reading my e-mail.I have only a raw line to the internet. I have installed a firewall. Wh

[PHP-WIN] Capturing IP Address

2002-08-28 Thread James Meers
How would I capture the IP address of a user coming to my site and then, putting that information into a database? Jambo

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

2002-08-28 Thread DL Neil
Hello Peter, > I do not have mozilla. I have netscape. =Sorry, my mistake (same name, different email packages). Look in Netscape's mail server definitions to find the SMTP server you are using for plain-vanilla email, and copy that into PHP.INI (it will be something like SMTP.ispname.COM - as p

RE: [PHP-WIN] Capturing IP Address

2002-08-28 Thread Richard Black
_SERVER["REMOTE_ADDR"] == Richard Black Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 435 3504 Email: [EMAIL PROTECTED] -Original Message- From: James Meers [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 13:06 T

RE: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Ross Fleming
Why MUST you have one?? To my knowledge, Hotmail isn't a pop/smtp server. It's web based mail. An SMTP server receives copies of email from you, and forwards them on to the correct server. That's all. You could certainly try turning your own machine into an SMTP server, but I would doubt that

Re: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Peter
Hello, Thanks for this answer. No, I do not have an ISP. I only have a raw line: fast ADSL without any whatever, but guaranteed fast. I do not understand your kind of english, but it seems to me from your last sentence that I should give up. with friendly greetings Peter van Summeren Ross Flemi

RE: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Svensson, B.A.T. (HKG)
> Why MUST you have one?? To my knowledge, Hotmail isn't a pop/smtp server. > It's web based mail. An SMTP server receives copies of email from you, and > forwards them on to the correct server. That's all. You could certainly > try turning your own machine into an SMTP server, but I would dou

RE: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Svensson, B.A.T. (HKG)
> Thanks for this answer. No, I do not have an ISP. I only have a raw > line: fast ADSL without any whatever, but guaranteed fast. > I do not understand your kind of english, but it seems to me from your > last sentence that I should give up. You MUST necessarily have an ISP (Internet Service pr

RE: [PHP-WIN] Capturing IP Address

2002-08-28 Thread James Meers
Im new to PHP, so I don't know what you mean here? -Original Message- From: Richard Black [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 13:14 To: James Meers; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Capturing IP Address _SERVER["REMOTE_ADDR"] =

RE: [PHP-WIN] Capturing IP Address

2002-08-28 Thread Rich Gray
Be warned that this will return the IP of any proxy or cacheing server being used. If that is the case then you can also check $_SERVER['HTTP_X_FORWARDED_FOR'] for the client IP address and this may also contain multiple comma separated addresses... Rich -Original Message- From: Richard B

RE: [PHP-WIN] Capturing IP Address

2002-08-28 Thread Richard Black
Sorry. There are a number of arrays in PHP which hold a multitude of values (GET variables, POST variable, SERVER variables etc.) The user's IP address is passed as part of the HTTP request header, and is accessible thru the superglobal array $_SERVER["REMOTE_ADDR"] Ie the address of the rem

Re: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Peter
Hello B.A.T., If so, I must organise. By sheer luck I got a cheap fast ADSL line, guaranteed 115 kilobytes a second. Now, I understand, I must target to be an ISP. I have a fixed IP-address. I have a server and PHP, MYSQL. You tell me that other SMPT servers will not accept my e-mail unless I

RE: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Ross Fleming
No you don't want to become an ISP. You should have one. Who PROVIDES you with your "cheap fast ADSL line"? That is your ISP. Contact them and ask them for their SMTP servers. As for Anders' solution of the open relay, this may be hard to find. I previously used an open relay one, however, g

RE: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread Svensson, B.A.T. (HKG)
> Hello B.A.T., > If so, I must organise. By sheer luck I got a cheap fast ADSL line, > guaranteed 115 kilobytes a second. Now, I understand, I must target to > be an ISP. I have a fixed IP-address. I have a server and PHP, MYSQL. 155kb, that speed man. I remember the old days at the beginning

[PHP-WIN] Is there a PHP-WIN FAQ?

2002-08-28 Thread Ross Fleming
Lo folks, Maybe I've just never seen it, but is there an official php-win faq circulating? I'm sure regular readers like me will have noticed the assault of questions that keep occurring time and time again? If there isn't a faq, what does everyone think about starting one? Questions I can thi

[PHP-WIN] Re: Is there a PHP-WIN FAQ?

2002-08-28 Thread Dallas Thunder
These are the most common novice questions. > Questions I can think of are: > (.) How do I get mail() to work? Visit http://www.php.net/manual/en/function.mail.php and see if you can get some useful information from User Contributed Notes. > (.) I have a script that doesn't print out the variab

RE: [PHP-WIN] PHP MSSQL versions

2002-08-28 Thread Flint Doungchak
Brian, As far as I know, as of 4.2.2, I'm not so certain that ISAPI is more stable than CGI. However, I'd like to know. We've been using the IIS/CGI combination since 3.0x and we'd really like to get the ISAPI modulus working. However, I just wanted everyone to know that CGI is working great

php-windows Digest 28 Aug 2002 16:36:36 -0000 Issue 1312

2002-08-28 Thread php-windows-digest-help
php-windows Digest 28 Aug 2002 16:36:36 - Issue 1312 Topics (messages 15546 through 15570): Re: PHP MSSQL versions 15546 by: Brian McGarvie 15570 by: Flint Doungchak Re: skipping quotes... 15547 by: Brian McGarvie mail() does not work. Help please... 15548

RE: [PHP-WIN] PHP MSSQL versions

2002-08-28 Thread David Hollister
Apart from my short-term memory loss about the use of ntwdblib.dll in MSSQL PHP functions, I've had no trouble using it with CGI. What's your specific problem? Post da code man. Lay it out. -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28,

RE: [PHP-WIN] Sharing news or other data

2002-08-28 Thread David Hollister
PHP cares more about making a connection to the database than about how many sites you have. Server 1: store news in database Server 2: request news from database and present that news in HTML Server 3: request news from database and present that news in HTML What are your specific questions?

[PHP-WIN] Re: Is there a PHP-WIN FAQ?

2002-08-28 Thread Christoph Grottolo
Ross Fleming wrote: > Lo folks, > > Maybe I've just never seen it, but is there an official php-win faq > circulating? I'm sure regular readers like me will have noticed the > assault of questions that keep occurring time and time again? If > there isn't a faq, what does everyone think about sta

[PHP-WIN] Re: ISAPI (was: [PHP-WIN] PHP MSSQL versions)

2002-08-28 Thread Christoph Grottolo
Flint Doungchak wrote: > Brian, > > As far as I know, as of 4.2.2, I'm not so certain that ISAPI is more > stable than CGI. However, I'd like to know. We've been using the > IIS/CGI combination since 3.0x and we'd really like to get the ISAPI > modulus working. The developers are actually talking

[PHP-WIN] how to do an html include on Windows?

2002-08-28 Thread M. Hockings
Hello, I'm trying to mimic the setup that is out on my webspace locally on my laptop so that I can develop and test without having to publish a test tree to the web space. Part of the code on the web is in PHP. I have written a servlet for Enhydra that allows me to serve my PHP pages just li

[PHP-WIN] PHP/MySQL/APache on CD

2002-08-28 Thread Asendorf, John
I thought a couple of weeks ago I saw someone working on a PHP/MySQL/Apache (all running from a CD) on here. Does anyone remember who that was? Thanks, John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Lic

RE: [PHP-WIN] how to do an html include on Windows?

2002-08-28 Thread Ross Fleming
I posted this not 24 hours ago that does this -Original Message- From: Ross Fleming [mailto:[EMAIL PROTECTED]] Sent: 27 August 2002 11:19 To: Rudolf Staribacher; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] include() and file() on remote files So far as I know, Linux etc does not have any p

[PHP-WIN] Re: mail() I get crazy from this...

2002-08-28 Thread Manuel Lemos
Hello, On 08/28/2002 08:57 AM, Peter wrote: > Hello, > I repeat: my PHP mail() function does not work. Apache tells me it can > not connect. > I have XP, Netscape, Apache, PHP, MYSQL. I have not the faintest idea > where my smpt server is. I use Netscape for reading my e-mail.I have > only a r

[PHP-WIN] moving data from dbf to mysql

2002-08-28 Thread Marlene Burckhalter
hi how would i go about moving data from a dbf to mysql with php? if the php documentation help covers this, what phrase do i key in to search? marlene

Re: [PHP-WIN] mail() I get crazy from this...

2002-08-28 Thread leo g. divinagracia iii
if you have a server yourself, then download the freebie STMP server from pegasus mail's creator. i'm using since our days with a novell box. now my win2k box runs the mercury smtp server strickly for php duties... http://www.pmail.com he has both clients and server for win32... Peter wrote

[PHP-WIN] Re: moving data from dbf to mysql

2002-08-28 Thread Seairth Jacobs
My experience (I'm one of them there VFP programmer types) with dbfs is that it's often easier to export to a more general format (CSV, tab-delimited, DIF, etc) than to try to do anything with DBFs directly. One method is to export the DBF to a comma-delimited file, then use: LOAD DATA ... (cha