[PHP-WIN] Why do we want to give YOU money?

2001-02-09 Thread justforyou

Simple answer, you were randomly selected from our recently purchased
opt-in lists. OK so why are we giving away money you ask?

Another simple answer. We want you to discover what 10,000's of other
people just like you already know... our Casino is fast-paced, interactive
and just plain old fun.

So if you like to gamble or if you've never tried but always wanted to
click on one of the links below now and collect your $25.00 in bonus
casino chips.

  *
  http://www.click-collect.com.com
  *

But that's not all, fabulous instaprizes and millions in bonus dollars will
also be won during the download. What if you were lucky enough to win a...

** Mercedes Benz **
 ** 3.5 Carat Diamond Ring **
   ** Rolex Oyster Watch **
** 25,000 cool cash **
** Porsche Boxster **

This could be your lucky day so don't wait... click now and win!!

  *
  http://www.click-collect.com
  *

*
Delivered to referrals and opt-ins *only*. All remove requests are honored. All 
players must be 21 years and over. Bonus dollars are only available to credit 
card depositors. We guarantee minimum wins. Good luck!

*
   
  REMOVE 
 mailto:[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]




Re: [PHP-WIN] Why do we want to give YOU money?

2001-02-09 Thread Tom Mathews

Is anyone else getting pissed off with the amount of shite coming through this
list?
Does anyone reply to this stuff with remove messages (from the php lists not your
own address!) or is there no designated administrator? If no-one else already does
it, then I'll happily take on the responsibility.

Tom

[EMAIL PROTECTED] wrote:

> Simple answer, you were randomly selected from our recently purchased
> opt-in lists. OK so why are we giving away money you ask?
>
> Another simple answer. We want you to discover what 10,000's of other
> people just like you already know... our Casino is fast-paced, interactive
> and just plain old fun.
>
> So if you like to gamble or if you've never tried but always wanted to
> click on one of the links below now and collect your $25.00 in bonus
> casino chips.
>
>   *
>   http://www.click-collect.com.com
>   *
>
> But that's not all, fabulous instaprizes and millions in bonus dollars will
> also be won during the download. What if you were lucky enough to win a...
>
> ** Mercedes Benz **
>  ** 3.5 Carat Diamond Ring **
>** Rolex Oyster Watch **
> ** 25,000 cool cash **
> ** Porsche Boxster **
>
> This could be your lucky day so don't wait... click now and win!!
>
>   *
>   http://www.click-collect.com
>   *
>
> *
> Delivered to referrals and opt-ins *only*. All remove requests are honored. All
> players must be 21 years and over. Bonus dollars are only available to credit
> card depositors. We guarantee minimum wins. Good luck!
>
> *
>
>   REMOVE
>  mailto:[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]



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


RE: [PHP-WIN] Why do we want to give YOU money?

2001-02-09 Thread Mikey

Good call!!!

>Is anyone else getting pissed off with the amount of shite coming through 
this
>list?
>Does anyone reply to this stuff with remove messages (from the php lists not 
your
>own address!) or is there no designated administrator? If no-one else already 
does
>it, then I'll happily take on the responsibility.
>
>Tom
>
>[EMAIL PROTECTED] wrote:
>
>> Simple answer, you were randomly selected from our recently purchased
>> opt-in lists. OK so why are we giving away money you ask?
>>
>> Another simple answer. We want you to discover what 10,000's of other
>> people just like you already know... our Casino is fast-paced, interactive
>> and just plain old fun.
>>
>> So if you like to gamble or if you've never tried but always wanted to
>> click on one of the links below now and collect your $25.00 in bonus
>> casino chips.
>>
>>   *
>>   http://www.click-collect.com.com
>>   *
>>
>> But that's not all, fabulous instaprizes and millions in bonus dollars will
>> also be won during the download. What if you were lucky enough to win a...
>>
>> ** Mercedes Benz **
>>  ** 3.5 Carat Diamond Ring **
>>** Rolex Oyster Watch **
>> ** 25,000 cool cash **
>> ** Porsche Boxster **
>>
>> This could be your lucky day so don't wait... click now and win!!
>>
>>   *
>>   http://www.click-collect.com
>>   *
>>
>> 
*
>> Delivered to referrals and opt-ins *only*. All remove requests are honored. 
All
>> players must be 21 years and over. Bonus dollars are only available to 
credit
>> card depositors. We guarantee minimum wins. Good luck!
>>
>> 
*
>>
>>   REMOVE
>>  mailto:[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]
>
>
>
>--
>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]

