[PHP] RE: [PHP-DB] How to optimize select of random record in DB ?

2004-10-15 Thread Bastien Koert
skip the two step process and use RAND in the sql statement SELECT * FROM table1, table2 WHERE a=b AND c bastien From: -{ Rene Brehmer }- <[EMAIL PROTECTED]> To: [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: [PHP-DB] How to optimize select of random record in DB ? Date: Fri, 15 Oct 2004 07:41:44 +02

[PHP] RE: [PHP-DB] Re: Office document upload to website (and inserting in MySQL if possible)

2004-10-02 Thread Bastien Koert
here is some code i wrote for a guy. // redefine the user error constants - PHP 4 only define("FATAL", E_USER_ERROR); define("ERROR", E_USER_WARNING); define("WARNING", E_USER_NOTICE); // set the error reporting level for this script error_reporting(FATAL); //Declarations $myfile = "

Re: [PHP] Days until Easter and Christmas

2008-11-17 Thread Bastien Koert
On Sun, Nov 16, 2008 at 1:18 PM, Yeti <[EMAIL PROTECTED]> wrote: > > I guess Canadians are slower, eh? :-) > LOL > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Only cuz it colder here! -- Bastien Cat, the other other white mea

Re: [PHP] Re: phpDesigner 2008?

2008-11-18 Thread Bastien Koert
On Tue, Nov 18, 2008 at 10:06 AM, Yeti <[EMAIL PROTECTED]> wrote: > Yes, NetBeans became my favourite too a while ago. And it runs on many > Operating Systems, is free and has a debugger. > I also like the way it handles projects. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubs

Re: [PHP] while-question

2008-11-18 Thread Bastien Koert
On Tue, Nov 18, 2008 at 9:33 AM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > Craige Leeder wrote: > >> Jochem Maas wrote: >> >>> klieder ... kliederen >>> >>> the E sound is short. >>> >>> >>> >> Interesting to know. Thanks :D >> >> - Craige >> > > don't believe him, "jochem" is really called Bob D

Re: [PHP] How to Execute Multiple SQL Updates Using PHP

2008-11-19 Thread Bastien Koert
On Wed, Nov 19, 2008 at 2:51 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Wed, 2008-11-19 at 18:51 +, Alice Wei wrote: > > Hi, > > > > I am inquiring on this list to see if it is possible to create a script > that takes multiple update statements without my having to write one "SQL" >

Re: [PHP] Re: file_Exists() and case

2008-11-24 Thread Bastien Koert
On Mon, Nov 24, 2008 at 10:02 AM, Stut <[EMAIL PROTECTED]> wrote: > On 24 Nov 2008, at 14:41, Stan wrote: > >> Shouting is something that happens when people are actually speaking and >> listening. In a medium where there is no other way to emphasize salient >> points in a message, capitalization

Re: [PHP] Netbeans 6.5 WAS: phpDesigner 2008?

2008-11-27 Thread Bastien Koert
On Wed, Nov 26, 2008 at 7:34 PM, Daevid Vincent <[EMAIL PROTECTED]> wrote: > On Tue, 2008-11-18 at 10:32 +, Holografix wrote: > > Hi > I tried PHPDesigner some time ago. It's not bad but now I'm using Netbeans > and it's a good editor: http://www.netbeans.org/ (it's free!) > > I watched the

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Bastien Koert
On Thu, Dec 4, 2008 at 4:44 AM, Sancar Saran <[EMAIL PROTECTED]>wrote: > On Thursday 04 December 2008 10:45:21 Richard Heyes wrote: > > Hi, > > > > From a recent IEBlog post: > > > > > http://blogs.msdn.com/ie/archive/2008/12/03/compatibility-view-improvements > >-to-come-in-ie8.aspx > > > Microso

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Bastien Koert
On Thu, Dec 4, 2008 at 9:10 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > > I am running IE8 beta and its a PoS. Constantly crashing and flaky as > shit. > > Point of Sale...? > > -- > Richard Heyes > > HTML5 Graphing for FF, Chrome, Opera and Safari: > http://www.rgraph.org (Updated November 29t

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Bastien Koert
On Thu, Dec 4, 2008 at 11:57 AM, Jay Moore <[EMAIL PROTECTED]> wrote: > I am running IE8 beta and its a PoS. Constantly crashing and flaky as shit. >> >> > > It's a beta. What do you expect? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/un

Re: [PHP] Help with IF ELSE

2008-12-05 Thread Bastien Koert
On Fri, Dec 5, 2008 at 9:17 AM, tedd <[EMAIL PROTECTED]> wrote: > At 7:19 AM -0500 12/5/08, David Stoltz wrote: > >> The problem turned out to be, since I'm using the MCRYPT function to >> encrypt the password, once in a while the encrypted password will have a bad >> character: >> > --snip-- > >>

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Bastien Koert
On Fri, Dec 5, 2008 at 3:18 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Fri, 2008-12-05 at 12:08 -0800, Yeti wrote: > > Java Script should always be an option, unless you write the > > validation for yourself or people you personally know only. > > > JavaScript is client-side, ergo untruste

