php-windows Digest 31 Oct 2001 03:33:29 -0000 Issue 830

Topics (messages 10107 through 10131):

Re: permissions running dnscmd with exec
        10107 by: Karen Siefken
        10108 by: kmahan
        10113 by: Mize, Robert
        10114 by: kmahan
        10115 by: Mize, Robert

Re: Floating Point
        10109 by: Svensson, B.A.T.

Problems with a simple script
        10110 by: Kevin
        10111 by: FPU.WHITES1.FRIENDSPROVIDENT.CO.UK
        10112 by: Svensson, B.A.T.

php.ini file is missing but php works
        10116 by: sharan
        10123 by: Gaylen Fraley

Sessions and Global Variables
        10117 by: SCOTT.NOVINGER.airborne.com
        10118 by: Svensson, B.A.T.

Including php in my app
        10119 by: Marius

how to use iis5 smtp server in php.ini?
        10120 by: jbreiding

A List of months
        10121 by: Marius
        10122 by: Mize, Robert

FREE MEMBERSHIP (ADULTS)                         10113
        10124 by: leslieann4587.yahoo.com

PHP 4.0.6, Apache 1.3x and SL Mail
        10125 by: Jason
        10126 by: Jason
        10127 by: Jason
        10128 by: Jason
        10129 by: Jason
        10130 by: Jason

date problem
        10131 by: Brian Feliciano

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]


----------------------------------------------------------------------


Try setting IWAM to full control
K

"Kmahan" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> System: Win2k Advanced server
>
> anyone else having trouble running this with php but no trouble with a
> command line. Also i can get back the command line usage information but
> when i try to make a change it says permission denied. Iuser is set for
full
> control.
>
> post any ideas or similar probs that you may be having.
>
>





no luck with that one either.


"Karen Siefken" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try setting IWAM to full control
> K
>
> "Kmahan" <[EMAIL PROTECTED]> wrote in message
> news:<[EMAIL PROTECTED]>...
> > System: Win2k Advanced server
> >
> > anyone else having trouble running this with php but no trouble with a
> > command line. Also i can get back the command line usage information but
> > when i try to make a change it says permission denied. Iuser is set for
> full
> > control.
> >
> > post any ideas or similar probs that you may be having.
> >
> >
>






Never setup a Win2k DNS server, but my guess is only local Admin or
someone specified in a "DNS Admin" group would be able to execute
dnscmd. That might explain why you could do it from a command line. IIS
executes php.exe using IUSER_<machine-name>. That acct would probably
have to be added to the "DNS Admin" group. I just wonder what kind of
hell that would play on any security you would want to maintain.

hope that helps.
rob.

-----Original Message-----
From: kmahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 9:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: permissions running dnscmd with exec


no luck with that one either.


"Karen Siefken" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try setting IWAM to full control
> K
>
> "Kmahan" <[EMAIL PROTECTED]> wrote in message
> news:<[EMAIL PROTECTED]>...
> > System: Win2k Advanced server
> >
> > anyone else having trouble running this with php but no trouble with
a
> > command line. Also i can get back the command line usage information
but
> > when i try to make a change it says permission denied. Iuser is set
for
> full
> > control.
> >
> > post any ideas or similar probs that you may be having.
> >
> >
>



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




I have allowed Iuser to execute dnscmd, so that should handle it, but it
doesn't. Just to try your suggestion i added Iuser with full admin privlages
for a bit. Still no luck. What else would cuase it to get an access denied.


"Robert Mize" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Never setup a Win2k DNS server, but my guess is only local Admin or
someone specified in a "DNS Admin" group would be able to execute
dnscmd. That might explain why you could do it from a command line. IIS
executes php.exe using IUSER_<machine-name>. That acct would probably
have to be added to the "DNS Admin" group. I just wonder what kind of
hell that would play on any security you would want to maintain.

hope that helps.
rob.

