Re: [PHP] URGENT!!! Can't start Apache with php4 and mysql

2001-08-02 Thread Miles Thompson
in a completely different location, have you done a "locate" to confirm that libmysqlclient is where you expect? I know, it's like checking for gas in the tank, but sometimes Cheers - Miles At 03:36 AM 8/2/01 -0700, Richard Kurth wrote: >I have read the archives for t

Re: [PHP] MySql help #1

2001-08-03 Thread Miles Thompson
Come on, you're pushing SQL in directions it's not supposed to go! It is set oriented after all. So it's experimentation time. I've never tried, but as LIMIT works on a SELECT, try it on an update. And let us know what happened. Miles At 10:30 AM 8/2/01 +0200, elias wrot

Re: [PHP] again

2001-08-03 Thread Miles Thompson
nobody", who usually, and properly, has zilch for permissions. Not much help - Miles At 10:11 AM 8/3/01 -0300, Eduardo Kokubo wrote: >I'm still trying to transfer a directory form one server to another but >with no results. >I have the username and password of the ftp account s

Re: [PHP] New lists (was [PHP] Attitude of B van Ouwerkerk)

2001-08-03 Thread Miles Thompson
ion? Yes. What I was trying to do with the loop? Don't think so. I've written enough - Miles PS For the first time a certain correspondent has come perilously close to auto-consignment to trash; instead he needs a high level of tough love. At 10:40 AM 8/2/01 -0400, Darren Henderson w

Re: [PHP] Registration key

2001-08-06 Thread Miles Thompson
stalling it?) This can be stored in Windows registry or, more simply, in some license file. As for the encryption/encoding part, you can rely on built-in functions in the language you are using, or devise your own. The key can be multi-part. In other words, this is your oyster - Miles Thompson PS

Re: [PHP] ASSISTANCE NEEDED

2001-08-06 Thread Miles Thompson
, if anyone wants to flame me for even bothering to respond, please do it off list so we won't waste bandwidth. Cheers - Miles Thompson At 12:17 PM 8/6/01 +, kelvin asonze wrote: >FROM: MR.KELVIN NZE. >AUDITING AND ACCOUNTING UNIT. >FOREIGN OPERATIONS DEPARTMENT. >BANQUE TOGO

Re: [PHP] subroutines?

2001-08-07 Thread Miles Thompson
rticularly the custom error messages example. http://www.thickbook.com Have fun - Miles At 04:37 PM 8/7/01 -0700, CGI GUY wrote: >How does PHP compensate for an apparent lack of >traditional subroutines (as with Perl, etc.)? It seems >like I'm going to have to script separate pages f

Re: [PHP] Storing Credit Card Numbers, etc.

2001-08-13 Thread Miles Thompson
storage of data is structured. This isn't the case with flat files. Well, a bunch of thoughts. I'd be very partial to using a database. Regards - Miles Thompson At 03:38 PM 8/13/01 -0500, Christopher Raymond wrote: >PHP Fellows: > >Thanks for taking the time to look at th

Re: [PHP] PHP Shopping Carts ??

2001-08-14 Thread Miles Thompson
www.fishcart.org At 02:22 PM 8/14/01 -0500, Christopher Raymond wrote: >Could anyone point me in the direction of some PHP shopping cart scripts? > > >Thanks, > >Christopher Raymond > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additi

RE: [PHP] text wrap in table

2001-08-24 Thread Miles Thompson
nt that the web is a different medium, and presentation has to change. If they resist, then generate PDF's and call by reference from the database. Regards - Miles Thompson At 03:47 AM 8/24/01 -0500, Navid Yar wrote: >Have you tried using the tag along with the tag? The tag >will

[PHP] Re: [PHP-DB] Move recordset to first record problems...

2001-08-22 Thread Miles Thompson
it first with MySQL, so that you know how it is supposed to work, then shift to ODBC and your own database. That's pretty general, but it should steer you in the right direction. Miles Thompson At 10:22 AM 8/22/01 +0200, Veniamin Goldin wrote: >Please help me ! > > >How to

RE: [PHP] The future of PHP

2001-08-25 Thread Miles Thompson
nts. It is very easy, particularly with PHP or ASP, to produce pages with a horrible, hard-to-follow commingling of straight HTML and scripting language, so that maintenance, for anyone, is very difficult. It is also easy to end up with obfuscated code in any of the main line, structured, languag

