Re: [PHP] Credit Card encryption

2010-05-30 Thread Miles Thompson
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: [PHP] Ubuntu and Apache

2009-10-24 Thread Miles Thompson
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] 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 Evanss...@bigskypenguin.com wrote:

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] Search functionality in website.

2008-12-29 Thread Miles Thompson
On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese tij...@yahoo.co.in 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

Re: [PHP] Credit Card processing: Chase PaymenTech

2008-12-14 Thread Miles Thompson
On Sun, Dec 14, 2008 at 6:04 PM, Chris dmag...@gmail.com 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

Re: [PHP] Output to matrix printer

2008-10-14 Thread Miles Thompson
On Tue, Oct 14, 2008 at 6:23 PM, Dušan Novaković [EMAIL PROTECTED] wrote: I have some request to sent text to matrix printer to print ticket for theater. Is it possible to do that whit some php functions? Main point is how to control length of paper that will be drawn inside and to print text

[PHP] Randomly missing a function

2008-07-17 Thread Miles Thompson
An online signup script is randomly missing part of the task. These scripts are involved: sub_signup.php include/cc_proc.php - does the CC (credit card) processing include/user_maint.php - inserts the new subscriber into the database When the CC processing finishes, with the success flag,

Re: [PHP] Randomly missing a function

2008-07-17 Thread Miles Thompson
://www.onshore.com Miles Thompson wrote: An online signup script is randomly missing part of the task. These scripts are involved: sub_signup.php include/cc_proc.php - does the CC (credit card) processing include/user_maint.php - inserts the new subscriber into the database

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

Re: [PHP] Emailing dilemma

2007-11-27 Thread Miles Thompson
-Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED] Sent: 26 November 2007 8:44 pm To: PHP List Subject: Re: [PHP] Emailing dilemma 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

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*

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 in

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 at my

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 my computers local IP address which is 192.168.1.2

Re: [PHP] Display paragraphs from a mysql db

2007-06-24 Thread Miles Thompson
a little bit with the variations on break tags. Cheers - Miles Thompson

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: Hi,

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] 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 that quagmire everytime I have

[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-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] Sent: 15 May 2007 08:21

[PHP] PHP debugger

2007-05-15 Thread Miles Thompson
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 PPS And we

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,

[PHP] No mail() function

2007-04-27 Thread Miles Thompson
/ 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

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 hey...

[PHP] Location of .so files on Linux box

2007-04-10 Thread Miles Thompson
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] 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 it finally got

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

2007-04-03 Thread Miles Thompson
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 PHP because I wanted some 5.2 features. It's

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

2007-04-03 Thread Miles Thompson
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 script Apache did not know what to do with the file

[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

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 it comes under

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

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] 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 input name=upldFile type=file 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

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] 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

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 files

RE: [PHP] What makes a PHP expert

2007-01-18 Thread Miles Thompson
At 09:55 AM 1/18/2007, Jay Blanchard wrote: snip 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

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

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 an

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

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

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

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.

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

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

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

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+_