-----Original Message-----
From: kmahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 9:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: permissions running dnscmd with exec


no luck with that one either.


"Karen Siefken" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try setting IWAM to full control
> K
>
> "Kmahan" <[EMAIL PROTECTED]> wrote in message
> news:<[EMAIL PROTECTED]>...
> > System: Win2k Advanced server
> >
> > anyone else having trouble running this with php but no trouble with
a
> > command line. Also i can get back the command line usage information
but
> > when i try to make a change it says permission denied. Iuser is set
for
> full
> > control.
> >
> > post any ideas or similar probs that you may be having.
> >
> >
>



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






Hmmm.. I don't know. Are you using the php function exec()? I have had
some problems with that before when using the ISAPI filter. I had to go
to the cgi version to get that to work. I believe the errors I recieved
when calling exec() or system() using the php ISAPI filter were
permission errors, but that was a long time ago and I don't have the
best of memories.. :)

-----Original Message-----
From: kmahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 1:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: permissions running dnscmd with exec


I have allowed Iuser to execute dnscmd, so that should handle it, but it
doesn't. Just to try your suggestion i added Iuser with full admin
privlages
for a bit. Still no luck. What else would cuase it to get an access
denied.


"Robert Mize" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
t...
Never setup a Win2k DNS server, but my guess is only local Admin or
someone specified in a "DNS Admin" group would be able to execute
dnscmd. That might explain why you could do it from a command line. IIS
executes php.exe using IUSER_<machine-name>. That acct would probably
have to be added to the "DNS Admin" group. I just wonder what kind of
hell that would play on any security you would want to maintain.

hope that helps.
rob.

-----Original Message-----
From: kmahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 9:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: permissions running dnscmd with exec


no luck with that one either.


"Karen Siefken" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try setting IWAM to full control
> K
>
> "Kmahan" <[EMAIL PROTECTED]> wrote in message
> news:<[EMAIL PROTECTED]>...
> > System: Win2k Advanced server
> >
> > anyone else having trouble running this with php but no trouble with
a
> > command line. Also i can get back the command line usage information
but
> > when i try to make a change it says permission denied. Iuser is set
for
> full
> > control.
> >
> > post any ideas or similar probs that you may be having.
> >
> >
>



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





>Is there a way to limit the amount of decimal places a floating point 
>equation will calculate out to?  I have an equation that I get -1.#IND 
>as the value of the equation sometimes.  Does anyone know what this 
>means? There are no errors in the formula that is being equated. 
>Please help me out.

This is segment of code I uses (in C++) in one particular instance to avoid
the infinity problems:

  double dTransSpeed = (nNumSequence*2)/fTime;

  // If zero, avoid division
  if (fTime) { 
    dTransSpeed = (nNumSequence*2)/fTime;
    // If result is still within sensible range, proceed.
    // otherwise just skip this calculation as nonsense 
    if (dTransSpeed < 100000) {
      gnNumTimes++;           
      gdAvgTransSpeed += dTransSpeed;
    }
  }

Of course you need to adopt your own code and take sensible steps when your
calculations hits the infinity. What those sensible step are, can only you
as the programmer be qualified to judge about




I put together this simple script but seem to be having problems with it.
All the script does is ping an IP addy and then replies back if it is up or
down. The problem is with the fsockopen command. It seems if the IP is up it
works fine, only when the IP is offline does it hang at that point in the
script. It will hang forever at this point or until the default timeout (30
sec.) in the php.ini file. Does anyone no of a fix or a work around for
this? Thanks for the help!



#!c:\php
<?
$description_x = "11.64.68.162";
$port_x = "7";
$ptime_x = "10";
$status1 = "UP";
$status2="$description_x unreachable";

$file = fsockopen($description_x,$port_x,$errno,$errstr,$ptime_x);

 if (!$file)
       //Used for debugging
 echo "$status1";


 else
 echo "$status2";
       //end debugging