RE: [PHP] What is it with _vti?

2001-08-27 Thread Miles Thompson
Before you drop them, noodle around a little bit and learn how much extra crap and duplication of your site FP drops on you. It's like a bloody seagull! Miles BTW - Don't drop them on the Windows machine where you do your FP work, the poor program won't be able to function

Re: [PHP] Re: The future of PHP - accessory libraries

2001-08-28 Thread Miles Thompson
the libraries for everything other than core functionality. Your suggestions are sound and get my vote. I am keen to hear opinions from others. Regards - Miles Thompson At 11:29 AM 8/28/01 +0100, Geoff Caplan wrote: >Rasmus wrote > > > This is solved by people who roll distributions. Debian,

Re: [PHP] Database Preference?

2001-08-29 Thread Miles Thompson
pen source alternative is PostgreSQL. It has features your developers are used to, is adequately fast, and is certainly robust. It would probably be the easiest port. Drivers are kept current in PHP, Python, Perl and of course ODBC. Regards - Miles Thompson At 09:50 PM 8/28/01 -0400, james wr

Re: [PHP] cant connect to mysql

2001-08-29 Thread Miles Thompson
Is MySQL running? Miles At 08:04 AM 8/29/01 +0530, Sagar N Chand wrote: >Hi geeks, > >I have a strage problem over here. I developed a site which runs fine at >my home. >When i hosted it on to the remote server it is giving an error saying cant >connect >to mysql. t

Re: [PHP] Im back, oh and....

2001-08-29 Thread Miles Thompson
Kyle, Grow up and learn some manners! Miles Thompson At 03:25 PM 8/29/01 -0700, Kyle Smith wrote: >thanks and you age discrimination sucks! > > >-lk6- >http://www.StupeedStudios.f2s.com >Home of the burning lego man! > >ICQ: 115852509 >MSN: [EMAIL PRO

Re: [PHP] The future of PHP

2001-08-29 Thread Miles Thompson
We have to create some buzz. Ironically, we don't necessarily do that by promoting PHP explicitly, but by emphasizing results and benefits from the sites we develop. We then have opportunity to promote the tools used to achieve those results. Regards - Miles Thompson At 02:46 PM 8/29/01

Re: [PHP] Swapping background color

2001-08-29 Thread Miles Thompson
ther colour is, a deeper green I believe. Now, you may not like my choice of colours, but I was experimenting. The client settled on white and gray. Sigh. Miles At 10:57 AM 8/29/01 -0700, Alnisa Allgood wrote: >I'm not certain if this is more an HTML question or a PHP issue, but... >

Re: [PHP] Refreshing php.ini without restart...

2001-08-31 Thread Miles Thompson
Just restart the web server -- IIS or Apache Miles At 02:06 PM 8/31/01 +0800, Raphael Pirker wrote: >Hi, > >i just moved my PHP project from my local PC to the online webserver and I >will need to do a few adjustments to the server. since the server is used by >all the employees

Re: [PHP] Search capability to my intranet?

2001-09-03 Thread Miles Thompson
g and mnogo. Miles At 08:50 AM 9/3/01 -0400, Phil Labonte wrote: >What does everyone suggest I use as a search engine for my Intranet. > >Out Intranet has grown to a size where a search engine is needed. I use PHP >on Linux and I also use MySQL as my database. > >Any suggesti

Re: [PHP] 2what will be the output for this pgm?

2001-09-05 Thread Miles Thompson
What does a call to phpinfo() return? Miles At 02:45 AM 9/5/01 +0530, Balaji Ankem wrote: >Hi friend, >what will be the output for the following program? > > >>>>>>>>>>>>>>>>>>>>&g

Re: [PHP] Sending Broadcast Email - will a large loop cause a crash?

