RE: [PHP] php/mysql report builder

2002-11-26 Thread Miles Thompson
It's not the same as simply generating a report in PDF. He's looking for a band-type of report writer with groupoing levels, automatic totals, subtotals, sub reports, drag anddrop fields, right click formatting options, etc. One of the great leaps backwards with PHP, or any of the scripting l

Re: [PHP] **** Converting dynamic webpages into static HTML pages

2002-11-27 Thread Miles Thompson
ntally surround the whole of the output - this would bring NS 4.x to its knees. HTH - Miles Thompson At 02:57 PM 11/27/2002 -0500, Matt Vos wrote: I'm not sure... I always echo... I don't really like embedded code... gets confusing when one part of the page is one thing and another is a

Re: [PHP] Streaming audio

2002-11-27 Thread Miles Thompson
the file, using appropriate headers. For the second, why not do a redirect to the audio server, passing the necessary parameters? Not knowing the first thing about how this works, why not? Miles Thompson At 12:55 PM 11/27/2002 -0800, Mako Shark wrote: Does anyone know how to do streaming audio

Re: [PHP] Security question with PHP on Unix / Linux.

2003-02-04 Thread Miles Thompson
server is installed. No one is encouraged to all access to the underlying system through the web server, although the exec() function allows execution of some commands. I can't help you much more than that, and I believe the other list will be more fruitful. Regards - Miles Thompson At 07

RE: [PHP] tracking bulk email

2003-02-04 Thread Miles Thompson
Do the database updates, it's what db's are for!Q M. At 09:40 AM 2/4/2003 -0500, Leonard Burton wrote: What about making the log a .txt file and not a database? Wouldnt that be quicker? Leonard. -Original Message- From: Lowell Allen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04

Re: [PHP] Headers bust ?

2003-02-15 Thread Miles Thompson
find it at www.thickbook.com Scripting often requires us to invert what we would see as the "normal" flow of eventsl Cheers - Miles Thompson At 09:01 AM 2/15/2003 -0500, Malcolm wrote: Hello, I've been fooling with this for a few days now. I'm getting a hearders already sent e

Re: [PHP] Inserting records in a particular way in MySQL

2003-02-16 Thread Miles Thompson
Phillip, It doesn't matter, obviously you're not using the autoincrement ID for a foreign key. All this does is identify a record. If you did a SELECT and found a missing sequence number, what's to say that value would not be inserted by another user before your INSERT? If you have not set up

RE: [PHP] Inserting records in a particular way in MySQL

2003-02-16 Thread Miles Thompson
use auto increment. Not because of gaps, but in case I need to reload the table. They do have meaning if they are foreign keys to another table. - Larry -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 1:14 PM To: Phillip S. Baker; PHP

Re: [PHP] List tables

2003-03-15 Thread Miles Thompson
As noted earlier, in the manual and please don't cross post. Miles At 05:37 PM 3/26/2003 +, shaun wrote: Hi, i would like to list all of the tables and field names in my database e.g. table 1 field 1 field 2 field 3 table 2 field 1 field 2 field 3 table 3 field 1 field 2

Re: [PHP] PHP on one box, Apache on another?

2003-07-01 Thread Miles Thompson
Your intention is a little foggy. PHP is server side, it works through the web server, thus Apache parses the scripts, so no, it can't. If you mean scripts on one box, database on another, no problem. Miles Thompson At 09:20 AM 7/1/2003 -0500, Jay Blanchard wrote: I don't know the

Re: [PHP] file pointer

2003-07-01 Thread Miles Thompson
Start by checking the file functions in the manual - there are some interesting options for foen(). Miles At 10:59 AM 7/1/2003 -0500, Kyle Babich wrote: How would I set the file pointer to the very end of the last line of the file? ex. ahkjhff asdjfhlkajf sdfhaksljdh kasjdhkjlfh asdjfhklajs askjdh

Re: [PHP] how to modify in the db