--- Received from FPU.WHITES1 799 3703                       30-10-01 17:28

  -> [EMAIL PROTECTED]

I tried this from C++ once a couple of years ago and had the same problem.
Wait until you get that bit working, then you'll find that sometimes windows
caches network connection information, and even when the box at the other
end is back up again the connection still fails for an hour 8-)

<bows_head_in_shame>
To get it working in the end I shelled out to the real PING program, piped
the output to a file, and just checked it for the text "Reply from".  Sad I
know but it DID WORK! 8-)
</bows_head_in_shame>

-Steve

----------------------------------------------------------------------------

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Tue, 30 Oct 2001 11:24:11 -0500
Subject: [PHP-WIN] Problems with a simple script

I put together this simple script but seem to be having problems with it.
All the script does is ping an IP addy and then replies back if it is up or
down. The problem is with the fsockopen command. It seems if the IP is up it
works fine, only when the IP is offline does it hang at that point in the
script. It will hang forever at this point or until the default timeout (30
sec.) in the php.ini file. Does anyone no of a fix or a work around for
this? Thanks for the help!



#!c:\php
<?
$description_x = "11.64.68.162";
$port_x = "7";
$ptime_x = "10";
$status1 = "UP";
$status2="$description_x unreachable";

$file = fsockopen($description_x,$port_x,$errno,$errstr,$ptime_x);

 if (!$file)
       //Used for debugging
 echo "$status1";


 else
 echo "$status2";
       //end debugging



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

This e-mail may contain confidential information and/or copyright
material. This e-mail is intended for the use of the addressee
only. Any unauthorised use may be unlawful.

If you receive this e-mail by mistake please advise the sender
immediately by using the reply facility in your e-mail software.

Friends Provident Marketing Group consists of the following
companies:

Friends Provident Life and Pensions Limited.
Registered number 4096141.
Friends' Provident Unit Trust Managers Limited.
Registered number 970641
FP Life Assurance Limited.
Registered number 782698
Friends Provident Pensions Limited.
Registered number 475201
Friends Ivory & Sime Managed Pensions Funds Limited.
Registered number 1020044
Registered and Head Office of each of the above companies is at Pixham End,
Dorking, Surrey RH4 1QA.
Registered in England. Incorporated companies limited by shares.
Ivory & Sime Trustlink Limited. Registered number 151198
Registered and Head Office: One Charlotte Square, Edinburgh EH2
4DZ.  Registered in Scotland. Incorporated company limited by
shares.

Companies within this Group transact life assurance, pension,
permanent health, unit trust and investment trust business

All are regulated by the Personal Investment Authority.
Friends' Provident Unit Trust Managers Limited is also regulated
by IMRO.




