Re: Re: I retreated to 5.2.6 where everything worked for months...HELP!

Re: Re: I retreated to 5.2.6 where everything worked for months...HELP!

am 03.09.2009 18:20:51 von Fred Silsbee

--- On Thu, 9/3/09, Fred Silsbee wrote: =
> From: Fred Silsbee =0A> Subject: Re: [PHP-WIN] Re:=
I retreated to 5.2.6 where everything worked for months...HELP!=0A> To: R=
Quadling@googlemail.com=0A> Date: Thursday, September 3, 2009, 3:44 PM=0A> =
=0A> --- On Thu, 9/3/09, Richard Quadling =0A> wr=
ote:=0A> =0A> > From: Richard Quadling =0A> > Sub=
ject: Re: [PHP-WIN] Re: I retreated to 5.2.6 where=0A> everything worked fo=
r=A0 months...HELP!=0A> > To: "Fred Silsbee" =0A> > =
Date: Thursday, September 3, 2009, 8:34 AM=0A> > 2009/9/3 Richard Quadling =
:=0A> > > 2009/9/3 Fred Silsbee o.com>:=0A> > >> one remaining problem:=0A> > >>=0A> > >> Warning: mssql_co=
nnect()=0A> [function.mssql-connect]:=0A> > message: Login failed for user =
'sa'. (severity 14) in=0A> > C:\Inetpub\wwwroot\handle_log_book_mssql.php o=
n line=0A> 8=0A> > >>=0A> > >> Warning: mssql_connect()=0A> [function.mssql=
-connect]:=0A> > Unable to connect to server: LANDON\SQLEXPRESSLMKIII=0A> i=
n=0A> > C:\Inetpub\wwwroot\handle_log_book_mssql.php on line=0A> 8=0A> > >>=
Something went wrong while connecting to=0A> MSSQL=0A> > >>=0A> > >> Found=
this in php.net search...did not help!=0A> > >> [13 Jan 9:19am UTC] bloodj=
azman at gmail dot=0A> com=0A> > >> Problem solved when change Default Lang=
uage=0A> = > > English in properties SQL=0A> > >> Server Management Stu=
dio=0A> > >> [14 Jan 7:46am UTC] bloodjazman at gmail dot=0A> com=0A> > >> =
recomended check php.ini=0A> > >>=0A> > >> mssql.allow_persistent =3D On=0A=
> > >> mssql.compatability_mode =3D Off=0A> > >> mssql.min_error_severity =
=3D 10=0A> > >> mssql.min_message_severity =3D 10=0A> > >> mssql.secure_con=
nection =3D Off=0A> > >>=0A> > >>=0A> > >>=0A> > >>=0A> > >> --- On Thu, 9/=
3/09, Fred Silsbee =0A> > wrote:=0A> > >>=0A> > >>> =
From: Fred Silsbee =0A> > >>> Subject: Re: I retreat=
ed to 5.2.6 where=0A> > everything worked for months...HELP!=0A> > >>> To: =
php-windows@lists.php.net=0A> > >>> Date: Thursday, September 3, 2009, 4:13=
=0A> AM=0A> > >>>=0A> > >>> new_black_scholes.php is now working but=0A> I=
=0A> > found a bug in=0A> > >>> IE8=0A> > >>>=0A> > >>> I deleted all histo=
ry but had to reboot=0A> to=0A> > completely clear=0A> > >>> all files hidd=
en in history temp files=0A> > >>>=0A> > >>> first I had to : (not sure if =
this did=0A> it!=0A> > >>> IIS: properties->home=0A> > >>>=0A> > directory-=
>configuration  =A0C:\PHP\php5isapi.dll=0A> > >>> with GET,HOST,POST,DE=
BUG=0A> > >>>=0A> > >>> changed to:=0A> > >>> IIS: properties->home=0A> > >=
>>=0A> > directory->configuration  =A0C:\PHP\php5isapi.dll=0A> > >>> wi=
th ALL=0A> > >>>=0A> > >>> --- On Wed, 9/2/09, Fred Silsbee hoo.com>=0A> > >>> wrote:=0A> > >>>=0A> > >>> > From: Fred Silsbee sbee@yahoo.com>=0A> > >>> > Subject: I retreated to 5.2.6 where=0A> > every=
thing worked=0A> > >>> for months...HELP!=0A> > >>> > To: php-windows@lists=
..php.net=0A> > >>> > Date: Wednesday, September 2, 2009,=0A> 2:59=0A> > AM=
=0A> > >>> > I tried 5.3 and found out it had no=0A> > >>> > php_mssql.=0A>=
> >>> > Then I retreated to 5.2.10.=0A> > >>> >=0A> > >>> > Trying to get =
back to where I had=0A> > everything worked,=0A> > >>> I=0A> > >>> > downlo=
aded 5.2.6:=0A> > >>> > (1) I uninstalled cgi 1.5=0A> > >>> > (2) php.ini=
  =A0has:=0A> > >>> >=0A> > >>> > extension_dir =3D "C:\PHP\ext"=0A> > =
>>> > ; doc_root =3D "C:\inetpub\wwwroot"=0A> > >>> > commented out=0A> > >=
>> > doc_root = > > >>> >=0A> > >>> > ALL extensions are uncommented=0A=
> > >>> >=0A> > >>> > I only need:=0A> > >>> > extension=3Dphp_mssql.dll=0A=
> > >>> >=0A> > >>> > ; **You CAN safely turn this off for=0A> IIS,=0A> > i=
n fact,=0A> > >>> you=0A> > >>> > MUST.**=0A> > >>> >=A0 cgi.force_redirect=
=3D 0=0A> > >>> >=0A> > >>> > ntwdblib and php.ini moved to=0A> > >>> > C:=
\WINDOWS=0A> > >>> > C:\WINDOWS\system=0A> > >>> > C:\WINDOWS\system32=0A> =
> >>> >=0A> > >>> > IIS: properties->home=0A> > >>> >=0A> > directory->conf=
iguration  =A0C:\PHP\php5isapi.dll=0A> > >>> > with GET,HOST,POST,DEBUG=
=0A> > >>> >=0A> > >>> > I also tried:=0A> > >>> > php5ts.dll=0A> > >>> > p=
hpnsapi.dll=0A> > >>> > only php5isapi.dll seemed to work!=0A> > >>> > adde=
d to XP Prof SP3 path:=0A> > ;C:\PHP;C:\PHP\ext=0A> > >>> >=0A> > >>> > als=
o created (just in case) PHPRC=0A> > environment=0A> > >>> variable=0A> > >=
>> > (alongside path)=0A> > >>> > containing C:\PHP;C:\PHP\ext=0A> > >>> >=
=0A> > >>> > I gave IUSR_LANDON all powers=0A> > >>> >=0A> > >>> >=0A> > __=
______________________________________results=0A> > >>> > this works:http:/=
/207.254.225.224:8080/phpinfo.php=0A> > >>> >=0A> > >>> > http://207.254.22=
5.224:8080/new_black_scholes.php=0A> > >>> > initial display works until I=
=0A> select=0A> > "DEMO"...then:=0A> > >>> >=0A> > >>> > The page cannot be=
displayed=0A> > >>> > There is a problem with a program on=0A> the=0A> > p=
age you are=0A> > >>> > trying to reach, and the page cannot=0A> be=0A> > d=
isplayed.=0A> > >>> >=0A> > >>> > Here is new_black_scholes.php=0A> > >>> >=
> >>> > define( "ITMAX",100);=0A> > >>> > define( "EPS",3.0e-7);=
=0A> > >>> > =A0 =A0 // If the submit button has=0A> been=0A> > pressed=0A>=
> >>> >   =A0 $StockPrice =3D $ExercisePrice=0A> = > > >>> $RiskFr=
eeRateInterest=0A> > >>> > = > $InstantaneousVarianceRateStocksReturn=
=0A> > =3D "";=0A> > >>> >   =A0 $TimetoExpirationOption = > > $Val=
ueCallOption = > > >>> > $ValuePutOption =3D $DeltaCalls=A0 = > > $=
DeltaPuts=A0 =3D "";=0A> > >>> >=0A> > >>> > =A0 =A0 if (isset($_POST['rese=
t']))=0A> > >>> > =A0 =A0 {=0A> > >>> >=0A> > >>> >   =A0 $m_s =3D 100.=
;=0A> > >>> >   =A0 $m_e =3D 100.;=0A> > >>> >   =A0 $m_rf =3D .12;=
=0A> > >>> >   =A0 $m_sigma =3D .1;=0A> > >>> >   =A0 $m_time =3D 3=
65.;=0A> > >>> >   =A0 Black_Scholes_Main($m_s,=0A> $m_e,=0A> > $m_rf,=
=0A> > >>> > $m_sigma,$m_time, $m_c, $m_p,=0A> > $m_deltacalls,=0A> > >>> $=
m_deltaputs);=0A> > >>> >   =A0 $StockPrice =3D $m_s;=0A> > >>> > =A0=
   $ExercisePrice =3D $m_e;=0A> > >>> >   =A0 $RiskFreeRateInterest=
= > $m_rf;=0A> > >>> >     > > $InstantaneousVarianceRateStock=
sReturn = > > >>> $m_sigma;=0A> > >>> >   =A0 $TimetoExpirationOpti=
on = > > $m_time;=0A> > >>> >   =A0 $ValueCallOption =3D $m_c;=0A> =
> >>> >   =A0 $ValuePutOption =3D $m_p;=0A> > >>> >   =A0 $DeltaCal=
ls =3D $m_deltacalls;=0A> > >>> >   =A0 $DeltaPuts =3D $m_deltaputs;=0A=
> > >>> > =A0 =A0 }=0A> > >>> > =A0 =A0 elseif=0A> (isset($_POST['submit'])=
)=0A> > >>> > =A0 =A0 {=0A> > >>> >   =A0 $m_s =3D $_POST['StockPrice']=
;=0A> > >>> >   =A0 $m_e = > $_POST['ExercisePrice'];=0A> > >>> > =
  =A0 $m_rf = > > $_POST['RiskFreeRateInterest'];=0A> > >>> > =A0=
   $m_sigma = > > >>> >=0A> > $_POST['InstantaneousVarianceRateStoc=
ksReturn'];=0A> > >>> >   =A0 $m_time = > > $_POST['TimetoExpiratio=
nOption'];=0A> > >>> >   =A0 Black_Scholes_Main($m_s,=0A> $m_e,=0A> > $=
m_rf,=0A> > >>> > $m_sigma,$m_time, $m_c, $m_p,=0A> > $m_deltacalls,=0A> > =
>>> $m_deltaputs);=0A> > >>> >   =A0 $StockPrice =3D $m_s;=0A> > >>> > =
  =A0 $ExercisePrice =3D $m_e;=0A> > >>> >   =A0 $RiskFreeRateInter=
est = > $m_rf;=0A> > >>> >     > > $InstantaneousVarianceRateSt=
ocksReturn = > > >>> $m_sigma;=0A> > >>> >   =A0 $TimetoExpirationO=
ption = > > $m_time;=0A> > >>> >   =A0 $ValueCallOption =3D $m_c;=
=0A> > >>> >   =A0 $ValuePutOption =3D $m_p;=0A> > >>> >   =A0 $Del=
taCalls =3D $m_deltacalls;=0A> > >>> >   =A0 $DeltaPuts =3D $m_deltaput=
s;=0A> > >>> > =A0 =A0 }=0A> > >>> > function Black_Scholes_Main($m_s,=0A> =
$m_e,=0A> > $m_rf,=0A> > >>> $m_sigma,=0A> > >>> > $m_time, &$m_c, &$m_p,=
=0A> > &$m_deltacalls,=0A> > >>> > &$m_deltaputs) {=0A> > >>> > =A0 =A0 =A0=
=A0 $m_c = > black_scholes($m_s,  > > $m_e,=0A> > >>> $m_rf,=0A> >=
>>> > $m_sigma,=A0 $m_time/365., $nd1,=0A> $nd2);=0A> > >>> > =A0 =A0 =A0 =
=A0 $m_p =3D $m_e /=0A> pow(1.+$m_rf,=0A> > $m_time/365.)=0A> > >>> -=0A> >=
>>> > $m_s + $m_c;=0A> > >>> > =A0 =A0 =A0 =A0 $m_deltacalls =3D $nd1;=0A>=
> >>> > =A0 =A0 =A0 =A0 $m_deltaputs =3D $nd1 -=0A> 1.;=0A> > >>> > }=0A> =
> >>> > function black_scholes( $s,=A0 $e,  > > $rf,=A0 $sigma,=0A> > >=
>> $time,=0A> > >>> > &$nd1, &$nd2) {=0A> > >>> > =A0 =A0 =A0 =A0 $num =3D=
=0A> > >>> >=0A> log($s/$e)+$time*($rf+.5*$sigma*$sigma);=0A> > >>> > =A0 =
=A0 =A0 =A0 $d1 = > > $num/($sigma*sqrt($time));=0A> > >>> > =A0 =A0 =
=A0 =A0 $d2 =3D $d1 -=0A> > $sigma*sqrt($time);=0A> > >>> > =A0 =A0 =A0 =A0=
$c =3D $s*myerf($d1) - $e=0A> *=0A> > myerf($d2) *=0A> > >>> > exp(-$rf*$t=
ime);=0A> > >>> > =A0 =A0 =A0 =A0 $nd1 =3D myerf($d1);=0A> > >>> > =A0 =A0 =
=A0 =A0 $nd2 =3D myerf($d2);=0A> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0 return=
$c;=0A> > >>> > }=0A> > >>> > function gammln($xx)=0A> > >>> > {=0A> > >>>=
>=0A> > >>> >=0A> > $cof=3Darray(76.18009173,-86.50532033,24.01409822,=0A>=
> >>> >=0A> > >>> >=0A> > -1.231739516,0.120858003e-2,-0.536382e-5);=0A> >=
>>> >=0A> > >>> > =A0 =A0 =A0 =A0 $x=3D$xx-1.0;=0A> > >>> > =A0 =A0 =A0 =
=A0 $tmp=3D$x+5.5;=0A> > >>> > =A0 =A0 =A0 =A0 $tmp -= > ($x+0.5)*log($=
tmp);=0A> > >>> > =A0 =A0 =A0 =A0 $ser=3D1.0;=0A> > >>> > =A0 =A0 =A0 =A0 f=
or ($j=3D0;$j<=3D5;$j++)=0A> {=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
$x +=3D 1.0;=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 $ser += > > $c=
of[$j]/$x;=0A> > >>> > =A0 =A0 =A0 =A0 }=0A> > >>> > =A0 =A0 =A0 =A0 return=
=0A> > -$tmp+log(2.50662827465*$ser);=0A> > >>> > }=0A> > >>> >=0A> > >>> >=
function gser(=A0 &$gamser,  > $a,  > > $x, &$gln)=0A> > >>> > {=
=0A> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0 $gln=3Dgammln($a);=0A> > >>> > =A0=
=A0 =A0 =A0 if ($x <=3D 0.0) {=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
if ($x <=0A> 0.0)=0A> > echo "x less=0A> > >>> than=0A> > >>> > 0 in routi=
ne GSER";=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > $gamser=3D0.0;=0A=
> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return;=0A> > >>> > =A0 =A0 =A0 =
=A0 } else {=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 $ap=3D$a;=0A> > >>=
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > $sum=3D1.0/$a;=0A> > >>> >   =
=A0   =A0 $del=3D$sum;=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 for=
=0A> > ($n=3D1;$n<=3DITMAX;$n++)=0A> > >>> {=0A> > >>> > =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0   > $ap=0A> > +=3D 1.0;=0A> > >>> > =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0   > $del=0A> > *=3D $x/$ap;=0A> > =
>>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0   > $sum=0A> > +=3D $=
del;=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0   > if=0A>=
> (abs($del)=0A> > >>> <=0A> > >>> > abs($sum)*EPS) {=0A> > >>> >=0A> > >>=
> >=0A> $gamser=3D$sum*exp(-$x+$a*log($x)-($gln));=0A> > >>> >=0A> > >>> re=
turn;=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0   > }=0A>=
> >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 }=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 echo "a=3D$a=0A> too=0A> > large, ITMAX = > > >>> > $itmax =
too small in routine GSER=0A> > >>> > ";=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 return;=0A> > >>> > =A0 =A0 =A0 =A0 }=0A> > >>> > }=0A> > >>> >=
=0A> > >>> >=0A> > >>> > function gcf(=0A> > &$gammcf,$a,$x,&$gln)=0A> > >>=
> > {=0A> > >>> > =A0 =A0 =A0 =A0 $gold=3D0.0;=0A> > >>> > =A0 =A0 =A0 =A0 =
$fac=3D1.0;=0A> > >>> > =A0 =A0 =A0 =A0 $b1=3D1.0;=0A> > >>> > =A0 =A0 =A0 =
=A0 $b0=3D0.0;=0A> > >>> > =A0 =A0 =A0 =A0 $a0=3D1.0;=0A> > >>> >=0A> > >>>=
> =A0 =A0 =A0 =A0 $gln=3Dgammln($a);=0A> > >>> > =A0 =A0 =A0 =A0 $a1=3D$x;=
=0A> > >>> > =A0 =A0 =A0 =A0 for=0A> ($n=3D1;$n<=3DITMAX;$n++)=0A> > {=0A> =
> >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 $an=3D(double)=0A> $n;=0A> > >>> > =
=A0 =A0 =A0 =A0 =A0 =A0 =A0   > $ana=3D$an-$a;=0A> > >>> > =A0 =A0 =A0 =
=A0 =A0 =A0 =A0   > > $a0=3D($a1+$a0*$ana)*$fac;=0A> > >>> > =A0 =A0 =
=A0 =A0 =A0 =A0 =A0   > > $b0=3D($b1+$b0*$ana)*$fac;=0A> > >>> > =A0 =
=A0 =A0 =A0 =A0 =A0 =A0   > $anf=3D$an*$fac;=0A> > >>> > =A0 =A0 =A0 =
=A0 =A0 =A0 =A0   > > $a1=3D$x*$a0+$anf*$a1;=0A> > >>> > =A0 =A0 =A0 =
=A0 =A0 =A0 =A0   > > $b1=3D$x*$b0+$anf*$b1;=0A> > >>> > =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 if ($a1) {=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0   > > $fac=3D1.0/$a1;=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0   > > $g=3D$b1*$fac;=0A> > >>> > =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0   > if=0A> > >>> (abs(($g-$gold)/$g)=0A> > =
>>> > < EPS) {=0A> > >>> >=0A> > >>> >=0A> $gammcf=3Dexp(-$x+$a*log($x)-($g=
ln))*$g;=0A> > >>> >=0A> > >>> return;=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0   > }=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0   > > $gold=3D$g;=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 }=0A> > >>> > =A0 =A0 =A0 =A0 }=0A> > >>> > =A0 =A0 =A0 =A0 echo "a too=
large, ITMAX=0A> too=0A> > small in=0A> > >>> routine=0A> > >>> > GCF=0A> =
> >>> > ";=0A> > >>> > }=0A> > >>> > function gammp($a,$x)=0A> > >>> > {=0A=
> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0 if ($x < 0.0 || $a=0A> <= > > 0.0=
) {=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 echo=0A> "Invalid=0A> > arg=
uments in=0A> > >>> routine=0A> > >>> > GAMMP=0A> > >>> > ";=0A> > >>> > =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return 0.;=0A> > >>> > =A0 =A0 =A0 =A0 }=0A=
> > >>> > =A0 =A0 =A0 =A0 if ($x < ($a+1.0)) {=0A> > >>> > =A0 =A0 =A0 =A0 =
=A0 =A0 =A0   > > gser($gamser,$a,$x,$gln);=0A> > >>> > =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 return=0A> $gamser;=0A> > >>> > =A0 =A0 =A0 =A0 } else {=
=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > > gcf($gammcf,$a,$x,$gln);=
=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return=0A> > 1.0-$gammcf;=0A> =
> >>> > =A0 =A0 =A0 =A0 }=0A> > >>> > }=0A> > >>> >=0A> > >>> > function ga=
mmq($a,$x)=0A> > >>> > {=0A> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0 if ($x < 0=
..0 || $a=0A> <= > > 0.0) echo=0A> > >>> "Invalid=0A> > >>> > arguments =
in routine GAMMQ=0A> > >>> > ";=0A> > >>> > =A0 =A0 =A0 =A0 if ($x < ($a+1.=
0)) {=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > > gser($gamser,$a,$x,=
$gln);=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return=0A> > 1.0-$gamser=
;=0A> > >>> > =A0 =A0 =A0 =A0 } else {=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =
=A0   > > gcf($gammcf,$a,$x,$gln);=0A> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 return=0A> $gammcf;=0A> > >>> > =A0 =A0 =A0 =A0 }=0A> > >>> > }=0A>=
> >>> > function erfc($x)=0A> > >>> > {=0A> > >>> >=0A> > >>> > =A0 =A0 =
=A0 =A0 return $x < 0.0 ?=0A> > 1.0+gammp(0.5,$x*$x)=0A> > >>> :=0A> > >>> =
> gammq(0.5,$x*$x);=0A> > >>> > }=0A> > >>> > function erf($x)=0A> > >>> > =
{=0A> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0 return $x < 0.0 ?=0A> > -gammp(0.=
5,$x*$x) :=0A> > >>> > gammp(0.5,$x*$x);=0A> > >>> > }=0A> > >>> > function=
myerf($argin) {=0A> > >>> > =A0 =A0   =A0return=0A> > .5*(1.+erf($argi=
n/sqrt(2.0)));=0A> > >>> > }=0A> > >>> >=0A> > >>> > ?>=0A> > >>> >=0A> > >=
>> > action=3D"new_black_scholes.php"=0A> > >>> method=3D"post">=
=0A> > >>> > =A0 =A0

=0A> > >>> > =A0 =A0 =A0 =A0 Black Scholes Option=
=0A> Price=0A> > Calculator:=0A> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0   =
=A0 temp website=0A> under=0A> > Redhat Fedora 9=0A> > >>> > Linux:=0A> > >=
>> >=0A> > >>> > =A0 =A0 =A0 =A0   =A0 the first 5=0A> boxes=0A> > requ=
ire input(try=0A> > >>> 100.=0A> > >>> > 100. .12 .1 365.):=0A> > >>> >=0A>=
> >>> > =A0 =A0

=0A> > >>> > =A0 =A0

=0A> > >>> > =A0 =A0 =A0 =A0 S=
tockPrice (required):=0A> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0 =3D"text"=0A> > size=3D"20"=0A> > >>> maxlength=3D"40"=0A> > >>> > name=3D"=
StockPrice"=0A> > >>> >   =A0   =A0 value=3D" > $Stoc=
kPrice;=0A> > >>> > ?>" />=0A> > >>> > =A0 =A0

=0A> > >>> > =A0 =A0

=
=0A> > >>> > =A0 =A0 =A0 =A0 ExercisePrice=0A> (required):=0A> > >>> >=0A> =
> >>> > =A0 =A0 =A0 =A0 > size=3D"20"=0A> > >>> ma=
xlength=3D"40"=0A> > >>> > name=3D"ExercisePrice"=0A> > >>> >   =A0 =A0=
   value=3D" > $ExercisePrice;=0A> > >>> ?>"=0A> > >>> > =
/>=0A> > >>> >

=0A> > >>> > =A0 =A0

=0A> > >>> > =A0 =A0 =A0 =A0 Ris=
k Free Rate of=0A> > Interest(required):=0A> > >>> >=0A> > >>> > =A0 =A0 =
=A0 =A0 > size=3D"20"=0A> > >>> maxlength=3D"40"=
=0A> > >>> > name=3D"RiskFreeRateInterest"=0A> > >>> >   =A0   =A0 =
value=3D" > >>> $RiskFreeRateInterest;=0A> > >>> > ?>" />=0A>=
> >>> > =A0 =A0

=0A> > >>> > =A0 =A0

=0A> > >>> > =A0 =A0 =A0 =A0 I=
nstantaneous Variance=0A> Rate=0A> > of Stock's=0A> > >>> Return=0A> > >>> =
> (required):=0A> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0 =0A> > size=3D"20"=0A> > >>> maxlength=3D"40"=0A> > >>> >=0A> > name=3D"Ins=
tantaneousVarianceRateStocksReturn"=0A> > >>> >   =A0   =A0 value=
=3D" > >>> >=0A> $InstantaneousVarianceRateStocksReturn;=0A> =
> ?>" />=0A> > >>> >

=0A> > >>> > =A0 =A0

=0A> > >>> > =A0 =A0 =A0 =
=A0 Time to Expiration of=0A> the=0A> > Option(days)=0A> > >>> > (required)=
:=0A> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0 > size=
=3D"20"=0A> > >>> maxlength=3D"40"=0A> > >>> > name=3D"TimetoExpirationOpti=
on"=0A> > >>> >   =A0   =A0 value=3D" > >>> $TimetoEx=
pirationOption;=0A> > >>> > ?>" />=0A> > >>> >

=0A> > >>> > =A0 =A0

=
=0A> > >>> > =A0 =A0 =A0 =A0 Values of the Call=0A> Option :=0A> > >>> >=0A=
> > >>> > =A0 =A0 =A0 =A0 > size=3D"20"=0A> > >>> =
> maxlength=3D"40"  > name=3D"ValueCallOption"=0A> > >>> >   =A0 =
  =A0     > VALUE=3D" > echo=0A> > >>> $ValueCallOptio=
n;=0A> > >>> > ?>" />=0A> > >>> >

=0A> > >>> >

=0A> > >>> > =A0 =A0=

=0A> > >>> > =A0 =A0 =A0 =A0 Values of the Put option=0A> :=0A> > >>> >=
=0A> > >>> > =A0 =A0 =A0 =A0 > size=3D"20"=0A> > >=
>> > maxlength=3D"40"  > name=3D"ValuePutOption"=0A> > >>> >   =A0 =
  =A0     > VALUE=3D" > echo=0A> > >>> $ValuePutOption=
;=0A> > >>> > ?>" />=0A> > >>> >

=0A> > >>> > =A0 =A0

=0A> > >>> > =
=A0 =A0 =A0 =A0 Delta(calls):=0A> > >>> >=0A> > >>> > =A0 =A0 =A0 =A0 t type=3D"text"=0A> > size=3D"20"=0A> > >>> > maxlength=3D"40"=A0 name=3D"D=
eltaCalls"=0A> > >>> >   =A0   =A0     > VALUE=3D"=
> echo=0A> > >>> $DeltaCalls;=0A> > >>> > ?>" />=0A> > >>> >

=0A> > >>=
> > =A0 =A0

=0A> > >>> > =A0 =A0 =A0 =A0 Delta(puts):=0A> > >>> >=0A> > =
>>> > =A0 =A0 =A0 =A0 > size=3D"20"=0A> > >>> > ma=
xlength=3D"40"=A0 name=3D"DeltaPuts"=0A> > >>> >   =A0   =A0   =
=A0 VALUE=3D" echo=0A> > $DeltaPuts;=0A> > >>> > ?>" />=0A> > >>> =
>

=0A> > >>> > =A0 =A0 =0A> > >>> > =A0 =A0 =0A> > >>> > =0A> >=
>>> >=0A> > >>> >=0A> > >>>=0A> >=0A> ____________________________________=
_____________________results=0A> > >>> >=0A> > >>> > Please try the followi=
ng:=0A> > >>> >=0A> > >>> > Open the 207.254.225.224:8080 home=0A> page,=0A=
> > and then look=0A> > >>> for=0A> > >>> > links to the information you wa=
nt.=0A> > >>> > Click the Refresh button, or try=0A> again=0A> > later.=0A>=
> >>> >=0A> > >>> > HTTP 403.1 Forbidden: Execute=0A> Access=0A> > Forbidd=
en=0A> > >>> > Internet Information Services=0A> > >>> >=0A> > >>> >=0A> > =
>>>=0A> >=0A> ------------------------------------------------------------ -=
-------------------=0A> > >>> >=0A> > >>> > Technical Information (for supp=
ort=0A> > personnel)=0A> > >>> >=0A> > >>> >=0A> > >>> > Background:=0A> > =
>>> > You have attempted to execute a=0A> CGI,=0A> > ISAPI, or other=0A> > =
>>> > executable program from a directory=0A> that=0A> > does not=0A> > >>>=
allow=0A> > >>> > programs to be executed.=0A> > >>> >=0A> > >>> >=0A> > >=
>> > More information:=0A> > >>> > Microsoft Support=0A> > >>> >=0A> > ____=
________________________________________=0A> > >>> > http://207.254.225.224=
:8080/handle_log_book_mssql.php=0A> > >>> > yields:=0A> > >>> >=0A> > >>> >=
Warning: mssql_connect()=0A> > [function.mssql-connect]:=0A> > >>> Unable=
=0A> > >>> > to connect to server:=0A> > LANDON\SQLEXPRESSLMKIII in=0A> > >=
>> >=0A> > C:\Inetpub\wwwroot\handle_log_book_mssql.php on line=0A> > >>> 8=
=0A> > >>> > (mssql_connect(...)=0A> > >>> > Something went wrong while=0A>=
connecting to=0A> > MSSQL (my=0A> > >>> > message)=0A> > >>> >=0A> > >>>=
=0A> >=0A> _______________________________________________________=0A> > >>=
> > all these worked before trying 5.3=0A> > >>> >=0A> > >>> >=0A> > >>> >=
=0A> > >>> >=0A> > >>> >=0A> > >>> >=0A> > >>> >=0A> > >>>=0A> > >>>=0A> > =
>>>=0A> > >>>=0A> > >>=0A> > >>=0A> > >>=0A> > >>=0A> > >> --=0A> > >> PHP =
Windows Mailing List (http://www.php.net/)=0A> > >> To unsubscribe, visit: =
http://www.php.net/unsub.php=0A> > >>=0A> > >>=0A> > >=0A> > > The mssql ex=
tension is reliant on an unsupported=0A> and=0A> > ancient ntwdblib.dll.=0A=
> > >=0A> > > Your upgrade options are :=0A> > >=0A> > > ODBC / PDO_ODBC wi=
th the SQL Native Client=0A> > > or=0A> > > php_sqlsvr.dll - the new MS SQL=
Server extension=0A> from=0A> > Microsoft=0A> > > http://www.microsoft.com=
/sqlserver/2005/en/us/PHP-Driver.aspx=0A> > >=0A> > >=0A> > > --=0A> > > --=
---=0A> > > Richard Quadling=0A> > > "Standing on the shoulders of some ver=
y clever=0A> > giants!"=0A> > > EE : http://www.experts-exchange.com/M_2488=
14.html=0A> > > Zend Certified Engineer : http://zend.com/zce.php?c=3DZEND0=
02498&r=3D213474731=0A> > > ZOPA : http://uk.zopa.com/member/RQuadling=0A> =
> >=0A> > =0A> > Sorry. Old URL.=0A> > =0A> > New one is http://www.microso=
ft.com/downloads/details.aspx?FamilyID=3Dccdf728b-1ea0-48a8- a84a-5052214caa=
d9&displaylang=3Den=0A> > =0A> > =0A> > -- =0A> > -----=0A> > Richard Quadl=
ing=0A> > "Standing on the shoulders of some very clever=0A> giants!"=0A> >=
EE : http://www.experts-exchange.com/M_248814.html=0A> > Zend Certified En=
gineer : http://zend.com/zce.php?c=3DZEND002498&r=3D213474731=0A> > ZOPA : =
http://uk.zopa.com/member/RQuadling=0A> > =0A> =0A> BINGO! THANKS!!!=0A> =
=0A> Now I remember using this driver when I had 5.2.6 working=0A> before.=
=0A> Problem is, in the docs two files are mentioned but exist=0A> nowhere =
on my PHP stuff.=0A> php5ts.dll=0A> php5.dll=0A> =0A> Maybe I need to go ba=
ck up to 5.2.8 or 5.2.9 or 5.2.10!=0A> =0A> =0A> =0A> =0A> =0A> =0A> =0A> =
=0A> =0A> =0A> =0A

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: I retreated to 5.2.6 where everything worked for

am 03.09.2009 22:50:25 von Richard Quadling

2009/9/3 Fred Silsbee :
>
>
> --- On Thu, 9/3/09, Fred Silsbee wrote:
>
>> From: Fred Silsbee
>> Subject: Re: [PHP-WIN] Re: I retreated to 5.2.6 where everything worked =
for  months...HELP!
>> To: RQuadling@googlemail.com
>> Date: Thursday, September 3, 2009, 3:44 PM
>>
>> --- On Thu, 9/3/09, Richard Quadling
>> wrote:
>>
>> > From: Richard Quadling
>> > Subject: Re: [PHP-WIN] Re: I retreated to 5.2.6 where
>> everything worked for  months...HELP!
>> > To: "Fred Silsbee"
>> > Date: Thursday, September 3, 2009, 8:34 AM
>> > 2009/9/3 Richard Quadling :
>> > > 2009/9/3 Fred Silsbee :
>> > >> one remaining problem:
>> > >>
>> > >> Warning: mssql_connect()
>> [function.mssql-connect]:
>> > message: Login failed for user 'sa'. (severity 14) in
>> > C:\Inetpub\wwwroot\handle_log_book_mssql.php on line
>> 8
>> > >>
>> > >> Warning: mssql_connect()
>> [function.mssql-connect]:
>> > Unable to connect to server: LANDON\SQLEXPRESSLMKIII
>> in
>> > C:\Inetpub\wwwroot\handle_log_book_mssql.php on line
>> 8
>> > >> Something went wrong while connecting to
>> MSSQL
>> > >>
>> > >> Found this in php.net search...did not help!
>> > >> [13 Jan 9:19am UTC] bloodjazman at gmail dot
>> com
>> > >> Problem solved when change Default Language
>> =3D
>> > English in properties SQL
>> > >> Server Management Studio
>> > >> [14 Jan 7:46am UTC] bloodjazman at gmail dot
>> com
>> > >> recomended check php.ini
>> > >>
>> > >> mssql.allow_persistent =3D On
>> > >> mssql.compatability_mode =3D Off
>> > >> mssql.min_error_severity =3D 10
>> > >> mssql.min_message_severity =3D 10
>> > >> mssql.secure_connection =3D Off
>> > >>
>> > >>
>> > >>
>> > >>
>> > >> --- On Thu, 9/3/09, Fred Silsbee
>> > wrote:
>> > >>
>> > >>> From: Fred Silsbee
>> > >>> Subject: Re: I retreated to 5.2.6 where
>> > everything worked for months...HELP!
>> > >>> To: php-windows@lists.php.net
>> > >>> Date: Thursday, September 3, 2009, 4:13
>> AM
>> > >>>
>> > >>> new_black_scholes.php is now working but
>> I
>> > found a bug in
>> > >>> IE8
>> > >>>
>> > >>> I deleted all history but had to reboot
>> to
>> > completely clear
>> > >>> all files hidden in history temp files
>> > >>>
>> > >>> first I had to : (not sure if this did
>> it!
>> > >>> IIS: properties->home
>> > >>>
>> > directory->configuration   C:\PHP\php5isapi.d ll
>> > >>> with GET,HOST,POST,DEBUG
>> > >>>
>> > >>> changed to:
>> > >>> IIS: properties->home
>> > >>>
>> > directory->configuration   C:\PHP\php5isapi.d ll
>> > >>> with ALL
>> > >>>
>> > >>> --- On Wed, 9/2/09, Fred Silsbee
>> > >>> wrote:
>> > >>>
>> > >>> > From: Fred Silsbee
>> > >>> > Subject: I retreated to 5.2.6 where
>> > everything worked
>> > >>> for months...HELP!
>> > >>> > To: php-windows@lists.php.net
>> > >>> > Date: Wednesday, September 2, 2009,
>> 2:59
>> > AM
>> > >>> > I tried 5.3 and found out it had no
>> > >>> > php_mssql.
>> > >>> > Then I retreated to 5.2.10.
>> > >>> >
>> > >>> > Trying to get back to where I had
>> > everything worked,
>> > >>> I
>> > >>> > downloaded 5.2.6:
>> > >>> > (1) I uninstalled cgi 1.5
>> > >>> > (2) php.ini   has:
>> > >>> >
>> > >>> > extension_dir =3D "C:\PHP\ext"
>> > >>> > ; doc_root =3D "C:\inetpub\wwwroot"
>> > >>> > commented out
>> > >>> > doc_root =3D
>> > >>> >
>> > >>> > ALL extensions are uncommented
>> > >>> >
>> > >>> > I only need:
>> > >>> > extension=3Dphp_mssql.dll
>> > >>> >
>> > >>> > ; **You CAN safely turn this off for
>> IIS,
>> > in fact,
>> > >>> you
>> > >>> > MUST.**
>> > >>> >  cgi.force_redirect =3D 0
>> > >>> >
>> > >>> > ntwdblib and php.ini moved to
>> > >>> > C:\WINDOWS
>> > >>> > C:\WINDOWS\system
>> > >>> > C:\WINDOWS\system32
>> > >>> >
>> > >>> > IIS: properties->home
>> > >>> >
>> > directory->configuration   C:\PHP\php5isapi.d ll
>> > >>> > with GET,HOST,POST,DEBUG
>> > >>> >
>> > >>> > I also tried:
>> > >>> > php5ts.dll
>> > >>> > phpnsapi.dll
>> > >>> > only php5isapi.dll seemed to work!
>> > >>> > added to XP Prof SP3 path:
>> > ;C:\PHP;C:\PHP\ext
>> > >>> >
>> > >>> > also created (just in case) PHPRC
>> > environment
>> > >>> variable
>> > >>> > (alongside path)
>> > >>> > containing C:\PHP;C:\PHP\ext
>> > >>> >
>> > >>> > I gave IUSR_LANDON all powers
>> > >>> >
>> > >>> >
>> > ________________________________________results
>> > >>> > this works:http://207.254.225.224:8080/phpinfo.php
>> > >>> >
>> > >>> > http://207.254.225.224:8080/new_black_scholes.php
>> > >>> > initial display works until I
>> select
>> > "DEMO"...then:
>> > >>> >
>> > >>> > The page cannot be displayed
>> > >>> > There is a problem with a program on
>> the
>> > page you are
>> > >>> > trying to reach, and the page cannot
>> be
>> > displayed.
>> > >>> >
>> > >>> > Here is new_black_scholes.php
>> > >>> > >> > >>> > define( "ITMAX",100);
>> > >>> > define( "EPS",3.0e-7);
>> > >>> >     // If the submit button has
>> been
>> > pressed
>> > >>> >     $StockPrice =3D $ExercisePrice
>> =3D
>> > >>> $RiskFreeRateInterest
>> > >>> > =3D
>> $InstantaneousVarianceRateStocksReturn
>> > =3D "";
>> > >>> >     $TimetoExpirationOption =3D
>> > $ValueCallOption =3D
>> > >>> > $ValuePutOption =3D $DeltaCalls  =3D
>> > $DeltaPuts  =3D "";
>> > >>> >
>> > >>> >     if (isset($_POST['reset']))
>> > >>> >     {
>> > >>> >
>> > >>> >     $m_s =3D 100.;
>> > >>> >     $m_e =3D 100.;
>> > >>> >     $m_rf =3D .12;
>> > >>> >     $m_sigma =3D .1;
>> > >>> >     $m_time =3D 365.;
>> > >>> >     Black_Scholes_Main($m_s,
>> $m_e,
>> > $m_rf,
>> > >>> > $m_sigma,$m_time, $m_c, $m_p,
>> > $m_deltacalls,
>> > >>> $m_deltaputs);
>> > >>> >     $StockPrice =3D $m_s;
>> > >>> >     $ExercisePrice =3D $m_e;
>> > >>> >     $RiskFreeRateInterest =3D
>> $m_rf;
>> > >>> >
>> > $InstantaneousVarianceRateStocksReturn =3D
>> > >>> $m_sigma;
>> > >>> >     $TimetoExpirationOption =3D
>> > $m_time;
>> > >>> >     $ValueCallOption =3D $m_c;
>> > >>> >     $ValuePutOption =3D $m_p;
>> > >>> >     $DeltaCalls =3D $m_deltacalls;
>> > >>> >     $DeltaPuts =3D $m_deltaputs;
>> > >>> >     }
>> > >>> >     elseif
>> (isset($_POST['submit']))
>> > >>> >     {
>> > >>> >     $m_s =3D $_POST['StockPrice'];
>> > >>> >     $m_e =3D
>> $_POST['ExercisePrice'];
>> > >>> >     $m_rf =3D
>> > $_POST['RiskFreeRateInterest'];
>> > >>> >     $m_sigma =3D
>> > >>> >
>> > $_POST['InstantaneousVarianceRateStocksReturn'];
>> > >>> >     $m_time =3D
>> > $_POST['TimetoExpirationOption'];
>> > >>> >     Black_Scholes_Main($m_s,
>> $m_e,
>> > $m_rf,
>> > >>> > $m_sigma,$m_time, $m_c, $m_p,
>> > $m_deltacalls,
>> > >>> $m_deltaputs);
>> > >>> >     $StockPrice =3D $m_s;
>> > >>> >     $ExercisePrice =3D $m_e;
>> > >>> >     $RiskFreeRateInterest =3D
>> $m_rf;
>> > >>> >
>> > $InstantaneousVarianceRateStocksReturn =3D
>> > >>> $m_sigma;
>> > >>> >     $TimetoExpirationOption =3D
>> > $m_time;
>> > >>> >     $ValueCallOption =3D $m_c;
>> > >>> >     $ValuePutOption =3D $m_p;
>> > >>> >     $DeltaCalls =3D $m_deltacalls;
>> > >>> >     $DeltaPuts =3D $m_deltaputs;
>> > >>> >     }
>> > >>> > function Black_Scholes_Main($m_s,
>> $m_e,
>> > $m_rf,
>> > >>> $m_sigma,
>> > >>> > $m_time, &$m_c, &$m_p,
>> > &$m_deltacalls,
>> > >>> > &$m_deltaputs) {
>> > >>> >         $m_c =3D
>> black_scholes($m_s,
>> > $m_e,
>> > >>> $m_rf,
>> > >>> > $m_sigma,  $m_time/365., $nd1,
>> $nd2);
>> > >>> >         $m_p =3D $m_e /
>> pow(1.+$m_rf,
>> > $m_time/365.)
>> > >>> -
>> > >>> > $m_s + $m_c;
>> > >>> >         $m_deltacalls =3D $nd1;
>> > >>> >         $m_deltaputs =3D $nd1 -
>> 1.;
>> > >>> > }
>> > >>> > function black_scholes( $s,  $e,
>> > $rf,  $sigma,
>> > >>> $time,
>> > >>> > &$nd1, &$nd2) {
>> > >>> >         $num =3D
>> > >>> >
>> log($s/$e)+$time*($rf+.5*$sigma*$sigma);
>> > >>> >         $d1 =3D
>> > $num/($sigma*sqrt($time));
>> > >>> >         $d2 =3D $d1 -
>> > $sigma*sqrt($time);
>> > >>> >         $c =3D $s*myerf($d1) - $e
>> *
>> > myerf($d2) *
>> > >>> > exp(-$rf*$time);
>> > >>> >         $nd1 =3D myerf($d1);
>> > >>> >         $nd2 =3D myerf($d2);
>> > >>> >
>> > >>> >         return $c;
>> > >>> > }
>> > >>> > function gammln($xx)
>> > >>> > {
>> > >>> >
>> > >>> >
>> > $cof=3Darray(76.18009173,-86.50532033,24.01409822,
>> > >>> >
>> > >>> >
>> > -1.231739516,0.120858003e-2,-0.536382e-5);
>> > >>> >
>> > >>> >         $x=3D$xx-1.0;
>> > >>> >         $tmp=3D$x+5.5;
>> > >>> >         $tmp -=3D
>> ($x+0.5)*log($tmp);
>> > >>> >         $ser=3D1.0;
>> > >>> >         for ($j=3D0;$j<=3D5;$j++)
>> {
>> > >>> >                 $x +=3D =
1.0;
>> > >>> >                 $ser +=
=3D
>> > $cof[$j]/$x;
>> > >>> >         }
>> > >>> >         return
>> > -$tmp+log(2.50662827465*$ser);
>> > >>> > }
>> > >>> >
>> > >>> > function gser(  &$gamser,
>> $a,
>> > $x, &$gln)
>> > >>> > {
>> > >>> >
>> > >>> >         $gln=3Dgammln($a);
>> > >>> >         if ($x <=3D 0.0) {
>> > >>> >                 if ($x <
>> 0.0)
>> > echo "x less
>> > >>> than
>> > >>> > 0 in routine GSER";
>> > >>> >
>> $gamser=3D0.0;
>> > >>> >                 return;
>> > >>> >         } else {
>> > >>> >                 $ap=3D$a=
;
>> > >>> >
>> $sum=3D1.0/$a;
>> > >>> >         $del=3D$sum;
>> > >>> >                 for
>> > ($n=3D1;$n<=3DITMAX;$n++)
>> > >>> {
>> > >>> >
>> $ap
>> > +=3D 1.0;
>> > >>> >
>> $del
>> > *=3D $x/$ap;
>> > >>> >
>> $sum
>> > +=3D $del;
>> > >>> >
>> if
>> > (abs($del)
>> > >>> <
>> > >>> > abs($sum)*EPS) {
>> > >>> >
>> > >>> >
>> $gamser=3D$sum*exp(-$x+$a*log($x)-($gln));
>> > >>> >
>> > >>> return;
>> > >>> >
>> }
>> > >>> >                 }
>> > >>> >                 echo "a=
=3D$a
>> too
>> > large, ITMAX =3D
>> > >>> > $itmax too small in routine GSER
>> > >>> > ";
>> > >>> >                 return;
>> > >>> >         }
>> > >>> > }
>> > >>> >
>> > >>> >
>> > >>> > function gcf(
>> > &$gammcf,$a,$x,&$gln)
>> > >>> > {
>> > >>> >         $gold=3D0.0;
>> > >>> >         $fac=3D1.0;
>> > >>> >         $b1=3D1.0;
>> > >>> >         $b0=3D0.0;
>> > >>> >         $a0=3D1.0;
>> > >>> >
>> > >>> >         $gln=3Dgammln($a);
>> > >>> >         $a1=3D$x;
>> > >>> >         for
>> ($n=3D1;$n<=3DITMAX;$n++)
>> > {
>> > >>> >                 $an=3D(d=
ouble)
>> $n;
>> > >>> >
>> $ana=3D$an-$a;
>> > >>> >
>> > $a0=3D($a1+$a0*$ana)*$fac;
>> > >>> >
>> > $b0=3D($b1+$b0*$ana)*$fac;
>> > >>> >
>> $anf=3D$an*$fac;
>> > >>> >
>> > $a1=3D$x*$a0+$anf*$a1;
>> > >>> >
>> > $b1=3D$x*$b0+$anf*$b1;
>> > >>> >                 if ($a1)=
{
>> > >>> >
>> > $fac=3D1.0/$a1;
>> > >>> >
>> > $g=3D$b1*$fac;
>> > >>> >
>> if
>> > >>> (abs(($g-$gold)/$g)
>> > >>> > < EPS) {
>> > >>> >
>> > >>> >
>> $gammcf=3Dexp(-$x+$a*log($x)-($gln))*$g;
>> > >>> >
>> > >>> return;
>> > >>> >
>> }
>> > >>> >
>> > $gold=3D$g;
>> > >>> >                 }
>> > >>> >         }
>> > >>> >         echo "a too large, ITMAX
>> too
>> > small in
>> > >>> routine
>> > >>> > GCF
>> > >>> > ";
>> > >>> > }
>> > >>> > function gammp($a,$x)
>> > >>> > {
>> > >>> >
>> > >>> >         if ($x < 0.0 || $a
>> <=3D
>> > 0.0) {
>> > >>> >                 echo
>> "Invalid
>> > arguments in
>> > >>> routine
>> > >>> > GAMMP
>> > >>> > ";
>> > >>> >                 return 0=
..;
>> > >>> >         }
>> > >>> >         if ($x < ($a+1.0)) {
>> > >>> >
>> > gser($gamser,$a,$x,$gln);
>> > >>> >                 return
>> $gamser;
>> > >>> >         } else {
>> > >>> >
>> > gcf($gammcf,$a,$x,$gln);
>> > >>> >                 return
>> > 1.0-$gammcf;
>> > >>> >         }
>> > >>> > }
>> > >>> >
>> > >>> > function gammq($a,$x)
>> > >>> > {
>> > >>> >
>> > >>> >         if ($x < 0.0 || $a
>> <=3D
>> > 0.0) echo
>> > >>> "Invalid
>> > >>> > arguments in routine GAMMQ
>> > >>> > ";
>> > >>> >         if ($x < ($a+1.0)) {
>> > >>> >
>> > gser($gamser,$a,$x,$gln);
>> > >>> >                 return
>> > 1.0-$gamser;
>> > >>> >         } else {
>> > >>> >
>> > gcf($gammcf,$a,$x,$gln);
>> > >>> >                 return
>> $gammcf;
>> > >>> >         }
>> > >>> > }
>> > >>> > function erfc($x)
>> > >>> > {
>> > >>> >
>> > >>> >         return $x < 0.0 ?
>> > 1.0+gammp(0.5,$x*$x)
>> > >>> :
>> > >>> > gammq(0.5,$x*$x);
>> > >>> > }
>> > >>> > function erf($x)
>> > >>> > {
>> > >>> >
>> > >>> >         return $x < 0.0 ?
>> > -gammp(0.5,$x*$x) :
>> > >>> > gammp(0.5,$x*$x);
>> > >>> > }
>> > >>> > function myerf($argin) {
>> > >>> >        return
>> > .5*(1.+erf($argin/sqrt(2.0)));
>> > >>> > }
>> > >>> >
>> > >>> > ?>
>> > >>> >
>> > >>> > >> action=3D"new_black_scholes.php"
>> > >>> method=3D"post">
>> > >>> >    


>> > >>> >         Black Scholes Option
>> Price
>> > Calculator:
>> > >>> >
>> > >>> >             temp website
>> under
>> > Redhat Fedora 9
>> > >>> > Linux:
>> > >>> >
>> > >>> >             the first 5
>> boxes
>> > require input(try
>> > >>> 100.
>> > >>> > 100. .12 .1 365.):
>> > >>> >
>> > >>> >    


>> > >>> >    


>> > >>> >         StockPrice (required):
>> > >>> >
>> > >>> >         >> > size=3D"20"
>> > >>> maxlength=3D"40"
>> > >>> > name=3D"StockPrice"
>> > >>> >         value=3D" >> > $StockPrice;
>> > >>> > ?>" />
>> > >>> >    


>> > >>> >    


>> > >>> >         ExercisePrice
>> (required):
>> > >>> >
>> > >>> >         >> > size=3D"20"
>> > >>> maxlength=3D"40"
>> > >>> > name=3D"ExercisePrice"
>> > >>> >         value=3D" >> > $ExercisePrice;
>> > >>> ?>"
>> > >>> > />
>> > >>> >


>> > >>> >    


>> > >>> >         Risk Free Rate of
>> > Interest(required):
>> > >>> >
>> > >>> >         >> > size=3D"20"
>> > >>> maxlength=3D"40"
>> > >>> > name=3D"RiskFreeRateInterest"
>> > >>> >         value=3D" >> > >>> $RiskFreeRateInterest;
>> > >>> > ?>" />
>> > >>> >    


>> > >>> >    


>> > >>> >         Instantaneous Variance
>> Rate
>> > of Stock's
>> > >>> Return
>> > >>> > (required):
>> > >>> >
>> > >>> >         >> > size=3D"20"
>> > >>> maxlength=3D"40"
>> > >>> >
>> > name=3D"InstantaneousVarianceRateStocksReturn"
>> > >>> >         value=3D" >> > >>> >
>> $InstantaneousVarianceRateStocksReturn;
>> > ?>" />
>> > >>> >


>> > >>> >    


>> > >>> >         Time to Expiration of
>> the
>> > Option(days)
>> > >>> > (required):
>> > >>> >
>> > >>> >         >> > size=3D"20"
>> > >>> maxlength=3D"40"
>> > >>> > name=3D"TimetoExpirationOption"
>> > >>> >         value=3D" >> > >>> $TimetoExpirationOption;
>> > >>> > ?>" />
>> > >>> >


>> > >>> >    


>> > >>> >         Values of the Call
>> Option :
>> > >>> >
>> > >>> >         >> > size=3D"20"
>> > >>> > maxlength=3D"40"
>> name=3D"ValueCallOption"
>> > >>> >
>> VALUE=3D" >> > echo
>> > >>> $ValueCallOption;
>> > >>> > ?>" />
>> > >>> >


>> > >>> >


>> > >>> >    


>> > >>> >         Values of the Put option
>> :
>> > >>> >
>> > >>> >         >> > size=3D"20"
>> > >>> > maxlength=3D"40"
>> name=3D"ValuePutOption"
>> > >>> >
>> VALUE=3D" >> > echo
>> > >>> $ValuePutOption;
>> > >>> > ?>" />
>> > >>> >


>> > >>> >    


>> > >>> >         Delta(calls):
>> > >>> >
>> > >>> >         >> > size=3D"20"
>> > >>> > maxlength=3D"40"  name=3D"DeltaCalls"
>> > >>> >
>> VALUE=3D" >> > echo
>> > >>> $DeltaCalls;
>> > >>> > ?>" />
>> > >>> >


>> > >>> >    


>> > >>> >         Delta(puts):
>> > >>> >
>> > >>> >         >> > size=3D"20"
>> > >>> > maxlength=3D"40"  name=3D"DeltaPuts"
>> > >>> >             VALUE=
=3D" >> echo
>> > $DeltaPuts;
>> > >>> > ?>" />
>> > >>> >


>> > >>> >    
>> > >>> >    
>> > >>> >
>> > >>> >
>> > >>> >
>> > >>>
>> >
>> _________________________________________________________res ults
>> > >>> >
>> > >>> > Please try the following:
>> > >>> >
>> > >>> > Open the 207.254.225.224:8080 home
>> page,
>> > and then look
>> > >>> for
>> > >>> > links to the information you want.
>> > >>> > Click the Refresh button, or try
>> again
>> > later.
>> > >>> >
>> > >>> > HTTP 403.1 Forbidden: Execute
>> Access
>> > Forbidden
>> > >>> > Internet Information Services
>> > >>> >
>> > >>> >
>> > >>>
>> >
>> ------------------------------------------------------------ ------------=
--------
>> > >>> >
>> > >>> > Technical Information (for support
>> > personnel)
>> > >>> >
>> > >>> >
>> > >>> > Background:
>> > >>> > You have attempted to execute a
>> CGI,
>> > ISAPI, or other
>> > >>> > executable program from a directory
>> that
>> > does not
>> > >>> allow
>> > >>> > programs to be executed.
>> > >>> >
>> > >>> >
>> > >>> > More information:
>> > >>> > Microsoft Support
>> > >>> >
>> > ____________________________________________
>> > >>> > http://207.254.225.224:8080/handle_log_book_mssql.php
>> > >>> > yields:
>> > >>> >
>> > >>> > Warning: mssql_connect()
>> > [function.mssql-connect]:
>> > >>> Unable
>> > >>> > to connect to server:
>> > LANDON\SQLEXPRESSLMKIII in
>> > >>> >
>> > C:\Inetpub\wwwroot\handle_log_book_mssql.php on line
>> > >>> 8
>> > >>> > (mssql_connect(...)
>> > >>> > Something went wrong while
>> connecting to
>> > MSSQL (my
>> > >>> > message)
>> > >>> >
>> > >>>
>> >
>> _______________________________________________________
>> > >>> > all these worked before trying 5.3
>> > >>> >
>> > >>> >
>> > >>> >
>> > >>> >
>> > >>> >
>> > >>> >
>> > >>> >
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >> --
>> > >> PHP Windows Mailing List (http://www.php.net/)
>> > >> To unsubscribe, visit: http://www.php.net/unsub.php
>> > >>
>> > >>
>> > >
>> > > The mssql extension is reliant on an unsupported
>> and
>> > ancient ntwdblib.dll.
>> > >
>> > > Your upgrade options are :
>> > >
>> > > ODBC / PDO_ODBC with the SQL Native Client
>> > > or
>> > > php_sqlsvr.dll - the new MS SQL Server extension
>> from
>> > Microsoft
>> > > http://www.microsoft.com/sqlserver/2005/en/us/PHP-Driver.asp x
>> > >
>> > >
>> > > --
>> > > -----
>> > > Richard Quadling
>> > > "Standing on the shoulders of some very clever
>> > giants!"
>> > > EE : http://www.experts-exchange.com/M_248814.html
>> > > Zend Certified Engineer : http://zend.com/zce.php?c=3DZEND002498&r=
=3D213474731
>> > > ZOPA : http://uk.zopa.com/member/RQuadling
>> > >
>> >
>> > Sorry. Old URL.
>> >
>> > New one is http://www.microsoft.com/downloads/details.aspx?FamilyID=3D=
ccdf728b-1ea0-48a8-a84a-5052214caad9&displaylang=3Den
>> >
>> >
>> > --
>> > -----
>> > Richard Quadling
>> > "Standing on the shoulders of some very clever
>> giants!"
>> > EE : http://www.experts-exchange.com/M_248814.html
>> > Zend Certified Engineer : http://zend.com/zce.php?c=3DZEND002498&r=3D2=
13474731
>> > ZOPA : http://uk.zopa.com/member/RQuadling
>> >
>>
>> BINGO! THANKS!!!
>>
>> Now I remember using this driver when I had 5.2.6 working
>> before.
>> Problem is, in the docs two files are mentioned but exist
>> nowhere on my PHP stuff.
>> php5ts.dll
>> php5.dll
>>
>> Maybe I need to go back up to 5.2.8 or 5.2.9 or 5.2.10!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>

Or even 5.3.0


--=20
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=3DZEND002498&r=3D213474=
731
ZOPA : http://uk.zopa.com/member/RQuadling

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: I retreated to 5.2.6 where everything worked for months...HELP!

am 04.09.2009 05:37:19 von Fred Silsbee

--- On Thu, 9/3/09, Richard Quadling wrote=
: > From: Richard Quadling =0A> Subject: Re:=
[PHP-WIN] Re: I retreated to 5.2.6 where everything worked for months...H=
ELP!=0A> To: "Fred Silsbee" =0A> Cc: php-windows@lis=
ts.php.net=0A> Date: Thursday, September 3, 2009, 8:50 PM=0A> 2009/9/3 Fred=
Silsbee :=0A> >=0A> >=0A> > --- On Thu, 9/3/09, Fre=
d Silsbee =0A> wrote:=0A> >=0A> >> From: Fred Silsbe=
e =0A> >> Subject: Re: [PHP-WIN] Re: I retreated to =
5.2.6=0A> where everything worked for =A0months...HELP!=0A> >> To: RQuadlin=
g@googlemail.com=0A> >> Date: Thursday, September 3, 2009, 3:44 PM=0A> >>=
=0A> >> --- On Thu, 9/3/09, Richard Quadling =0A>=
>> wrote:=0A> >>=0A> >> > From: Richard Quadling >=0A> >> > Subject: Re: [PHP-WIN] Re: I retreated to=0A> 5.2.6 where=0A> >>=
everything worked for=A0 months...HELP!=0A> >> > To: "Fred Silsbee" ilsbee@yahoo.com>=0A> >> > Date: Thursday, September 3, 2009, 8:34 AM=0A> >=
> > 2009/9/3 Richard Quadling :=0A> >> > > 2009/9=
/3 Fred Silsbee :=0A> >> > >> one remaining problem:=
=0A> >> > >>=0A> >> > >> Warning: mssql_connect()=0A> >> [function.mssql-co=
nnect]:=0A> >> > message: Login failed for user 'sa'.=0A> (severity 14) in=
=0A> >> > C:\Inetpub\wwwroot\handle_log_book_mssql.php=0A> on line=0A> >> 8=
=0A> >> > >>=0A> >> > >> Warning: mssql_connect()=0A> >> [function.mssql-co=
nnect]:=0A> >> > Unable to connect to server:=0A> LANDON\SQLEXPRESSLMKIII=
=0A> >> in=0A> >> > C:\Inetpub\wwwroot\handle_log_book_mssql.php=0A> on lin=
e=0A> >> 8=0A> >> > >> Something went wrong while=0A> connecting to=0A> >> =
MSSQL=0A> >> > >>=0A> >> > >> Found this in php.net search...did=0A> not he=
lp!=0A> >> > >> [13 Jan 9:19am UTC] bloodjazman at=0A> gmail dot=0A> >> com=
=0A> >> > >> Problem solved when change Default=0A> Language=0A> >> = >=
>> > English in properties SQL=0A> >> > >> Server Management Studio=0A> >>=
> >> [14 Jan 7:46am UTC] bloodjazman at=0A> gmail dot=0A> >> com=0A> >> > =
>> recomended check php.ini=0A> >> > >>=0A> >> > >> mssql.allow_persistent =
=3D On=0A> >> > >> mssql.compatability_mode =3D Off=0A> >> > >> mssql.min_e=
rror_severity =3D 10=0A> >> > >> mssql.min_message_severity =3D 10=0A> >> >=
>> mssql.secure_connection =3D Off=0A> >> > >>=0A> >> > >>=0A> >> > >>=0A>=
>> > >>=0A> >> > >> --- On Thu, 9/3/09, Fred Silsbee=0A> o.com>=0A> >> > wrote:=0A> >> > >>=0A> >> > >>> From: Fred Silsbee sbee@yahoo.com>=0A> >> > >>> Subject: Re: I retreated to=0A> 5.2.6 where=0A=
> >> > everything worked for months...HELP!=0A> >> > >>> To: php-windows@li=
sts.php.net=0A> >> > >>> Date: Thursday, September 3,=0A> 2009, 4:13=0A> >>=
AM=0A> >> > >>>=0A> >> > >>> new_black_scholes.php is now=0A> working but=
=0A> >> I=0A> >> > found a bug in=0A> >> > >>> IE8=0A> >> > >>>=0A> >> > >>=
> I deleted all history but had to=0A> reboot=0A> >> to=0A> >> > completely=
clear=0A> >> > >>> all files hidden in history temp=0A> files=0A> >> > >>>=
=0A> >> > >>> first I had to : (not sure if=0A> this did=0A> >> it!=0A> >> =
> >>> IIS: properties->home=0A> >> > >>>=0A> >> >=0A> directory->configurat=
ion  =A0C:\PHP\php5isapi.dll=0A> >> > >>> with GET,HOST,POST,DEBUG=0A> =
>> > >>>=0A> >> > >>> changed to:=0A> >> > >>> IIS: properties->home=0A> >>=
> >>>=0A> >> >=0A> directory->configuration  =A0C:\PHP\php5isapi.dll=
=0A> >> > >>> with ALL=0A> >> > >>>=0A> >> > >>> --- On Wed, 9/2/09, Fred S=
ilsbee=0A> =0A> >> > >>> wrote:=0A> >> > >>>=0A> >> =
> >>> > From: Fred Silsbee =0A> >> > >>> > Subject: =
I retreated to=0A> 5.2.6 where=0A> >> > everything worked=0A> >> > >>> for =
months...HELP!=0A> >> > >>> > To: php-windows@lists.php.net=0A> >> > >>> > =
Date: Wednesday, September=0A> 2, 2009,=0A> >> 2:59=0A> >> > AM=0A> >> > >>=
> > I tried 5.3 and found out=0A> it had no=0A> >> > >>> > php_mssql.=0A> >=
> > >>> > Then I retreated to=0A> 5.2.10.=0A> >> > >>> >=0A> >> > >>> > Try=
ing to get back to where=0A> I had=0A> >> > everything worked,=0A> >> > >>>=
I=0A> >> > >>> > downloaded 5.2.6:=0A> >> > >>> > (1) I uninstalled cgi 1.=
5=0A> >> > >>> > (2) php.ini  =A0has:=0A> >> > >>> >=0A> >> > >>> > ext=
ension_dir = > "C:\PHP\ext"=0A> >> > >>> > ; doc_root = > "C:\inetp=
ub\wwwroot"=0A> >> > >>> > commented out=0A> >> > >>> > doc_root = > >>=
> >>> >=0A> >> > >>> > ALL extensions are=0A> uncommented=0A> >> > >>> >=
=0A> >> > >>> > I only need:=0A> >> > >>> > extension=3Dphp_mssql.dll=0A> >=
> > >>> >=0A> >> > >>> > ; **You CAN safely turn=0A> this off for=0A> >> II=
S,=0A> >> > in fact,=0A> >> > >>> you=0A> >> > >>> > MUST.**=0A> >> > >>> >=
=A0 cgi.force_redirect =3D 0=0A> >> > >>> >=0A> >> > >>> > ntwdblib and php=
..ini moved=0A> to=0A> >> > >>> > C:\WINDOWS=0A> >> > >>> > C:\WINDOWS\syste=
m=0A> >> > >>> > C:\WINDOWS\system32=0A> >> > >>> >=0A> >> > >>> > IIS: pro=
perties->home=0A> >> > >>> >=0A> >> >=0A> directory->configuration  =A0=
C:\PHP\php5isapi.dll=0A> >> > >>> > with GET,HOST,POST,DEBUG=0A> >> > >>> >=
=0A> >> > >>> > I also tried:=0A> >> > >>> > php5ts.dll=0A> >> > >>> > phpn=
sapi.dll=0A> >> > >>> > only php5isapi.dll seemed=0A> to work!=0A> >> > >>>=
> added to XP Prof SP3 path:=0A> >> > ;C:\PHP;C:\PHP\ext=0A> >> > >>> >=0A=
> >> > >>> > also created (just in case)=0A> PHPRC=0A> >> > environment=0A>=
>> > >>> variable=0A> >> > >>> > (alongside path)=0A> >> > >>> > containin=
g=0A> C:\PHP;C:\PHP\ext=0A> >> > >>> >=0A> >> > >>> > I gave IUSR_LANDON al=
l=0A> powers=0A> >> > >>> >=0A> >> > >>> >=0A> >> >=0A> ___________________=
_____________________results=0A> >> > >>> > this works:http://207.254.225.2=
24:8080/phpinfo.php=0A> >> > >>> >=0A> >> > >>> > http://207.254.225.224:80=
80/new_black_scholes.php=0A> >> > >>> > initial display works until=0A> I=
=0A> >> select=0A> >> > "DEMO"...then:=0A> >> > >>> >=0A> >> > >>> > The pa=
ge cannot be=0A> displayed=0A> >> > >>> > There is a problem with a=0A> pro=
gram on=0A> >> the=0A> >> > page you are=0A> >> > >>> > trying to reach, an=
d the=0A> page cannot=0A> >> be=0A> >> > displayed.=0A> >> > >>> >=0A> >> >=
>>> > Here is=0A> new_black_scholes.php=0A> >> > >>> > >> > >>> =
> define( "ITMAX",100);=0A> >> > >>> > define( "EPS",3.0e-7);=0A> >> > >>> =
> =A0 =A0 // If the submit=0A> button has=0A> >> been=0A> >> > pressed=0A> =
>> > >>> >   =A0 $StockPrice = > $ExercisePrice=0A> >> = > >> >=
>>> $RiskFreeRateInterest=0A> >> > >>> > = > >> $InstantaneousVariance=
RateStocksReturn=0A> >> > =3D "";=0A> >> > >>> >     > $TimetoExpir=
ationOption = > >> > $ValueCallOption = > >> > >>> > $ValuePutOptio=
n = > $DeltaCalls=A0 = > >> > $DeltaPuts=A0 =3D "";=0A> >> > >>> >=
=0A> >> > >>> > =A0 =A0 if=0A> (isset($_POST['reset']))=0A> >> > >>> > =A0 =
=A0 {=0A> >> > >>> >=0A> >> > >>> >   =A0 $m_s =3D 100.;=0A> >> > >>> >=
  =A0 $m_e =3D 100.;=0A> >> > >>> >   =A0 $m_rf =3D .12;=0A> >> > =
>>> >   =A0 $m_sigma =3D .1;=0A> >> > >>> >   =A0 $m_time =3D 365.;=
=0A> >> > >>> >     > Black_Scholes_Main($m_s,=0A> >> $m_e,=0A> >> =
> $m_rf,=0A> >> > >>> > $m_sigma,$m_time, $m_c,=0A> $m_p,=0A> >> > $m_delta=
calls,=0A> >> > >>> $m_deltaputs);=0A> >> > >>> >   =A0 $StockPrice =3D=
$m_s;=0A> >> > >>> >   =A0 $ExercisePrice = > $m_e;=0A> >> > >>> >=
    > $RiskFreeRateInterest = > >> $m_rf;=0A> >> > >>> >=0A> >=
> > $InstantaneousVarianceRateStocksReturn = > >> > >>> $m_sigma;=0A> >=
> > >>> >     > $TimetoExpirationOption = > >> > $m_time;=0A> >=
> > >>> >   =A0 $ValueCallOption = > $m_c;=0A> >> > >>> >   =A0=
$ValuePutOption = > $m_p;=0A> >> > >>> >   =A0 $DeltaCalls = >=
$m_deltacalls;=0A> >> > >>> >   =A0 $DeltaPuts = > $m_deltaputs;=
=0A> >> > >>> > =A0 =A0 }=0A> >> > >>> > =A0 =A0 elseif=0A> >> (isset($_POS=
T['submit']))=0A> >> > >>> > =A0 =A0 {=0A> >> > >>> >   =A0 $m_s = =
> $_POST['StockPrice'];=0A> >> > >>> >   =A0 $m_e = > >> $_POST['Ex=
ercisePrice'];=0A> >> > >>> >   =A0 $m_rf = > >> > $_POST['RiskFree=
RateInterest'];=0A> >> > >>> >   =A0 $m_sigma = > >> > >>> >=0A> >>=
>=0A> $_POST['InstantaneousVarianceRateStocksReturn'];=0A> >> > >>> > =A0=
   $m_time = > >> > $_POST['TimetoExpirationOption'];=0A> >> > >>> =
>     > Black_Scholes_Main($m_s,=0A> >> $m_e,=0A> >> > $m_rf,=0A> >=
> > >>> > $m_sigma,$m_time, $m_c,=0A> $m_p,=0A> >> > $m_deltacalls,=0A> >> =
> >>> $m_deltaputs);=0A> >> > >>> >   =A0 $StockPrice =3D $m_s;=0A> >> =
> >>> >   =A0 $ExercisePrice = > $m_e;=0A> >> > >>> >     >=
$RiskFreeRateInterest = > >> $m_rf;=0A> >> > >>> >=0A> >> > $Instantan=
eousVarianceRateStocksReturn = > >> > >>> $m_sigma;=0A> >> > >>> > =A0=
  =0A> $TimetoExpirationOption = > >> > $m_time;=0A> >> > >>> > =A0=
   $ValueCallOption = > $m_c;=0A> >> > >>> >   =A0 $ValuePutOpt=
ion = > $m_p;=0A> >> > >>> >   =A0 $DeltaCalls = > $m_deltacall=
s;=0A> >> > >>> >   =A0 $DeltaPuts = > $m_deltaputs;=0A> >> > >>> >=
=A0 =A0 }=0A> >> > >>> > function=0A> Black_Scholes_Main($m_s,=0A> >> $m_e=
,=0A> >> > $m_rf,=0A> >> > >>> $m_sigma,=0A> >> > >>> > $m_time, &$m_c,=0A>=
&$m_p,=0A> >> > &$m_deltacalls,=0A> >> > >>> > &$m_deltaputs) {=0A> >> > >=
>> > =A0 =A0 =A0 =A0 $m_c = > >> black_scholes($m_s,=0A> >> > $m_e,=0A>=
>> > >>> $m_rf,=0A> >> > >>> > $m_sigma,=A0 $m_time/365.,=0A> $nd1,=0A> >>=
$nd2);=0A> >> > >>> > =A0 =A0 =A0 =A0 $m_p =3D $m_e /=0A> >> pow(1.+$m_rf,=
=0A> >> > $m_time/365.)=0A> >> > >>> -=0A> >> > >>> > $m_s + $m_c;=0A> >> >=
>>> > =A0 =A0 =A0 =A0 $m_deltacalls = > $nd1;=0A> >> > >>> > =A0 =A0 =
=A0 =A0 $m_deltaputs = > $nd1 -=0A> >> 1.;=0A> >> > >>> > }=0A> >> > >>=
> > function black_scholes(=0A> $s,=A0 $e,=0A> >> > $rf,=A0 $sigma,=0A> >> =
> >>> $time,=0A> >> > >>> > &$nd1, &$nd2) {=0A> >> > >>> > =A0 =A0 =A0 =A0 =
$num = > >> > >>> >=0A> >> log($s/$e)+$time*($rf+.5*$sigma*$sigma);=0A>=
>> > >>> > =A0 =A0 =A0 =A0 $d1 = > >> > $num/($sigma*sqrt($time));=0A>=
>> > >>> > =A0 =A0 =A0 =A0 $d2 =3D $d1 -=0A> >> > $sigma*sqrt($time);=0A> =
>> > >>> > =A0 =A0 =A0 =A0 $c = > $s*myerf($d1) - $e=0A> >> *=0A> >> > =
myerf($d2) *=0A> >> > >>> > exp(-$rf*$time);=0A> >> > >>> > =A0 =A0 =A0 =A0=
$nd1 = > myerf($d1);=0A> >> > >>> > =A0 =A0 =A0 =A0 $nd2 = > myerf=
($d2);=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 return $c;=0A> >> > >>=
> > }=0A> >> > >>> > function gammln($xx)=0A> >> > >>> > {=0A> >> > >>> >=
=0A> >> > >>> >=0A> >> >=0A> $cof=3Darray(76.18009173,-86.50532033,24.01409=
822,=0A> >> > >>> >=0A> >> > >>> >=0A> >> > -1.231739516,0.120858003e-2,-0.=
536382e-5);=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 $x=3D$xx-1.0;=0A>=
>> > >>> > =A0 =A0 =A0 =A0 $tmp=3D$x+5.5;=0A> >> > >>> > =A0 =A0 =A0 =A0 $=
tmp -= > >> ($x+0.5)*log($tmp);=0A> >> > >>> > =A0 =A0 =A0 =A0 $ser=3D1=
..0;=0A> >> > >>> > =A0 =A0 =A0 =A0 for=0A> ($j=3D0;$j<=3D5;$j++)=0A> >> {=
=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 $x=0A> +=3D 1.0;=0A> >> > >=
>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > $ser += > >> > $cof[$j]/$x;=0A=
> >> > >>> > =A0 =A0 =A0 =A0 }=0A> >> > >>> > =A0 =A0 =A0 =A0 return=0A> >>=
> -$tmp+log(2.50662827465*$ser);=0A> >> > >>> > }=0A> >> > >>> >=0A> >> > =
>>> > function gser(  > &$gamser,=0A> >> $a,=0A> >> > $x, &$gln)=0A> >>=
> >>> > {=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0   > $gln=3Dgammln(=
$a);=0A> >> > >>> > =A0 =A0 =A0 =A0 if ($x <= > 0.0) {=0A> >> > >>> > =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if=0A> ($x <=0A> >> 0.0)=0A> >> > echo "x l=
ess=0A> >> > >>> than=0A> >> > >>> > 0 in routine GSER";=0A> >> > >>> >=0A>=
>> $gamser=3D0.0;=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > retur=
n;=0A> >> > >>> > =A0 =A0 =A0 =A0 } else {=0A> >> > >>> > =A0 =A0 =A0 =A0 =
=A0 =A0 =A0   > $ap=3D$a;=0A> >> > >>> >=0A> >> $sum=3D1.0/$a;=0A> >> >=
>>> >   =A0   =A0 $del=3D$sum;=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =
=A0 =A0   > for=0A> >> > ($n=3D1;$n<=3DITMAX;$n++)=0A> >> > >>> {=0A> >=
> > >>> >=0A> >> $ap=0A> >> > +=3D 1.0;=0A> >> > >>> >=0A> >> $del=0A> >> >=
*=3D $x/$ap;=0A> >> > >>> >=0A> >> $sum=0A> >> > +=3D $del;=0A> >> > >>> >=
=0A> >> if=0A> >> > (abs($del)=0A> >> > >>> <=0A> >> > >>> > abs($sum)*EPS)=
{=0A> >> > >>> >=0A> >> > >>> >=0A> >> $gamser=3D$sum*exp(-$x+$a*log($x)-(=
$gln));=0A> >> > >>> >=0A> >> > >>> return;=0A> >> > >>> >=0A> >> }=0A> >> =
> >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 }=0A> >> > >>> > =A0 =A0 =A0 =A0 =
=A0 =A0 =A0   > echo "a=3D$a=0A> >> too=0A> >> > large, ITMAX = > >=
> > >>> > $itmax too small in routine=0A> GSER=0A> >> > >>> > ";=0A> >> > >=
>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > return;=0A> >> > >>> > =A0 =A0 =A0=
=A0 }=0A> >> > >>> > }=0A> >> > >>> >=0A> >> > >>> >=0A> >> > >>> > functi=
on gcf(=0A> >> > &$gammcf,$a,$x,&$gln)=0A> >> > >>> > {=0A> >> > >>> > =A0 =
=A0 =A0 =A0 $gold=3D0.0;=0A> >> > >>> > =A0 =A0 =A0 =A0 $fac=3D1.0;=0A> >> =
> >>> > =A0 =A0 =A0 =A0 $b1=3D1.0;=0A> >> > >>> > =A0 =A0 =A0 =A0 $b0=3D0.0=
;=0A> >> > >>> > =A0 =A0 =A0 =A0 $a0=3D1.0;=0A> >> > >>> >=0A> >> > >>> > =
=A0 =A0 =A0   > $gln=3Dgammln($a);=0A> >> > >>> > =A0 =A0 =A0 =A0 $a1=
=3D$x;=0A> >> > >>> > =A0 =A0 =A0 =A0 for=0A> >> ($n=3D1;$n<=3DITMAX;$n++)=
=0A> >> > {=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > $an=3D(doubl=
e)=0A> >> $n;=0A> >> > >>> >=0A> >> $ana=3D$an-$a;=0A> >> > >>> >=0A> >> > =
$a0=3D($a1+$a0*$ana)*$fac;=0A> >> > >>> >=0A> >> > $b0=3D($b1+$b0*$ana)*$fa=
c;=0A> >> > >>> >=0A> >> $anf=3D$an*$fac;=0A> >> > >>> >=0A> >> > $a1=3D$x*=
$a0+$anf*$a1;=0A> >> > >>> >=0A> >> > $b1=3D$x*$b0+$anf*$b1;=0A> >> > >>> >=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if=0A> ($a1) {=0A> >> > >>> >=0A> >> > $fa=
c=3D1.0/$a1;=0A> >> > >>> >=0A> >> > $g=3D$b1*$fac;=0A> >> > >>> >=0A> >> i=
f=0A> >> > >>> (abs(($g-$gold)/$g)=0A> >> > >>> > < EPS) {=0A> >> > >>> >=
=0A> >> > >>> >=0A> >> $gammcf=3Dexp(-$x+$a*log($x)-($gln))*$g;=0A> >> > >>=
> >=0A> >> > >>> return;=0A> >> > >>> >=0A> >> }=0A> >> > >>> >=0A> >> > $g=
old=3D$g;=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 }=0A> >> > >>> > =
=A0 =A0 =A0 =A0 }=0A> >> > >>> > =A0 =A0 =A0 =A0 echo "a too=0A> large, ITM=
AX=0A> >> too=0A> >> > small in=0A> >> > >>> routine=0A> >> > >>> > GCF=0A>=
>> > >>> > ";=0A> >> > >>> > }=0A> >> > >>> > function gammp($a,$x)=0A> >>=
> >>> > {=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 if ($x < 0.0=0A> |=
| $a=0A> >> <= > >> > 0.0) {=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0=
  > echo=0A> >> "Invalid=0A> >> > arguments in=0A> >> > >>> routine=0A=
> >> > >>> > GAMMP=0A> >> > >>> > ";=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =A0=
=A0   > return 0.;=0A> >> > >>> > =A0 =A0 =A0 =A0 }=0A> >> > >>> > =A0=
=A0 =A0 =A0 if ($x <=0A> ($a+1.0)) {=0A> >> > >>> >=0A> >> > gser($gamser,=
$a,$x,$gln);=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > return=0A> =
>> $gamser;=0A> >> > >>> > =A0 =A0 =A0 =A0 } else {=0A> >> > >>> >=0A> >> >=
gcf($gammcf,$a,$x,$gln);=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   =
> return=0A> >> > 1.0-$gammcf;=0A> >> > >>> > =A0 =A0 =A0 =A0 }=0A> >> > >>=
> > }=0A> >> > >>> >=0A> >> > >>> > function gammq($a,$x)=0A> >> > >>> > {=
=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 if ($x < 0.0=0A> || $a=0A> >=
> <= > >> > 0.0) echo=0A> >> > >>> "Invalid=0A> >> > >>> > arguments in=
routine GAMMQ=0A> >> > >>> > ";=0A> >> > >>> > =A0 =A0 =A0 =A0 if ($x <=0A=
> ($a+1.0)) {=0A> >> > >>> >=0A> >> > gser($gamser,$a,$x,$gln);=0A> >> > >>=
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > return=0A> >> > 1.0-$gamser;=0A> >>=
> >>> > =A0 =A0 =A0 =A0 } else {=0A> >> > >>> >=0A> >> > gcf($gammcf,$a,$x=
,$gln);=0A> >> > >>> > =A0 =A0 =A0 =A0 =A0 =A0 =A0   > return=0A> >> $g=
ammcf;=0A> >> > >>> > =A0 =A0 =A0 =A0 }=0A> >> > >>> > }=0A> >> > >>> > fun=
ction erfc($x)=0A> >> > >>> > {=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =
=A0 return $x <=0A> 0.0 ?=0A> >> > 1.0+gammp(0.5,$x*$x)=0A> >> > >>> :=0A> =
>> > >>> > gammq(0.5,$x*$x);=0A> >> > >>> > }=0A> >> > >>> > function erf($=
x)=0A> >> > >>> > {=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 return $x=
<=0A> 0.0 ?=0A> >> > -gammp(0.5,$x*$x) :=0A> >> > >>> > gammp(0.5,$x*$x);=
=0A> >> > >>> > }=0A> >> > >>> > function myerf($argin) {=0A> >> > >>> > =
=A0 =A0   =A0return=0A> >> > .5*(1.+erf($argin/sqrt(2.0)));=0A> >> > >>=
> > }=0A> >> > >>> >=0A> >> > >>> > ?>=0A> >> > >>> >=0A> >> > >>> > =0A> >> action=3D"new_black_scholes.php"=0A> >> > >>> method=3D"post">=0A> =
>> > >>> > =A0 =A0

=0A> >> > >>> > =A0 =A0 =A0 =A0 Black Scholes=0A> Opt=
ion=0A> >> Price=0A> >> > Calculator:=0A> >> > >>> >=0A> >> > >>> > =A0 =A0=
=A0 =A0   =A0 temp=0A> website=0A> >> under=0A> >> > Redhat Fedora 9=
=0A> >> > >>> > Linux:=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0   =
=A0 the=0A> first 5=0A> >> boxes=0A> >> > require input(try=0A> >> > >>> 10=
0.=0A> >> > >>> > 100. .12 .1 365.):=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =

=0A> >> > >>> > =A0 =A0

=0A> >> > >>> > =A0 =A0 =A0 =A0 StockPrice=
=0A> (required):=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 t=
ype=3D"text"=0A> >> > size=3D"20"=0A> >> > >>> maxlength=3D"40"=0A> >> > >>=
> > name=3D"StockPrice"=0A> >> > >>> >   =A0     > value=3D" hp echo=0A> >> > $StockPrice;=0A> >> > >>> > ?>" />=0A> >> > >>> > =A0 =A0 =

=0A> >> > >>> > =A0 =A0

=0A> >> > >>> > =A0 =A0 =A0 =A0 ExercisePric=
e=0A> >> (required):=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 =0A> type=3D"text"=0A> >> > size=3D"20"=0A> >> > >>> maxlength=3D"40"=0A> >=
> > >>> > name=3D"ExercisePrice"=0A> >> > >>> >   =A0     > val=
ue=3D" >> > $ExercisePrice;=0A> >> > >>> ?>"=0A> >> > >>> > /=
>=0A> >> > >>> >

=0A> >> > >>> > =A0 =A0

=0A> >> > >>> > =A0 =A0 =A0=
=A0 Risk Free Rate=0A> of=0A> >> > Interest(required):=0A> >> > >>> >=0A> =
>> > >>> > =A0 =A0 =A0 =A0 type=3D"text"=0A> >> > size=3D"20"=0A=
> >> > >>> maxlength=3D"40"=0A> >> > >>> >=0A> name=3D"RiskFreeRateInterest=
"=0A> >> > >>> >   =A0     > value=3D" >> > >>> $=
RiskFreeRateInterest;=0A> >> > >>> > ?>" />=0A> >> > >>> > =A0 =A0

=0A>=
>> > >>> > =A0 =A0

=0A> >> > >>> > =A0 =A0 =A0 =A0 Instantaneous=0A> Va=
riance=0A> >> Rate=0A> >> > of Stock's=0A> >> > >>> Return=0A> >> > >>> > (=
required):=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 type=3D=
"text"=0A> >> > size=3D"20"=0A> >> > >>> maxlength=3D"40"=0A> >> > >>> >=0A=
> >> > name=3D"InstantaneousVarianceRateStocksReturn"=0A> >> > >>> >   =
=A0     > value=3D" >> > >>> >=0A> >> $InstantaneousV=
arianceRateStocksReturn;=0A> >> > ?>" />=0A> >> > >>> >

=0A> >> > >>> >=
=A0 =A0

=0A> >> > >>> > =A0 =A0 =A0 =A0 Time to=0A> Expiration of=0A> >=
> the=0A> >> > Option(days)=0A> >> > >>> > (required):=0A> >> > >>> >=0A> >=
> > >>> > =A0 =A0 =A0 =A0 type=3D"text"=0A> >> > size=3D"20"=0A>=
>> > >>> maxlength=3D"40"=0A> >> > >>> >=0A> name=3D"TimetoExpirationOptio=
n"=0A> >> > >>> >   =A0     > value=3D" >> > >>> =
$TimetoExpirationOption;=0A> >> > >>> > ?>" />=0A> >> > >>> >

=0A> >> >=
>>> > =A0 =A0

=0A> >> > >>> > =A0 =A0 =A0 =A0 Values of the=0A> Call=0A=
> >> Option :=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 type=
=3D"text"=0A> >> > size=3D"20"=0A> >> > >>> > maxlength=3D"40"=0A> >> name=
=3D"ValueCallOption"=0A> >> > >>> >=0A> >> VALUE=3D" >> > echo=0A>=
>> > >>> $ValueCallOption;=0A> >> > >>> > ?>" />=0A> >> > >>> >

=0A> >=
> > >>> >

=0A> >> > >>> > =A0 =A0

=0A> >> > >>> > =A0 =A0 =A0 =A0 Va=
lues of the=0A> Put option=0A> >> :=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =
=A0 =A0 type=3D"text"=0A> >> > size=3D"20"=0A> >> > >>> > maxlen=
gth=3D"40"=0A> >> name=3D"ValuePutOption"=0A> >> > >>> >=0A> >> VALUE=3D" php=0A> >> > echo=0A> >> > >>> $ValuePutOption;=0A> >> > >>> > ?>" />=0A> >=
> > >>> >

=0A> >> > >>> > =A0 =A0

=0A> >> > >>> > =A0 =A0 =A0 =A0 De=
lta(calls):=0A> >> > >>> >=0A> >> > >>> > =A0 =A0 =A0 =A0 type=
=3D"text"=0A> >> > size=3D"20"=0A> >> > >>> > maxlength=3D"40"  > name=
=3D"DeltaCalls"=0A> >> > >>> >=0A> >> VALUE=3D" >> > echo=0A> >> >=
>>> $DeltaCalls;=0A> >> > >>> > ?>" />=0A> >> > >>> >

=0A> >> > >>> > =
=A0 =A0

=0A> >> > >>> > =A0 =A0 =A0 =A0 Delta(puts):=0A> >> > >>> >=0A> =
>> > >>> > =A0 =A0 =A0 =A0 type=3D"text"=0A> >> > size=3D"20"=0A=
> >> > >>> > maxlength=3D"40"  > name=3D"DeltaPuts"=0A> >> > >>> > =A0=
     =A0     > VALUE=3D" >> echo=0A> >> > $DeltaPu=
ts;=0A> >> > >>> > ?>" />=0A> >> > >>> >

=0A> >> > >>> > =A0 =A0 n=0A> type=3D"submit" name=0A> >> = > >> > "submit"=0A> >> > >>> > valu=
e=3D"Calculate!"=0A> >> > >>> >   =A0 style=3D"color:maroon=0A> >> font=
:18pt=0A> >> > Courier;=0A> >> > >>> > font-weight:bold=0A> ">Calculate=0A>=
>> > >>> > =A0 =A0 =0A> >> > >>> > =A0 =A0 type=3D"su=
bmit" name=0A> >> = > >> > "reset"=0A> >> > >>> > value=3D"Demo!"=0A> >=
> > >>> >   =A0 style=3D"color:red=0A> font:18pt=0A> >> > Courier;=0A> =
>> > >>> font-weight:bold=0A> >> > >>> > ">Demo=0A> >> > >>> > =A0 =A0 tton>=0A> >> > >>> > =0A> >> > >>> >=0A> >> > >>> >=0A> >> > >>>=0A>=
>> >=0A> >>=0A> _________________________________________________________r=
esults=0A> >> > >>> >=0A> >> > >>> > Please try the following:=0A> >> > >>>=
>=0A> >> > >>> > Open the=0A> 207.254.225.224:8080 home=0A> >> page,=0A> >=
> > and then look=0A> >> > >>> for=0A> >> > >>> > links to the information=
=0A> you want.=0A> >> > >>> > Click the Refresh button,=0A> or try=0A> >> a=
gain=0A> >> > later.=0A> >> > >>> >=0A> >> > >>> > HTTP 403.1 Forbidden:=0A=
> Execute=0A> >> Access=0A> >> > Forbidden=0A> >> > >>> > Internet Informat=
ion=0A> Services=0A> >> > >>> >=0A> >> > >>> >=0A> >> > >>>=0A> >> >=0A> >>=
=0A> ------------------------------------------------------------ ----------=
----------=0A> >> > >>> >=0A> >> > >>> > Technical Information (for=0A> sup=
port=0A> >> > personnel)=0A> >> > >>> >=0A> >> > >>> >=0A> >> > >>> > Backg=
round:=0A> >> > >>> > You have attempted to=0A> execute a=0A> >> CGI,=0A> >=
> > ISAPI, or other=0A> >> > >>> > executable program from a=0A> directory=
=0A> >> that=0A> >> > does not=0A> >> > >>> allow=0A> >> > >>> > programs t=
o be executed.=0A> >> > >>> >=0A> >> > >>> >=0A> >> > >>> > More informatio=
n:=0A> >> > >>> > Microsoft Support=0A> >> > >>> >=0A> >> > _______________=
_____________________________=0A> >> > >>> > http://207.254.225.224:8080/ha=
ndle_log_book_mssql.php=0A> >> > >>> > yields:=0A> >> > >>> >=0A> >> > >>> =
> Warning: mssql_connect()=0A> >> > [function.mssql-connect]:=0A> >> > >>> =
Unable=0A> >> > >>> > to connect to server:=0A> >> > LANDON\SQLEXPRESSLMKII=
I in=0A> >> > >>> >=0A> >> > C:\Inetpub\wwwroot\handle_log_book_mssql.php=
=0A> on line=0A> >> > >>> 8=0A> >> > >>> > (mssql_connect(...)=0A> >> > >>>=
> Something went wrong while=0A> >> connecting to=0A> >> > MSSQL (my=0A> >=
> > >>> > message)=0A> >> > >>> >=0A> >> > >>>=0A> >> >=0A> >>=0A> ________=
_______________________________________________=0A> >> > >>> > all these wo=
rked before=0A> trying 5.3=0A> >> > >>> >=0A> >> > >>> >=0A> >> > >>> >=0A>=
>> > >>> >=0A> >> > >>> >=0A> >> > >>> >=0A> >> > >>> >=0A> >> > >>>=0A> >=
> > >>>=0A> >> > >>>=0A> >> > >>>=0A> >> > >>=0A> >> > >>=0A> >> > >>=0A> >=
> > >>=0A> >> > >> --=0A> >> > >> PHP Windows Mailing List (http://www.php.=
net/)=0A> >> > >> To unsubscribe, visit: http://www.php.net/unsub.php=0A> >=
> > >>=0A> >> > >>=0A> >> > >=0A> >> > > The mssql extension is reliant on =
an=0A> unsupported=0A> >> and=0A> >> > ancient ntwdblib.dll.=0A> >> > >=0A>=
>> > > Your upgrade options are :=0A> >> > >=0A> >> > > ODBC / PDO_ODBC wi=
th the SQL Native=0A> Client=0A> >> > > or=0A> >> > > php_sqlsvr.dll - the =
new MS SQL Server=0A> extension=0A> >> from=0A> >> > Microsoft=0A> >> > > h=
ttp://www.microsoft.com/sqlserver/2005/en/us/PHP-Driver.aspx =0A> >> > >=0A>=
>> > >=0A> >> > > --=0A> >> > > -----=0A> >> > > Richard Quadling=0A> >> >=
> "Standing on the shoulders of some very=0A> clever=0A> >> > giants!"=0A>=
>> > > EE : http://www.experts-exchange.com/M_248814.html=0A> >> > > Zend =
Certified Engineer : http://zend.com/zce.php?c=3DZEND002498&r=3D213474731=
=0A> >> > > ZOPA : http://uk.zopa.com/member/RQuadling=0A> >> > >=0A> >> >=
=0A> >> > Sorry. Old URL.=0A> >> >=0A> >> > New one is http://www.microsoft=
..com/downloads/details.aspx?FamilyID=3Dccdf728b-1ea0-48a8-a 84a-5052214caad9=
&displaylang=3Den=0A> >> >=0A> >> >=0A> >> > --=0A> >> > -----=0A> >> > Ric=
hard Quadling=0A> >> > "Standing on the shoulders of some very=0A> clever=
=0A> >> giants!"=0A> >> > EE : http://www.experts-exchange.com/M_248814.htm=
l=0A> >> > Zend Certified Engineer : http://zend.com/zce.php?c=3DZEND002498=
&r=3D213474731=0A> >> > ZOPA : http://uk.zopa.com/member/RQuadling=0A> >> >=
=0A> >>=0A> >> BINGO! THANKS!!!=0A> >>=0A> >> Now I remember using this dri=
ver when I had 5.2.6=0A> working=0A> >> before.=0A> >> Problem is, in the d=
ocs two files are mentioned=0A> but exist=0A> >> nowhere on my PHP stuff.=
=0A> >> php5ts.dll=0A> >> php5.dll=0A> >>=0A> >> Maybe I need to go back up=
to 5.2.8 or 5.2.9 or=0A> 5.2.10!=0A> >>=0A> >>=0A> >>=0A> >>=0A> >>=0A> >>=
=0A> >>=0A> >>=0A> >>=0A> >>=0A> >>=0A> >=0A> >=0A> >=0A> >=0A> =0A> Or eve=
n 5.3.0=0A> =0A> =0A> -- =0A> -----=0A> Richard Quadling=0A> "Standing on t=
he shoulders of some very clever giants!"=0A> EE : http://www.experts-excha=
nge.com/M_248814.html=0A> Zend Certified Engineer : http://zend.com/zce.php=
?c=3DZEND002498&r=3D213474731=0A> ZOPA : http://uk.zopa.com/member/RQuadlin=
g=0A> HMMM! That thought crossed my mind...thanks believe I will=0A=


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php