2003-07-06 Thread Miles Thompson
Start with a good tutorial on PHP and MySQL - there are scads of them around, and Julie Meloni has some excellent examples at www.thickbook.com. At 04:41 PM 7/6/2003 -0300, Kevin Fradkin wrote: hi... i have this secuence to insert data to my db mysql_query ("INSERT INTO my_table( number,name,sur

Re: [PHP] qry not running??

2003-07-07 Thread Miles Thompson
Micah, Echo your SELECT statement to make certain it reads the way it should. Test for number of rows returned, or an error - $result probably contains nothing, that is it's not pointing to an array. Miles At 01:23 PM 7/7/2003 -0600, Micah Montoy wrote: Anyone see what is wrong with this? //ge

Re: [PHP] php arrays into flash

2003-07-07 Thread Miles Thompson
Jim, The key words are "implode" on the PHP side and "split" on the Flash side. Here's an example: The data is returned from PHP like so, after doing the connect, select, etc. to produce an array of 7 dates for back issues ... no claim that this is optimal code. if( $result && mysql_num_rows(

Re: [PHP] PHP, MySQL and Flash

2003-07-09 Thread Miles Thompson
Randy, Flash is so damned graphically oriented, but the graphic bits aren't necessarily connected to bits of data ... I'm just talking off the top of my head here w/o knowing any specifics of your requirements. Assuming you have n cars, then two tracks would have to be created, each with

Re: [PHP] MySQL Results - display issue :S

2003-07-09 Thread Miles Thompson
might be too much info; what does your prof want?) HTH - Miles Thompson At 10:45 AM 7/10/2003 +0930, Brenton Dobell wrote: I know im probibly getting irritating to most of you :P but i thought i may ask another thing that is on my mind! I have a sql query bringing back 200 rows for arguments sake

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Miles Thompson
Yes! And where do we find the tags ? Cheers - Miles At 09:55 PM 7/23/2003 +0200, Petre Agenbag wrote: If you want to "use PHP", then you must use the headers() function. BUT, with the header function, you MUST make sure that there will be absolutely NO output to the page before the header() fu

Re: [PHP] PHP Webpage like MySql- need to be able to see all fields and edit

2003-07-24 Thread Miles Thompson
Matt, Juli Meloni has a tutorial on this at her web site. I think it's called something like "Custom Error Messages" and if I remember the fields are pulled from a database, and there are code examples of how it operates if fields are not completed, information fails a simple parsing test, etc.

Re: [PHP] html and php in the same document

2003-07-24 Thread Miles Thompson
html page is parsed by PHP. He will still have to turn PHP on and off within the page. Unless he *really* wants to hide usage of PHP, I don't see the point of doing this. Miles Thompson PS Curt - Like the sig. Curt -- "I used to think I was indecisive, but now I'm not

Re: [PHP] Re: Parse error not understood

2003-08-06 Thread Miles Thompson
Yes, I'm top posting, pls forgive. This is a situation where an editor which has built-in brace matching really helps - if in the midst of "looking" one remembers to use it. Another tip, although it probably wouldn't help here: Save the code with a .phps extension and look at it in the browser.

Re: [PHP] AOL Email client

2003-08-08 Thread Miles Thompson
At 07:57 PM 8/7/2003 -0500, php list wrote: I am using php mail and setting all my $headers info to show From:, To:, etc. It work perfectly on my computer. I use MS Outlook. I am doing this for a client who received his email via his aol account. When he receives the email, the email comes in with

RE: [PHP] dev style guide

2003-08-09 Thread Miles Thompson
At 11:27 AM 8/6/2003 -0500, Jay Blanchard wrote: [snip] Just a remark but isn't it pointless to use Hungariannotation in a language that is by default typeless??? [/snip] We use it becuase we have a group of programmers, so the notation makes it easier for one in the group to understand the intenti

Re: [PHP] Flash Actionscript List or Forum

2003-08-11 Thread Miles Thompson
Some v. active lists here: http://chattyfig.figleaf.com This is moderately active, but munges code examples, so is less useful: <[EMAIL PROTECTED]> And the forums at Macromedia, of course. HTH - Miles Thompson At 03:08 AM 8/8/2003 -0400, Joe Harman wrote: Hello all, I've been doin

Re: [PHP] does PHP have a equivalent to the C++ #ifndef #define?

2003-08-14 Thread Miles Thompson
Not quite, but have a look at the function handling functions: http://www.php.net/manual/en/ref.funchand.php particularly http://www.php.net/manual/en/function.function-exists.php May not be what you want, but might get you close. Miles At 10:42 AM 8/10/2003 -0400, Dan Anderson wrote: I'm coding

Re: [PHP] Stop neurotic posting

2003-08-14 Thread Miles Thompson
At 02:54 AM 8/6/2003 -0400, andu wrote: if more people would read the manual or know how to find commonly asked and solved quetions this list would probaly drop in 20% (very rough estimate) of posts. Getting that information to the people who arn't reading the manual is a difficult task, cause i