This might happen if not a watch dog timer is set up to signal a network
time out. (If you uses socket calls in Unix for example, then the default
time out is set to infinity...)

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, October 30, 2001 6:30 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] Problems with a simple script
>
>
>--- Received from FPU.WHITES1 799 3703                       
>30-10-01 17:28
>
>  -> [EMAIL PROTECTED]
>
>I tried this from C++ once a couple of years ago and had the same problem.
>Wait until you get that bit working, then you'll find that sometimes
windows
>caches network connection information, and even when the box at the other
>end is back up again the connection still fails for an hour 8-)
>
><bows_head_in_shame>
>To get it working in the end I shelled out to the real PING program, piped
>the output to a file, and just checked it for the text "Reply from".  Sad I
>know but it DID WORK! 8-)
></bows_head_in_shame>
>
>-Steve
>
>---------------------------------------------------------------
>-------------
>
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Date: Tue, 30 Oct 2001 11:24:11 -0500
>Subject: [PHP-WIN] Problems with a simple script
>
>I put together this simple script but seem to be having 
>problems with it.
>All the script does is ping an IP addy and then replies back 
>if it is up or
>down. The problem is with the fsockopen command. It seems if 
>the IP is up it
>works fine, only when the IP is offline does it hang at that 
>point in the
>script. It will hang forever at this point or until the 
>default timeout (30
>sec.) in the php.ini file. Does anyone no of a fix or a work around for
>this? Thanks for the help!
>
>
>
>#!c:\php
><?
>$description_x = "11.64.68.162";
>$port_x = "7";
>$ptime_x = "10";
>$status1 = "UP";
>$status2="$description_x unreachable";
>
>$file = fsockopen($description_x,$port_x,$errno,$errstr,$ptime_x);
>
> if (!$file)
>       //Used for debugging
> echo "$status1";
>
>
> else
> echo "$status2";
>       //end debugging
>
>
>
>--
>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]
>
>This e-mail may contain confidential information and/or copyright
>material. This e-mail is intended for the use of the addressee
>only. Any unauthorised use may be unlawful.
>
>If you receive this e-mail by mistake please advise the sender
>immediately by using the reply facility in your e-mail software.
>
>Friends Provident Marketing Group consists of the following
>companies:
>
>Friends Provident Life and Pensions Limited.
>Registered number 4096141.
>Friends' Provident Unit Trust Managers Limited.
>Registered number 970641
>FP Life Assurance Limited.
>Registered number 782698
>Friends Provident Pensions Limited.
>Registered number 475201
>Friends Ivory & Sime Managed Pensions Funds Limited.
>Registered number 1020044
>Registered and Head Office of each of the above companies is 
>at Pixham End,
>Dorking, Surrey RH4 1QA.
>Registered in England. Incorporated companies limited by shares.
>Ivory & Sime Trustlink Limited. Registered number 151198
>Registered and Head Office: One Charlotte Square, Edinburgh EH2
>4DZ.  Registered in Scotland. Incorporated company limited by
>shares.
>
>Companies within this Group transact life assurance, pension,
>permanent health, unit trust and investment trust business
>
>All are regulated by the Personal Investment Authority.
>Friends' Provident Unit Trust Managers Limited is also regulated
>by IMRO.
>
>-- 
>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]
>




i ran the commmand

C:\>dir php.ini/s
and got this output
 Directory of C:\Data\downloads\web related\try\php-4.0.6-Win32\pear\tests

07/25/2000  01:55a                  43 php.ini
               1 File(s)             43 bytes

 Directory of C:\programs\php-4.0.6\pear\tests

07/25/2000  01:55a                  43 php.ini
               1 File(s)             43 bytes

     Total Files Listed:
               2 File(s)             86 bytes
               0 Dir(s)   7,631,298,560 bytes free
Out of the two found, they are both the same, one is just storage, other one
is actually with the pear, I dunno what pear is.

but my setup( php_config() function ) is telling me i have a php.ini in the
C:\>WINNT directory.


Thanks in adance for help.

Pritpal Dhaliwal







Try this:

dir php.ini/s/ah

It may be marked as hidden.

--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PHP KISGB v2.21 Guestbook http://www.gaylenandmargie.com/phpwebsite

"Sharan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i ran the commmand
>
> C:\>dir php.ini/s
> and got this output
>  Directory of C:\Data\downloads\web related\try\php-4.0.6-Win32\pear\tests
>
> 07/25/2000  01:55a                  43 php.ini
>                1 File(s)             43 bytes
>
>  Directory of C:\programs\php-4.0.6\pear\tests
>
> 07/25/2000  01:55a                  43 php.ini
>                1 File(s)             43 bytes
>
>      Total Files Listed:
>                2 File(s)             86 bytes
>                0 Dir(s)   7,631,298,560 bytes free
> Out of the two found, they are both the same, one is just storage, other
one
> is actually with the pear, I dunno what pear is.
>
> but my setup( php_config() function ) is telling me i have a php.ini in
the
> C:\>WINNT directory.
>
>
> Thanks in adance for help.
>
> Pritpal Dhaliwal
>
>
>






Hello,