---
Flowers2send - your guarantee to success on Valentines Day!!!
Visit www.flowers2send.com or phone 0845 1200 430






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




Re: [PHP-WIN] Why do we want to give YOU money?

2001-02-09 Thread Ernest E Vogelsinger

At 11:59 09.02.2001, Tom Mathews said:
[snip]
>Is anyone else getting pissed off with the amount of shite coming through this
>list?
>Does anyone reply to this stuff with remove messages (from the php lists not 
>your
>own address!) or is there no designated administrator? If no-one else 
>already does
>it, then I'll happily take on the responsibility.
[snip] 

Well, if I were you, I would _never_ do this... usually the REMOVE address
is either a wastebin (benign case), or another damn email-address sampling bot.


 ...ebird

   >O Ernest E. Vogelsinger
   (\)http://www.1-at-web.at/
^ ICQ#   13394035


-- 
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-WIN] MySQL setup tutorial

2001-02-09 Thread Jan Aagaard

Anybody out there know where I can find a good tutorial on how to set op
MySQL and make it work with PHP on the Windows platform?

Please send a reply to my e-mail address allso.

- Jan Aagaard



-- 
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 Digest 9 Feb 2001 11:31:03 -0000 Issue 436

2001-02-09 Thread php-windows-digest-help


php-windows Digest 9 Feb 2001 11:31:03 - Issue 436

Topics (messages 5475 through 5479):

Why do we want to give YOU money?
5475 by: justforyou.giveaway.com
5476 by: Tom Mathews
5477 by: Mikey
5478 by: Ernest E Vogelsinger

MySQL setup tutorial
5479 by: Jan Aagaard

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]


--



Simple answer, you were randomly selected from our recently purchased
opt-in lists. OK so why are we giving away money you ask?

Another simple answer. We want you to discover what 10,000's of other
people just like you already know... our Casino is fast-paced, interactive
and just plain old fun.

So if you like to gamble or if you've never tried but always wanted to
click on one of the links below now and collect your $25.00 in bonus
casino chips.

  *
  http://www.click-collect.com.com
  *

But that's not all, fabulous instaprizes and millions in bonus dollars will
also be won during the download. What if you were lucky enough to win a...

** Mercedes Benz **
 ** 3.5 Carat Diamond Ring **
   ** Rolex Oyster Watch **
** 25,000 cool cash **
** Porsche Boxster **

This could be your lucky day so don't wait... click now and win!!

  *
  http://www.click-collect.com
  *

*
Delivered to referrals and opt-ins *only*. All remove requests are honored. All 
players must be 21 years and over. Bonus dollars are only available to credit 
card depositors. We guarantee minimum wins. Good luck!

*
   
  REMOVE 
 mailto:[EMAIL PROTECTED]





Is anyone else getting pissed off with the amount of shite coming through this
list?
Does anyone reply to this stuff with remove messages (from the php lists not your
own address!) or is there no designated administrator? If no-one else already does
it, then I'll happily take on the responsibility.

Tom

[EMAIL PROTECTED] wrote:

> Simple answer, you were randomly selected from our recently purchased
> opt-in lists. OK so why are we giving away money you ask?
>
> Another simple answer. We want you to discover what 10,000's of other
> people just like you already know... our Casino is fast-paced, interactive
> and just plain old fun.
>
> So if you like to gamble or if you've never tried but always wanted to
> click on one of the links below now and collect your $25.00 in bonus
> casino chips.
>
>   *
>   http://www.click-collect.com.com
>   *
>
> But that's not all, fabulous instaprizes and millions in bonus dollars will
> also be won during the download. What if you were lucky enough to win a...
>
> ** Mercedes Benz **
>  ** 3.5 Carat Diamond Ring **
>** Rolex Oyster Watch **
> ** 25,000 cool cash **
> ** Porsche Boxster **
>
> This could be your lucky day so don't wait... click now and win!!
>
>   *
>   http://www.click-collect.com
>   *
>
> *
> Delivered to referrals and opt-ins *only*. All remove requests are honored. All
> players must be 21 years and over. Bonus dollars are only available to credit
> card depositors. We guarantee minimum wins. Good luck!
>
> *
>
>   REMOVE
>  mailto:[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]




Good call!!!