2001-09-06 Thread Miles Thompson
Well, try it - find a willing victim and just do a simple loop. Alternately, set up an account with a local, high-bandwidth ISP, batch in groups of 330-, and use BCC. Miles At 04:16 PM 9/6/01 -0700, Fotwun wrote: >Hi, > >I need to send a broadcast email to our customers (about 3,0

Re: [PHP] The future of PHP - PHP Pattern Repository

2001-09-06 Thread Miles Thompson
Geoff, I'm getting a 404 not found on that URL. Please check it. Miles At 05:07 PM 9/6/01 +0100, Geoff Caplan wrote: >Michael Kimsal wrote > > > Tell me more about your thoughts on this please. > >One of the strengths of PHP is the gentle learning curve. This means that a &

Re: [PHP] still learning php

2001-10-01 Thread Miles Thompson
you're using), and have a look at the tutorials Julie Meloni has on her http://www.thickbook.com site. Miles At 12:36 PM 10/1/01 +, Caleb Carvalho wrote: >Hi Dimitris, > >thanks, but what if I have 5 fields to add into ie name,surname,comments? > > > >C

Re: [PHP] Need Some Direction

2004-08-05 Thread Miles Thompson
way if someone comes to a members page through something like Google, they will be redirected automatically to the login page. Trust this his helpful - Miles Thompson At 11:42 AM 8/5/2004, Aaron Todd wrote: Hello, I am trying to build up a members only site, but I need some direction. So far I

Re: [PHP] Need Some Direction

2004-08-06 Thread Miles Thompson
. You all directed me to a good place. My pdf files sliped my mind when I posted. I should have added this problem before. I hope it can still be done. Thanks, Aaron Put the directory containing the .pdf's outside the web tree (webroot & descendants). Miles -- PHP General Mailing L

Re: [PHP] Sessions Problem !!

2004-08-06 Thread Miles Thompson
o diagnose your problem. HTH - Miles At 02:55 PM 8/6/2004, Dre wrote: Hi, I'm kinda new at PHP and I was trying to install one of the mailing lists and newsletter systems and during the installation process I got errors evertime the session_start() function called .. I had this before when

Re: [PHP] Pocket php

2004-08-17 Thread Miles Thompson
Doesn't MSFT have PIIS? Pocket Internet Information Server? If there's a web server that runs on the Pocket PC ... but I don't think so. MT At 03:14 PM 8/17/2004, dark monkey wrote: Hello, My name is Brendan Kettle ([EMAIL PROTECTED]), and I was wondering is there anyway to test/run php code on a

Re: [PHP] Communicate with Outlook

2004-08-25 Thread Miles Thompson
Did you try Google? It turned this up ... http://lists.ximian.com/archives/public/evolution/2000-May/026035.html The trick, I think, would be knowing the schema of the .pst. In early versions you could use Access to open the .pst. MT At 12:16 PM 8/25/2004, Shaun wrote: Hi, Is it possible for a PH

Re: [PHP] Closing my Window after Download

2004-08-26 Thread Miles Thompson
ow.self; // Make handle for current window named "parentwin" parentwin.opener = window.self;// Tell current window that it opened itself parentwin.close(); // Close window's parent (e.g. the current window) } HTH - Miles Thompson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Popup with recent IE updates

2004-08-26 Thread Miles Thompson
Most likely this is a consequence of Windows XP SP2, one of its side effects is blocking of popups in IE. Strange, like smokers becoming non-smokers. Check Sunbelt Software for some workarounds, they identified the problem about 12 da ago. Cheers - Miles At 01:11 PM 8/26/2004, Jason Wong wrote

[PHP] 5.0.1 broke mbstring regex?

2004-08-28 Thread Miles Keaton
I just upgraded PHP from 5.0 to 5.0.1 on a FreeBSD box. But unfortunately it seemed to break the regex features of mbstring At startup and every time I try to run PHP I get this: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20040412/mbstring.so' - /usr/local/lib/

Re: [PHP] 5.0.1 broke mbstring regex?

2004-08-29 Thread Miles Keaton
> Miles Keaton wrote: > > I just upgraded PHP from 5.0 to 5.0.1 on a FreeBSD box. > > > > But unfortunately it seemed to break the regex features of mbstring > > > > At startup and every time I try to run PHP I get this: > > > > PHP Warning: PHP Star

Re: [PHP] PHP5 Book Recommendation?

2004-09-18 Thread Miles Keaton
On Sun, 19 Sep 2004 07:26:25 +1000, Justin French <[EMAIL PROTECTED]> wrote: > Can someone recommend a decent PHP5 book? In particular, I'm > interested in Classes and OOP. I consider myself an above average PHP4 > developer, so I'm definitely not looking for a beginner book, BUT I > have ZERO ex

Re: [PHP] Creating a new window

2004-09-20 Thread Miles Thompson
JavaScript, not a PHP question., but chekc out onload() MT At 11:42 AM 9/20/2004, Todd Cary wrote: I am using PHP to create a button on a window so that a new window is created when the button is clicked using javaScript. Is there a way to create a new window inline; that is create a window on t

Re: [PHP] Credit Card processing: Chase PaymenTech

2008-12-14 Thread Miles Thompson
e. They also rely on *timing* for completion of transactions. Sort of lousy. Nevertheless, we will see. General reflection? All these companies seem to want your business, but then are hellaciously slow in providing basic information, responding to questions, etc. Good luck - you will need it in some measure. Cheers - Miles

Re: [PHP] Search functionality in website.

2008-12-29 Thread Miles Thompson
On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese wrote: > Hi all,I would like to set up search functionality on my website. I'm using > PHP and Mysql. Most of the pages contain static text in the html and is not > database driven. I need some idea on how should I go about it without moving > every

Re: [PHP] CMS

2009-07-08 Thread Miles Thompson
Typo3 we flirted with but never took to the dance. Ate a bit of CAKE as well, and again the 80:20 rule applies. Cheers - Miles On Wed, Jul 8, 2009 at 6:31 PM, madunix wrote: > Dear ALL, > > What  are the experiences you have with various open source CMS > products (Comparison of PHP-b

Re: [PHP] Language translation

2009-07-26 Thread Miles Thompson
gettext -not PHP, but a GNU project. PHP hooks: http://ca.php.net/manual/en/book.gettext.php, which contains a link to the project. In the past I've coded arrays of prompts, this is a more native solution. Cheers - Miles On Sat, Jul 25, 2009 at 10:37 PM, Skip Evans wrote: > Hey all, &g

Re: [PHP] reading MS Excel?

2006-12-28 Thread Miles Thompson
st is just an INSERT into the database. Cheers - Miles -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.28/606 - Release Date: 12/28/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please Help with simple Noob problem

2007-01-11 Thread Miles Thompson
e to stop and rstart Apache so httpd.conf will be read again. This is v. sketchy, but hope it helps. Cheers - Miles -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.16.9/622 - Release Date: 1/10/2007 -- PHP General Mailing

RE: [PHP] What makes a PHP expert

2007-01-18 Thread Miles Thompson
t, from a quite gorgeous tourist, that he must know where all the deep water channels were. "No ma'm" he replied, "but I know where the rocks are." Yep. Cheers - Miles -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Data

Re: [PHP] most powerful php editor

2007-01-21 Thread Miles Thompson
/ completion would be nice, particularly with frameworks like Qcodo. Which then leads me towards ZEND, although I've never used it. These observations have probably not been at all helpful. Regards - Miles PS You're not forgetting source code control, are you? /mt -- No viru

Re: [PHP] most powerful php editor

2007-01-24 Thread Miles Thompson
- say 21" square. How did we ever live with 12" terminal windows - huge to KayPro folk. Cheers - Miles -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.17.8/649 - Release Date: 1/23/2007 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recommend a PHP Framework

2007-02-10 Thread Miles Thompson
Most frameworks rely on a dtabase, but have a look at this: http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html

Re: [PHP] Redisplay file name on failed upload

2007-02-13 Thread Miles Thompson
Thanks guys - I guess the staging area is the way we'll go. (This is from gmail, I'm not used to it, so if I included all of the prev msgs, please forgive me.) Thanks - Miles

[PHP] Redisplay file name on failed upload

2007-02-13 Thread Miles Thompson
out of luck - apart from validating with JavaScript. Regards - Miles

Re: [PHP] Classified Ads Script

2007-02-20 Thread Miles Thompson
we use. Far cheaper to even buy the basic than to write your own, although our situation is simplified because classifieds are offered free to subscribers. Therefore I have no experience of how well anything associated with the payment side, incentives, etc. works. Regards - Miles

Re: [PHP] best framework (pear vs zend framework)

2007-03-01 Thread Miles Thompson
Yay!! Someone else working with qcodo. If I was starting afresh, that's what I would use. Current project is based on Joomla! - there is a lot to assimilate and much of it is old-style coding. Cheers - Miles

[PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1

2007-04-02 Thread Miles Thompson
e phpinfo() data AND shows configuration file paths: etc/php5/apache2 and /etc/php5/apache2/conf.d which have been deleted. Does anyone have experience with this beastie? A steer in the right direction would be appreciated, especially as I set up a new server about once every decade or so. Cheers - Miles

Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1

2007-04-02 Thread Miles Thompson
Thanks Mario, I'll try that tomorrow morning. Much appreciated - Miles On 4/2/07, Mario Guenterberg <[EMAIL PROTECTED]> wrote: On Mon, Apr 02, 2007 at 04:52:02PM -0300, Miles Thompson wrote: > This probably belongs under php-install, but thought I would try here first, > and i

Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1

2007-04-03 Thread Miles Thompson
Mario, That did it - when I tried to reload the phpinof.php script Apache did not know what to do with the file. Now I'll drag the compiler from it's dusty corner and start from scratch. Thanks a million - Miles On 4/2/07, Mario Guenterberg <[EMAIL PROTECTED]> wrote: On M

Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1

2007-04-03 Thread Miles Thompson
If you're interested I'll post another update tomorrow. Regards - Miles Thompson On 4/3/07, Mario Guenterberg <[EMAIL PROTECTED]> wrote: On Tue, Apr 03, 2007 at 08:50:31AM -0300, Miles Thompson wrote: > Mario, > > That did it - when I tried to reload the phpinof.php scr

Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1

2007-04-04 Thread Miles Thompson
On 4/4/07, Mario Guenterberg <[EMAIL PROTECTED]> wrote: On Tue, Apr 03, 2007 at 08:56:12PM -0300, Miles Thompson wrote: > Mario, > > Boy it's been a long day - it seems that every item I had in by configure > batch had to be installed; then at the very end of the day

[PHP] Location of .so files on Linux box

2007-04-10 Thread Miles Thompson
re/lib) Where apache2 loads it modules? (/usr/lib/apache2/modules) I'm puzzled and could not find any clues in the documents. Apache2 is not complaining on a restart. If I run PHP from the command line, it complains that it cannot find the extensions, but I understand that. Regards - Miles Thompson

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Miles Thompson
your account at any time, to whatever you need, as you grow. Some HUGE sites are hosted comfortably on Pair. Even php.net ;) Cheers, Rich -- Zend Certified Engineer http://www.corephp.co.uk Have a look at www.hub.org. They host PostgreSQL world wide, you get a virtual machine, not a virtual host, and they are v. helpful in setting up software. Miles