I am running IIS 5.0, PHP 4.0.6, and MySQL 3.23.

I have a script that includes the following two lines:

        $script = getenv ("SCRIPT_NAME");

and,

        session_start ( );

Apparently, sessions are not working because I am receiving an error back that
is indicative of this.  I checked track_vars and register_globals.  I know
that track_vars is automatically enabled for my version of PHP and also that
register_globals is "On".  I can also substitute "SCRIPT_NAME" with $PHP_SELF
and the script works.  However, sessions are still not working. I've tested
the script using Apache and everything works just fine. I know that these
variables are created by the Apache webserver, however,  does IIS also create
these?  If so, how are they enabled?

Could someone who's a lot more knowledgeable than myself please provide me
with a clue for why sessions on IIS are not working?  And more specifically,
how to get it working?

I'll provide all additional information that you need... free of charge ; - )

Thank you,

Scott
[EMAIL PROTECTED]






Maybe because that bloody *(%$&*()^@$#^ IIS need to be restarted before
changes will take affect - at least that holds true for ASP when fiddling
with the global.asp file. (Some one ought to be shoot...)

Cheers

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, October 30, 2001 8:55 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] Sessions and Global Variables
>
>
>Hello,
>
>I am running IIS 5.0, PHP 4.0.6, and MySQL 3.23.
>
>I have a script that includes the following two lines:
>
>       $script = getenv ("SCRIPT_NAME");
>
>and,
>
>       session_start ( );
>
>Apparently, sessions are not working because I am receiving an error back
that
>is indicative of this.  I checked track_vars and register_globals.  I know
>that track_vars is automatically enabled for my version of PHP and also
that
>register_globals is "On".  I can also substitute "SCRIPT_NAME" with
$PHP_SELF
>and the script works.  However, sessions are still not working. I've tested
>the script using Apache and everything works just fine. I know that these
>variables are created by the Apache webserver, however,  does IIS also
create
>these?  If so, how are they enabled?
>
>Could someone who's a lot more knowledgeable than myself please provide me
>with a clue for why sessions on IIS are not working?  And more
specifically,
>how to get it working?
>
>I'll provide all additional information that you need... free of charge ; -
)
>
>Thank you,
>
>Scott
>[EMAIL PROTECTED]




I wanna use PHP in my app like the Apache does, so that PHP compiles
Web-Pages for my app


----- Original Message -----
From: "Svensson, B.A.T. " <[EMAIL PROTECTED]>
To: "Marius" <[EMAIL PROTECTED]>
Sent: Monday, October 29, 2001 5:19 PM
Subject: RE: [PHP-WIN] Including php in my app