>Is anyone else getting pissed off with the amount of shite coming through 
this
>list?
>Does anyone reply to this stuff with remove messages (from the php lists not 
your
>own address!) or is 

RE: [PHP-WIN] MySQL setup tutorial

2001-02-09 Thread Matt Williams

Installing MySQL on Windows;

1. Download the Mysql Win32 Binary.

2. Install as per setup file. Leave the default dir as mysql it's easier

3. Run c:\mysql\bin\mysqlshow - this should show a Database listing.

4. Set up password for root.
- cd c:\mysql\bin
- Type mysql
- Type DELETE FROM user WHERE username ='';
this will delete the default user
- Type UPDATE user SET password=PASSWORD('my_new_password') WHERE
user='root';
To change the root password
- Type exit;
to quit mysql
- Type mysqladmin reload
this will update the privileges you've just changed
- To make sure these have taken type mysql, you should get an access
denied error
- Now type mysql -uroot -p. You will be prompted for the password you 
gave
above.
- Enter this and you should be let in.
- You should really set up another user other than root for PHP to 
access
the db but if it's only for
testing you should be ok.
- I also recommend phpmyadmin for web administration.

This is very quick so it let me know if you have any other probs I will try
to help

All this info is in the mysql docs that come with the distro but can be a
little hard to find

M@

> -Original Message-
> From: Jan Aagaard [mailto:[EMAIL PROTECTED]]
> Sent: 09 February 2001 11:33
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] MySQL setup tutorial
>
>
> Anybody out there know where I can find a good tutorial on how to set op
> MySQL and make it work with PHP on the Windows platform?
>
> Please send a reply to my e-mail address allso.
>
> - Jan Aagaard
>
>
>
> --
> 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]




RE: [PHP-WIN] MySQL setup tutorial

2001-02-09 Thread Matt Williams

Alomost forgot

put this between 2 and 3.

You need to start the mysql demon by typing c:\mysql\bin\mysqld on win 9x
(this need will need to be run on every boot)
 or on NT/2000 c:\mysql\bin\mysqld-nt --install to install it as a service.

> Installing MySQL on Windows;
>
> 1. Download the Mysql Win32 Binary.
>
> 2. Install as per setup file. Leave the default dir as mysql it's easier
>
> 3. Run c:\mysql\bin\mysqlshow - this should show a Database listing.
>
> 4. Set up password for root.
>   - cd c:\mysql\bin
>   - Type mysql
>   - Type DELETE FROM user WHERE username ='';
>   this will delete the default user
>   - Type UPDATE user SET
> password=PASSWORD('my_new_password') WHERE user='root';
>   To change the root password
>   - Type exit;
>   to quit mysql
>   - Type mysqladmin reload
>   this will update the privileges you've just changed
>   - To make sure these have taken type mysql, you
> should get an access denied error
>   - Now type mysql -uroot -p. You will be prompted
> for the password you gave above.
>   - Enter this and you should be let in.
>   - You should really set up another user other than
> root for PHP to access the db but if it's only for
>   testing you should be ok.
>   - I also recommend phpmyadmin for web administration.
>
> This is very quick so it let me know if you have any other probs
> I will try to help
>
> All this info is in the mysql docs that come with the distro but
> can be a little hard to find
>
> M@
>
> > -Original Message-
> > From: Jan Aagaard [mailto:[EMAIL PROTECTED]]
> > Sent: 09 February 2001 11:33
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] MySQL setup tutorial
> >
> >
> > Anybody out there know where I can find a good tutorial on how to set op
> > MySQL and make it work with PHP on the Windows platform?
> >
> > Please send a reply to my e-mail address allso.
> >
> > - Jan Aagaard
> >
> >
> >
> > --
> > 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]




RE: [PHP-WIN] Why do we want to give YOU money?

2001-02-09 Thread Asendorf, John

Never respond to these things.  It just confirms your address for them.

-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Ipsa scientia potestas est


