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

2001-08-03 Thread Miles Thompson
Darren, et. al., Everything gets posted here - general syntax, database and install questions. Just look at the volume of php-mysql related questions; if they were directly posted on php-db the volume would drop to a more manageable level. Similarly, usage of php-install would help reduce traf

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
Jason pretty well suggested what to use. PHP scripts with a lot of logic in them usually have all the function definitions and logic at the top of the script and the display stuff at the end. Again, as I'm always recommending, have a look at Julie Meloni's Thickbook tutorials, particularly the

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 without all its redu

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. the error is like this > >War

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
In the generated HTML produced by your WHILE statement you can alternate colours. Here's one approach ... the code is bounded by table tags not seen here, the query has been executed and assigned to $result: while( $row = mysql_fetch_array( $result ) ) { if( ( $nCounter++ % 2 ) == 0 )

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 in the company,

Re: [PHP] Search capability to my intranet?

2001-09-03 Thread Miles Thompson
Check this, but didn't the latest stable release of MySQL add search capabilities to text fields, as in indexing key words? How is your database structured? What do you use for keys? A simple form may be all you need. For general indexing and searching of straight html there are htdig and mnog

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? > > >> > > $foo=$HTTP_SERVER_VARS["HTTP_REFERER"]; > > echo $foo; > >?> > > >>

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,000 emails).

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 >lot of people are using

Re: [PHP] still learning php

2001-10-01 Thread Miles Thompson
You just add more fields: $sql = "Insert into TABLE values('$name', $surname, $comments); that's assuming that the order of the data exactly matches the order of the fields in the table. Take the time to work through a couple of MySQL tutorials(assuming that's what you're using), and have a lo

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
At 05:42 PM 8/5/2004, Aaron Todd wrote: So far I have made this work. But now I have to ask...what about a pdf file? I cant add php code to it so what do I do. I need to be able to restrict the pdf so a user can only get to it during a current session. Thanks again for all the previous posts. Y

Re: [PHP] Sessions Problem !!

2004-08-06 Thread Miles Thompson
Hard to help when we don't know what the error is. You have to call session_start() before any output to the page, even a single space. Try it with a simple example you create to get a feel on how it works, then break it so it doesn't work, and you'll be in better shape to diagnose your problem

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:

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
On Sun, Dec 14, 2008 at 6:04 PM, Chris wrote: > phphelp -- kbk wrote: > >> Hello - - --- -- - -- >> >> I need to develop Credit Card processing for my current application. We >> have our own shopping cart. We have been trying in vain to get technical >> information from PaymenTech for *months* -

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
We have used both Joomla! and Drupal for clients and for our own use - and they're OK. We have probably standardized on Drupal. The big advantage is that they manage all the CRUD, and you spend 80% of your time bending either one to do the non-standard 20% which you absolutely *must* have. Typo3

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, > > We got a

Re: [PHP] reading MS Excel?

2006-12-28 Thread Miles Thompson
At 09:49 AM 12/28/2006, William Stokes wrote: Is it possible to read Excel files and store the info to DB? If so how? Thanks -Will Yes - but rather than re-invent the wheel, google for "php read excel". Your solution may be there. Once you have read the information, then the rest is just a

Re: [PHP] Please Help with simple Noob problem

2007-01-11 Thread Miles Thompson
At 11:39 AM 1/11/2007, Scott Bounds wrote: Hello all. I seem to be having a terrible tim ewith something that is so simple it makes me sick. I have a server running FC2. it has Apache 2.x.x on it and it came installed with php-4.x.x. Sorry I don't have the exact versions but fatigue and fru

RE: [PHP] What makes a PHP expert

