php-windows Digest 3 Jul 2003 17:03:55 -0000 Issue 1807

Topics (messages 20664 through 20672):

ASSISTANCE NEEDED
        20664 by: MARIAM ABACHA
        20667 by: Louis

Re: MSSQL HELP
        20665 by: Svensson, B.A.T. (HKG)

Re: Connect Active Directory using LDAP... please help :)
        20666 by: sven
        20672 by: Vince C

Re: got linear algebra?
        20668 by: Step Schwarz

Re: include within html
        20669 by: Luis Moreira
        20670 by: Stephen
        20671 by: Luis Moreira

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hello,
I am sorry for the embarrassment this letter might cause you as we have not had any 
correspondence before this letter. I got your address through my nephew   with 
Nigerian Military Chamber of Commerce industry and Mining during my research for a 
reliable and trustworthy partner who l can do business with though l did not disclose 
the nature of the business l intend to do with whoever he recommend for me.
I am DR. MRS MARIAM ABACHA, wife of the late Nigeria Head of State, General Sanni 
Abacha who died on the 8th of June 1998 while still on active duty. I am contacting 
you in view of the fact that we will be of great assistance to each other likeness 
developing a cordial relationship.
I currently have within my reach the sum of Twenty - Five Million US Dollars 
(US$25,000,000.00) cash which l intends to use for investment, like Real Estate 
Development specifically in your country. This money came as a payback contract deal 
between my late husband and a Russian Firm on our countries Multi-billion dollars 
Ajaokuta Steel Plant.
The Russian Partners returned my husband's Share of USD$25,000,000.00 after the death 
of my husband and Lodged in my husband's Security Company of which l am director right 
now, the new Civilian Government have intensified their probe on my husband? Financial 
and oil company. In view of these, l acted fast to withdraw the US$25,000,000.00 from 
the company vault and deposited it in a Security Company. I have since declared the 
Security Company bankrupt. No record ever existed concerning the money traceable by 
the government because there is no documentation showing that we received the money 
from the Russian.
Due to the current situation in the country concerning government attitude towards my 
family, it has become quite impossible for me to make use of this money within. Let me 
refer you to the front page of this day newspapers of 10th March 2001. You can check 
it through their website www.thisdayonline.com the present government in Nigeria had 
frozen and seized all our bank accounts both here in Nigeria and abroad.Thus consent l 
shall expect you to contact me urgently to enable us discuss in detail about this 
transaction.Bearing in mind that your assistance is needed to transfer this fund, I 
proposed a percentage of 30% of the total sum to you for the expected service and 
assistance, 5% for offsetting minor expenses incurred in the  course of this 
transaction. Your urgent response is highly needed as to stop further contacts. All 
correspondence must be by the email address [EMAIL PROTECTED]  I will give you my Tel 
numbers where you can contact me when I hear from you.
I must use this opportunity to implore you to exercise the utmost indulgence to keep 
this matter extraordinarily confidential whatever your decision while await your 
prompt response.
NB: Because of the security being mounted on the members of my family, l has decided 
that this transaction exist between you and my nephew Dr. Azeez Bello. Remember to 
include your private Tel/fax or mobile number for easy communication.
Best Regards.
DR. (MRS) MARIAM ABACHA
  

--- End Message ---
--- Begin Message ---
How the hell did this get added to the PHP list :O. Spam, junk u name it,
thats just what this is