> -Original Message-
> From: Mikey [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 09, 2001 6:18 AM
> To: justforyou; Tom Mathews
> Cc: php-windows
> Subject: RE: [PHP-WIN] Why do we want to give YOU money?
> 
> 
> Good call!!!
> 
> >Is anyone else getting pissed off with the amount of shite 
> coming through 
> this
> >list?
> >Does anyone reply to this stuff with remove messages (from 
> the php lists not 
> your
> >own address!) or is there no designated administrator? If 
> no-one else already 
> does
> >it, then I'll happily take on the responsibility.
> >
> >Tom
> >
> >[EMAIL PROTECTED] wrote:
> >
> >> Simple answer, you were randomly selected from our 
> recently purchased
> >> opt-in lists. OK so why are we giving away money you ask?
> >>
> >> Another simple answer. We want you to discover what 
> 10,000's of other
> >> people just like you already know... our Casino is 
> fast-paced, interactive
> >> and just plain old fun.
> >>
> >> So if you like to gamble or if you've never tried but 
> always wanted to
> >> click on one of the links below now and collect your 
> $25.00 in bonus
> >> casino chips.
> >>
> >>   
> *
> >>   http://www.click-collect.com.com
> >>   
> *
> >>
> >> But that's not all, fabulous instaprizes and millions in 
> bonus dollars will
> >> also be won during the download. What if you were lucky 
> enough to win a...
> >>
> >> ** Mercedes Benz **
> >>  ** 3.5 Carat Diamond Ring **
> >>** Rolex Oyster Watch **
> >> ** 25,000 cool cash **
> >> ** Porsche Boxster **
> >>
> >> This could be your lucky day so don't wait... click now and win!!
> >>
> >>   
> *
> >>   http://www.click-collect.com
> >>   
> *
> >>
> >> 
> **
> ***
> >> Delivered to referrals and opt-ins *only*. All remove 
> requests are honored. 
> All
> >> players must be 21 years and over. Bonus dollars are only 
> available to 
> credit
> >> card depositors. We guarantee minimum wins. Good luck!
> >>
> >> 
> **
> ***
> >>
> >>   REMOVE
> >>  mailto:[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]
> >
> >
> >
> >--
> >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]
> 
> ---
> Flowers2send - your guarantee to success on Valentines Day!!!
> Visit www.flowers2send.com or phone 0845 1200 430
> 
> 
> 
> 
> 
> 
> -- 
> 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]




[PHP-WIN] Help! PHP database connection error.

2001-02-09 Thread aaron

Up till late yesterday I was able to query my database but now I receive
this error.

Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] The Microsoft
Jet database engine cannot open the file '(unknown)'. It is already opened
exclusively by another user, or you need permission to view its data., SQL
state S1000 in SQLConnect in wwwroot\test.php on line 2

My script is only trying to make a connection at this time and it does not
work



What went wrong?  Thanks,
Aaron



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




Re: [PHP-WIN] Help! PHP database connection error.

2001-02-09 Thread Gonzalo Vera

This usually happens when another user opens a table for modification
(table definition): the table gets locked to all access. If you're
only running localhost try "repairing" your database: maybe you got a
corrupted table or db. Also if you're only on localhost, restart your
computer to make sure all files get closed. If you're not only running
localhost, and the database is on a remote server, you might have some
more trouble, but still would need to do some/all of these actions.

That was like a gunshot, but it has worked for me in the past... ;)

 Gonzalo.

> Up till late yesterday I was able to query my database but now I receive
> this error.

> Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] The Microsoft
> Jet database engine cannot open the file '(unknown)'. It is already opened
> exclusively by another user, or you need permission to view its data., SQL
> state S1000 in SQLConnect in wwwroot\test.php on line 2

> My script is only trying to make a connection at this time and it does not
> work

>  $cnx = odbc_connect (equipment2,'','');
?>>

> What went wrong?  Thanks,
> Aaron



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




Re: [PHP-WIN] Help! PHP database connection error.

2001-02-09 Thread aaron

I've just tried creating an entirely new database and receive the same error
as well as reparing the old database.  I've restarted the web server, still
the same problem.

The access 2000 db is on an iis 4.0 server which worked fine previously.

Thanks,
Aaron

"Gonzalo Vera" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
This usually happens when another user opens a table for modification
(table definition): the table gets locked to all access. If you're
only running localhost try "repairing" your database: maybe you got a
corrupted table or db. Also if you're only on localhost, restart your
computer to make sure all files get closed. If you're not only running
localhost, and the database is on a remote server, you might have some
more trouble, but still would need to do some/all of these actions.

That was like a gunshot, but it has worked for me in the past... ;)

 Gonzalo.

> Up till late yesterday I was able to query my database but now I receive
> this error.

> Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] The
Microsoft
> Jet database engine cannot open the file '(unknown)'. It is already opened
> exclusively by another user, or you need permission to view its data., SQL
> state S1000 in SQLConnect in wwwroot\test.php on line 2

> My script is only trying to make a connection at this time and it does not
> work