> What are you talking about?
>
> >-----Original Message-----
> >From: Marius [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, October 29, 2001 4:01 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: [PHP-WIN] Including php in my app
> >
> >
> >Hmm, don't u know what PHP is ?!
> >PHP is an console-application that compiles Code and generates
> >an Website.
> >
> >There must be anyone who has experience in this, or not ?!?!
> >
> >"B.A.T. Svensson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> >news:<27E647E5629ED211BF78009027289C630368171E@mail1>...
> >> >I have written an simple WebServer and know I wanna build
> >in PHP support.
> >> My
> >> >first try was to run php with the path to my Script as an
> >Variable and
> >get
> >> >the result. This method works corectly, but I think that's
> >not a real
> >good
> >> >way to do that (for example I dontknow how to send Variables to the
> >> Script).
> >> >
> >> >How could I do that in VB?! Do you know any OpenSource app
> >> >where this is done before?
> >>
> >> After you posting a form you can get the variables
> >> with VBS at the server side like this:
> >>
> >> Fubar = Request.Form("<variable name>")
> >>
> >> IS that was you were asking for?
> >






[mail function]
; For Win32 only.
SMTP = "my servers ip address" ; for Win32 only

; For Win32 only.
sendmail_from = "[EMAIL PROTECTED]" ; for Win32 only

; For Unix only.  You may supply arguments as well (default:
'sendmail -t -i').
;sendmail_path = C:\Inetpub\mailroot\Pickup

ive tested dropping a mail file in the pickup folder and it works
any help on this?






I wanna list the next 12 Month in PHP, that shuld look so:

01-31.Monthname.2001
01-31.Monthname.2001
01-31.Monthname.2001
.....

How to list them correctly and dynamicly in php?!

Thx!






<?
for($i=1; $i<13; $i++){
        $timestamp=mktime(0,0,0,$i+1, 0, date("Y"));
        $formattedtime=date("d.F.Y", $timestamp);
        echo "01-"."$formattedtime<br>";
}
?>

more information on how to use date() and the rest of the built in PHP
functions can be found here:
http://www.php.net/manual/en/function.date.php

rob.

-----Original Message-----
From: Marius [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 4:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] A List of months


I wanna list the next 12 Month in PHP, that shuld look so:

01-31.Monthname.2001
01-31.Monthname.2001
01-31.Monthname.2001
.....

How to list them correctly and dynamicly in php?!

Thx!



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




TO THE 9 BEST PORN SITES ON THE WEB

http://www.geocities.com/horstyqse/

JUST CLICK THE ABOVE LINK TO GET YOUR 
FREE HARDCORE ACCEESS
AND I'LL SEE YOU INSIDE


WARNING:  This site contains explicit sexual material.
                      You must be 18 or older to proceed.


To be taken off this list please respond with "GET ME OFF" in the sub ject













HEY SEXY,   COME PLAY WITH ME
GET YOUR FREE VIP PASS







Hey there,

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

It's supposed to be a contact form that emails the info to me.  I don't get
the emails.  It's also supposed to record the data to a text file before it
mails it (the file remains empty).

I've checked my php.ini file and have tried localhost and the direct IP of
the server in the SMTP setting, and it still doesn't work.

We're running SL Mail, and I created an account for PHP.  Does PHP use the
mail server (SL Mail in this case), or does it send it via SMTP on its own?

I'd also like my script to take the visitor's email address they specify and
put that in the email's 'from' address so I (and the other employees) can
simply hit the email client's reply button.

I'm not sure where the problem is, and I'm not highly experienced with php,
apache, or windows nt.

We are hoping to upgrade nt to 2000, but that may be a long time.  This php
issue is what is holding up my new site layout.

Any help would be greatly appreciated.  I'm not sure what to do, and don't
have many options left.

Thanks

Please send responses to [EMAIL PROTECTED] (or Cc?).

Thanks!







Hey there,

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

It's supposed to be a contact form that emails the info to me.  I don't get
the emails.  It's also supposed to record the data to a text file before it
mails it (the file remains empty).

I've checked my php.ini file and have tried localhost and the direct IP of
the server in the SMTP setting, and it still doesn't work.

We're running SL Mail, and I created an account for PHP.  Does PHP use the
mail server (SL Mail in this case), or does it send it via SMTP on its own?

I'd also like my script to take the visitor's email address they specify and
put that in the email's 'from' address so I (and the other employees) can
simply hit the email client's reply button.

I'm not sure where the problem is, and I'm not highly experienced with php,
apache, or windows nt.

We are hoping to upgrade nt to 2000, but that may be a long time.  This php
issue is what is holding up my new site layout.

Any help would be greatly appreciated.  I'm not sure what to do, and don't
have many options left.

Thanks

Please send responses to [EMAIL PROTECTED] (or Cc?).

Thanks!









Hey there,

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

It's supposed to be a contact form that emails the info to me.  I don't get
the emails.  It's also supposed to record the data to a text file before it
mails it (the file remains empty).

I've checked my php.ini file and have tried localhost and the direct IP of
the server in the SMTP setting, and it still doesn't work.

We're running SL Mail, and I created an account for PHP.  Does PHP use the
mail server (SL Mail in this case), or does it send it via SMTP on its own?

I'd also like my script to take the visitor's email address they specify and
put that in the email's 'from' address so I (and the other employees) can
simply hit the email client's reply button.

I'm not sure where the problem is, and I'm not highly experienced with php,
apache, or windows nt.

We are hoping to upgrade nt to 2000, but that may be a long time.  This php
issue is what is holding up my new site layout.

Any help would be greatly appreciated.  I'm not sure what to do, and don't
have many options left.

Thanks

Please send responses to [EMAIL PROTECTED] (or Cc?).

Thanks!









Hey there,

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

It's supposed to be a contact form that emails the info to me.  I don't get
the emails.  It's also supposed to record the data to a text file before it
mails it (the file remains empty).

I've checked my php.ini file and have tried localhost and the direct IP of
the server in the SMTP setting, and it still doesn't work.

We're running SL Mail, and I created an account for PHP.  Does PHP use the
mail server (SL Mail in this case), or does it send it via SMTP on its own?

I'd also like my script to take the visitor's email address they specify and
put that in the email's 'from' address so I (and the other employees) can
simply hit the email client's reply button.

I'm not sure where the problem is, and I'm not highly experienced with php,
apache, or windows nt.

We are hoping to upgrade nt to 2000, but that may be a long time.  This php
issue is what is holding up my new site layout.

Any help would be greatly appreciated.  I'm not sure what to do, and don't
have many options left.

Thanks

Please send responses to [EMAIL PROTECTED] (or Cc?).

Thanks!









Hey there,

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

It's supposed to be a contact form that emails the info to me.  I don't get
the emails.  It's also supposed to record the data to a text file before it
mails it (the file remains empty).

I've checked my php.ini file and have tried localhost and the direct IP of
the server in the SMTP setting, and it still doesn't work.

We're running SL Mail, and I created an account for PHP.  Does PHP use the
mail server (SL Mail in this case), or does it send it via SMTP on its own?

I'd also like my script to take the visitor's email address they specify and
put that in the email's 'from' address so I (and the other employees) can
simply hit the email client's reply button.

I'm not sure where the problem is, and I'm not highly experienced with php,
apache, or windows nt.

We are hoping to upgrade nt to 2000, but that may be a long time.  This php
issue is what is holding up my new site layout.

Any help would be greatly appreciated.  I'm not sure what to do, and don't
have many options left.

Thanks

Please send responses to [EMAIL PROTECTED] (or Cc?).

Thanks!









Hey there,

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

It's supposed to be a contact form that emails the info to me.  I don't get
the emails.  It's also supposed to record the data to a text file before it
mails it (the file remains empty).

I've checked my php.ini file and have tried localhost and the direct IP of
the server in the SMTP setting, and it still doesn't work.

We're running SL Mail, and I created an account for PHP.  Does PHP use the
mail server (SL Mail in this case), or does it send it via SMTP on its own?

I'd also like my script to take the visitor's email address they specify and
put that in the email's 'from' address so I (and the other employees) can
simply hit the email client's reply button.

I'm not sure where the problem is, and I'm not highly experienced with php,
apache, or windows nt.

We are hoping to upgrade nt to 2000, but that may be a long time.  This php
issue is what is holding up my new site layout.

Any help would be greatly appreciated.  I'm not sure what to do, and don't
have many options left.

Thanks

Please send responses to [EMAIL PROTECTED] (or Cc?).

Thanks!









this is my code:

ereg("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})
([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})",$rowsko[2], $pdate);
echo date("l, F j, Y [h:i:s A]",
mktime($pdate[4],$pdate[5],$pdate[6],$pdate[3],$pdate[2],2001));


$rowsko[2]  is equal to "2001-10-31 10:55:02"
but the result was: Thursday, July 10, 2003 [10:55:02 AM]
i printed out $pdate[1] and it shows: 2001

how come it is always 2003 ? please help.

thanks.




Reply via email to