php-windows Digest 29 Nov 2001 00:52:52 -0000 Issue 876

Topics (messages 10625 through 10645):

binary
        10625 by: FPU.WHITES1.FRIENDSPROVIDENT.CO.UK
        10626 by: Brian Feliciano
        10627 by: FPU.WHITES1.FRIENDSPROVIDENT.CO.UK
        10630 by: David Tod Sigafoos
        10631 by: Svensson, B.A.T. (HKG)
        10636 by: Tim Foster

Getting form results and adding them to a htm file
        10628 by: Todd Williamsen

Cincinatti Developers?
        10629 by: Erik H. Mathy

Re: How to use the Object returned from COM?
        10632 by: Flower Rose
        10643 by: Flower Rose

IMPORTANT FOR YOU
        10633 by: Zeynab

REMOVE  :::IMPORTANT FOR YOU
        10634 by: Corn Vollney-R7019C
        10635 by: Steven Moshier - Information Technology

Website Check using PHP
        10637 by: Steven Moshier - Information Technology
        10638 by: Ross Fleming
        10639 by: Steven Moshier - Information Technology

Compiling extensions on win32
        10640 by: Krokovay Károly

Re: Adding a cc to a PHP mail script...
        10641 by: Mike Flynn

Re: upload image
        10642 by: Mike Flynn

Re: IIS + PHP + Network Drive = CGI Error (why?)
        10644 by: Norm Russell

Recommendations for websites and books
        10645 by: Todd Williamsen

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 ---
--- Received from FPU.WHITES1 799 3703                       28-11-01 11:49

  -> [EMAIL PROTECTED]
  -> [EMAIL PROTECTED]

Use the BLOB datatype.  You have to do a bit of work in uploading and
downloading and the current effective maximum size (due to the data packet
limit in the transaction) is something like 16MB.

-Steve

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

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed, 28 Nov 2001 19:06:54 +0800
Subject: [PHP-WIN] binary

can MySql can hold a binary data? is it possible to upload an image "inside"
the database?

i want to upload an image, but i don't want it to be a file, i want it to be
a data in my database. is there a way i can deconstruct the image and place
it in the database and then retrieve and reconstruct it again?

i just don't if it's possible. thanks.



--
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.
--- End Message ---
--- Begin Message ---
how??


> --- Received from FPU.WHITES1 799 3703                       28-11-01
11:49
>
>   -> [EMAIL PROTECTED]
>   -> [EMAIL PROTECTED]
>
> Use the BLOB datatype.  You have to do a bit of work in uploading and
> downloading and the current effective maximum size (due to the data packet
> limit in the transaction) is something like 16MB.
>
> -Steve
>
> --------------------------------------------------------------------------
--
>
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Wed, 28 Nov 2001 19:06:54 +0800
> Subject: [PHP-WIN] binary
>
> can MySql can hold a binary data? is it possible to upload an image
"inside"
> the database?
>
> i want to upload an image, but i don't want it to be a file, i want it to
be
> a data in my database. is there a way i can deconstruct the image and
place
> it in the database and then retrieve and reconstruct it again?
>
> i just don't if it's possible. thanks.
>
>
>
> --
> 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.
>


--- End Message ---
--- Begin Message ---
--- Received from FPU.WHITES1 799 3703                       28-11-01 12:35

  -> [EMAIL PROTECTED]
  -> [EMAIL PROTECTED]

>>how??

What a polite way of asking for further information.

http://www.mysql.com/doc/S/t/String_functions.html (Ref:LOAD_FILE)
http://www.zend.com/zend/trick/tricks-sept-2001.php#_Fetching_files_from

uuencode/decode/base64 with standard insert also do the trick.

-Steve

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

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed, 28 Nov 2001 20:20:53 +0800
Subject: Re: [PHP-WIN] binary

how??


> --- Received from FPU.WHITES1 799 3703                       28-11-01
11:49

>   -> [EMAIL PROTECTED]
>   -> [EMAIL PROTECTED]

> Use the BLOB datatype.  You have to do a bit of work in uploading and
> downloading and the current effective maximum size (due to the data packet
> limit in the transaction) is something like 16MB.

> -Steve

> --------------------------------------------------------------------------
--

> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Wed, 28 Nov 2001 19:06:54 +0800
> Subject: [PHP-WIN] binary

> can MySql can hold a binary data? is it possible to upload an image
"inside"
> the database?