>  $cnx = odbc_connect (equipment2,'','');
?>>

> What went wrong?  Thanks,
> Aaron



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




Re: [PHP-WIN] php access query problem

2001-02-09 Thread aaron

Access 2000 on IIS 4.0

"Gonzalo Vera" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
What DB are you using?

 Gonzalo.

> I have the query
> $cur= odbc_exec( $cnx, "SELECT Location, 'Dept ID', 'Equip Type' FROM
> Equipment01 WHERE Location = '415C'");

> which returns the proper results but when I add  AND 'Equip Type' = 'C' to
> the end of it I get no results.  Is my syntax correct?  Thanks, Aaron

> $cur= odbc_exec( $cnx, "SELECT Location, 'Dept ID', 'Equip Type' FROM
> Equipment01 WHERE Location = '415C' AND 'Equip Type' = 'C'");



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




Re[2]: [PHP-WIN] php access query problem

2001-02-09 Thread Gonzalo Vera

At least in older versions of access it's better to enclose field
names in square brackets, like

"SELECT Location, [Dept ID], [Equip Type] FROM Equipment01 WHERE
Location = '415C' AND [Equip Type] = 'C'"

Also, shouldn't you end with a semicolon? The weird thing here is that
it worked before. Sorry if I can't get any farther, I'm just switching
from access 95 to MySQL (bye bye MS), and in access 95 those would be
troublesome issues.

 Gonzalo.

> Access 2000 on IIS 4.0

> "Gonzalo Vera" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What DB are you using?

>  Gonzalo.

>> I have the query
>> $cur= odbc_exec( $cnx, "SELECT Location, 'Dept ID', 'Equip Type' FROM
>> Equipment01 WHERE Location = '415C'");

>> which returns the proper results but when I add  AND 'Equip Type' = 'C' to
>> the end of it I get no results.  Is my syntax correct?  Thanks, Aaron

>> $cur= odbc_exec( $cnx, "SELECT Location, 'Dept ID', 'Equip Type' FROM
>> Equipment01 WHERE Location = '415C' AND 'Equip Type' = 'C'");



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




Re[2]: [PHP-WIN] Help! PHP database connection error.

2001-02-09 Thread Gonzalo Vera

Then probably some permision trouble, different login? different file
location? Again, I'm at a loss (also switching from Win95 to Linux)
 :))

 Gonzalo.

> I've just tried creating an entirely new database and receive the same error
> as well as reparing the old database.  I've restarted the web server, still
> the same problem.

> The access 2000 db is on an iis 4.0 server which worked fine previously.

> Thanks,
> Aaron

> "Gonzalo Vera" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This usually happens when another user opens a table for modification
> (table definition): the table gets locked to all access. If you're
> only running localhost try "repairing" your database: maybe you got a
> corrupted table or db. Also if you're only on localhost, restart your
> computer to make sure all files get closed. If you're not only running
> localhost, and the database is on a remote server, you might have some
> more trouble, but still would need to do some/all of these actions.

> That was like a gunshot, but it has worked for me in the past... ;)

>  Gonzalo.

>> Up till late yesterday I was able to query my database but now I receive
>> this error.

>> Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] The
> Microsoft
>> Jet database engine cannot open the file '(unknown)'. It is already opened
>> exclusively by another user, or you need permission to view its data., SQL
>> state S1000 in SQLConnect in wwwroot\test.php on line 2

>> My script is only trying to make a connection at this time and it does not
>> work

>> > $cnx = odbc_connect (equipment2,'','');
?>>>

>> What went wrong?  Thanks,
>> Aaron



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




RE: [PHP-WIN] Why do we want to give YOU money?

2001-02-09 Thread Thor M. Steindorsson

Best thing to do, is complain to his host.

This yahoo uses his own url in the spam (not very bright).
After doing a whois, we of course have all his details :)
>From this info we can complain directly, and to his ISP.
We can't let these MF'ers continue this crap.

Here's the whois for the domain:

[Query: click-collect.com, Server: whois.corenic.net]

   Don  Roldan (template COCO-305810)
   [EMAIL PROTECTED]
   586j Manila Rd
   Manila, Manila   248932   PH

   Domain Name: click-collect.com
   Status:  production

   Admin Contact, Technical Contact, Zone Contact:
  Don Roldan (COCO-305810) [EMAIL PROTECTED]
  +6329562348

   CORE Registrar: CORE-20

   Record last modified: 2001-02-07 16:09:54 UTC by CORE-20
   Record created:   2000-03-24 03:29:32 UTC by CORE-20
   Record expires:   2002-03-23 21:30:42 UTC

   Domain servers in listed order:

   ns.hostmatters.com  208.56.139.101
   ns2.hostmatters.com 208.56.138.85

   Database last updated on 2001-02-09 20:54:57 UTC