2007-01-18 Thread Miles Thompson
At 09:55 AM 1/18/2007, Jay Blanchard wrote: First I would consider number of years of programming experience including how many years a programmer had been using PHP. I would examine some code and look for organization, documentation, and consistency. Is the programmer published (articles, boo

Re: [PHP] most powerful php editor

2007-01-21 Thread Miles Thompson
At 08:21 AM 1/21/2007, Robert Cummings wrote: On Sat, 2007-01-20 at 22:54 -0200, Vinicius C Silva wrote: > hi everyone! > > i'd like to ask something maybe commonly asked here. what is the most > powerful php editor? EditPlus or UltraEdit - particularly like the former because I can edit file

Re: [PHP] most powerful php editor

2007-01-24 Thread Miles Thompson
At 09:41 AM 1/24/2007, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-24 13:57:03 +0200: > and also in these days I'm looking for 19 inch (or more) wide LCD > sceerns to able to fit longer lines in my screen... Number of reading errors people make grows with line length, this has been kno

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
When a file upload fails, not because of a problem with the upload itself, is there anyway of assigning the value captured by when the form is redisplayed? The failure may not be due to a problem with the file being uploaded, but because the user failed to complete a keywords field or some o

Re: [PHP] Classified Ads Script

2007-02-20 Thread Miles Thompson
On 2/19/07, Matt Arnilo S. Baluyos (Mailing Lists) < [EMAIL PROTECTED]> wrote: Hello everyone, I'm planning to put up a local classified ads website and I'm looking for an open-source script for this. I've already had some links from Google and Sourceforge but I'd like to get some opinions on

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
This probably belongs under php-install, but thought I would try here first, and it comes under the general header of "Be careful what you wish for". On a new Ubuntu (Debian) server I installed this version of PHP because I wanted some 5.2 features. It's the hardened version, and not the one we w

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
on, 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 it comes under the general header of "Be careful what you wish for". > > On a new Ubuntu (Debian) server I installed this version of PH

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
On 4/13/07, Richard Davey <[EMAIL PROTECTED]> wrote: Micky Hulse wrote: > Lol, funny you should mention that... Within a few days of getting an > account, my server went down with a bunch of other folks... I guess it > was a "DOS" attack or something. It will be the first of many :) Oh and he

Re: [PHP] Ubuntu and Apache