"Mariam Abacha" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello,
I am sorry for the embarrassment this letter might cause you as we have not
had any correspondence before this letter. I got your address through my
nephew   with Nigerian Military Chamber of Commerce industry and Mining
during my research for a reliable and trustworthy partner who l can do
business with though l did not disclose the nature of the business l intend
to do with whoever he recommend for me.
I am DR. MRS MARIAM ABACHA, wife of the late Nigeria Head of State, General
Sanni Abacha who died on the 8th of June 1998 while still on active duty. I
am contacting you in view of the fact that we will be of great assistance to
each other likeness developing a cordial relationship.
I currently have within my reach the sum of Twenty - Five Million US Dollars
(US$25,000,000.00) cash which l intends to use for investment, like Real
Estate Development specifically in your country. This money came as a
payback contract deal between my late husband and a Russian Firm on our
countries Multi-billion dollars Ajaokuta Steel Plant.
The Russian Partners returned my husband's Share of USD$25,000,000.00 after
the death of my husband and Lodged in my husband's Security Company of which
l am director right now, the new Civilian Government have intensified their
probe on my husband? Financial and oil company. In view of these, l acted
fast to withdraw the US$25,000,000.00 from the company vault and deposited
it in a Security Company. I have since declared the Security Company
bankrupt. No record ever existed concerning the money traceable by the
government because there is no documentation showing that we received the
money from the Russian.
Due to the current situation in the country concerning government attitude
towards my family, it has become quite impossible for me to make use of this
money within. Let me refer you to the front page of this day newspapers of
10th March 2001. You can check it through their website
www.thisdayonline.com the present government in Nigeria had frozen and
seized all our bank accounts both here in Nigeria and abroad.Thus consent l
shall expect you to contact me urgently to enable us discuss in detail about
this transaction.Bearing in mind that your assistance is needed to transfer
this fund, I proposed a percentage of 30% of the total sum to you for the
expected service and assistance, 5% for offsetting minor expenses incurred
in the  course of this transaction. Your urgent response is highly needed as
to stop further contacts. All correspondence must be by the email address
[EMAIL PROTECTED]  I will give you my Tel numbers where you can
contact me when I hear from you.
I must use this opportunity to implore you to exercise the utmost indulgence
to keep this matter extraordinarily confidential whatever your decision
while await your prompt response.
NB: Because of the security being mounted on the members of my family, l has
decided that this transaction exist between you and my nephew Dr. Azeez
Bello. Remember to include your private Tel/fax or mobile number for easy
communication.
Best Regards.
DR. (MRS) MARIAM ABACHA



--- End Message ---
--- Begin Message ---
There are two ways. In MS SQL server 7.0 you can do SELECT TOP <#> ....

If you are on 6.5, then you need to do set the row count
environ variable, e.g something like "set rowcount <#>"

-----Original Message-----
From: disko_kex
To: [EMAIL PROTECTED]
Sent: 2003-07-02 19:20
Subject: [PHP-WIN] MSSQL HELP

In MySQL is easy to page with LIMIT but it doesnt work with MSSQL. So
how do I make it page in MSSQL?
 

--- End Message ---
--- Begin Message ---
hi vince,

Vince C wrote:
> <?php
> $ldaphost= "company.com";
>
> if(!($ldap = ldap_connect($ldaphost,389))){
>  die("ldap server cannot be reached");
> } else {
>  $oudc = " dc=company, dc=com";
>  $dn2 = "";
>  $password = "";

did you define your user and password? afaik win ad isn't searchable by
anonymous.
ciao SVEN

>  echo "<p>Connected and ready to bind...";
>  if (!($res = @ldap_bind($ldap, $dn2, $password))) {
>   print(ldap_error($ldap) . "<BR>");
>   die ("Could not bind the $dn2");
>   echo "<p>Couldn't bind ....";
>  } else {
>   echo "<p>Binded and Ready to search....";
>   echo "<br>LDAP = $ldap";
>   echo "<br>oudc = $oudc";
>
>  //
>  $filter="(&(objectClass=user)(objectCategory=person)(|(sn=sorg)))";
>   $filter= "sn=*"; $sr=ldap_search($ldap,$oudc,$filter);
>   echo "<p>number of entries found: " . ldap_count_entries($ldap,
> $sr) . "<p>";
>   echo "<br>filter = $filter";
>   echo "<br>sr=$sr";
>
>   if (!$sr) {
>    die("<p>search failed\n");
>   } else {
>    echo "<p> Searched and ready for get entries.....";
>    $info= ldap_get_entries($ldap, $sr);
>
>    for ($i=0; $i<$info["count"]; $i++) {
>     print ("<TR>");
>     print ("<TD width=15%>" . $info[$i]["cn"][0] . " " .
> $info[$i]["sn"][0] . "</TD>");
>     print ("<TD width=85%>" . $info[$i]["mail"][0] . "</TD>");
>     print ("</TR>");
>     print "<br>In the display FOR loop";
>    }
>    echo "<br> After loop.....";
>   }
>  }
>  ldap_unbind($ldap);
>  echo "<p>LDAP unbinded....";
> }



--- End Message ---
--- Begin Message ---
Hi Sven,

I have tried to put the my login username in that place. But it showed
"Invalid Credental". Since I am new to this AD and LDAP, would it be the
format of my username? Should I just put my login username, or should I put
the whole bunch of line such as "CN=my name, DN=xxxx" something like this? I
really confuse the login format of this and so does "objectClass" stuff for
filter. Could you give me an idea? Do you know any web site that talk about
this ? Thank you very much!