[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 AVG Free Edition

Re: [PHP] Dynamically assigning var namesi

2006-08-01 Thread Miles Thompson
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. Checked by AVG

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,

Re: [PHP] Sort Array

2006-07-18 Thread Miles Thompson
you are going to find a built-in way of sorting one array on two indexes or key values. Regards - Miles Thompson -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006 -- PHP General Mailing List (http

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

RE: [PHP] Controlling a scanner with PHP

2006-06-27 Thread Miles Thompson
. 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're way OT on the scanner question. g Cheers - Miles Thompson

Re: [PHP] templating

2006-06-22 Thread Miles Thompson
At 08:10 AM 6/22/2006, Ryan A wrote: Hi, A pal of mine needed some help on his project, he is using a header and footer file to template his project... but its gotten a bit complicated as he has a few dynamic parts in the header and footer files, so I told him to go with a proper templating

Re: [PHP] getting subdirectory

2006-05-23 Thread Miles Thompson
At 02:29 PM 5/23/2006, Dallas Cahker wrote: how do I get the subdirectory that a page is being pulled from. say I have three sites running the same script and I need to determine which site is which. http://www.domain.com/subdir1 http://www.domain.com/subdir2 http://www.domain.com/subdir3

Re: [PHP] Development Environments/Automation

2006-05-15 Thread Miles Thompson
allows you to preserve your interface while making logic / database changes. Regards - Miles Thompson -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.392 / Virus Database: 268.5.6/339 - Release Date: 5/14/2006 -- PHP General Mailing List (http://www.php.net

Re: [PHP] Rhumb Lines

2006-05-05 Thread Miles Thompson
At 11:01 AM 5/5/2006, Leonard Burton wrote: HI All, I need to calculate Rhumb Lines in an application and have not found a good formula for doing such. Does anyone know of an existing Class/Function that will calculate Rhumb Lines? Thanks and Be Well, -- Leonard Burton, N9URK [EMAIL

Re: [PHP] What editor do you use?

2006-05-04 Thread Miles Thompson
At 03:35 PM 5/4/2006, John Nichel wrote: Nicolas Verhaeghe wrote: I am currently looking for a good PHP editor for Windows. I know, the question must have been asked so many times, but I thought I could ask it again now that a few editors have evolved, others have appeared. It has been

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Miles Thompson
At 03:51 PM 5/3/2006, Phillip S. Baker wrote: Greetings Gents, I have an interesting problem I would like some ideas on for a solution. I cannot seem to find any code examples on the net, though I might not be looking in the right place really. I have some articles stored in a MySQL DB.

Re: [PHP] PHP Standard style of writing your code

2006-04-29 Thread Miles Thompson
At 03:19 AM 4/29/2006, Robert Cummings wrote: On Sat, 2006-04-29 at 02:08, Paul Novitski wrote: IMHO, vertical aligned brackets can be messy when nesting relatively-small blocks (and seems to me like a lot of wasted space) nsip like a use, not a waste. OK, OK, I'll stop. Think

Re: [PHP] PHP and CakePHP: How to use the $html-selectTag()

2006-04-11 Thread Miles Thompson
that those questions specific to them would choke the list. Regards - Miles Thompson -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Completing forms offline with PHP/MySQL

2006-04-07 Thread Miles Thompson
At 01:06 PM 4/7/2006, Kevin Davies - Bonhurst Consulting wrote: Hi, Apologies if this is the wrong place for this question, but I'm sure there are some experts out there who might be able to point me in the right direction... :) I'm doing some work at the moment where remote teams can submit

RE: [PHP] code obfuscating

2006-04-07 Thread Miles Thompson
At 04:05 PM 4/7/2006, you wrote: [snip] Am seeking for a solution to obfuscate php code on the server side, so if i decide to sell php closed source applications, i can encode the source code. Thanks for your help [/snip] No problem, we are always glad to answer questions. You're welcome.

Re: [PHP] IF or SWITCH

2006-04-06 Thread Miles Thompson
At 05:56 PM 4/6/2006, John Nichel wrote: snip I remember IF constructs from BASIC and PASCAL, but no switch statements (somebody correct me if I'm wrong). But what I'm wondering is how in the world did you do conditional checking if there were no switches, and you don't use IF's? Did you

Re: [PHP] IF or SWITCH

2006-04-06 Thread Miles Thompson
At 11:40 PM 4/6/2006, Kevin Waterson wrote: This one time, at band camp, Robert Cummings [EMAIL PROTECTED] wrote: I'm gonna go out on a limb here and say WRONG! Run yourself a benchmark. benchmarks can be hazardous, but lets look at them at their most basic level. By this I mean how

Re: [PHP] Re: PHP AJAX Framework - Suggestions Please

2006-04-03 Thread Miles Thompson
At 06:25 PM 4/3/2006, Andrei Verovski (aka MacGuru) wrote: Hi, Many thanks for everyone who have replied. Its seems Manuel's suggestion regarding iFrame sounds really good. BTW, I am using Savant as template engine, and integrate it with Manuel Forms Generation and Validation would be a good

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Miles Thompson
At 11:38 AM 4/2/2006, tedd wrote: At 4:20 PM -0500 4/1/06, Joe Wollard wrote: Leave poor Zouari alone! I for one think that Microsoft buying Zend would be the best thing to happen to PHP, EVAR! You might not think that way if you had been developing in M$ QuickBASIC for the Mac. One day M$

Re: [PHP] php 5 installation problem

2006-03-17 Thread Miles Thompson
At 01:39 AM 3/17/2006, - Edwin - wrote: Hi! On Thu, 16 Mar 2006 20:45:29 -0400 Miles Thompson [EMAIL PROTECTED] wrote: At 06:23 PM 3/16/2006, Anthony Ettinger wrote: [...] Is there a drawback to running php5 as CGI? Anthony, I really don't know, because computers are much faster, so

Re: [PHP] print page from php

2006-03-17 Thread Miles Thompson
At 09:57 AM 3/17/2006, Reinhart Viane wrote: All, I have a web page with the results from several database queries. Now this page has an undefined horizontal and vertical size. Does anyone know if there is a php script available that will automatically split the webpage into parts that can

Re: [PHP] Re: [PHP-DEV] Re: Problem

2006-03-16 Thread Miles Thompson
At 07:47 AM 3/16/2006, Bikram Suri wrote: I changed that it was windows but still did not change anything. I even reinstalled wamp but still the include_path variable in phpinfo(); shows c:\php5\pear Please help as this putting a stop on my work regards and thank you for all the help --

Re: [PHP] php 5 installation problem

2006-03-16 Thread Miles Thompson
At 05:40 PM 3/16/2006, Anthony Ettinger wrote: dreamhost let's you choose php4 or 5, as I'm sure others do as well. snipped all 'dat stuff A little more on dreamhost. PHP5 is installed as CGI, not Apache module. Does anyone have any experience with Nexcess.net -- advertisers on back page of

Re: [PHP] php 5 installation problem

2006-03-16 Thread Miles Thompson
At 06:23 PM 3/16/2006, Anthony Ettinger wrote: On 3/16/06, Miles Thompson [EMAIL PROTECTED] wrote: At 05:40 PM 3/16/2006, Anthony Ettinger wrote: dreamhost let's you choose php4 or 5, as I'm sure others do as well. snipped all 'dat stuff A little more on dreamhost. PHP5 is installed

Re: [PHP] MySQL NOT IN Query not working

2006-03-16 Thread Miles Thompson
At 08:41 PM 3/16/2006, Kevin Murphy wrote: Anyone want to point me to why this isn't working: $hr_query = select dp_lname,dp_fname,dp_id FROM dir_all WHERE dp_id NOT IN (SELECT sup_id FROM dir_title2) ORDER BY dp_lname;

Re: [PHP] to check idle time of users

2006-03-15 Thread Miles Thompson
At 09:32 AM 3/15/2006, suresh kumar wrote: in windows,if user idle for 1 minute,his desktop screen is changed to screen saver.i like to implement the same logic in my project if user is idle for 3 minutes its session will have to automatically destroy.i am waiting for or response.

Re: [PHP] determining client's external IP

2006-03-13 Thread Miles Thompson
At 02:39 PM 3/13/2006, tedd wrote: Jochem wrote: life is not that simple here are some functions I wrote as an attempt to to better than 'REMOTE_ADDR' - interested if these allow you to retrieve the same IP as whatismyip.com: -snip- A most impressive piece of code -- thank you, it

Re: [PHP] database connection pool

2006-03-11 Thread Miles Thompson
(http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Do you mean persistent connections? That depends on the database and the functions provided for it in PHP. Check the connection function(s) in the manual for the database you use. Regards - Miles Thompson

Re: [PHP] equivalent of perl's ithread

2006-03-11 Thread Miles Thompson
At 06:33 AM 3/11/2006, Khai wrote: As of perl 5.6, perl has a concept of interpreter thread (called ithread). Basically, any variable that you want to be shared across threads, you have to explicitly shared it. This apply not only to regular variables, but also apply to super global

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

Re: [PHP] Incremental Date Based ID

2006-03-07 Thread Miles Thompson
. 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 -- No virus found in this outgoing message. Checked

Re: [PHP] Re: Incremental Date Based ID

2006-03-07 Thread Miles Thompson
At 09:05 PM 3/7/2006, Kevin Murphy wrote: Well, part of the issue is that I want to be able to use this as part of the link: /news.php?article=2006-03-05a /news.php?article=2006-03-05b which i will eventually do a htacess rewrite to make it look like /news/2006-03-05a.php

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] Mysql Rows

2006-03-04 Thread Miles Thompson
I hope the following will be helpful, and it is a bit of a rant .. 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

Re: [PHP] SQL request on DBase file...

2006-02-10 Thread Miles Thompson
At 07:27 PM 2/10/2006, David BERCOT wrote: Hi, I have to rewrite an application from ASP. In this application, I receive DBase files which may be saved into Oracle. In ASP, I used a generic driver and I made SQL requests on these files. It is possible with PHP on Linux ? Do you have some

Re: [PHP] global variable declaration

2006-02-08 Thread Miles Thompson
. It's more of a handle than anything else. Finally, given you example you will have to use $result inside your loop. Regards - Miles Thompson -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.15.2/253 - Release Date: 2/7/2006

Re: [PHP] Window close.

2006-02-07 Thread Miles Thompson
to pop a window up to establish a session and immediately destroy it. And that was because I could not set a session from within Flash, nor access a session from Flash. Regards - Miles Thompson -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus

Re: [PHP] Sound

2006-02-06 Thread Miles Thompson
At 12:17 PM 2/6/2006, Paul Novitski wrote: At 07:15 AM 2/5/2006, tedd wrote: Does anyone know a way to generate a sound (bell, click, tone, peep, buzz, word) from php? Hi Tedd, I was about to tell you that ringing a bell from PHP wasn't possible, since PHP is executed on the server, but I

RE: [PHP] Unique Names for Variable in Loop

2006-02-02 Thread Miles Thompson
No need to subscript them, my_name_array[] will work just fine. Miles At 03:49 PM 2/2/2006, Programmer wrote: $x = 0; my_name_array = array(); While($row=mysql_fetch_array($result)) { my_name_array[$x] = $row[last_name]; } Jeremy Schreckhise -Original Message- From:

Re: [PHP] Re: How to get a network drive name

2006-02-02 Thread Miles Thompson
At 09:30 AM 2/2/2006, Barry wrote: Ibrahima TALL wrote: Hi barry and thanks for your response ! Your solution seems to be restrictive for me and for my application clients because in such situation, they will be obligated to have a config file in which they must define all the network drive

Re: [PHP] Performance question

2006-02-01 Thread Miles Thompson
- but by then you're on the client side, if this is to respond to a link. Maybe I just don't see it - or maybe you're confusing server side and client side. Regards - Miles Thompson -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database

Re: [PHP] SQL in XML [was PHP and DBase...]

2006-01-31 Thread Miles Thompson
At 03:08 PM 1/31/2006, David BERCOT wrote: Hi, I'd like to connect to DBase files (.dbf) in order to do SQL requests. Do you know if it is possible ? If yes, do you have an example ? I'm working on Debian with PHP5. Thank you very much. David. Blind?

Re: [PHP] Collecting info about columns in a table

2006-01-30 Thread Miles Thompson
No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 1/27/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP hosting with multiple domains?

2006-01-30 Thread Miles Thompson
http://www.hub.org All the flexibility you need, as well as being fast, courteous and responsive. Miles At 01:34 PM 1/30/2006, [EMAIL PROTECTED] wrote: I know every month or so someone asks What's a good web hosting company to use for my PHP projects?.. I have most of the responses archived

Re: [PHP] Embedding HTML in PHP

2006-01-30 Thread Miles Thompson
No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 1/27/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Test message - is there content?

2006-01-30 Thread Miles Thompson
I've noticed the past couple of posts to the list do not show any content. So this is a test. If you see content, please reply to me directly, not on the list. Thanks and regards - Miles Thompson -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus

Re: [PHP] query regarding forms

2006-01-28 Thread Miles Thompson
At 11:20 AM 1/28/2006, suresh kumar wrote: hi, i am having 3 files Login.php,home.php and home1.php when i entered username and passwd in my first login page i want want i entered as username and passwd in my third page ie home1.php. A.suresh

Re: [PHP] questions regarding PHP and Forms

2006-01-28 Thread Miles Thompson
At 05:39 PM 1/28/2006, Paul Goepfert wrote: Thanks for the help everyone. I have decided to use javascript to deal with my second problem. I understand that this is not a JavaScript fourm but I am having some trouble getting my JS function to work correctly. Here is my JS code. function

Re: [PHP] PHP Job Opening in UAE

2006-01-27 Thread Miles Thompson
UAE = United Arab Emirates? Do you want people on-site, or to work remotely? Miles At 02:05 PM 1/27/2006, M Saleh EG wrote: Login Innovations, a new media internet solutions studio in UAE is looking for a resident-in-house PHP developer with at least 2 years experience. Skills required:

  1   2   3   4   5   >