2009-10-24 Thread Miles Thompson
Brian > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- 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: [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 - Miles -- PHP General Mail

Re: [PHP] Forms

2005-03-21 Thread Miles Thompson
At 12:04 PM 3/21/2005, Marquez Design wrote: Greetings, Does anyone know how to get a particular option to display in a drop menu? Option Value - value1 value2 value3 value4 The user has previously selected a category. That information is in the database. Here they are

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

2005-03-21 Thread Miles Thompson
I'm with Richard - lots of scrap paper, couple of nice sharp HB pencils ... let it ferment a bit, then pseudocode in a plain text editor. As for the graphics - well, I have an old template used in Introductory Basic for the Control Data Corporation . Haven't used it since about 1970, but then k

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 i'd

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> require much work, so it's no

[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
Keep this in mind - I'll repeat it: WE ARE DOING INTELLECTUAL WORK, not painting walls. The simplest request can have unknown ramifications. I was lucky - in hindsight - got burned that way after I'd been in business about 6 weeks. Wrote up one of those beautiful proposals which outline exactl

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. Cheers - Miles At 01:45 PM 5/1/200

[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
At 07:56 PM 5/18/2004, Enda Nagle - Lists wrote: Its OK guys, Got something else myself. Here¹s the solution... Any suggestions appreciated... / // UPDATE PART / $i=1; //while ($ordersinfo[$i]) while ($i < $total) { $session = $ordersinfo[$i][

Re: [PHP] Multiple Update from one form

2004-05-18 Thread Miles Thompson
aying that I still need to use the multidimensional array since there are three variables in each line? (id, tracking, kb_ship)? Enda -- On 19/05/2004 00:58, "Miles Thompson" <[EMAIL PROTECTED]> wrote: At 07:56 PM 5/18/2004, Enda Nagle - Lists wrote: >Its OK guys, > >Got

[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 the length of the video file

Re: [PHP] Emailing dilemma

2007-11-26 Thread Miles Thompson
George, Had this problem a year ago, although I'm not using PEAR. Have a look at http://ca3.php.net/manual/en/function.mail.php and this down in the additional_parameters(optional) section: "For example, this can be used to set the envelope sender address when using sendmail with the *-f* sendmai

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
Tedd, As Casey noted, there's no totally secure methodolgy, but your's is close enough - everything is wrapped in the Flash movie, so even if the movie is sent on to someone else, that someone has to be approved. We've been doing something similar for several years now, validating against a datab

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
On 5/21/07, Tim Donnelly <[EMAIL PROTECTED]> wrote: I should preface this by saying, I am not a PHP person. I have been able to install php in the past and get things to work, but this time I am having fits. I am running php 5.2.1, apache 1.3.34, OpenSuSE 10.0 on a 64bit AMD platform. I have

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
On 6/5/07, karthi keyan <[EMAIL PROTECTED]> wrote: Hi, How can I create a table with spaces "Order details" in MSSQL using PHP? I am able to create manually the table name with space by providing the name in Double Quotes. Is there a way out to do this using PHP? Thanks Karthik. Why

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 PROTECTED]> wrote: H

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, George Pitcher

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
At 04:31 PM 7/26/2006, Jay Blanchard wrote: For our retail application (written in PHP) we are looking for a class that will work with a scanner to scan a driver's license or business card and populate the forms properly with that data. I have found a product (IDScan) that may work with PHP, but

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
At 02:02 AM 9/6/2006, Justin Madru wrote: I'm creating a simple personal web server. On a few of the pages is a html table. I was thinking of making it a php script, and the script would just output the html code for _one_ row. I would be calling the same very small php script maybe _30+_ time

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

2006-09-22 Thread Miles Thompson
At 06:21 PM 9/21/2006, Chris W. Parker wrote: Hello, This is off topic but I wanted to get the list member's opinions on the subject as it will probably benefit someone else. Currently I don't use version control at all. What I do instead is have one directory that contains my development webs

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-25 Thread Miles Thompson
At 01:44 AM 9/25/2006, Ramiro wrote: Hi, i'm trying to find a good solution to this problem. I want download files from a directory outside DocumentRoot. This files cannot be downloaded through direct url like http://site/test.zip. It must be downloaded after user login. I know i can do that u

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

2006-09-27 Thread Miles Thompson
At 07:02 AM 9/27/2006, Tony Marston wrote: If you want a web application framework that your students can play with may I suggest http://www.radicore.org This is already being used as a training aid by a university in the far east, so it must have some merit. -- Tony Marston http://www.tonymar

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
At 08:22 AM 10/27/2006, Rosen wrote: Hi, I have scheduled php script, which runs with "c:\php\php.exe php test.php", i.e. without browser. I give working dir the directory of the script. When I start it from the browser all is ok. But when I start manualy sctipt with "c:\php\php.exe text.php >ll

RE: [PHP] [funny] The state of Java Development

2006-10-27 Thread Miles Thompson
At 06:04 PM 10/27/2006, you wrote: UGH This stupid list server stripped out the inline image. WTF!? Here, I put it on my site http://daevid.com/junk/Java_Dev.jpg DÆVID They have the same staff trainer as Chapters / Indigo has in Canada. Chapters also threw out 1/4 of the books and repl

Re: [PHP] Merry Christmas!

2006-12-25 Thread Miles Thompson
At 07:20 AM 12/25/2006, Robert Cummings wrote: WhoooOO! Hope you all have a great Christmas day. If you don't celebrate Christmas, then I hope you have a great Christmas day anyways *lol*. If this post offends you due to it's promotion of Christmas then I apologize and hope y

Re: [PHP] Mysql Rows

2006-03-04 Thread Miles Thompson
I hope the following will be helpful, and it is a bit of a rant .. The row number DOES NOT MATTER and is absolutely irrelevant. MySQL is a relational database from which information is gathered by means of comparing fields to key values. Even if you are using an auto-incremented primary key

RE: [PHP] Mysql Rows

2006-03-06 Thread Miles Thompson
At 10:56 AM 3/6/2006, tedd wrote: As such, if you don't renumber, then the only thing left is to use a timestamp, I guess. [/snip] No, if you have gaps you can still step through sequentially, like 14, 15, 18, 19, 20... It's the gaps that are the problem. I have no problem understanding why

Re: [PHP] Poker stats GET/POST page devleopment

2006-03-07 Thread Miles Thompson
At 12:26 PM 3/7/2006, The Doctor wrote: Someone wishes to develop a site using PHP/SQL . Here are the specs: The site the client is looking for is not a gaming site. It is a site where players register to keep track of their winnings on GAMING sites. It will have a freeroll side(where play

Re: [PHP] Incremental Date Based ID

2006-03-07 Thread Miles Thompson
automatically. Just establish a table for id values. It has two fields, table_name and id_value. Write a function to grab the current id_value, then increment and store it. Note grab first, then increment and store. I still think this is much more work than you need. Regards - Miles Thompson

<    1   2   3   4   5   6   >