[End of Data]

-Original Message-
From: Asendorf, John [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 10:53 AM
To: Mikey; Tom Mathews
Cc: php-windows
Subject: RE: [PHP-WIN] Why do we want to give YOU money?


Never respond to these things.  It just confirms your address for them.

-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Ipsa scientia potestas est


> -Original Message-
> From: Mikey [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 09, 2001 6:18 AM
> To: justforyou; Tom Mathews
> Cc: php-windows
> Subject: RE: [PHP-WIN] Why do we want to give YOU money?
> 
> 
> Good call!!!
> 
> >Is anyone else getting pissed off with the amount of shite 
> coming through 
> this
> >list?
> >Does anyone reply to this stuff with remove messages (from 
> the php lists not 
> your
> >own address!) or is there no designated administrator? If 
> no-one else already 
> does
> >it, then I'll happily take on the responsibility.
> >
> >Tom
> >
> >[EMAIL PROTECTED] wrote:
> >
> >> Simple answer, you were randomly selected from our 
> recently purchased
> >> opt-in lists. OK so why are we giving away money you ask?
> >>
> >> Another simple answer. We want you to discover what 
> 10,000's of other
> >> people just like you already know... our Casino is 
> fast-paced, interactive
> >> and just plain old fun.
> >>
> >> So if you like to gamble or if you've never tried but 
> always wanted to
> >> click on one of the links below now and collect your 
> $25.00 in bonus
> >> casino chips.
> >>
> >>   
> *
> >>   http://www.click-collect.com.com
> >>   
> *
> >>
> >> But that's not all, fabulous instaprizes and millions in 
> bonus dollars will
> >> also be won during the download. What if you were lucky 
> enough to win a...
> >>
> >> ** Mercedes Benz **
> >>  ** 3.5 Carat Diamond Ring **
> >>** Rolex Oyster Watch **
> >> ** 25,000 cool cash **
> >> ** Porsche Boxster **
> >>
> >> This could be your lucky day so don't wait... click now and win!!
> >>
> >>   
> *
> >>   http://www.click-collect.com
> >>   
> *
> >>
> >> 
> **
> ***
> >> Delivered to referrals and opt-ins *only*. All remove 
> requests are honored. 
> All
> >> players must be 21 years and over. Bonus dollars are only 
> available to 
> credit
> >> card depositors. We guarantee minimum wins. Good luck!
> >>
> >> 
> **
> ***
> >>
> >>   REMOVE
> >>  mailto:[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]
> >
> >
> >
> >--
> >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]
> 
> ---
> Flowers2send - your guarantee to success on Valentines Day!!!
> Visit www.flowers2send.com or phone 0845 1200 430
> 
> 
> 
> 
> 
> 
> -- 
> 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 PROTE

[PHP-WIN] PHP 4.0.4pl1 on WinNT install problem

2001-02-09 Thread Ognen Duzlevski

Hello,

I have Apache 1.3.14 installed and I downloaded PHP 4.0.4pl1, unzipped it,
moved all .DLL files as per the install.txt file to my WINNT\System32 dir
and changed the httpd.conf to LoadModule f:/php/sapi/php4apache.dll, added
all the other lines etc.

The msg I am getting when I want to startup the Apache server is:

Syntax error on line 205 of f:/apache/conf/httpd.conf:
Cannot load f:/apache/modules/php4apache.dll into server: (126) The
specified module could not be found:

I have PHP installed on f:\php. I also moved all f:\php\sapi .dll files to
f:\apache\modules and changed the httpd.conf accordingly (thats why above 
apache is looking for the module in f:\apache\modules). It didnt work
and it wouldnt work when LoadModule was set to load from f:\php\sapi.

I have also copied php.ini to my sysroot which is d:\winnt

Any ideas?

Ognen


-- 
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-WIN] addslashes() and binary data

2001-02-09 Thread Randall Barber

A curious man is me.

I have some binary data that I wish to insert into a database, and all examples I have 
seen have used:

$to_save = addslashes($binary_data);