Re: [PHP] Sum a column of values from a MySQL query

2003-08-14 Thread Miles Thompson
From bitter experience I'll suggest that it's a REALLY GOOD idea to store invoice totals, subtotals, etc. in either the invoice header record. If not rounding errors, or some small change in logic, can come back and bite you - accountants get *really* upset when that 3000.00 invoice becomes 3000

Re: [PHP] How to connect to DB

2003-08-17 Thread Miles Thompson
Take out the "@" so you can see what error is returned. Echo your defines to confirm that you are getting what you expect. Double check that you have the browser set to refresh on every call to a page. Clear your cache. Use the header() function to add code at the top of the page to force a re

Re: [PHP] Discussion: do you consider null a value or strictly a type?

2003-08-17 Thread Miles Thompson
At 03:20 PM 8/17/2003 -0400, Robert Cummings wrote: There has been a recent thread on the internals list as to the meaning and usage of the "null" datatype. Zeev claims, perhaps rightly so, the following: Zeev wrote: > > null is not a value, was never meant to be a value, and won't be a > value Int

Re: [PHP] webeditor

2003-03-29 Thread Miles Thompson
http://www.editworkspro.com/index.php I've not used it, and it requires IE - but the demo was impressive. Miles At 11:21 AM 3/28/2003 -0800, Daniel Guerrier wrote: Does anyone know of an open source webeditor that I can use to enter information into a text area field. I have a custom CMS and I wou

Re: [PHP] Looking functions for deal with special characters

2003-03-29 Thread Miles Thompson
e and represents only char 0 - 127 - what I know as high-ascii goes from 128 - 254 - happy faces and the like, and yes, characters with unlauts and acute or grave accents. If you look at the .csv with a plain text editor, what do you see? No answer - but I hope this helped. Miles Thompson At 10:16

Re: [PHP] Test tables existance

2003-03-30 Thread Miles Thompson
Come on, check the mysql section of the PHP manual ... this took about 20 sec http://www.php.net/manual/en/function.mysql-list-tables.php At 11:34 PM 3/30/2003 +0300, Antti wrote: How do I test if a mysql table exists or not? Is there a function for this? I didn't find a good one. -antti -- PHP

Re: [PHP] chill out

2003-04-03 Thread Miles Thompson
g a particular class, or won't let go of the bone, but they're rare. 8. Rasmus L. watches the list! 9. It's open to exchanges like this, which would never get past a moderator. 10. Overall, people are really responsive. Cheers - Miles Thompson At 01:14 PM 4/3/2003 +1000, [EMAIL PROTEC

Re: [PHP] chill out

2003-04-03 Thread Miles Thompson
Jason ... A fellow proofreader!! Well done! Miles > We all know your smarter than the rest of us ;-) I hope you don't think I'm making you stupid, but I think you mean "you're". -- Jason Wong -> Gremlins Associates -> www.gremlins.biz -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Individual member pages

2003-04-04 Thread Miles Thompson
member page? Because the header() is function is called and there can be no output at all before that function. How you authenticate is up to you, but there's a good start, if I remember correctly, at http://www.thickbook.com, or Devshed, Webmonkey, etc. There are a couple of good article

Re: [PHP] Fw: What Visual PHP Edit ?

2003-06-03 Thread Miles Thompson
The "editor" topic has been beat to death, please check the archive. However, PHP is code, all code, there's no "visual" component. All a visual editor would give you is a prettier interface; be more concerned about an editor that lets YOU write quickly and efficiently, whether it be vim, emacs

RE: [PHP] Best PHP books

2003-06-10 Thread Miles Thompson
on a dialup connection, too. Addressing examples, etc., there are an awful lot of good tutorials out there for PHP, once a couple of those are worked through you pretty well have what you need. HTH - Miles Thompson At 12:49 PM 6/10/2003 -0500, Jay Blanchard wrote: [snip] Does anyone have any

Re: [PHP] nl2br

2003-06-11 Thread Miles Thompson
ripslashes, and nothing else. When the story is fed for printing, the text body is processed this way, $stext = $row[ txtBody ] ; $stext = stripslashes( $row[ txtBody ] ); $stext = ereg_replace("(\r\n|\n|\r)", "", $stext); The last line was cribbed fro

Re: [PHP] slash trouble when editing text

2003-06-11 Thread Miles Thompson
Check out stripslashes(). MT At 04:16 PM 6/11/2003 -0400, Matt Palermo wrote: I wrote a small script that creates a link to all the .php and .txt files in a given directory. When one of these links is clicked, it brings up another window with the files contents inserted into a text area. From

Re: [PHP] nl2br

2003-06-11 Thread Miles Thompson
hen I have to edit a news story!) /mt At 05:50 PM 6/11/2003 -0400, Leif K-Brooks wrote: That's plain wrong. This is the /world wide/ web, not the IE users' club. Either stop that BS or keep off of the internet! Miles Thompson wrote: We limited our users to using IE -- The above

Re: [PHP] slow mail()

2003-06-13 Thread Miles Thompson
also investigate flush() (I think) . HTH -Miles Thompson At 03:19 PM 6/13/2003 +0200, you wrote: Hi all, Sending multiple emails using PHP - as BCC or multiple mail() commands - takes quite long; usually over 50 seconds for 10 addresses. While sending these messages the browser won't show any

Re: [PHP] WARNING: FW: Virus Found in message "[PHP-DB] Re Now how about Roman Numerals?"

2003-06-16 Thread Miles Thompson
Marios, Hard to say - bugbear is making the rounds, and it's a pernicious little beastie. It not only uses an existing address list, it has a built-in SMTP mailer and synthesizes not only "To:" addresses, but also "From:" addresses. Last week I had mail addressed to me ([EMAIL PROTECTED]) from

Re: [PHP] WARNING: FW: Virus Found in message "[PHP-DB] Re Now how about Roman Numerals?"

2003-06-16 Thread Miles Thompson
At 01:45 AM 6/17/2003 +0800, Jason Wong wrote: On Tuesday 17 June 2003 01:29, Miles Thompson wrote: > Hard to say - bugbear is making the rounds, and it's a pernicious little > beastie. > > It not only uses an existing address list, it has a built-in SMTP mailer > and synt

[PHP] Security conundrum ....

2003-06-22 Thread Miles Thompson
and I need a new one. I obviously can't pass ckval in the URL, and I don't have any way, that I know of, to fake a POST. Suggestions or nudges in the right direction will be appreciated. Regards - Miles Thompson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Security conundrum ....

2003-06-24 Thread Miles Thompson
So it's not a PHP solution, I'm popping up an intermediate window and closing it, which is ugly - flicker. And I've not been able to figure out a way to have that intermediate window open at a small size -- everything in JS seems to operate on children. Regards - Miles Thompson

Re: [PHP] weird switch behaviour

2003-06-26 Thread Miles Thompson
Try cleaning it up ... switch( trim( strtoupper( $type ) ) ); I had this happen to me - the $type echoed OK, but would not get caught in the "case". The above fixed it. Miles Thompson At 02:18 PM 6/18/2003 +0100, cg wrote: I am testing a var in a switch statement, sw

RE: [PHP] Re: Seraching for good Hotel & room booking program.....

2003-06-27 Thread Miles Thompson
Don't flame me, this doesn't have a PHP back end, I suspect it's Flash Communications server at the back end, as there seems to be a constant data stream for virtually every change made on the form. But everyone should have a look at the Broadmoor's Reservation system, and play with it a bit ...

RE: [PHP] php-general as REPLY TO

2003-06-30 Thread Miles Thompson
art typing "php-" it autocompletes. Sorry for jumping in, and wasting bandwidth, but this is a petty matter. More importantly, this is a pretty high quality list, with good questions, solid answers, and, most of the time, consideration shown for others. Regards - Miles Thompson At 0

Re: [PHP] pdf to html

2002-07-25 Thread Miles Thompson
to feed a pdf stored on disk to a browser. I'd imagine extracting and displaying a PDF from a database would be similar to doing the same thing for a .jpg. Miles Thompson At 10:03 AM 7/25/2002 -0500, Tyler Longren wrote: >Hi, > >I've been searching around for ways to convert

Re: [PHP] mailing list managers

2002-08-13 Thread Miles Thompson
mean it didn't have an interface, I edited the source for the script every time I sent a mail. No problem, as it was a "proof of concept". Mightn't there be something at Hotscripts? HTH - Miles Thompson At 01:09 AM 8/14/2002 +1000, Justin French wrote: >Hi all, > &g

Re: [PHP] include & require directive

2002-08-13 Thread Miles Thompson
Huy, Use Editplus, or something similar, not Notepad. Costs $45 and makes your work *much* easier. Miles At 08:41 AM 8/13/2002 -0700, Huy wrote: >Thanks, > >I thought I checked that already. Obviously, I use notepad in Win2000 to >edit the files, and save them as Unicode file, which Notepad p

[PHP] Shared Hosting and Security Qualms ...

2002-08-15 Thread Miles Thompson
table. I could also insert records (which I subsequently deleted) into existing tables. Call me naive, but is this normal, or should I bail on this arrangement before going any further? It's a BSD system. Comments and opinions are solicited. Regards - Miles Thompson -- PHP Gener

Re: [PHP] Shared Hosting and Security Qualms ...

2002-08-15 Thread Miles Thompson
rench > > >on 15/08/02 10:36 PM, Miles Thompson ([EMAIL PROTECTED]) wrote: > > > This is somewhat off-topic, but has to do with shared hosting. All of my > > experience with Linux has been on boxes where I've pretty well had the only > > account. I'm no

Re: [PHP] help with making appropriate indexes.

2002-08-15 Thread Miles Thompson
what they are. (You can do this unless you've gone too far with your system.) Miles Thompson At 02:15 PM 8/14/2002 +0200, lallous wrote: >give this query: > > SELECT > table_routing.id AS routeid, > t

Re: [PHP] Error

2002-08-15 Thread Miles Thompson
Havn't the foggiest idea what it means, but what has usually happened is that I missed a ";" on an earlier line. MT At 09:54 PM 8/15/2002 +0200, Christian Ista wrote: >Hello, > >Could you tell me the signification of this error : > >Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING

RE: [PHP] Error

2002-08-15 Thread Miles Thompson
Have you tried saving the pages with a .phps extension and looking at them in a browser? That usually uncovers syntactical errors quite quickly. Miles At 10:08 PM 8/15/2002 +0200, Christian Ista wrote: > > Havn't the foggiest idea what it means, but what has usually happened >is > > that I misse

Re: [PHP] PHP and Transactions with InnoDB

2002-08-29 Thread Miles Thompson
begin by transaction, execute them, and do a commit or a rollback. Cdn$ .02 - Miles Thompson At 04:59 PM 8/29/2002 +0200, Geranium wrote: >I could use some practical tips on doing transactions with InnoDB >tables in MySQL. > >I want to grab and lock a record and do a whole load o

Re: [PHP] question

2002-09-11 Thread Miles Thompson
Julie Meloni to the rescue again - http://www.thickbookcom, you'll find a tutorial on custom error messages. In fact, after working on that you may rethink your approach. Miles Thompson At 04:31 PM 9/11/2002 +0300, Meltem Demirkus wrote: >Hi, >I am working on a process which

[PHP] Import & Stamp PDF's

2002-09-20 Thread Miles Thompson
Save it Create the mail message & attach PDF Send it Delete the copy Repeat Regards - Miles Thompson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adding to a MySql Database

2002-09-24 Thread Miles Thompson
Marek's a bit more elegant, but I'm wondering when twelve of us press the button and the database is hit bang, bang, bang. Mightn't a MySQL autoincrement field be better, and let MySQL do the work? mt At 07:32 PM 9/24/2002 +0200, Marek Kilimajer wrote: >Or better UPDATE table SET col = col +1

Re: [PHP] MyPHPNuke1.8.8-1 *** Nuked ***

2002-09-25 Thread Miles Thompson
e "14" is the length of the theme name Make certain the name you use matches the case used in the directory holding the theme. The closing ";" must be included. I also tried clicking and swearing, but the system would not respond. Hope this helps - Miles Thompson At 03:58 AM 9/25

Re: [PHP] How to test if a number is negative

2002-09-25 Thread Miles Thompson
$x = -1; if ($x < 0 ){ echo "Negative"; else echo "Positive"; } Or am I missing something? Miles At 07:02 PM 9/25/2002 -0700, Mike Dunlop wrote: >I've look through all the numerican functions but can't readily see a way >to test for a negative number e.g -7 > >Any ideas o

Re: [PHP] How to test if a number is negative

2002-09-25 Thread Miles Thompson
Or, as my teenage son, who is smarter than me, suggests ... 1 / $x + abs( $x ) which yields 1/0 if $x is neg. (He didn't go into trapping for the error ... sigh.) Miles At 11:07 PM 9/25/2002 -0300, Miles Thompson wrote: >$x = -1; >if ($x < 0 ){ > echo &quo

RE: [PHP] what do you think?

2002-09-27 Thread Miles Thompson
Fully concur. mt At 01:26 PM 9/27/2002 +0100, Ford, Mike [LSS] wrote: > > -Original Message- > > From: Arminas [mailto:[EMAIL PROTECTED]] > > Sent: 27 September 2002 11:38 > > > > about http://smanager.web1000.com/ > >I think the page needs a drastic proof-read and grammar

Re: [PHP] Distance Script Available?

2002-10-04 Thread Miles Thompson
From concept to reality? mt At 02:51 PM 10/4/2002 +0200, Maxim Maletsky wrote: >Distance of what? > > >On Fri, 4 Oct 2002 07:21:53 -0500 >"RoyW" <[EMAIL PROTECTED]> wrote: > > > There has to be somewhere you can pick up a script or function that will > > calculate distance? > > > > :-) > > > > R

Re: [PHP] Getting Newest

2002-11-07 Thread Miles Thompson
be able to figure it out, otherwise query each table in turn & pick the most recent according to whatever criteria you use. Have an index on the field which determines "most recent", check the max() function and side effects it may have on query speed. Cheers - Miles Thompson PS Why

Re: [PHP] Exim sendmail faults

2002-07-04 Thread Miles Thompson
this? You may have to configure exim to use sympatico's SMTP server. (It's been so long since I've done that I forget how, and it was a real trial and error approach.) This probably isn't much help - Miles Thompson PS You may want to post this on the nslug.ca list; some mai

Re: [PHP] Exim sendmail faults

2002-07-04 Thread Miles Thompson
ox. This ain't much help - Miles At 02:21 PM 7/4/2002 -0400, Liam Gibbs wrote: >Miles Thompson wrote: > > Unfortunately I discarded the earlier messages, so I don't know what your > > error is. > >When I try to send an email I get: >unrouteable mail domain "

[PHP] Re: [PHP-DB] PHP dBASE connectivity

2002-07-04 Thread Miles Thompson
tions were not really reliable and were intended mostly to extract info for export to another database. I could not be 100% wrong on that, and I've not worked with the dbase functions in PHP. After this reply, please keep this focused on the php-db list. Regards - Miles Thompson At 12:14 P

Re: [PHP] Re: Working under Apache 1.3 but not Under IIS (Problem Resolved But its too Slow)...

2002-07-09 Thread Miles Thompson
sequential searches through a database. They are agonizingly slow. Regards - Miles Thompson PS cs.mun.ca is different, where are you located? At 04:31 PM 7/9/2002 -02-30, you wrote: >I got it fixed by changing the Max Execution Time in the >php.ini file... However, this is ridiculously sl

Re: [PHP] mysql question

2002-07-11 Thread Miles Thompson
ve often sat slack-mouthed wondering why I had no data, simply because I was using "<" when it should have been ">". Cheers - Miles Thompson At 12:06 PM 7/11/2002 -0400, Alexander Ross wrote: >I realize this isn't a php question, but I figured that someone here k

Re: [PHP] Searching a Paradox Table with my PHP Script..

2002-07-11 Thread Miles Thompson
se you can proceed with your processing. I've also noted Chris Hewitt's suggestions re number of connections, etc.; that's worth checking as well. See below as well ... Cheers - Miles Thompson At 04:00 PM 7/11/2002 -02-30, Kondwani Spike Mkandawire wrote: >Hallo folks: (Sorry fo

Re: [PHP] One more thing... e-mails format

2002-07-12 Thread Miles Thompson
ned to turn that off. Can you imagine reading an HTML formatted message in Pegasus, mutt or pine? Cheers - Miles Thompson At 02:45 AM 7/12/2002 -0300, César Aracena wrote: >It’s me again… and not PHP related. Why is it that every piece of mail I >send to the list comes back as a *rich text”

RE: [PHP] postnuke / geekware?

2002-07-18 Thread Miles Thompson
t; > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php John, Reasons why? I've been looking at a number of them; PostNuke seems to have the most aggressive development effort, including modules, blocks and themes.

[PHP] Re: [PHP-DB] Fatal error: Call to undefined function: pg_connect() in .....

2002-07-18 Thread Miles Thompson
e what they are. Regards - Miles Thompson At 06:37 PM 7/18/2002 -0700, Vincent wrote: >Hi, I'm a newbie here. I don't know what went wrong. >I've tried searching for solutions and can't find any. >How come pg_connect() isn't defined? Should I include >any header file

Re: [PHP] dynamical balancing text in two colums

2003-08-27 Thread Miles Thompson
lenght in a Flash movie, or accept "typewriter like" printout extending across the page. What made that decision easier was a survey which indicated that over 90% of subscribers read it on line and did not print it. Cheers - Miles Thompson At 07:10 PM 8/26/2003 +0200, Dynamical.biz

Re: [PHP] Linux Issues

2003-09-07 Thread Miles Thompson
untry. I'd also recommend buying a boxed version as you appear to be having trouble with your ISO images. If you insist on dloading, get Knoppix as it will run from the CD, then you can go from there. Verify the MD5 checksum's against what you downloaded. Regards - Miles Thompson

Re: [PHP] 'while' not picking up on first DB record

2003-09-17 Thread Miles Thompson
Please don't cross-post. See below - M. At 10:17 AM 9/17/2003 -0400, Roger Spears wrote: Hello, Can anyone from the lists please tell me why this bit of code is not picking up on the first record in the database? If the 'id' I'm looking for is '1' it doesn't populate the _SESSION variables. An

Re: [PHP] Slow searches in large database

2003-10-13 Thread Miles Thompson
on the MySQL list as it's really a db, not a PHP question. Cheers - Miles Thompson At 11:54 PM 10/13/2003 +0100, Adrian Teasdale wrote: Hi there Wondering if someone could help or give some advice. We have a mysql database that has approximately 20,000 records and has a total size of 125mb

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Miles Thompson
V. nice. All the more importnat ot NOT HIJAC threads. Miles At 10:07 AM 10/21/2003 -0400, Marco Tabini wrote: Hello Everyone-- I wanted to let you know about a new initiative that php|architect has launched: the Searchable PHP Mailing List Archive, which can be found at http://phparch.com/mailin

Re: [PHP] training material on PHP + MySQL + IIS + Windows 2000

2003-11-07 Thread Miles Thompson
esn't require a web server would be a good idea, say "Python in 24 Hours", if such a title exists. Regards - Miles Thompson PS You may want to familiarize yourself with Linux and Apache, as that's how the majority of web sites are hosted. You would also save yourself a

Re: [PHP] Is a while loop the most efficient way to send out multiple emails?

2003-12-30 Thread Miles Thompson
At 05:37 PM 12/30/2003 +0900, Dave G wrote: PHP Gurus, I currently run a few newsletters that go out to small groups of 50 to 100 people. I use a while loop to send out the emails. I chose a while loop as opposed to just taking all the emails and putting them in the CC field because I wante

[PHP] Classified Ads scripts with session authentication

2004-01-13 Thread Miles Thompson
and use the rest. I know this is a long shot - thanks for having a look. Regards - Miles Thompson PS What we want to do is enable subscribers to place ads for free, but have them available for anyone to look at. /mt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] mysql question