Re: [PHP] Downloading file from local network machine

2008-12-05 Thread Bastien Koert
On Fri, Dec 5, 2008 at 3:22 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Fri, 2008-12-05 at 17:32 +, Mayer, Jonathan wrote: > > Thanks Wolf :) > > > > Yup, I had considered that, although there could be up to 8 different > servers so that's 8 seperately mapped drives. > > > > If that's t

Re: [PHP] MSSQL_CONNECT problem

2008-12-08 Thread Bastien Koert
On Mon, Dec 8, 2008 at 9:45 AM, Dan Shirah <[EMAIL PROTECTED]> wrote: > > > > Can't seem to connect with MSSQL_CONNECT. The function IS available. I'm > > in a Windows environment, connecting to a SQL 2000 instance. My code: > > > > mssql_connect('INTRA_SQL,1433', 'uname', 'password'); > > mssql_s

Re: [PHP] A MySQL Question

2008-12-09 Thread Bastien Koert
On Tue, Dec 9, 2008 at 11:40 AM, <[EMAIL PROTECTED]> wrote: > > Perhaps you couldn't hear the big bang in this universe, but what about in > the universe that spawned it? > :-) > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > The o

Re: [PHP] Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-11 Thread Bastien Koert
On Thu, Dec 11, 2008 at 10:15 AM, Eric Butera <[EMAIL PROTECTED]> wrote: > On Thu, Dec 11, 2008 at 9:56 AM, Terion Miller <[EMAIL PROTECTED]> > wrote: > > Hey Everyone, I am wondering if using a framework such as one of these > may > > make my life easier, which do any of you use and what has been

Re: [PHP] Foreign Keys Question

2008-12-11 Thread Bastien Koert
On Thu, Dec 11, 2008 at 12:56 PM, tedd wrote: > Hi gang: > > I know this is a MySQL question, but I get a better reply from this group > than the MySQL list (no offense meant to that list) -- In any event, here > goes. > > I currently have a project that's a classic example of a relational > data

Re: [PHP] First PHP program

2008-12-13 Thread Bastien Koert
On Sat, Dec 13, 2008 at 4:45 AM, Kevin Waterson wrote: > This one time, at band camp, Anwarulhaq wrote: > > > I am working on MS.net.But now i days i want to work on PHP. I dont know > the > > basis of PHP. Can any one guide me how i have to start with PHP and which > > editor i should use. Also

Re: [PHP] php client

2008-12-14 Thread Bastien Koert
On Sun, Dec 14, 2008 at 6:51 PM, Nathan Rixham wrote: > idan72 wrote: > >> Hi, >> >> I am new to PHP. >> I want to write a web client in PHP that will data to a server written in >> Java. >> I want that the client will send an object to the server. >> >> What is the best way to do that? >> Where

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread Bastien Koert
On Mon, Dec 15, 2008 at 2:49 PM, Jim Lucas wrote: > Ian Lin wrote: > > hi I have been searching for a way to get the php mail function to work > and have had no luck. I was hoping you could address my situation: > > > > I have a fairly new xampp install and I need to know how to get mail() to > w

Re: [PHP] Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Bastien Koert
On Mon, Dec 15, 2008 at 9:29 PM, Rob Gould wrote: > I have a mySQL database with 700,000 records in it, which are presently > keyed with an "auto-increment" field. > > What I'd like to do is create another field with a field where each and > every record number has a unique keyvalue. Example: "s

Re: [PHP] Printing

2008-12-17 Thread Bastien Koert
On Wed, Dec 17, 2008 at 2:57 PM, Dan Shirah wrote: > Hello all, > > Could someone please point me in the right direction for printing files > through PHP? > > I already have my application setup so that it creates documents and saves > them to a folder. How would I go about printing all of the f

Re: [PHP] Printing

2008-12-17 Thread Bastien Koert
On Wed, Dec 17, 2008 at 3:16 PM, Dan Shirah wrote: > > > > Do you want to print this on your office printer or on the website > users > > printer? > > > > If you are looking for away to print it on their printer, why not just > grab > > all the files that need to be printed, make a PDF of it, a

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Bastien Koert
On Wed, Dec 17, 2008 at 7:42 PM, Al wrote: > If anything can do it, it'll be ImageMagick > > Adam Randall wrote: > >> I'm amazed that this either doesn't exist, or is hard to find. I >> basically am looking for a way to read in an image into PHP, or shell >> out to something on the Linux side, an

Re: [PHP] PHP Form email w/attachment

2008-12-17 Thread Bastien Koert
On Wed, Dec 17, 2008 at 11:02 PM, jeffery harris < jhar...@harris4interactive.com> wrote: > I need to create a php form and mail it to a recipient (that I can do). My > question is how do I create an area for a file (.doc, or .pdf) to be > attached emailed along with other form data as well? > > -

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Bastien Koert
On Fri, Dec 19, 2008 at 11:48 AM, Jim Lucas wrote: > Gary Maddock-Greene wrote: > > Yes .. thanks Stuart. If I comment out that line I now get a different > > problem!! > > > > Unable to connect to database. > > > > One step closer!!! > > > > > > Well, now take and place a simple or die(mysql_err

Re: [PHP] ACL Framework / Library

2008-12-24 Thread Bastien Koert
On Wed, Dec 24, 2008 at 9:01 AM, Feris wrote: > Hi All, > Is there any references for a good ACL framework / library ? I want to > develop one but if there is any available I didn't want to reinvent the > wheel. > > Thanks, > > Feris > Zend has their ACL as part of the framework http://framewor

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Bastien Koert
On Tue, Dec 30, 2008 at 4:32 PM, Daniel Brown wrote: >To hell with being on-topic, since this list is generally never > on-topic for an entire thread anyway. > >This has been a roller-coaster year for some of us --- certainly > myself included --- but the year has come to a close. I want

Re: [PHP] IE Problem Detecting Post Variables

2009-01-01 Thread Bastien Koert
On Thu, Jan 1, 2009 at 11:59 AM, Ashley Sheridan wrote: > On Thu, 2009-01-01 at 11:25 -0500, Phpster wrote: > > What about using the onclick to set a js variable to be sent to the > > server? That should be more cross server compliant. > > > > Bastien > > > > Sent from my iPod > > > > On Dec 31, 2

Re: [PHP] First steps towards unix and php

2009-01-08 Thread Bastien Koert
On Thu, Jan 8, 2009 at 11:45 AM, John Corry wrote: > Ubuntu linux has been really easy to set up, administrate and > install/run programs. > > It has a huge user base, really good support forums and supports a > large variety of hardware configurations. I'm running it on my > Thinkpad T40, which

Re: [PHP] How can a script tell if there's a MySQL problem?

2009-01-09 Thread Bastien Koert
On Fri, Jan 9, 2009 at 11:07 AM, Per Jessen wrote: > Brian Dunning wrote: > > > I have one server that's pretty busy and runs into "Too many > > connections" from MySQL from time to time, and needs to have MySQL > > restarted to clear it up. > > You need to restart MySQL just because of too many

Re: [PHP] iconv is messing up a spreadsheet generated by the Spreadsheet Excel Writer

2009-01-13 Thread Bastien Koert
On Tue, Jan 13, 2009 at 10:47 AM, Thodoris wrote: > > Is there any chance its characters creeping in from being copied from a >> M$ program? I found that M$ software uses it's own character encodings >> for multibyte characters which causes no end of problems for web-based >> systems. A lot of i

Re: [PHP] installing php 5 with pdflib

2009-01-13 Thread Bastien Koert
On Tue, Jan 13, 2009 at 4:38 PM, Merlin Morgenstern wrote: > Hi there, > > I am still facing trouble with pdflib and php 5. After hours of research I > found that I do have to install the pecl package. So I decided to compile it > into php staticly like described here: > http://www.php-resource.de

Re: [PHP] developers life

2009-01-19 Thread Bastien Koert
On Mon, Jan 19, 2009 at 4:28 PM, Nathan Rixham wrote: > well just for the hell of it; and because I'm feeling worn.. > > anybody else find the following true when you're a developer? > > - frequent bursts of side-tracking onto more interesting subjects of course > > - vast amount of inhuman f

Re: [PHP] maybe we could all?

2009-01-19 Thread Bastien Koert
On Mon, Jan 19, 2009 at 9:35 PM, Nathan Rixham wrote: > Daniel Brown wrote: > >> On Mon, Jan 19, 2009 at 19:58, Edmund Hertle >> wrote: >> >> >>> Well, I think we should not go to fast... maybe we are setting up SVN, >>> webspace, domain, mailing-list and in the end this is only used by 4-5 >>>

Re: [PHP] Re: Client/Server Printing

2009-01-21 Thread Bastien Koert
On Tue, Jan 20, 2009 at 8:00 PM, Tony Marston wrote: > > "Paul M Foster" wrote in message > news:20090120151606.gu18...@quillandmouse.com... > > I'd like a side check on what I'm doing to print on our internal > > network. > > > > We have an internal server/site which uses PHP code I've written

Re: [PHP] Java / PHP Bridge

2009-01-23 Thread Bastien Koert
On Fri, Jan 23, 2009 at 10:02 AM, wrote: > > Zero real experience, but what I hear is that the Java / PHP bridges are a > bit brittle and difficult to shore up properly... > > You may want to consider going with HTTP REST / RPC services instead, as > those are quite solid, and you can get what yo

Re: [PHP] New PHP User with a simple question

2009-01-26 Thread Bastien Koert
On Mon, Jan 26, 2009 at 9:25 AM, Paul M Foster wrote: > On Mon, Jan 26, 2009 at 12:03:20AM -0600, Micah Gersten wrote: > > > Paul M Foster wrote: > > > > > > In case this has yet to be answered to your satisfaction... > > > > > > Your page will *have* to reload when the user presses the button, b

Re: [PHP] best practice wrt multi-lingual websites, gettext() etc.

2009-01-26 Thread Bastien Koert
On Mon, Jan 26, 2009 at 12:21 PM, Per Jessen wrote: > Phpster wrote: > > > Dunno if it's a best practice, but I store all the translations in the > > db for easy manipulation and extraction to a file for others to > > translate. That obviously involves both import and export utilities. > > Hi Bas

Re: [PHP] Kinda 0.T... php site and maintenance

2009-01-26 Thread Bastien Koert
On Mon, Jan 26, 2009 at 12:39 PM, Nitsan Bin-Nun wrote: > I have just quitted from my partial time job at the company. > I did some personally sites like that for 2 banks here in Israel. > > When I do something like that I usually basing the whole thing on the known > blogging platform WordPress,

Re: [PHP] Kinda 0.T... php site and maintenance

2009-01-26 Thread Bastien Koert
On Mon, Jan 26, 2009 at 4:24 PM, Ryan S wrote: > Hey, > Thanks everyone for replying, I really appreciate your input. > > One thing you forgot to mention, how much would it be for "maintenance" per > year? > Feel free to add anything you think you might have forgotten in your first > emails to me

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
On Wed, Jan 28, 2009 at 2:58 PM, Don Collier wrote: > > > Paul M Foster wrote: > >> On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: >> >> >> >>> I am just learning PHP from the O'Reilly "Learning PHP 5" book and I >>> have a question regarding the formatting of text. Actually it is a

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
On Wed, Jan 28, 2009 at 3:28 PM, Paul M Foster wrote: > On Wed, Jan 28, 2009 at 03:06:36PM -0500, Bastien Koert wrote: > > > On Wed, Jan 28, 2009 at 2:58 PM, Don Collier >wrote: > > > > > > > >> On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wro

Re: [PHP] Database Tables Relation Issue

2009-01-30 Thread Bastien Koert
On Fri, Jan 30, 2009 at 8:37 AM, Andrew Ballard wrote: > On Fri, Jan 30, 2009 at 3:38 AM, Nitsan Bin-Nun > wrote: > > Hi there, > > > > I'm working on something similar to mailing list in which every > registered > > user has the ability to create a mailing list and join others mailing > lists.

Re: [PHP] frameworks

2009-01-30 Thread Bastien Koert
On Fri, Jan 30, 2009 at 1:15 PM, Frank Stanovcak wrote: > Ok. I've done some reading on frameworks for PHP now, and have this > question. > > What are some good resources for learning about the various frameworks > available, and do you recomend one over another? If so why? > > I started using P

Re: [PHP] Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-01-30 Thread Bastien Koert
On Fri, Jan 30, 2009 at 2:18 PM, Carlos Medina wrote: > Nitsan Bin-Nun schrieb: > >> I was just wondering whether people enclosing their PHP tags declarations, >> I don't close these > needs them, >> and for the second reason - if a space/tab/new line/etc will beneath them >> it >> will cause >> p

Re: [PHP] Payment question in Canada

2009-01-30 Thread Bastien Koert
On Fri, Jan 30, 2009 at 2:11 PM, Ernie Kemp wrote: > My question is one of pay; hope this is the correct forum. > > > > A couple of people have asked me to write some PHP code for their website > backend. > > > > I need the money from this but I don't know what to charge them. I think > in tot

Re: [PHP] why does a html mail send as text ?

2009-02-04 Thread Bastien Koert
2009/2/4 Bulend Kolay > I attached my code > Thanks > > > > > Show your code, but it sounds like maybe the HTML flag is not set. >> Consider using a class like phpmailer or the mime mail class from >> phpclasses.org >> >> Bastien >> >> Sent from my iPod >> >> On Feb 4, 2009, at 6:28, "Bulend Ko

Re: [PHP] Mutiple SQL request

2009-02-04 Thread Bastien Koert
On Wed, Feb 4, 2009 at 9:43 AM, Jônatas Zechim wrote: > Hi there, i've a system that do a query each 3s, does it impact on mysql > Server? > I mean, can this slow my Server? > > zechim > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] Mutiple SQL request

2009-02-04 Thread Bastien Koert
; > I ran explain, the result for extra is 'Impossible WHERE noticed after > reading const table...' > > How can i optimize this query? > > Is there some tutorial on the net? > > > > Thanks, > > Zechim > > > > *De:* Bastien Koert [mai

Re: [PHP] is this use of subquery "smart"

2009-02-04 Thread Bastien Koert
On Wed, Feb 4, 2009 at 4:33 PM, Chris wrote: > > > Solution 2: >> SELECT r.reg_id, r.date_registered, r.old_record, if(r.ghost_record!=0, >> (SELECT CONCAT(people.last_name, ', ', people.first_name) FROM people, >> registrants WHERE people.instance_id=12 and >> people.person_id=registrants.perso

Re: [PHP] Garbage Collection

2009-02-05 Thread Bastien Koert
On Thu, Feb 5, 2009 at 11:10 AM, Eric Butera wrote: > On Thu, Feb 5, 2009 at 11:06 AM, tedd wrote: > > Hi gang: > > > > A related question to my last "Clarity needed" post. > > > > I have a tutor table (showing all the tutors), a course table (showing > all > > the courses), and a course-to-tuto

Re: [PHP] Clarity needed

2009-02-06 Thread Bastien Koert
On Fri, Feb 6, 2009 at 1:35 PM, Jochem Maas wrote: > ***RANT WARNING*** > > Shawn McKenzie schreef: > > Jochem Maas wrote: > >> Daniel Brown schreef: > >>> On Thu, Feb 5, 2009 at 07:56, Jochem Maas > wrote: > and the answer to you Q, like everyone else said: yup :-) > > PS - given

Re: [PHP] Re: Simple Search Logic Issue...

2009-02-16 Thread Bastien Koert
[snip] > > > > For example LIKE 'c' will only match a field that contains just 'c' > > LIKE '%c' will match a field starting with 'c' and containing any number of > characters > > [/snip] > Cheers > -- > David Robley > > Make like a banana and split. > Today is Sweetmorn, the 46th day of Chaos in t

Re: [PHP] Re: webapp to drive/monitor a bunch of system processes

2009-02-16 Thread Bastien Koert
On Wed, Feb 11, 2009 at 11:44 AM, Shawn McKenzie wrote: > bruce wrote: > > hi... > > > > i've got a project (goal) where i'm looking for a webbased app that > > drives/runs/monitors different linux/system processes. i'm basically > looking > > for different apps that i can look at to get ideas/see

Re: [PHP] E-Mail Attachment Filename Encoding Problem

2009-02-17 Thread Bastien Koert
On Tue, Feb 17, 2009 at 7:28 AM, Richard Heyes wrote: > > Cats are the other white meat. Sorry have flu, may be delirious > > You haven't been around any birds recently have you? > > -- > (A concerned) Richard Heyes > > HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: > http://www.rgr

Re: [PHP] function array problem

2009-02-17 Thread Bastien Koert
On Tue, Feb 17, 2009 at 3:10 PM, Ashley Sheridan wrote: > I've had a bit of a problem with a function I'm using for a form. > Essentially, the function looks like this: > > function addEvent($values = Array('name' => '', 'venue' => '', > 'description' => '', 'errors' => Array())) > { >// code

Re: [PHP] escape your variables

2009-02-18 Thread Bastien Koert
On Wed, Feb 18, 2009 at 8:34 AM, PJ wrote: > To focus on mysql_real_escape_string, I am recapping... questions below > QUOTE:== > Instead of doing this (for an imaginary table): > $sql = "insert into table1(field1, field2) values ('$value1', '$value2')"; > > do > $sql = "insert into table

Re: [PHP] Full versus relative URLs

2009-02-18 Thread Bastien Koert
On Wed, Feb 18, 2009 at 12:05 PM, PJ wrote: > Stuart wrote: > > 2009/2/18 PJ : > > > >> Stuart wrote: > >> > > > > > >> This generates a Fatal error: Cal to undefined function dirname() > > >> > > > > The dirname function is present in both PHP 4 and 5 and does not rely > > on

Re: [PHP] Two troublesome fields

2009-02-19 Thread Bastien Koert
On Thu, Feb 19, 2009 at 3:21 PM, Terion Miller wrote: > Hi all, I seem to be having a problem with getting two fields to insert > into > a table, the other fields insert but not these two > its from a form that is a duplicate, basically I have a workorder that I > want to make a copy of, I call it

[PHP] mobile texting app question

2009-02-20 Thread Bastien Koert
All, I am working on the design for an app that uses mobile phone texting to make payments, but I am having some trouble finding out how the whole mobile process works. I grow the CSC (common short code) set up and them acting as a clearing house, but can anyone point me to some docs on how the pr

Re: [PHP] Re: how to deal with multiple authors for one book

2009-02-24 Thread Bastien Koert
On Tue, Feb 24, 2009 at 8:59 AM, PJ wrote: > Reinhardt Christiansen wrote: > > > > > > > >> From: PJ > >> To: MySql > >> Subject: how to deal with multiple authors for one book > >> Date: Mon, 16 Feb 2009 17:20:54 -0500 > >> > >> In my db there are a number of books with several authors; so, I

Re: [PHP] Getting An Inventory Product Count

2009-02-27 Thread Bastien Koert
On Fri, Feb 27, 2009 at 11:17 AM, revDAVE wrote: > Newbie question > > Hi folks, > > Currently, I have an inventory table that stores individual records for > each > single item in inventory - ( each item is on its own line because it has > serial numbers associated with it) like: > > fields: > >

Re: [PHP] How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Bastien Koert
On Fri, Feb 27, 2009 at 2:04 PM, Bob McConnell wrote: > From: sstadel...@gmail.com > > > > Answering these 10 multiple choice questions--should take about 90 > > seconds--will help us understand what databases you need in your > > professional life, and how to deliver them to you. > > Put it on a

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Bastien Koert
On Fri, Feb 27, 2009 at 4:01 PM, Shawn McKenzie wrote: > Stan Stadelman wrote: > > Hello All: > > > > I'm trying to see how Web Edition databases are being used in your > company > > for PHP-driven web-apps. Our strategy team thought that free and > community > > editions would be dominant, but w

Re: [PHP] Get a list of column field names from a MS Access table

2009-02-27 Thread Bastien Koert
On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote: > Newbie question: > > I would like to get a list of column field names from a MS Access table and > hopefully get them returned in the ORIGINAL order (as they appear in > access) > > Is there a sql query I could do to get this result? > > > > > --

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Bastien Koert
On Tue, Mar 3, 2009 at 3:51 PM, Ashley Sheridan wrote: > On Tue, 2009-03-03 at 14:36 -0600, Terion Miller wrote: > > On Tue, Mar 3, 2009 at 2:20 PM, Ashley Sheridan < > a...@ashleysheridan.co.uk>wrote: > > > > > On Tue, 2009-03-03 at 14:09 -0600, Terion Miller wrote: > > > > I'm trying to use th

Re: [PHP] Strange charecters

2009-03-04 Thread Bastien Koert
On Wed, Mar 4, 2009 at 2:10 AM, Paul Scott wrote: > On Wed, 2009-03-04 at 10:09 +0530, Chetan Rane wrote: > > I am using ob_start() in my application. However I am getting this error > > about headers already sent. > > > > _Any_ output will set that error off. Check for Notices, Warnings, > echo'

Re: [PHP] verify another flavor

2009-03-06 Thread Bastien Koert
$sql1 = "SELECT first_name, last_name) FROM author WHERE (first_name LIKE 'first_nameIN' && last_nameIN LIKE 'last_nameIN')" On Fri, Mar 6, 2009 at 11:36 AM, PJ wrote: > I know I'm a pain the butt but I just can't help asking for help. You > guys are so nice... ;-) > I am trying to do some check

Re: [PHP] insert array values

2009-03-06 Thread Bastien Koert
On Fri, Mar 6, 2009 at 4:00 PM, PJ wrote: > I've been racking my little peanut-brain as well as big Google with > little hope... > I can retrieve the array from the multiple select dropdown box but I > can't quite manage to insert the data which is just id numbers for a table. > I've tried some w

Re: [PHP] include_path

2009-03-06 Thread Bastien Koert
On Fri, Mar 6, 2009 at 4:21 PM, Eric Lease Morgan wrote: > > On 3/6/09 4:19 PM, "9el" wrote: > > >> Ironically, Smarty/Smarty.class.php IS located under /usr/lib/php. So is > >> PEAR.php. > > > > /usr/lib/php is not in the default scope of webroot ie. /var/www :) > > You have to allow apache t

Re: [PHP] Header - Redirect Command Not Working

2009-03-10 Thread Bastien Koert
On Tue, Mar 10, 2009 at 3:13 PM, revDAVE wrote: > Newbie question... > > At the end of a php block I'm trying to use a redirect to go to another > page. > > header('Location: show.php'); > > It works on my test server w php 5.2.6 but not at the main server w v 5.12 > > Is there a way to get it to

Re: [PHP] Daily and Weekly Calendar classes

2009-03-12 Thread Bastien Koert
On Thu, Mar 12, 2009 at 9:05 PM, Jason Todd Slack-Moehrle < mailingli...@mailnewsrss.com> wrote: > Hi All, > > Does anyone have classes for creating a nice daily calendar? I can put the > data in MySQL and be queried, etc. > > Something that when I add events to the calendar it puts them in the ri

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Bastien Koert
On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari < sleepwal...@rahulsjohari.com> wrote: > Ave, > > I'm trying to retrieve data from a DBF database and write it to a CSV file > in a comma delimited format. I'm able to get the data and write it to CSV, > but it only writes the last row/record ... no

Re: [PHP] PHP to create an ERD (sic) on the fly on a web page based on current DB records?

2009-03-13 Thread Bastien Koert
On Fri, Mar 13, 2009 at 9:37 AM, haliphax wrote: > On Thu, Mar 12, 2009 at 7:47 PM, scubak1w1 wrote: > > Hello, > > > > Seeking some advice on how to create an ERD (sic) graphically on the page > on > > the fly when the page is 'called'... > > > > That is, I have a backend PostgreSQL database th

Re: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Bastien Koert
On Mon, Mar 16, 2009 at 10:06 AM, Alice Wei wrote: > > Hi, > > I use Linux, and I had installed PHP using yum install php. I am trying to > use the pdf_new function to create pdfs from existing text files, but I get > this error > >PHP Fatal error: Call to undefined function pdf_new() > > I

Re: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Bastien Koert
On Mon, Mar 16, 2009 at 11:32 AM, Alice Wei wrote: > > On Mon, Mar 16, 2009 at 10:06 AM, Alice Wei wrote: > > > > Hi, > > > > I use Linux, and I had installed PHP using yum install php. I am trying to > use the pdf_new function to create pdfs from existing text files, but I get > this error > >

Re: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Bastien Koert
[snip] > > > [/snip] > another option is FPDF from www.fpdf.org another class > > the classes are nice since they don't generally require the module to be > installed. > > If you are on Linux, another option might be FOP... > http://xmlgraphics.apache.org/fop/ > > I checked out the first link you

Re: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Bastien Koert
On Mon, Mar 16, 2009 at 1:48 PM, Alice Wei wrote: > [/snip] > another option is FPDF from www.fpdf.org another class > > the classes are nice since they don't generally require the module to be > installed. > > If you are on Linux, another option might be FOP... > http://xmlgraphics.apache.org/f

Re: [PHP] "Default" field

2009-03-18 Thread Bastien Koert
On Wed, Mar 18, 2009 at 4:18 PM, Paul M Foster wrote: > Slightly OT, but here's the question. Normally when a form paints, the > cursor isn't in any particular field. If you want to have the cursor > show up in a particular field, how do you do that? I knew at one time > and now can't find how it'

Re: [PHP] Smarty Tips and Techniques

2009-03-19 Thread Bastien Koert
On Thu, Mar 19, 2009 at 11:06 AM, Bob McConnell wrote: > From: Virgilio Quilario > >> That looks nice, but how do I get to the point where I can understand > >> how to use it? > >> > >> I have also looked at the Smarty site , but > >> their documents assume significant exp

Re: [PHP] Smarty Tips and Techniques

2009-03-19 Thread Bastien Koert
On Thu, Mar 19, 2009 at 12:36 PM, Bob McConnell wrote: > From: Shawn McKenzie > > Bob McConnell wrote: > >> From: Virgilio Quilario > That looks nice, but how do I get to the point where I can > understand > how to use it? > > I have also looked at the Smarty site

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Bastien Koert
On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote: > Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has > spaces in it > Haliphax, thanks for your comments. I tried escapeshellarg() to no end. > > I'm exploring your reply regarding proc_open, but how exactly does > pr

Re: [PHP] Read Text Content from PDF file

2009-03-20 Thread Bastien Koert
On Fri, Mar 20, 2009 at 9:48 AM, Andrei Bintintan wrote: > Hi to all, > > > > I have to read the texts from PDF documents with PHP. A solution would be > to > use http://www.foolabs.com/xpdf, but it is not installed on the server > that > I work with and it is not wanted to be installed. So I hav

Re: [PHP] Read Text Content from PDF file

2009-03-20 Thread Bastien Koert
On Fri, Mar 20, 2009 at 10:23 AM, Andrei Bintintan wrote: > Could you be more precise? I’m looking at that class, but I can’t see any > function that does that. > > Andy. > > > > *Von:* Bastien Koert [mailto:phps...@gmail.com] > *Gesendet:* 20 March 2009 14:57 >

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Bastien Koert
On Mon, Mar 23, 2009 at 10:43 AM, tedd wrote: > At 10:24 AM -0400 3/23/09, Robert Cummings wrote: > >> >> My point is, just because new techniques and technoloigies >> come out, is in no way a boundary condition on an existing technology's >> lifespan or efficacy in any particular environment. Th

Re: [PHP] Form To Mail script generators for Linux

2009-03-23 Thread Bastien Koert
On Mon, Mar 23, 2009 at 10:33 AM, Jacques Manukyan wrote: > Take a look at > http://php.resourceindex.com/Complete_Scripts/Form_Processing/ > > Note that not all the scripts there are free though so look at type. > > By the way, as long as the server can run PHP and there are no specific > shell c

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Bastien Koert
On Mon, Mar 23, 2009 at 11:35 AM, Shawn McKenzie wrote: > Arno Kuhl wrote: > > -Original Message- > > From: Sancar Saran [mailto:sancar.sa...@evodot.com] > > Sent: 23 March 2009 11:52 AM > > To: php-general@lists.php.net > > Subject: Re: [PHP] Frameworks / obstinate? > > > > Probably a bit

Re: [PHP] Error printer_open()

2009-03-27 Thread Bastien Koert
On Fri, Mar 27, 2009 at 8:37 AM, Gerardo Picotti wrote: > Hi. > I'm trying to use the printer functions in my php development. > I add the php_printer.dll in the "c:/php/ext/" path. > I add the line in the php.ini file like that: extension=php_printer.dll. > But that doesn't work and gives the nex

Re: [PHP] Help figuring out an uploading script problem...

2009-03-30 Thread Bastien Koert
2009/3/30 Terion Miller > I have this script that is no longer working to upload files, it goes thru > the motions and says the file is uploaded but then there is NO file in the > ArtWork folder > > any ideas? >if ($_FILES) { >for ($x=0; $x < 15; $x++) { >if (is_upload

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Bastien Koert
On Mon, Mar 30, 2009 at 12:05 PM, haliphax wrote: > On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes wrote: > >> When someone does that, it means the execution time between $t1 and > $t2... > > > > Is that for my benefit? Believe it or not, I do know the arcane art of > > subtraction... > > I wou

Re: [PHP] Java applet clearing session variables?

2009-04-02 Thread Bastien Koert
On Thu, Apr 2, 2009 at 3:26 PM, Dan King wrote: > It seems that our java applet is clearing our php session variables. > > I have an html form that saves user information as session variables. These > session variables are used to create folders, where uploaded files can be > saved. I've tested m

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Bastien Koert
On Fri, Apr 3, 2009 at 9:02 AM, Michael A. Peters wrote: > Andrew Williams wrote: > >> HOW DO YOU CONFIGURE scheduled task to use firefox instead of Internet >> Explorer >> >> > Install Linux ;) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/un

Re: [PHP] difficult select problem

2009-04-06 Thread Bastien Koert
On Mon, Apr 6, 2009 at 12:32 PM, PJ wrote: > I've searched the web, the tutorials, etc. with no luck and have asked > on MySql list with no luck and have even posted here with no replies. > So, let's try again: > > I am trying to limit the search for books to only those that start with > "A" (doe

Re: [PHP] difficult select problem

2009-04-07 Thread Bastien Koert
On Tue, Apr 7, 2009 at 1:10 PM, Michael A. Peters wrote: > PJ wrote: > >> Bob McConnell wrote: >> >>> From: PJ >>> First, let me thank you all for responding and offering suggestions. I appreciate it and I am learning things. However, it looks like my message is not getting across:

Re: [PHP] PHP bandwidth control

2009-04-07 Thread Bastien Koert
On Tue, Apr 7, 2009 at 1:36 PM, Michael A. Peters wrote: > tedd wrote: > >> At 2:46 PM +0100 4/7/09, Nick Cooper wrote: >> >>> Sorry to side track the issue, but when did this happen to you on >>> GoDaddy? >>> I have never experienced this problem. I have been using them for two >>> years >>> and

Re: [PHP] Hello, I have a question about php array max number

2009-04-09 Thread Bastien Koert
On Thu, Apr 9, 2009 at 2:36 PM, PeterDu wrote: > Hello, > > I have an array including 2000 records in database, > > but when fetch all of them, why just get 1500 records? > > Does that depend on my computer? > > Peter > > __ Information from ESET NOD32 Antivirus, version of virus > signat

Re: [PHP] pear mdb2 and null

2009-04-13 Thread Bastien Koert
[snip] >> I need it to error when an attempt to create a record without setting that >> field is attempted, but setting the field to an empty string is fine. >> >> Attempting to insert data without defining that field indicates there is >> not sufficient information to create a record. Setting that

Re: [PHP] try - catch is not so clear to me...

2009-04-14 Thread Bastien Koert
On Mon, Apr 13, 2009 at 11:34 PM, Lamp Lists wrote: > > > > > From: Marc Steinert > To: Lamp Lists > Cc: php-general@lists.php.net > Sent: Monday, April 13, 2009 11:27:08 AM > Subject: Re: [PHP] try - catch is not so clear to me... > > Basically try-catch gives

  1   2   3   4   5   6   >