> i want to upload an image, but i don't want it to be a file, i want it to
be
> a data in my database. is there a way i can deconstruct the image and
place
> it in the database and then retrieve and reconstruct it again?

> i just don't if it's possible. thanks.



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

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.
--- End Message ---
--- Begin Message ---
On Wed, 28 Nov 2001 19:06:54 +0800, [EMAIL PROTECTED] (Brian
Feliciano) wrote:

>can MySql can hold a binary data? is it possible to upload an image "inside"
>the database?

yes

>i want to upload an image, but i don't want it to be a file, i want it to be
>a data in my database. is there a way i can deconstruct the image and place
>it in the database and then retrieve and reconstruct it again?

it is possible but I would strongly suggest you don't do this.  Keep
images in a seperate directory and store a link to the file in your
db.

To to the mysql.com site and get on their newslists .. great help

DSig
David Tod Sigafoos
--- End Message ---
--- Begin Message ---
>how??

RTFM...

>
>> --- Received from FPU.WHITES1 799 3703                       28-11-01
>11:49
>>
>>   -> [EMAIL PROTECTED]
>>   -> [EMAIL PROTECTED]
>>
>> Use the BLOB datatype.  You have to do a bit of work in uploading and
>> downloading and the current effective maximum size (due to 
>the data packet
>> limit in the transaction) is something like 16MB.
>>
>> -Steve
>>
>> 
>---------------------------------------------------------------
>-----------
>--
>>
>> From: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]
>> Date: Wed, 28 Nov 2001 19:06:54 +0800
>> Subject: [PHP-WIN] binary
>>
>> can MySql can hold a binary data? is it possible to upload an image
>"inside"
>> the database?
>>
>> i want to upload an image, but i don't want it to be a file, 
>i want it to
>be
>> a data in my database. is there a way i can deconstruct the image and
>place
>> it in the database and then retrieve and reconstruct it again?
>>
>> i just don't if it's possible. thanks.
>>
>>
>>
>> --
>> 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]
>

--- End Message ---
--- Begin Message ---
As a general rule, putting files in a database can be a tedious thing. They take up 
tons
of space, slow down the db, etc. Best to use a filesystem to keep your files, database 
to
keep your data. (in other words, just keep the files in a directory).

If you're doing it because you want to protect the images from casual users linking via
HTTP directly to the images, consider keeping the files in a non-accessible directory 
and
then use PHP to stream them to the client if & when it's appropriate for the client to 
see
the file. (I did something similar for some .zip files that were on a site)

TIM
-I did it! I found the program's last bug! bug bug bug


> -----Original Message-----
> From: Brian Feliciano [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2001 5:07 AM
> To: [EMAIL PROTECTED]
> Subject: binary
>
>
> can MySql can hold a binary data? is it possible to upload an image "inside"
> the database?
>
> i want to upload an image, but i don't want it to be a file, i want it to be
> a data in my database. is there a way i can deconstruct the image and place
> it in the database and then retrieve and reconstruct it again?
>
> i just don't if it's possible. thanks.
>
>
>

--- End Message ---
--- Begin Message ---
I have a WYSIWYG editor on a website so that my client can update one web
page.  Now the form has one text field where all the data is entered into.
That text field name is "EditorValue"  I created the following script to
update the html page which is called "news.htm"

<?php
$filename = "news.htm";
$fp = @fopen ($filename, "w+") or die ("Could not open File");
$newstring = "$EditorValue";
fwrite ($fp, $newstring);
fclose($fp);
?>

I get the "Could not open File" message, which means that it cannot open the
file.  I checked the permissions and the CHMOD is 777, so that shouldn't be
the issue.  What is my problem?

Thanks









--- End Message ---
--- Begin Message ---
Hey All!

        I might have a prospective client for someone local to the Cinci area.
Being up in Wisconsin I'm just not really able to fully help him out. There
will be some onsite work, so I'm out. Here's what he's looking for:

Skills:
NT Server setup
Xitami
PHP4
MySQL
Experience with a web e-mail/groupware app such as TWIG.
Experience with file uploads & downloads.

        I'm doing the pre-screening for him. If you're interested send me a resume,
three links and your hourly fees.

Thanks!
- Erik Mathy
  Applications Developer

--- End Message ---
--- Begin Message ---
Thank you for your suggestion. But it doesn't work.
The line
$VusersArray = $Vusers->Next($Vusers->{'Count'});
doesn't work. PHP said: 

==================================================
<b>Warning</b>:  Unable to lookup next:  Unknown name.

 in <b>tt.php</b> on line <b>8</b><br>
==================================================

I am new in PHP and COM. I think it is a common
question. There should be a way to solve it. But if
PHP can't handle so simple a task, it's a big problem
for him. Such as database in PHP, I can't believe that
they provide different methods for different database.
It's not like a new and professional language.

Anyway, thank alain samoun again for your help.

Regards,

--- alain samoun <[EMAIL PROTECTED]> wrote:
> Use variant, Try:
> <?php
>               $AU = new COM("Persits.AspUser");
>               $Vusers = new VARIANT("", VT_BSTR|VT_BYREF);
>               $Vusers = $AU->LocalUsers;#Should be returning a
> collection
>            $VusersArray =
> $Vusers->Next($Vusers->{'Count'});# Get the
> collection in array
>            foreach ($VusersArray as $Vusers)
>               {
>                       $VusersSet->Reset;
>                       $username=$Vusers->{'name'} ;
>                       $userfullname=$Vusers->{'fullname'} ;
>                       print "User name: $username Full name:
> $userfullname<BR>";
>               }
> ?>
> Didn't test it maybe some bug...
> A+
> Alain
> 
> -----Original Message-----
> From: Flower Rose [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 4:15 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] How to use the Object returned
> from COM?
> 
> 
> I want to try a PHP script which use COM Object.
> But I don't know how to use the data returned from
> COM.
> 
> There is an ASP example on how to use the data.
> =======================
> <%
> Set AU = Server.CreateObject("Persits.AspUser")
> For Each User in AU.LocalUsers
>    Response.Write User.Name & " (" & User.FullName &
> ")<BR>"
> Next
> %>
> 
> It will print all users, such as: Administrator,
> Guest...... (10 users now)
> =======================
> But how to use it in PHP?
> =======================
> <?
> $AU = new COM("Persits.AspUser");
> $user = $AU->LocalUsers;
> echo $user->Count(); // It will print 10. That's
> right
> 
> //I want to access those 10 users. But I can't find
> a
> //way. Anybody know how to access it? Thanks.
> //The $user is an object, not a object array. Any
> other method I can use to get those data? Actually,
> I
> just find the method Count(). Any documents about
> these?
> ?>
> 
> BTW, all class/object function, such as:
> get_class_methods, get_class_vars, get_object_vars
> return unuseful results. If I use print_r to print
> it,
> it's like:
> Array {[0]->2}.... That's not what I want. The
> method
> Count, I just find it by accident.........
> 
> Regards,
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> 
> --
> 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]
> 


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--- End Message ---
--- Begin Message ---
Never mind. I solved the problem. 
It seems that I am completly newbie on COM
Object.......