Re: [PHP] Ubuntu and Apache

2009-10-24 Thread Miles Thompson
Brian, You're not doing anything wrong. Apache runs as www-data in Ubuntu, so any file created by Apache will belong to that owner:group. Add yourself to the www-data group and life will become easier. Cheers - Miles On Sat, Oct 24, 2009 at 7:42 PM, Brian Hazelton wrote: > I know thi

Re: [PHP] Credit Card encryption

2010-05-30 Thread Miles Thompson
, etc, so we ran through the questionnaire at that level. It would take more time to design, implement and test the security and audit systems than to write the app. Furthermore, since we were doing the new project in the cloud we could not meet the requirements for physical security. So we settled for Tier4 - we take the information as part of the transaction, https to CC processor, get an "OK" or "Not OK" back, and no cardholder info stored on our server at all, apart from the transaction number. Cheers - Miles Thompson ~~ "The piano keys are black and white, But they sound like a million colours in your mind" Spider's Web - Katie Melua

Re: AW: [PHP] Student Suspended Over PHP use.[Incredibly OT]

2005-02-10 Thread Miles Thompson
Let's end this -- NOW please. Way off topic to start with, and it's gone from a posting of an old joke, through political criticism, to petty bickering. Please end this thread, now. Please don't reply to this, whether you agree or disagree - let's just end it. Cheers -