2004-01-15 Thread Miles Thompson
Christian, A red flag is flying. Usually, when people start talking about how the number of tables will multiply in an application, there is a problem with the design of data structures. If that's the case, now is the time to fix it. Miles At 05:35 PM 1/15/2004 +, Christian Calloway wrote

[PHP] Combining results - is there better way?

2004-01-16 Thread Miles Thompson
} // foreach My question is if there is a faster, cleaner way to do this? I did try array_search, but as it looks for any matching value anywhere in the target array the results it returned were not reliable. Regards - Miles Thompson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Combining results - is there better way?

2004-01-16 Thread Miles Thompson
John, Perfect. Don't know where my head was. Miles At 10:29 AM 1/16/2004 -0500, John W. Holmes wrote: Miles Thompson wrote: } // foreach My question is if there is a faster, cleaner way to do this? I did try array_search, but as it looks for any matching value anywhere in the target arra

Re: [PHP] mysql question

2004-01-16 Thread Miles Thompson
ables will increase. If I store that data in the "fields" table or create a table that has 1-many relationship with it, I endup with thousands and thousands of records (Remember, each product has 300+ fields associated with it, and each company has at least on product specfication, an

Re: [PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Miles Thompson
ticle.php"); I know it's not a socket, but it's plenty fast. Regards - Miles Thompson PS What good would a socket to PHP do, anyway? (I probably just revealed my ignorance!) /mt At 11:03 PM 1/20/2004 +0100, Eric Bolikowski wrote: Hey Ben I know it may sound nuts, but I real

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Miles Thompson
Editors are like hammers - once you get used to one, well that's what you use because you know how it behaves. For a Windows environment I'll endorse jeremy's recommendation of Ultraedit -- my hammer of choice. It offers some neat features: tons of macros and word files for various languages,

RE: [PHP] Calling a Windows Com object or an Extended Fetch?

2001-01-10 Thread Miles Thompson
---Original Message- >From: bard [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 09, 2001 5:37 PM >To: Miles Thompson >Cc: Paulson, Joseph V. "Jay"; [EMAIL PROTECTED] >Subject: Re: [PHP] Calling a Windows Com object or an Extended Fetch? > > >Or you could j

RE: [PHP] looking for a PHP editor

2001-01-10 Thread Miles Thompson
Cynic, I've never used version control -- other than saving as draft1, draft2, draft3 -- and there have been days I've wanted draft2.5. Is this something integral to the editor, or would a tool like CVS work? Versioning would be *good*. Miles At 07:26 PM 01/10/2001 +0100, Cynic wrote: >agree

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Miles Thompson
Actually, the pages I've been working on lately have been so code-intensive I've found it easier to echo/print the HTML, especially as not that much has been generated. When I turn PHP on and off I tend to have "OOPS" scenarios, and have to go searching for the previous "?>" or "Hello Alexande

Re: [PHP] looking for a PHP editor

2001-01-11 Thread Miles Thompson
ing logic and your editor keeps "helping" you. Have a great day - it's sunny, cold and clear in Nova Scotia this morning. Miles PS Like your sig. At 10:10 PM 01/10/2001 -0500, you wrote: >Hello Miles, > >(MT == "Miles Thompson") [EMAIL PROTECTED] writes: > >

[PHP] How to keep unauthorized viewers out

2001-01-16 Thread Miles Thompson
2.htm and seeing the article. I assume they could also come in that way via a search engine. Any suggestions on how to stop that? Resources I should look at? I do want to keep the stories in straight html as the editor is struggling now with basic layout, etc. Regards - Miles Thompson -- PHP

Re: [PHP] How to keep unauthorized viewers out

2001-01-16 Thread Miles Thompson
ndex page, they will >have > > to be authenticated, then the header, article and page footer are >displayed. > > > > There's nothing, however, to stop someone from typing an URL like this: > > http://www.somepub.ca/2.htm and seeing the article. I

Re: [PHP] best user authentication method?

2001-01-17 Thread Miles Thompson
ll truly have portability. Regards - Miles Thompson At 11:27 PM 01/16/2001 -0500, Romulo Roberto Pereira wrote: >hello! > >What is the best user authentication methd for linux (apache)? and for >windows (IIS)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

Re: [PHP] best user authentication method?

2001-01-17 Thread Miles Thompson
Opps - Forgot -- dbname.inc just contains the name of the database. In production it also contains the name of the user and the password. Miles At 08:44 PM 01/17/2001 -0400, Miles Thompson wrote: >IIS I'm not familiar with, and Apache has a native scheme involving .htaccess. > >

RE: [PHP] Script not updating

2001-02-25 Thread Miles Thompson
The query flagged by if ($submit) will always fire first, and it appears you will always have a $name value as well. I believe it's actually firing twice in some scenarios - runs the insert and then immediately updates. Will $submit contain different values? Then switch ( $submit ) { cas

Re: [PHP] Script not updating

2001-02-25 Thread Miles Thompson
http://www.thickbook.com Hope you are having lovely weather. Our forecast tonight is snow, followed by ice pellets, freezing rain, rain and then back to snow. All that's missing is the sunshine! Regards - Miles Thompson At 10:30 AM 2/26/01 +1100, Peter Houchin wrote: >Could some one pleas

Re: [PHP] Can't connect php to mysql on linux

2001-02-25 Thread Miles Thompson
ybe it'll get you going. It's not fun, but I've slowly learned to check basics first! (Like the wire, when there's a network connectivity problem - sheepish grin.) Regards - Miles Thompson At 10:11 AM 2/26/01 +1030, David Robley wrote: >On Sat, 24 Feb 2001 16:10, George

Re: [PHP] Using one invocation of PHP executable to generate multiple pages?

2001-02-25 Thread Miles Thompson
ages). So you can have little pages full of buttons or links which open up other pages, or sometimes a lot of PHP script generating relatively few lines of code, all depending on various conditions. Miles Thompson At 07:21 PM 2/25/01 -0500, Jim Lum wrote: >Hi, > >I have PHP installe

  1   2   3   4   5   6   >