[PHP-DB] Re: Trapping and masking errors

2001-12-02 Thread Yasuo Ohgaki
Torrentuk wrote: > Hi, > I have written a simple form emailer for my site. In it I check to see if > the mail was sent successfully and if not I write some variables to an error > log. My question is, I would also like to write any php errors to the log > file, e.g. > > Warning: Failed to Connect

[PHP-DB] 4800 Would you like to lose weight while you sleep? 5060017

2001-12-02 Thread 1750600ultimate
As seen on NBC, CBS, CNN, and even Oprah! The health discovery that actually reverses aging while burning fat, without dieting or exercise! This proven discovery has even been reported on by the New England Journal of Medicine. Forget aging and dieting forever! And it's Guaranteed! Click

[PHP-DB] Re: storing binary data in mysql

2001-12-02 Thread Fred
Why do you think it cannot store binary data? Are you recieving an error message. If so, what it is? Fred Fai <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I use MySQL rpm to install in RedHat 7.2 in one of > my pc. Then I store binary data such as image i

[PHP-DB] Fw: Christmas Cash Alert Call

2001-12-02 Thread usa
To: [EMAIL PROTECTED] From: () Subject: Fw: Christmas Cash Alert Call Below is the result of your feedback form. It was submitted by () on Monday, December 3, 2001 at 00:22:14 --- message: CHRISTMAS CASH ALERT FREE

[PHP-DB] storing binary data in mysql

2001-12-02 Thread Fai
I use MySQL rpm to install in RedHat 7.2 in one of my pc. Then I store binary data such as image in MySQL and it works normally. However, I install source MySQL in RedHat 7.2 in another pc. But it cannot store binary data. Does anybody know the reason? Is that it need some special configure opti

[PHP-DB] Re: Intranet Server

2001-12-02 Thread Fred
As Mr. Loff mentioned, you can do all sorts of neat tricks with dns on an intranet that you cannot do for the internet. Make Intrantet a top level domain and go from there. The quintessential guide for DNS is here: http://www.linuxdoc.org/HOWTO/DNS-HOWTO.html Of course, this tutorial assumes th

RE: [PHP-DB] Large Table - Indexed - Select Time

2001-12-02 Thread Miles Thompson
Matt, Comments interspersed Miles At 05:36 PM 12/2/2001 -0600, Matt Friedman wrote: >Hi Miles, > >Thanks so much for your input. You're welcome! >I am interested in the idea of using char fields rather than integer >fields. Generally for any primary key field in a database I use an >unsigne

RE: [PHP-DB] Intranet Server

2001-12-02 Thread Matthew Loff
If you run a local DNS server, and have all computers in the school use it as their DNS server (which is likely the scenerio) then you can create local TLDs (top-level domains) as you please, as far as I know. If you're running a local UNIX server, take a look at the BIND documentation. If you

[PHP-DB] Intranet Server

2001-12-02 Thread Ali Nayeri
Hi all, I'm not sure if I should ask this question in this group, but since I'm using PHP in the process, I thought someone might be able to help me. Anyways. I'm in charge of creating an intranet webzine for my school and I've been working on the server-side for a while. I want to know if ther

RE: [PHP-DB] Large Table - Indexed - Select Time

2001-12-02 Thread Matt Friedman
Hi Miles, Thanks so much for your input. I am interested in the idea of using char fields rather than integer fields. Generally for any primary key field in a database I use an unsigned integer field auto-incremented. I don't think you are suggesting otherwise, are you? I don't think it was cl

Re: [PHP-DB] overwriting new information in a table

2001-12-02 Thread Miles Thompson
Take out the extraneous bracket! Should be: $sql = "update my_contacts set fname='$fname', name='$lname' where id=$id"; At 05:52 PM 12/2/2001 -0400, Miles Thompson wrote: >Kevin, > >There a couple of good tutorials on this sort of thing at >http://www.thickbook.com. Well worth a visit. > >I've

Re: [PHP-DB] overwriting new information in a table

2001-12-02 Thread Miles Thompson
Kevin, There a couple of good tutorials on this sort of thing at http://www.thickbook.com. Well worth a visit. I've plucked your shorter example out and re-written it this way: $sql = "update my_contacts set fname='$fname', name='$lname' where id=$id"); Note the single quotes around the $fna

[PHP-DB] overwriting new information in a table

2001-12-02 Thread Kevin Ruiz
I'm working on an application that will allow resellers to log into the site and see their potential buyers. When they log in they see their potential buyers and by clicking a link they will get more detailed information about their contacts. They will also have a link to update their clients li

Re: [PHP-DB] Large Table - Indexed - Select Time

2001-12-02 Thread Miles Thompson
Matt, A few things: Indexes are fastest means of accessing data in a relational database. Have the indexes you need for your queries, and no more, because building/adding to the index takes time as well. Length of the index key value also affects speed - longer expres

[PHP-DB] Trapping and masking errors

2001-12-02 Thread TorrentUK
Hi, I have written a simple form emailer for my site. In it I check to see if the mail was sent successfully and if not I write some variables to an error log. My question is, I would also like to write any php errors to the log file, e.g. Warning: Failed to Connect in d:\WWW\htdocs/RND_ski-info-

[PHP-DB] Username on NT Domain

2001-12-02 Thread Jack
Dear all Is there any function in php that can pass the username and password of NT domain to MYSQL interface?? I'm designning a database with interart with php for a web site, but i'm just concerning about the security of the user right!! Cheers Jack [EMAIL PROTECTED] -- PHP Database Mailing

RE: [PHP-DB] Tutorials for PHP & MySQL

2001-12-02 Thread BoNzO
Hi Geoff, i have gathered some tutorials http://bonzo.sineleven.nu Best Regards Mattias aka BoNzO -Original Message- From: Geoff E [mailto:[EMAIL PROTECTED]] Sent: den 2 december 2001 09:34 To: [EMAIL PROTECTED] Subject: [PHP-DB] Tutorials for PHP & MySQL I'm looking for newbie tutor

[PHP-DB] PHP and JAVA

2001-12-02 Thread Steve Haemelinck
Hi all Does anyone got any experience with JAVA in PHP? I tried to rebuild php with java support. Everything worked well but when I try to initiate Java in PHP, I get cannot instantiate Virtual machine. I use kaffe and I believe I have configured PHP correctly. See http://www.haemelinck.be:8080/

[PHP-DB] Tutorials for PHP & MySQL

2001-12-02 Thread Geoff E
I'm looking for newbie tutorials for php4+MySql database's. For example guestbooks, forums, etc... I have previous C and VB/Delphi experience, so that hopefully helps. :) Cheers, - Geoff -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi