php-windows Digest 28 Aug 2002 16:36:36 -0000 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 by: Peter
15549 by: Piotr Pluciennik
15550 by: Peter
15551 by: Svensson, B.A.T. (HKG)
15553 by: DL Neil
15556 by: DL Neil
WebCalendar, IIS and mysql
15552 by: Frode Mangseth
mail() I get crazy from this...
15554 by: Peter
15558 by: Ross Fleming
15559 by: Peter
15560 by: Svensson, B.A.T. (HKG)
15561 by: Svensson, B.A.T. (HKG)
15565 by: Peter
15566 by: Ross Fleming
15567 by: Svensson, B.A.T. (HKG)
Capturing IP Address
15555 by: James Meers
15557 by: Richard Black
15562 by: James Meers
15563 by: Rich Gray
15564 by: Richard Black
Is there a PHP-WIN FAQ?
15568 by: Ross Fleming
15569 by: Dallas Thunder
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 ---
I was having trouble using the mssql functions...
I believe it was because i was running it as CGI (shhhh - 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 should work?
"Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yes. You'll find the file in the dll folder in your php distribution. Copy
> it to your windows\system32 directory. See also
> http://ch.php.net/manual/en/ref.mssql.php
>
> Christoph
>
> David Hollister wrote:
> > Can someone confirm this? I don't think you need anything beyond the
> > php_mssql.dll to use MSSQL specific functions. I'm pretty sure I've
> > done that in the past. I'm curious now.
> >
> >> Also, you need to make sure that you have the ms_sql client
> >> libraries installed on the local machine where php resides. It needs
> >> these libraries to connect to SQL server.
> >
> > -----Original Message-----
> > From: Flint Doungchak [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 27, 2002 11:38 AM
> > To: Bob Hiller -1; PHP Mail List
> > Subject: RE: [PHP-WIN] PHP MSSQL versions
> >
> > Bob,
> >
> > From what I understand, I don't understand it all that much, you need
> > to make sure that the correct version of PHP runs with the correlated
> > version of the module (for all modules not just mssql). When you
> > download PHP from php.net (at least when you download the zipped
> > version), the mssql module comes with the package and is located in
> > the ./extensions directory.
> >
> > Make sure your .ini files contains the line:
> >
> > extension_dir = ./extensions
> >
> > And that you have uncommented the line:
> >
> > extension=php_mssql.dll
> >
> > Also, you need to make sure that you have the ms_sql client libraries
> > installed on the local machine where php resides. It needs these
> > libraries to connect to SQL server. Just install the client tools off
> > the SQL server CD.
> >
> > That should do it. I think this version matching things is really
> > important as of 4.2.0 but has always been the situation between 3.x
> > and 4.x. In any case, if any else knows the technical details, please
> > fill us in.
> >
> > Hope that helps.
> >
> > -Flint
> >
> > -----Original Message-----
> > From: Bob Hiller -1 [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, August 26, 2002 1:25 PM
> > To: PHP Mail List
> > Subject: [PHP-WIN] PHP MSSQL versions
> >
> >
> > I download php_mssql.dll and added it to php.ini.
> >
> > When I open any php page I get this error
> >
> > MSSQL Unable to initialize module
> >
> > Module Compiled with Debug=0 Thread Safety=1 Module API=20020429
> >
> > PHP Compiled with Debug=0 Thread Safety=1 Module API=20010901
> >
> > These option must match
> >
> > What do I need to do to make the Module API's match.
> >
> > Thanks,
> > Bob Hiller
> >
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
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 for us and has been
working great for us for a long long time.
Thanks,
-Flint
-----Original Message-----
From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 1:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP MSSQL versions
I was having trouble using the mssql functions...
I believe it was because i was running it as CGI (shhhh - 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 should work?
"Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yes. You'll find the file in the dll folder in your php distribution. Copy
> it to your windows\system32 directory. See also
> http://ch.php.net/manual/en/ref.mssql.php
>
> Christoph
>
> David Hollister wrote:
> > Can someone confirm this? I don't think you need anything beyond the
> > php_mssql.dll to use MSSQL specific functions. I'm pretty sure I've
> > done that in the past. I'm curious now.
> >
> >> Also, you need to make sure that you have the ms_sql client
> >> libraries installed on the local machine where php resides. It needs
> >> these libraries to connect to SQL server.
> >
> > -----Original Message-----
> > From: Flint Doungchak [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 27, 2002 11:38 AM
> > To: Bob Hiller -1; PHP Mail List
> > Subject: RE: [PHP-WIN] PHP MSSQL versions
> >
> > Bob,
> >
> > From what I understand, I don't understand it all that much, you need
> > to make sure that the correct version of PHP runs with the correlated
> > version of the module (for all modules not just mssql). When you
> > download PHP from php.net (at least when you download the zipped
> > version), the mssql module comes with the package and is located in
> > the ./extensions directory.
> >
> > Make sure your .ini files contains the line:
> >
> > extension_dir = ./extensions
> >
> > And that you have uncommented the line:
> >
> > extension=php_mssql.dll
> >
> > Also, you need to make sure that you have the ms_sql client libraries
> > installed on the local machine where php resides. It needs these
> > libraries to connect to SQL server. Just install the client tools off
> > the SQL server CD.
> >
> > That should do it. I think this version matching things is really
> > important as of 4.2.0 but has always been the situation between 3.x
> > and 4.x. In any case, if any else knows the technical details, please
> > fill us in.
> >
> > Hope that helps.
> >
> > -Flint
> >
> > -----Original Message-----
> > From: Bob Hiller -1 [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, August 26, 2002 1:25 PM
> > To: PHP Mail List
> > Subject: [PHP-WIN] PHP MSSQL versions
> >
> >
> > I download php_mssql.dll and added it to php.ini.
> >
> > When I open any php page I get this error
> >
> > MSSQL Unable to initialize module
> >
> > Module Compiled with Debug=0 Thread Safety=1 Module API=20020429
> >
> > PHP Compiled with Debug=0 Thread Safety=1 Module API=20010901
> >
> > These option must match
> >
> > What do I need to do to make the Module API's match.
> >
> > Thanks,
> > Bob Hiller
> >
> >
> >
> >
> >
> > --
> > 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 ---
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
form:
<input type=text name=\"EditCopy\" value=\"$myrow[copy]\">
but in form is shown just We've got. Nothing after first quote.
The quote in front of 'the' screwed everything.
How can I have a whole content, with quotes in form field?
Thanks for any help.
Afan
--- End Message ---
--- Begin Message ---
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 which does not work:
$my_mail = "<my_email_address>"
mail ($my_mail, "No need for reply -- PHP test!", "hi Peter\nLine 2\n");
3. I have a XP-firewall.
As all the other programs work well (several messengers work fine: AOL,
MSN) what did I do wrong, forget etc.
Can anyone help me?
with friendly greetings,
Peter
--- End Message ---
--- Begin Message ---
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:
> 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 which does not work:
> $my_mail = "<my_email_address>"
> mail ($my_mail, "No need for reply -- PHP test!",
> "hi Peter\nLine 2\n");
> 3. I have a XP-firewall.
> As all the other programs work well (several
> messengers work fine: AOL,
> MSN) what did I do wrong, forget etc.
> Can anyone help me?
> with friendly greetings,
> Peter
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--- End Message ---
--- Begin Message ---
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 here some other address?. I am really sorry. I have no idea. You
must tell me exactly.
with friendly greetings,
Peter
Piotr Pluciennik wrote:
> 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:
>
>>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 which does not work:
>>$my_mail = "<my_email_address>"
>>mail ($my_mail, "No need for reply -- PHP test!",
>>"hi Peter\nLine 2\n");
>>3. I have a XP-firewall.
>>As all the other programs work well (several
>>messengers work fine: AOL,
>>MSN) what did I do wrong, forget etc.
>>Can anyone help me?
>>with friendly greetings,
>>Peter
>>
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
--- End Message ---
--- Begin Message ---
> 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 reader,
look for smtp-server and just use the name listed there.
>I can get my address with ipconfig /all.
Well, ipconfig is usefull, but not usefull finding smtp servers.
> 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?. I am really sorry. I have no idea. You
> must tell me exactly.
You must exactly do your home work first. Read this:
http://www.ietf.org/rfc/rfc0821.txt
--- End Message ---
--- Begin Message ---
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?. I am really sorry. I have no idea. You
> must tell me exactly.
=check out your settings in Mozilla - what is the SMTP server you are using
to send emails from there?
=SMTP is only used to send (not receive) email msgs.
=find the PHP.INI file (in C:\WINDOWS or C:\WinNT usually) and search that
for a comment line talking about SMTP and there you will find advice about
what to enter where (per earlier advice/msg).
=Regards,
=dn
--- End Message ---
--- Begin Message ---
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 per previous contributions)
I am sorry to be so ignorant that I
> do not know what to do now.
=not a problem, as the good book says "Don't Panic" - we'll get you there...
Maybe you could tell me? I have an e-mail
> account at hotmail. I only want e-mail sent to that account. Is it their
> smpt server I must fill in?
=no=confusion of thought here. When you SEND email (using Netscape) it
leaves your machine and goes first to 'your' SMTP server. When you receive
email (or Hotmail does) a POP server is used - both servers work with email,
but one deals with outgoing and the other with incoming msgs! Ok now?
I understand that if I know this smtp server
> then I can send mail. But how to get that information?
> I am really sorry. It seems so simple for you, but for me: I do not know
> where to find this smpt server.
=you might 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" <[EMAIL PROTECTED]>
> >To: <>,"Peter" <[EMAIL PROTECTED]>
> >Subject: Re: [PHP-WIN] mail() does not work. Help please...
> >Date: Wed, 28 Aug 2002 12:04:46 +0100
> >
> >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?. I am really sorry. I have no idea. You
> > > must tell me exactly.
> >
> >=check out your settings in Mozilla - what is the SMTP server you are
using
> >to send emails from there?
> >
> >=SMTP is only used to send (not receive) email msgs.
> >
> >=find the PHP.INI file (in C:\WINDOWS or C:\WinNT usually) and search
that
> >for a comment line talking about SMTP and there you will find advice
about
> >what to enter where (per earlier advice/msg).
> >
> >=Regards,
> >=dn
>
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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.
What must I do to discover what my smpt server is? I must have one.
Otherwise I could not go to netscape and send mail, to hotmail etc.
I apologize to be so ignorant. So, please do not tell me general things.
Do not tell me that I will find the answer in any .ini file. You who
reads this, please, tell me what to do exactly. In the XP environment.
with friendly greetings,
Peter
--- End Message ---
--- Begin Message ---
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
this will be very successful, given that the majority of the rest of the
world refuse connections from unrecognised SMTP servers, in case they are
open-relay.
Do you have an Internet Service Provider at all? If so then they should be
able to provide you with one. Other wise you're up the proverbial creek
Ross
> -----Original Message-----
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: 28 August 2002 12:57
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] mail() I get crazy from this...
>
>
> 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.
>
> What must I do to discover what my smpt server is? I must have one.
> Otherwise I could not go to netscape and send mail, to hotmail etc.
>
> I apologize to be so ignorant. So, please do not tell me general things.
> Do not tell me that I will find the answer in any .ini file. You who
> reads this, please, tell me what to do exactly. In the XP environment.
>
> with friendly greetings,
> Peter
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--- End Message ---
--- Begin Message ---
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 Fleming wrote:
> 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
> this will be very successful, given that the majority of the rest of the
> world refuse connections from unrecognised SMTP servers, in case they are
> open-relay.
>
> Do you have an Internet Service Provider at all? If so then they should be
> able to provide you with one. Other wise you're up the proverbial creek
>
> Ross
>
>
>>-----Original Message-----
>>From: Peter [mailto:[EMAIL PROTECTED]]
>>Sent: 28 August 2002 12:57
>>To: [EMAIL PROTECTED]
>>Subject: [PHP-WIN] mail() I get crazy from this...
>>
>>
>>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.
>>
>>What must I do to discover what my smpt server is? I must have one.
>>Otherwise I could not go to netscape and send mail, to hotmail etc.
>>
>>I apologize to be so ignorant. So, please do not tell me general things.
>>Do not tell me that I will find the answer in any .ini file. You who
>>reads this, please, tell me what to do exactly. In the XP environment.
>>
>>with friendly greetings,
>>Peter
>>
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>
>
--- End Message ---
--- Begin Message ---
> 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
> this will be very successful, given that the majority of the rest of the
> world refuse connections from unrecognised SMTP servers, in case they are
> open-relay.
>
> Do you have an Internet Service Provider at all? If so then they should be
> able to provide you with one. Other wise you're up the proverbial creek
>
> Ross
>
Well, if he want to send mail, mostly any "open" SMTP server will
do: a well know trick exploited, and abused, by e-mail spammers.
--- End Message ---
--- Begin Message ---
> 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 provider),
unless you are an ISP your self, which I doubt. ;)
--- End Message ---
--- Begin Message ---
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
am an ISP provider.
Well than, where/how can I become ISP provider? Because I want to be
independent.
with friendly greetings,
Peter van Summeren
B.A.T. Svensson wrote:
>>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 provider),
> unless you are an ISP your self, which I doubt. ;)
>
--- End Message ---
--- Begin Message ---
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, good mail servers have
black-lists of smtp servers that are "open" and so refuse connections from
them. It's a fight against spam really
Ross
> -----Original Message-----
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: 28 August 2002 13:51
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] mail() I get crazy from this...
>
>
> 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
> am an ISP provider.
> Well than, where/how can I become ISP provider? Because I want to be
> independent.
> with friendly greetings,
> Peter van Summeren
>
> B.A.T. Svensson wrote:
> >>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 provider),
> > unless you are an ISP your self, which I doubt. ;)
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--- End Message ---
--- Begin Message ---
> 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 of
the 90'ties, then we only had 2mega bits - times changes indeed.
> You tell me that other SMPT servers will not accept my e-mail unless I
> am an ISP provider.
> Well than, where/how can I become ISP provider? Because I want to be
> independent.
Well, to be an ISP, you need an arbitrary RAID system with a
green LED connected to each of the units in the disk array,
to indicate transfer status at any given moment.
Secondly you need an high quality extension module, which supports
all known version under 3.11.5 IEEE 302.2 extension. Important to
notice is that these needs to be cross complied under an Alpha
architecture in binary mode (no linking with object libraries are
though needed).
Thirdly, in order to make the network management transport portal work,
you definitely most consider precompiled include headers for the binary
A mode and IP version 6. Otherwise you might not exceed more than 3
HOPS on the network - and then you are in big trouble if that happens.
Well, there are some more things to consider, but I think these are the
three most important point to start with.
> with friendly greetings,
> Peter van Summeren
>
> B.A.T. Svensson wrote:
> >>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 provider),
> > unless you are an ISP your self, which I doubt. ;)
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
How would I capture the IP address of a user coming to my site and then,
putting that information into a database?
Jambo
--- End Message ---
--- Begin Message ---
_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
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Capturing IP Address
How would I capture the IP address of a user coming to my site and then,
putting that information into a database?
Jambo
--- End Message ---
--- Begin Message ---
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"]
==========================================
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
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Capturing IP Address
How would I capture the IP address of a user coming to my site and then,
putting that information into a database?
Jambo
--- End Message ---
--- Begin Message ---
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 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"]
==========================================
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
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Capturing IP Address
How would I capture the IP address of a user coming to my site and then,
putting that information into a database?
Jambo
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
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 remote user, the client who requested the page
If you're using a version of PHP < 4.2.0 then you get the same value
from $HTTP_SERVER_VARS["REMOTE_ADDR"]
HTH,
Richy
==========================================
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:36
To: Richard Black; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Capturing IP Address
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"] ==========================================
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
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Capturing IP Address
How would I capture the IP address of a user coming to my site and then,
putting that information into a database?
Jambo
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
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 think of are:
(.) How do I get mail() to work?
(.) I have a script that doesn't print out the variables I POST to it...
(.) I have an error saying "Headers already sent", what does that mean?
What does everyone think?
Cheers
Ross
--- End Message ---
--- Begin Message ---
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 variables I POST to it...
I suspect it's the famous "register_globals" problem. If you don't
understand, just edit your php.ini file and set "register_globals = On".
> (.) I have an error saying "Headers already sent", what does that mean?
You can't have any HTTP output before header() function. Which means if you
are using header() function, the first line of your script must be
<?php
not anything else. Not a blank line or even a space character before it.
And before your header() function, you can't use "echo" or any other
statement which generates output to broswer.
Hope it helps.
--- End Message ---