Vince

"Sven" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi vince,
>
> Vince C wrote:
> > <?php
> > $ldaphost= "company.com";
> >
> > if(!($ldap = ldap_connect($ldaphost,389))){
> >  die("ldap server cannot be reached");
> > } else {
> >  $oudc = " dc=company, dc=com";
> >  $dn2 = "";
> >  $password = "";
>
> did you define your user and password? afaik win ad isn't searchable by
> anonymous.
> ciao SVEN
>
> >  echo "<p>Connected and ready to bind...";
> >  if (!($res = @ldap_bind($ldap, $dn2, $password))) {
> >   print(ldap_error($ldap) . "<BR>");
> >   die ("Could not bind the $dn2");
> >   echo "<p>Couldn't bind ....";
> >  } else {
> >   echo "<p>Binded and Ready to search....";
> >   echo "<br>LDAP = $ldap";
> >   echo "<br>oudc = $oudc";
> >
> >  //
> >  $filter="(&(objectClass=user)(objectCategory=person)(|(sn=sorg)))";
> >   $filter= "sn=*"; $sr=ldap_search($ldap,$oudc,$filter);
> >   echo "<p>number of entries found: " . ldap_count_entries($ldap,
> > $sr) . "<p>";
> >   echo "<br>filter = $filter";
> >   echo "<br>sr=$sr";
> >
> >   if (!$sr) {
> >    die("<p>search failed\n");
> >   } else {
> >    echo "<p> Searched and ready for get entries.....";
> >    $info= ldap_get_entries($ldap, $sr);
> >
> >    for ($i=0; $i<$info["count"]; $i++) {
> >     print ("<TR>");
> >     print ("<TD width=15%>" . $info[$i]["cn"][0] . " " .
> > $info[$i]["sn"][0] . "</TD>");
> >     print ("<TD width=85%>" . $info[$i]["mail"][0] . "</TD>");
> >     print ("</TR>");
> >     print "<br>In the display FOR loop";
> >    }
> >    echo "<br> After loop.....";
> >   }
> >  }
> >  ldap_unbind($ldap);
> >  echo "<p>LDAP unbinded....";
> > }
>
>



--- End Message ---
--- Begin Message ---
> Hello everybody,
> I'm looking for a linear algebra "package" for PHP.  I've seen some
> classes on the websites for simple matrix arithmetic, but I'm looking
> for something along the lines of PDL for Perl.
> 
> Many thanks,
> Edgar Hassler

Hey Edgar, how's it going?

You may want to ask this question over at http://www.phpmath.com/ since
nobody chimed in with a quick answer for you..

Good luck! -Step


--- End Message ---
--- Begin Message ---
Never mind
  ----- Original Message ----- 
  From: Luis Moreira 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, July 03, 2003 3:09 PM
  Subject: include within html


  Hi

      A simple (?) question :

      When doing this 

  <html>
  <body>
  <?php
       include 'setup_vars.php';
  ...

      the whole of SETUP_VARS.php is written to the screen, instead of bieng executed.
      
      What am I doing wrong ?


  Thanks
  Luis

   

--- End Message ---
--- Begin Message ---
Luis,

Hmm I don't seem to have recieved your original email... However, for the
record, you need to put php tags ( <?php and php?> ) into the include file
if you want it executed!

Stephen

----- Original Message ----- 
From: "Luis Moreira" <[EMAIL PROTECTED]>
To: "Luis Moreira" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 03, 2003 4:30 PM
Subject: [PHP-WIN] Re: include within html


Never mind
  ----- Original Message ----- 
  From: Luis Moreira
  To: [EMAIL PROTECTED]
  Sent: Thursday, July 03, 2003 3:09 PM
  Subject: include within html


  Hi

      A simple (?) question :

      When doing this

  <html>
  <body>
  <?php
       include 'setup_vars.php';
  ...

      the whole of SETUP_VARS.php is written to the screen, instead of bieng
executed.

      What am I doing wrong ?


  Thanks
  Luis




--- End Message ---
--- Begin Message ---
Hi
 
    A simple (?) question :
 
    When doing this
 
<html>
<body>
<?php
     include 'setup_vars.php';
...
 
    the whole of SETUP_VARS.php is written to the screen, instead of bieng executed.
   
    What am I doing wrong ?
 
 
Thanks
Luis

 

--- End Message ---

Reply via email to