> > > ----- Original Message -----
> > > From: "Flower Rose" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, November 28, 2001 11:10
> > > Subject: RE: [PHP-WIN] How to use the Object
> > > returned from COM?
> > >
> > >
> > > > Thank you for your suggestion. But it doesn't
> > > work.
> > > > The line
> > > > $VusersArray =
> $Vusers->Next($Vusers->{'Count'});
> > > > doesn't work. PHP said:
> > > >
> > > >
> ==================================================
> > > > <b>Warning</b>:  Unable to lookup next: 
> Unknown
> > > name.
> > > >
> > > >  in <b>tt.php</b> on line <b>8</b><br>
> > > >
> ==================================================
> > > >
> > > > I am new in PHP and COM. I think it is a
> common
> > > > question. There should be a way to solve it.
> But
> > > if
> > > > PHP can't handle so simple a task, it's a big
> > > problem
> > > > for him. Such as database in PHP, I can't
> believe
> > > that
> > > > they provide different methods for different
> > > database.
> > > > It's not like a new and professional language.
> > > >
> > > > Anyway, thank alain samoun again for your
> help.
> > > >
> > > > Regards,
> > > >
> > > > --- alain samoun <[EMAIL PROTECTED]> wrote:
> > > > > Use variant, Try:
> > > > > <?php
> > > > > $AU = new COM("Persits.AspUser");
> > > > > $Vusers = new VARIANT("", VT_BSTR|VT_BYREF);
> > > > > $Vusers = $AU->LocalUsers;#Should be
> returning a
> > > > > collection
> > > > >            $VusersArray =
> > > > > $Vusers->Next($Vusers->{'Count'});# Get the
> > > > > collection in array
> > > > >            foreach ($VusersArray as $Vusers)
> > > > > {
> > > > > $VusersSet->Reset;
> > > > > $username=$Vusers->{'name'} ;
> > > > > $userfullname=$Vusers->{'fullname'} ;
> > > > > print "User name: $username Full name:
> > > > > $userfullname<BR>";
> > > > > }
> > > > > ?>
> > > > > Didn't test it maybe some bug...
> > > > > A+
> > > > > Alain
> > > > >
> > > > > -----Original Message-----
> > > > > From: Flower Rose
> [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Tuesday, November 27, 2001 4:15 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: [PHP-WIN] How to use the Object
> > > returned
> > > > > from COM?
> > > > >
> > > > >
> > > > > I want to try a PHP script which use COM
> Object.
> > > > > But I don't know how to use the data
> returned
> > > from
> > > > > COM.
> > > > >
> > > > > There is an ASP example on how to use the
> data.
> > > > > =======================
> > > > > <%
> > > > > Set AU =
> Server.CreateObject("Persits.AspUser")
> > > > > For Each User in AU.LocalUsers
> > > > >    Response.Write User.Name & " (" &
> > > User.FullName &
> > > > > ")<BR>"
> > > > > Next
> > > > > %>
> > > > >
> > > > > It will print all users, such as:
> Administrator,
> > > > > Guest...... (10 users now)
> > > > > =======================
> > > > > But how to use it in PHP?
> > > > > =======================
> > > > > <?
> > > > > $AU = new COM("Persits.AspUser");
> > > > > $user = $AU->LocalUsers;
> > > > > echo $user->Count(); // It will print 10.
> That's
> > > > > right
> > > > >
> > > > > //I want to access those 10 users. But I
> can't
> > > find
> > > > > a
> > > > > //way. Anybody know how to access it?
> Thanks.
> > > > > //The $user is an object, not a object
> array.
> > > Any
> > > > > other method I can use to get those data?
> > > Actually,
> > > > > I
> > > > > just find the method Count(). Any documents
> > > about
> > > > > these?
> > > > > ?>
> > > > >
> > > > > BTW, all class/object function, such as:
> > > > > get_class_methods, get_class_vars,
> > > get_object_vars
> > > > > return unuseful results. If I use print_r to
> > > print
> > > > > it,
> > > > > it's like:
> > > > > Array {[0]->2}.... That's not what I want.
> The
> > > > > method
> > > > > Count, I just find it by accident.........
> > > > >
> > > > > Regards,
> > > > >
> > > > >
> > >
> __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Make a great connection at Yahoo! Personals.
> > > > > http://personals.yahoo.com
> > > > >
> > > > > --
> > > > > 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]
> > > > >
> > > >
> > > >
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--- End Message ---
--- Begin Message ---
Under Bill 1618 TITLE III passed by the 105th U.S. Congress, This 
letter 
cannot be considered Spam as long as we include: Contact information 
& 
a Remove Link. If not interested in the services offered, 
To be removed from future mailings just reply with 'REMOVE' in the 
subject line. Your request to be removed will be processed within 24 
hours.  
*****************************************************
*******************


        
                                                                         Zeynab 
Marketing Division
                                                   
[EMAIL PROTECTED] 

Position: E-Mail Processor

WE are currently looking for SERIOUS HOMEWORKERS.
We have immediate vacancies for E-Mail Processors. Experience is 
NOT necessary. Part time/full time. Anywhere in the world! I do 
require that you have a computer and are familiar with internet/email 
functions. Training and other necessary Softwares are provided. 

About Us:
We are an offshore company based on Sri Lanka since 1996, 
specializing in trade and support services for the international trading 
community. Our main business activities are International trading of high 
profitable goods, Import Export Agent, Commission agent, Internet 
marketing, Market research through Internet etc.

You will be paid working for us as follows:

1. Refer others and get paid $1.00

2.Your associate commission is 5% for all direct sales and 1% on 
sales made by your          
   Affiliates for one level. 

For example:

If you refer 70 affiliate under you, get paid             =    $70.00
If you se11 3 product ($275 x 3), get paid              =    $41.25
If your afiliate sell 2 products ($200x2),get paid     =    $ 4.00                     
                           
Your Salary                                                  =   $115.25

If you are looking for a get-rich-quick scheme, please do not reply us. 