This is supposed to escape all the characters that databases don't like.  

This function does not always work.  Some times it is fine, other times it causes my 
SQL statement to be completely wrong, or it evaluates the ('$to_save') variable as 
NULL and returns SQL COUNT field incorrect.

Am I missing something?  Can someone tell me how they guarantee that all the bad 
characters will be escaped?
Thanks in advance
RDB



php-windows Digest 10 Feb 2001 01:20:42 -0000 Issue 437

2001-02-09 Thread php-windows-digest-help


php-windows Digest 10 Feb 2001 01:20:42 - Issue 437

Topics (messages 5480 through 5491):

Re: MySQL setup tutorial
5480 by: Matt Williams
5481 by: Matt Williams

Re: Why do we want to give YOU money?
5482 by: Asendorf, John
5489 by: Thor M. Steindorsson

Help! PHP database connection error.
5483 by: aaron
5484 by: Gonzalo Vera
5485 by: aaron
5488 by: Gonzalo Vera

Re: php access query problem
5486 by: aaron
5487 by: Gonzalo Vera

PHP 4.0.4pl1 on WinNT install problem
5490 by: Ognen Duzlevski

addslashes() and binary data
5491 by: Randall Barber

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]


--



Installing MySQL on Windows;

1. Download the Mysql Win32 Binary.

2. Install as per setup file. Leave the default dir as mysql it's easier

3. Run c:\mysql\bin\mysqlshow - this should show a Database listing.

4. Set up password for root.
- cd c:\mysql\bin
- Type mysql
- Type DELETE FROM user WHERE username ='';
this will delete the default user
- Type UPDATE user SET password=PASSWORD('my_new_password') WHERE
user='root';
To change the root password
- Type exit;
to quit mysql
- Type mysqladmin reload
this will update the privileges you've just changed
- To make sure these have taken type mysql, you should get an access
denied error
- Now type mysql -uroot -p. You will be prompted for the password you 
gave
above.
- Enter this and you should be let in.
- You should really set up another user other than root for PHP to 
access
the db but if it's only for
testing you should be ok.
- I also recommend phpmyadmin for web administration.

This is very quick so it let me know if you have any other probs I will try
to help

All this info is in the mysql docs that come with the distro but can be a
little hard to find

M@

> -Original Message-
> From: Jan Aagaard [mailto:[EMAIL PROTECTED]]
> Sent: 09 February 2001 11:33
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] MySQL setup tutorial
>
>
> Anybody out there know where I can find a good tutorial on how to set op
> MySQL and make it work with PHP on the Windows platform?
>
> Please send a reply to my e-mail address allso.
>
> - Jan Aagaard
>
>
>
> --
> 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]
>





Alomost forgot

put this between 2 and 3.

You need to start the mysql demon by typing c:\mysql\bin\mysqld on win 9x
(this need will need to be run on every boot)
 or on NT/2000 c:\mysql\bin\mysqld-nt --install to install it as a service.

> Installing MySQL on Windows;
>
> 1. Download the Mysql Win32 Binary.
>
> 2. Install as per setup file. Leave the default dir as mysql it's easier
>
> 3. Run c:\mysql\bin\mysqlshow - this should show a Database listing.
>
> 4. Set up password for root.
>   - cd c:\mysql\bin
>   - Type mysql
>   - Type DELETE FROM user WHERE username ='';
>   this will delete the default user
>   - Type UPDATE user SET
> password=PASSWORD('my_new_password') WHERE user='root';
>   To change the root password
>   - Type exit;
>   to quit mysql
>   - Type mysqladmin reload
>   this will update the privileges you've just changed
>   - To make sure these have taken type mysql, you
> should get an access denied error
>   - Now type mysql -uroot -p. You will be prompted
> for the password you gave above.
>   - Enter this and you should be let in.
>   - You should really set up another user other than
> root for PHP to access the db but if it's only for
>   testing you should be ok.
>   - I also recommend phpmyadmin for web administration.
>
> This is very quick so it let me know if you have any other probs
> I will try to help
>
> All this info is in the mysql docs that come with the distro but
> can be a little hard to find
>
> M@
>
> > -Original Message-
> > From: Jan Aagaard [mailto:[EMAIL PROTECTED]]
> > Sent: 09 February 2001 11:33
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] MySQL setup tutorial
> >
> >
> > Anybody out there know where I can find a good tutorial on how to set op
> > MySQL and make it work with PHP on the Windows p