Re: [PHP] Forms

2005-03-21 Thread Miles Thompson
d while $row = mysql_fetch... 3. Then display it this way in the form: Hope this is helpful - Miles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] [semi OT]: Planning projects

2005-03-21 Thread Miles Thompson
, but then keypunch machines have been scarce. Cheers - Miles At 08:02 PM 3/21/2005, Chris W. Parker wrote: Richard Lynch <mailto:[EMAIL PROTECTED]> on Monday, March 21, 2005 3:44 PM said: > On Mon, March 21, 2005 2:55 pm, Chris W. Parker said: >> a pad of paper with a pencil. >

Re: [PHP] How to format every secound row in a database result

2005-03-30 Thread Miles Thompson
Maintain a counter as you display the returned results. Mod the counter by 2 (rowcounter % 2), set colour according to presence / absence of a remainder. Miles At 11:05 AM 3/30/2005, Georg wrote: Hi! I wish to format the output of a database select. The result is presented in a table, in which

Re: [PHP] What's the going rate for making websites ?

2005-04-03 Thread Miles Thompson
Leif, Amen, amen and amen. Miles At 08:52 PM 4/3/2005, Leif Gregory wrote: Hello -{, Sunday, April 3, 2005, 4:51:29 PM, you wrote: RB> What do y'all charge when you do sites for people ??? ... In the RB> past I've only done pro-bono work (because they usually don't RB> re

[PHP] OT - Blank subject lines!!!

2005-04-13 Thread Miles Thompson
I assume others are seeing these as well - infrequent postings with blank subject lines. Always throws me for a bit of a loop, forcing a "pause and adjust". For those replying to them, or hijacking them, please stop. Regards - Miles Thompson PS Truly Canadian - note the "plea

[PHP] Hosting - NoMonthlyFees

2005-04-13 Thread Miles Thompson
list with traffic, reply privately and I'll post a summary. Tks in advance - Miles Thompson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Getting a contract

2005-04-14 Thread Miles Thompson
elpful. You might also see if Whil Hentzen is still publishing his "Developers Guide" at http://www.hentzenwerke.com. Or ask if he has an old copy, mine dates from 1997. Cheers - Miles At 01:39 PM 4/14/2005, Ryan A wrote: Hey, There was some discussion before this on how much to charge to

Re: [PHP] Starting a big project

2005-05-01 Thread Miles Thompson
By asking "What do I need from the app?" or "What questions will the app have to answer?" or "What information does the client want?" and going from there. Those are all just about the same question. From there you can determine needed inputs, tables, keys, etc.

[PHP] Re: [PHP-DB] What's wrong with this IF statement?

2004-04-22 Thread Miles Thompson
Don't cross post -- you'll eventually annoy enough people that they'll stop responding! Here are some suggestions: Are you closing braces properly? (Assume you must be, otherwise errors would be thrown. Have you echoed your $cat_id so you know if you are getting? Use the in_array function to s

Re: [PHP] Multiple Update from one form

2004-05-18 Thread Miles Thompson
foreach ($chkdelete as $value){ $sql = "delete from subscriber where sub_key = '$value'"; $result = mysql_query($sql); } This way I'm in no danger of hitting a missing subscript as I might if I used $chkdelete[ $i ], incrementing $i HTH - Miles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple Update from one form

2004-05-18 Thread Miles Thompson
Enda Yes, you need the multi-dimensional array as you want to keep the data for the same line together. Miles At 09:03 PM 5/18/2004, Enda Nagle - Lists wrote: Hi Miles, Thanks for the reply. I see what you're doing there and had looked at the foreach() functionality, but am I right in s

[PHP] Re: [PHP-DB] Table locking

2004-07-11 Thread Miles Thompson
keep it simple, don't get bogged down in housekeeping. I believe table locking is a bad idea on the web as dropped or slow connections, browsers closed without a logout, and a host of other reasons can leave a record locked and unavailable. Regards - Miles Thompson At 07:44 PM 7/10/2004, you wro

Re: [PHP] amfphp

2007-09-03 Thread Miles Thompson
Not a v. good explanation I'm afraid, but hope it helps. Miles Thompson On 9/3/07, Nathan Wallis <[EMAIL PROTECTED]> wrote: > > Hey there, > > > > I am running amfphp on my webserver locally and it works well when I use > localhost, so I change localhost to m

Re: [PHP] combining 2 arrays

2007-10-16 Thread Miles Thompson
array_merge() function? If your db is MySQL, look at this thread, Google being your friend: http://lists.mysql.com/mysql/204616 Cheers - Milesx On 10/16/07, Ladislav Andel <[EMAIL PROTECTED]> wrote: > > Hi list! > I read data from 2 databases and for the purpose of displaying the > information a

Re: [PHP] MPEG Properties

2007-10-25 Thread Miles Thompson
Check out ffmpeg-php http://sourceforge.net/projects/ffmpeg-php/ Miles On 10/25/07, Bill Medley <[EMAIL PROTECTED]> wrote: > > Hello, all. > > Thanks for your help in advance. I'm trying to figure out how to get PHP > to > retrieve MPEG File Properties, specifically

Re: [PHP] Emailing dilemma

2007-11-26 Thread Miles Thompson
th the *-f* sendmail option." It is not well documented, don't know if this helps, but it may get you started. Cheers - Miles On Nov 26, 2007 3:21 PM, George Pitcher <[EMAIL PROTECTED]> wrote: > Hi, > > I have almost 30 websites that use PEAR::Mail to send emails on behalf of &g

Re: [PHP] Emailing dilemma

2007-11-27 Thread Miles Thompson
il_from',$useremail); but that doesn't > > > seem > > > to work either. > > > > > > Can anyone point me in the right direction, please? > > > > > > > > > Cheers > > > > > > George in Edinburgh > > > &

Re: [PHP] How to secure Flash Video? [Solved?]

2008-01-06 Thread Miles Thompson
re internal, and usually all that's necessary is to keep honest people from straying down the wrong path. Cheers - Miles On Jan 5, 2008 1:16 AM, tedd <[EMAIL PROTECTED]> wrote: > Hi gang: > > Here's my logic, so what's wrong with it? > > My sole concern here is to

Re: [PHP] Make eclipse-php recognise custom extension as php ?

2007-04-27 Thread Miles Thompson
On 4/27/07, Don Don <[EMAIL PROTECTED]> wrote: Hi all, i've changed my server's apache config to recognize my custom extension for php files. And all my development filenames now come with this new extension. However my IDE (Php Eclipse) will not recognise this new extension as a php file, ev

[PHP] No mail() function

2007-04-27 Thread Miles Thompson
and configure / make / checkinstall (instead of make install) worked fine. However, in phpinfo() under the "standard" heading there is no : Path to sendmail /usr/sbin/sendmail -t -i like there is on our production server. Suggestions and advice will be welcomed. Regards - Miles Thompson

[PHP] PHP debugger

2007-05-15 Thread Miles Thompson
ugging PHP itself, not scripts. Suggestions will be most welcome. Also, I'm not married to this, so if anyone thinks there is a better debugger, please jump in. Regards - Miles Thompson PS Why are we doing this? Because we are getting tired of debugging with Javascript alert() boxes. /mt

Re: [PHP] PHP debugger

2007-05-16 Thread Miles Thompson
-Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 08:21 To: PHP List Subject: [PHP] PHP debugger I am trying to load a PHP debugger in our most recent build of PHP 5.2.1. The debugger which I am trying to set up is the free, pre-compiled Linux

Re: [PHP] PHP debugger

2007-05-16 Thread Miles Thompson
On 5/16/07, Arno Kuhl <[EMAIL PROTECTED]> wrote: -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED] Sent: 16 May 2007 02:15 To: PHP List Subject: Re: [PHP] PHP debugger > > > -Original Message- > From: Miles Thompson [mailto:[EMAIL PROTECTED] &

[PHP] Re: [PHP-INSTALL] Mailparse extension

2007-05-22 Thread Miles Thompson
need a [mailparse] section in php.ini to set its parameters? Are you certain there is not an old instance of Apache running? Hope this helps - Miles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP debugger

2007-05-25 Thread Miles Thompson
On 5/25/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Miles Thompson wrote: > Suggestions will be most welcome. Also, I'm not married to this, so if > anyone thinks there is a better debugger, please jump in. I'm not going to jump in there ... I almost drown in tha

Re: [PHP] TableName with space

2007-06-05 Thread Miles Thompson
Thanks Karthik. Why would you want to? Apart from not having to change / search through lines of legacy code. Use order_details or orderDetails or OrderDetails or orderdetails but DON'T curse yourself with a space in a table which you will have to quote every time it's used. Cheers - Miles

Re: [PHP] taking a single payment online

2007-06-08 Thread Miles Thompson
Googling for: online payment services returns a slew of hits, among them www.auctionbytes.com/cab/pages/payment* *based in the UK. I don't believe you are going to find a "fully automatic" PHP connection for most of these services. HTH - Miles * * On 6/8/07, Ross <[EMAIL

Re: [PHP] Display paragraphs from a mysql db

2007-06-24 Thread Miles Thompson
p://php.ca/nl2br, as well as the other functions on that page. Works well - although you may to futz a little bit with the variations on break tags. Cheers - Miles Thompson

Re: [PHP] Controlling a scanner with PHP

2006-06-27 Thread Miles Thompson
George, You always have the interesting challenges served to you. Is this at the client or the server end? Controlled through the browser? Only at the browser on the server? I think there's a discussion about .com objects in the manual. Have fun - Miles At 09:16 AM 6/27/2006, G

RE: [PHP] Controlling a scanner with PHP

2006-06-27 Thread Miles Thompson
It's sort of in transition now between version 1 and version 2. Did this for a client as there was some database work we wanted to do on the local machine, fetching information from time to time from the database on the web. Works quite well and is saving them a lot of time. By now we&#x

Re: [PHP] Sort Array

2006-07-18 Thread Miles Thompson
and","Model"=>"WS1234"), "TBA0123451" => array("Country"=>"Germany","Model"=>"WS6234"), ) You do not way how the array is created. If from a database, add " SORT by Model, Country " to your que

Re: [PHP] card scanners and PHP

2006-07-26 Thread Miles Thompson
h PHP, but I was hoping to find others to compare it to. Anyone have or know of anything like this? Thanks! Jay, Do you mean a magnetic stripe reader? Information is scattered all over business cards. Miles -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.

Re: [PHP] Dynamically assigning var namesi

2006-08-01 Thread Miles Thompson
s for managing arrays you're away to the races. Alternately, if PHP will not allow arrays of objects, use parallel arrays. Either method will be much easier than trying to create $var1, $var2, ... $var Regards - Miles Thompson -- No virus found in this outgoing message. Chec

[PHP] OT - PHP Hosting Service in UK?

2006-09-05 Thread Miles Thompson
please make a suggestion. (I'm willing to accept one or two outages a years, more importantly, if there is a problem with email, etc., are they responsive?) Regards - Miles Thompson (902) 440-2010 "Ask the fruitful question." -- No virus found in this outgoing message. Checked by A

Re: [PHP] Excessive Php scripting?

2006-09-06 Thread Miles Thompson
rray and the then loop through the array, calling your function. to me, that's simpler. OTH - just build am HTML table. Either way, no big deal. I doubt you'll see much of a speed difference Cheers - Miles -- No virus found in this outgoing message. Checked by AVG Free Edition.

Re: [PHP] +AFs-OT+AF0- Working with version control

2006-09-22 Thread Miles Thompson
features enhancements are completed? Thanks, Chris. Not OT at all. Use Subversion. For a nice Windows interface - Tortoise. Sorry, I can't rememberthe name ofthe Linux interface. Miles -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Vir

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-25 Thread Miles Thompson
ontents( "../above_root/" . $filenam ); echo $contents; }else{ echo "Not found"; } HTH - Miles -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.8/455 - Release D

Re: [PHP] Re: Best open source project/framework to support a php training course?

2006-09-27 Thread Miles Thompson
to remember is that PHP is a templating language and doesn't necessarily need another structure built atop it. If you take students down the framework path watch that they do not stop learning PHP but start learning the templating language instead. PHP Architect has run some interesting artic

Re: [PHP] Re: postback for php

2006-10-18 Thread Miles Thompson
At 11:48 AM 10/18/2006, M.Sokolewicz wrote: Ross wrote: Looked on google and not found a satisfactory answer. Doies anyone have a funtion to do this? R. please explain, in details, what it is you're looking for. "postback for php - a function to do this" doesn't mean squat to most people. Pl

Re: [PHP] Problem with manual running PHP script

2006-10-27 Thread Miles Thompson
u would make certain you have the .dll for Oracle and enabled it in PHP. The browser and the command line are two completely different environments. Miles -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.14/501 - Release Da

<    1   2   3   4   5   6   >