This is a limited time offer.

Registation free: 
We only want SERIOUS homeworkers to work for us.  For that 
reason we must ask for a one-time PAYMENT of US$20. This is 
necessary to protect both: you and us from unreliable job 
seekers.

How to Apply: 
   Contact us to [EMAIL PROTECTED]   "Application"at the 
subject line.
   


Thank you for your time.


*****************************************************
*******************
--- End Message ---
--- Begin Message ---
Hey Jack Azz,

This is a SERIOUS list for REAL people who need help with php and windows, take your 
SPAM and put it where the sun dont shine.

Sincerely,

Vman

-----Original Message-----
From: Zeynab [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 7:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] IMPORTANT FOR YOU


Under Bill 1618 TITLE III passed by the 105th U.S. Congress, This 
letter 
cannot be considered Spam as long as we include: Contact information 
& 
a Remove Link. If not interested in the services offered, 
To be removed from future mailings just reply with 'REMOVE' in the 
subject line. Your request to be removed will be processed within 24 
hours.  
*****************************************************
*******************


        
                                                                         Zeynab 
Marketing Division
                                                   
[EMAIL PROTECTED] 

Position: E-Mail Processor

WE are currently looking for SERIOUS HOMEWORKERS.
We have immediate vacancies for E-Mail Processors. Experience is 
NOT necessary. Part time/full time. Anywhere in the world! I do 
require that you have a computer and are familiar with internet/email 
functions. Training and other necessary Softwares are provided. 

About Us:
We are an offshore company based on Sri Lanka since 1996, 
specializing in trade and support services for the international trading 
community. Our main business activities are International trading of high 
profitable goods, Import Export Agent, Commission agent, Internet 
marketing, Market research through Internet etc.

You will be paid working for us as follows:

1. Refer others and get paid $1.00

2.Your associate commission is 5% for all direct sales and 1% on 
sales made by your          
   Affiliates for one level. 

For example:

If you refer 70 affiliate under you, get paid             =    $70.00
If you se11 3 product ($275 x 3), get paid              =    $41.25
If your afiliate sell 2 products ($200x2),get paid     =    $ 4.00                     
                           
Your Salary                                                  =   $115.25

If you are looking for a get-rich-quick scheme, please do not reply us. 

This is a limited time offer.

Registation free: 
We only want SERIOUS homeworkers to work for us.  For that 
reason we must ask for a one-time PAYMENT of US$20. This is 
necessary to protect both: you and us from unreliable job 
seekers.

How to Apply: 
   Contact us to [EMAIL PROTECTED]   "Application"at the 
subject line.
   


Thank you for your time.


*****************************************************
*******************

-- 
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]
--- End Message ---
--- Begin Message ---
I second that... keep the spam off of here!

-----Original Message-----
From: Corn Vollney-R7019C [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, November 28, 2001 2:36 PM
To: 'Zeynab'; [EMAIL PROTECTED]
Subject: [PHP-WIN] REMOVE :::IMPORTANT FOR YOU

Hey Jack Azz,

This is a SERIOUS list for REAL people who need help with php and
windows, take your SPAM and put it where the sun dont shine.

Sincerely,

Vman

-----Original Message-----
From: Zeynab [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 7:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] IMPORTANT FOR YOU


Under Bill 1618 TITLE III passed by the 105th U.S. Congress, This 
letter 
cannot be considered Spam as long as we include: Contact information 
& 
a Remove Link. If not interested in the services offered, 
To be removed from future mailings just reply with 'REMOVE' in the 
subject line. Your request to be removed will be processed within 24 
hours.  
*****************************************************
*******************


        
 
Zeynab 
Marketing Division
                                                   
[EMAIL PROTECTED] 

Position: E-Mail Processor

WE are currently looking for SERIOUS HOMEWORKERS.
We have immediate vacancies for E-Mail Processors. Experience is 
NOT necessary. Part time/full time. Anywhere in the world! I do 
require that you have a computer and are familiar with internet/email 
functions. Training and other necessary Softwares are provided. 

About Us:
We are an offshore company based on Sri Lanka since 1996, 
specializing in trade and support services for the international trading

community. Our main business activities are International trading of
high 
profitable goods, Import Export Agent, Commission agent, Internet 
marketing, Market research through Internet etc.

You will be paid working for us as follows:

1. Refer others and get paid $1.00

2.Your associate commission is 5% for all direct sales and 1% on 
sales made by your          
   Affiliates for one level. 

For example:

If you refer 70 affiliate under you, get paid             =    $70.00
If you se11 3 product ($275 x 3), get paid              =    $41.25
If your afiliate sell 2 products ($200x2),get paid     =    $ 4.00

Your Salary                                                  =   $115.25

If you are looking for a get-rich-quick scheme, please do not reply us. 

This is a limited time offer.

Registation free: 
We only want SERIOUS homeworkers to work for us.  For that 
reason we must ask for a one-time PAYMENT of US$20. This is 
necessary to protect both: you and us from unreliable job 
seekers.

How to Apply: 
   Contact us to [EMAIL PROTECTED]   "Application"at the 
subject line.
   


Thank you for your time.


*****************************************************
*******************

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

--- End Message ---
--- Begin Message ---
I am wondering if there is a way for PHP to query a file on a specific
website to test the availability of that page. What my goal is, is to
check multiple websites on 2 different IIS servers. Is there a way to
use any of the SNMP functions? I used the SNMP get function to check the
“up” status of our routers.
 
Thanks!, and sorry about the earlier reply to the spam
 
Steven Moshier -  <http://www.stls.org/it> Information Technology
(607)962-3141 Ext. 212
 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
 
--- End Message ---
--- Begin Message ---
<?
$file=@fopen($url, "r");


if ($file)
{
print("File available");
}
else
{
print("File not available");
}


fclose($fp);
?>


Hope that helps

Ross


-----Original Message-----
From: Steven Moshier - Information Technology 
[mailto:[EMAIL PROTECTED]] 
Sent: 28 November 2001 20:25
To:     
Subject: [PHP-WIN] Website Check using PHP


I am wondering if there is a way for PHP to query a file on a 
specific website to test the availability of that page. What my 
goal is, is to check multiple websites on 2 different IIS 
servers. Is there a way to use any of the SNMP functions? I 
used the SNMP get function to check the “up” status of our routers.
 
Thanks!, and sorry about the earlier reply to the spam
 
Steven Moshier -  <http://www.stls.org/it> Information 
Technology (607)962-3141 Ext. 212  <mailto:[EMAIL PROTECTED]> 
[EMAIL PROTECTED]
 

--- End Message ---
--- Begin Message ---
I think we have a solution. Thanks a lot everyone.


Steven Moshier - Information Technology
(607)962-3141 Ext. 212
[EMAIL PROTECTED]


-----Original Message-----
From: Ross Fleming [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, November 28, 2001 3:48 PM
To: 'Steven Moshier - Information Technology'; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Website Check using PHP

<?
$file=@fopen($url, "r");


if ($file)
{
print("File available");
}
else
{
print("File not available");
}


fclose($fp);
?>


Hope that helps

Ross


-----Original Message-----
From: Steven Moshier - Information Technology 
[mailto:[EMAIL PROTECTED]] 
Sent: 28 November 2001 20:25
To:     
Subject: [PHP-WIN] Website Check using PHP


I am wondering if there is a way for PHP to query a file on a 
specific website to test the availability of that page. What my 
goal is, is to check multiple websites on 2 different IIS 
servers. Is there a way to use any of the SNMP functions? I 
used the SNMP get function to check the “up” status of our routers.
 
Thanks!, and sorry about the earlier reply to the spam
 
Steven Moshier -  <http://www.stls.org/it> Information 
Technology (607)962-3141 Ext. 212  <mailto:[EMAIL PROTECTED]> 
[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]

--- End Message ---
--- Begin Message ---
Hi All,
I would like to compile a self-made php extension on win32. 
Is it true that the source C code can be compiled only with Microsoft Visual
C/C++ 6.0? 
Thanks!
Kroko
--- End Message ---
--- Begin Message ---
Tony.. you may want to brush up on strings in the PHP manual.
http://www.php.net/manual/en/language.types.string.php

The .= operator *appends* to an *existing* string.. so when you are 
defining a string for the first time, you must use just the plain equal 
sign =.  After that point, you can use the .= to append to it.

$a .= 'hi';
is equivalent to
$a = $a . 'hi';

similar to how
$a += 10;
is equivalent to
$a = $a + 10;

So, in this case, change your header definition around a bit:
>$mailheaders  = "From: My Website\n";
>$mailheaders .= "Cc: $other_email\n";
>$mailheaders .= "Reply-to: $sender_email\n";

Also, you should probably change the "Reply to" header to "Reply-to" (as 
I've done here).

-Mike


At 10:31 PM 11/18/2001 -0600, you wrote:
>Daniel,
>I tried your suggestion (see below) but the letter gets bounced back like
>this:
>
>
>[EMAIL PROTECTED],linda
>.....................
>
>Here is the script:
>
><?
>$msg="Email sent from WWW site";
>$msg.="Sender's name:\t$sender_name\n";
>$msg.="Sender's email address:\t$sender_email\n";
>$msg.="Message:\t$message\n\n";
>$to="[EMAIL PROTECTED], [EMAIL PROTECTED]";
>$subject="Web Site Feedback";
>$mailheaders .= "Cc: $other_email\n";
>$mailheaders="From: My Website";
>$mailheaders.="Reply to: $sender_email\n\n";
>mail($to,$subject,$msg,$mailheaders);
>?>
>
>Simple Feedback Form
>
>The following email has been sent:
>
>
>
>Your Name:
><? echo "$sender_name"; ?>
>
>Your email address:
><? echo "$sender_email"; ?>
>
>Message:
><? echo "$message"; ?>
>...................................
>
>----- Original Message -----
>From: Daniel Parsons <[EMAIL PROTECTED]>
>To: Anthony Ritter <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>
>Sent: Sunday, November 18, 2001 8:55 PM
>Subject: RE: [PHP-WIN] Adding a cc to a PHP mail script...
>
>
> > If you want to add additional email addresses to the 'To' list, use a
> > comma seperated list:
> > e.g. $to = "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]";
> >
> > if you want to cc the email then add it to your headers:
> > e.g. $mailheaders .= "Cc: [EMAIL PROTECTED]\r\n";
> >
> > HTH,
> > D.
>
>
>
>
>--
>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]

               -=- Mike Flynn - Burlington, VT -=-
[EMAIL PROTECTED]  http://www.mikeflynn.net/  * Give blood *
  ...maintaining lawns, watching televised sports, birthing
  children, listening to Top 40 music, and collecting
  stuffed animals...


--- End Message ---
--- Begin Message ---
Please check a few sites to get background on this:
Start here:
http://www.php.net/manual/en/features.file-upload.php
Then check out some tutorials:
http://www.phpbuilder.com/columns/bealers20000904.php3
http://www.thickbook.com/extra/php_fileupload.phtml
http://www.zend.com/codex.php?id=6&single=1

See if that helps you get started.

At 08:56 PM 11/19/2001 +0800, you wrote:
>how can i upload an image??
>i tested using copy( ) but it returned a Permission Denied error...
>please help...thanks.
>
>do i really have to do an ftp?


--- End Message ---
--- Begin Message ---
Found a way around this problem and figured I share it with everybody.

The problem appears to be an issue with Win2K and versions of PHP prior to 
4.0.8.

I found an obscure reference somewhere to try out PHP 4.0.8 built after 
2001-07-03, which is available from www.php4win.com.  And it worked!  I can 
now access PHP docs from a network drive.

The only issue is currently PHP 4.0.8 is a Dev release.  But if you don't 
mind that, it's the only way I've found to get around PHP's network drive 
issue.



     Norm



>From: "Norm Russell" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] IIS + PHP + Network Drive = CGI Error (why?)
>Date: Thu, 22 Nov 2001 13:40:29 +0000
>
>I'm running PHP 4.0.6 on Win2K with IIS 5.  If IIS's wwwroot is located on 
>a
>local drive, PHP docs execute fine.  If IIS's wwwroot is located on a 
>shared
>network drive, PHP scripts deliver the following error message:
>
>  CGI Error
>
>  The specified CGI application misbehaved by not returning a complete set
>of
>  HTTP headers. The headers it did return are:
>
>
>Any thoughts why?  Permissions problem?  Nothing shows up in the Event Log,
>HTML and ASP docs are viewable from the network drive.
>
>
>
>      Norm
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>--
>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]
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

--- End Message ---
--- Begin Message ---
I just whipped through Julie Meloni's "PHP Fast and Easy" book which was
great for the intro to PHP, but I am hungry for more.  I usually need by
example and walk throughs to become profficient at development.  Now I am
ready for the next step..

Any recommendations for websites with tutorials, scripts etc or books?

I don't like using php.net, because its not a user friendly site if you have
very little background


--- End Message ---

Reply via email to