Re: [PHP] REQUEST

2013-05-29 Thread Tommy Pham
On Wed, May 29, 2013 at 9:30 AM, Stuart Dallas stu...@3ft9.com wrote: On 29 May 2013, at 17:26, Last Hacker Always onpoint lasthack...@gmail.com wrote: HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO BUT HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ. DOES

Re: [PHP] Re: target question

2013-03-25 Thread Tommy Pham
='window.open(http://domain.com/path/to/generated/pdf;, _blank)' ? Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Not counting my own page visits

2013-03-04 Thread Tommy Pham
On Mon, Mar 4, 2013 at 9:47 AM, Angela Barone ang...@italian-getaways.com wrote: Hello, I have a script that counts hits to all the pages in my site and emails me a report nightly. However, it also counts my visits to my site, and when I'm coding, I'm hitting a lot of my pages,

Re: [PHP] Re: Multithreading for OOP PHP

2012-10-31 Thread Tommy Pham
:) In this case, fix the program, not the programming language. Just my $0.02 But how do you then manage those calls or sub-threads? What about synchronizing? Like you said, fix the program right? Then shouldn't that be fixed in PHP at the core rather than a hack after? Cheers, Tommy -- Alex

Re: [PHP] Re: Multithreading for OOP PHP

2012-10-31 Thread Tommy Pham
request, it's up to the dev. :) Cheers, Tommy Database is even easier, since you are usually using a persistent connection, you are already relying on the mysql driver to thread your calls while maintaining a single instance of your connection (eliminating the need for three way hand shakes

Re: [PHP] Re: php can't insert data mysql table

2012-10-01 Thread Tommy Pham
On Mon, Oct 1, 2012 at 6:03 AM, Jim Giner jim.gi...@albanyhandball.com wrote: In this case, I do think that your insert statement is incorrect - I could be wrong. I think the VALUES clause s/b just 'VALUE'. Also if you added MYSQLI_ERROR to your error handling you should get a very helpful

Re: [PHP] How to limit source IP in PHP

2012-09-12 Thread Tommy Pham
On Wed, Sep 12, 2012 at 6:53 AM, Tonix (Antonio Nati) to...@interazioni.it wrote: Is there a way to force a PHP script to bind to a prefixed IP? Actually, while you can assign more IPs to Apache for listening, assigning domains to specific IPs, it looks like any PHP script can freely choose

Re: [PHP] How to limit source IP in PHP

2012-09-12 Thread Tommy Pham
On Wed, Sep 12, 2012 at 7:18 AM, Tonix (Antonio Nati) to...@interazioni.it wrote: Il 12/09/2012 16:08, Tommy Pham ha scritto: On Wed, Sep 12, 2012 at 6:53 AM, Tonix (Antonio Nati) to...@interazioni.it wrote: Is there a way to force a PHP script to bind to a prefixed IP? Actually, while you

Re: [PHP] Display Array Tree as Menu - Can't figure out how to find depth with something over 2 levels

2012-08-16 Thread Tommy Pham
On Thu, Aug 16, 2012 at 11:05 AM, Tristan sunnrun...@gmail.com wrote: Thanks David, Here's my tree creation. I'm trying to either put depth count on each array or run through the tree and figure it out after. I just can't figure out where to put it :D Great very lightweight script to create a

Re: [PHP] Bazar behavior w/ private member variables

2012-07-12 Thread Tommy Pham
On Thu, Jul 12, 2012 at 7:19 PM, Nathan Nobbe quickshif...@gmail.com wrote: Hi all, Strangely PHP seems to let each class have its own layer of private scope for member variables. If a subclass defines a member variable of the same name as one defined in the parent the values are maintained

Re: [PHP] is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

2012-06-01 Thread Tommy Pham
:                 case 1:       Line 131:                 case 2: Haven't looked at the entire file or source code but that looks close enough to me... ;) Thanks a lot for taking a look Tommy, I do have a decent text editor I use to code with... and had searched for possible places where

Re: [PHP] is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

2012-05-31 Thread Tommy Pham
://stackoverflow.com/questions/10843600/ Thanks for any thoughts/tips of any kind -Govinda Have you tried http://htmlpurifier.org/phorum/ and did you noticed Since the project has been suspended, please only contact me if you intend to continue maintaining it. for CSSTidy? Regards, Tommy -- PHP General Mailing

Re: [PHP] is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

2012-05-31 Thread Tommy Pham
On Thu, May 31, 2012 at 10:48 PM, Tommy Pham tommy...@gmail.com wrote: On Thu, May 31, 2012 at 10:33 PM, Govinda govinda.webdnat...@gmail.com wrote: Hi guys anyone here using HTMLpurifier and CSStidy together?  (like e.g. to allow users to create their own external style sheets via form

Re: [PHP] Re: Crudin - CRUD INterface Generator - Open Source Project

2012-05-25 Thread Tommy Pham
On Fri, May 25, 2012 at 3:53 PM, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 25-05-2012 23:09, Rodrigo de Almeida Rodriguez wrote: Hi, I am the creator of a open source project called Crudin (http://crudin.smarc.com.br/en) Crudin is a system for generation of fron-ends in the

Re: [PHP] Serving a .dmg via readfile?

2012-04-25 Thread Tommy Pham
On Wed, Apr 25, 2012 at 8:54 PM, Brian Dunning br...@briandunning.com wrote: Hey all - I'm having no luck serving a .dmg from my online store. I stripped down the code to just the following to debug, but no matter what I get a zero-byte file served:  header('Content-Type:

Re: [PHP] Serving a .dmg via readfile?

2012-04-25 Thread Tommy Pham
On Wed, Apr 25, 2012 at 9:04 PM, Tommy Pham tommy...@gmail.com wrote: On Wed, Apr 25, 2012 at 8:54 PM, Brian Dunning br...@briandunning.com wrote: Hey all - I'm having no luck serving a .dmg from my online store. I stripped down the code to just the following to debug, but no matter what I get

Re: [PHP] SqLite INSERT want not write

2012-04-19 Thread Tommy Pham
On Thu, Apr 19, 2012 at 12:40 PM, siefke_lis...@web.de siefke_lis...@web.de wrote:                Hello, On Thu, 19 Apr 2012 15:17:06 -0400 Steven Staples sstap...@mnsi.net wrote: Ok, so I was wrong... ;)   it does happen Try this: $sql = INSERT INTO bloggen (date, autor, title, teaser,

Re: [PHP] Customized Session Handler can not work for PHP 5.1.6 and CentOS 5.5

2012-04-15 Thread Tommy Pham
). This is your clue on how to fix. What version of PHP are on Windows and Ubuntu? If different, perhaps upgrade your CentOS' PHP? If the same exact version on all 3 OSes, then consult CentOS :). HTH, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php in windows

2012-04-09 Thread Tommy Pham
(x86 x64), Win7 (x64), and Win2008R2. Easiest is get IIS7 or IIS7.5 (Vista, Win08, Win7, Win2008R2 - including in a VM) and current version IIS PHP Manager. HTH, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] desk top interactive environment

2012-04-09 Thread Tommy Pham
On Mon, Apr 9, 2012 at 6:54 PM, Kirk Bailey kbai...@howlermonkey.net wrote: I am not ABLE to create it yet. Anyone else able to? Hmm... Google php desktop ... notice the 2nd link. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] image inventoryer

2012-04-05 Thread Tommy Pham
do what you want... What you're asking for ATM is someone to write the code for you which is not how it works. You need to provide some code, or even pseudo code at least... HTH, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] image inventoryer

2012-04-05 Thread Tommy Pham
                                                            # the file name On 4/5/2012 10:34 PM, Tommy Pham wrote: On Thu, Apr 5, 2012 at 7:26 PM, Kirk Baileykbai...@howlermonkey.net  wrote: Now ai am still a novice at p[hp, how can I do this ? Have you read any book on PHP?  even the official

Re: [PHP] Adding Rows In PHPMYADMIN

2012-04-02 Thread Tommy Pham
of SQL book HTH, Tommy

Re: [PHP] whats wrong

2012-03-31 Thread Tommy Pham
, Tommy mysql_select_db(addressbook); //Run a query $result=mysql_query(select(SELECT*FROM COLLEAGUE); ? !DOCTYPE html PUBLIC-//w3c//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleAddress Book/title

Re: [PHP] some good deals on good books

2012-03-31 Thread Tommy Pham
On Sat, Mar 31, 2012 at 12:02 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: ( I apologize if this offends anyone's sensibilities. I am not in the employ of O'Reilly, nor is this going to make me any scratch. I just think this is a good chance to pick up some pretty useful books. )

Re: [PHP] Got HTML5 History API + caching LICKED, I think, grin

2012-03-16 Thread Tommy Pham
On Fri, Mar 16, 2012 at 1:45 PM, Stuart Dallas stu...@3ft9.com wrote: As for my files and homepage being Huge, yep, it's made for the future or current fast internet connections. Frankly, size reduction is not on my agenda. I'll wait for the nets to become faster still. And the server

Re: [PHP] MySQL over TCP results on CLOSE_WAIT state in PHP 5.3.8

2012-03-05 Thread Tommy Pham
want to check each flavor's distributor. Just out of curiosity, are both boxes (B C) are the same Linux flavor? Best regards, Tommy [1]http://www.kernel.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Nested database loops and completing an unordered list....

2012-03-01 Thread Tommy Pham
$employees[$subordinateID] } else echo {$employees[$employeeID]['firstName']} does not have subordinates.; If there's any organizational change, the code still works. HTH, Tommy Disclaimer: the above syntax is from memory. I haven't done SQL manipulation or PHP coding in over a year ;) so

Re: [PHP] Nested database loops and completing an unordered list....

2012-03-01 Thread Tommy Pham
: ocean, lake, underground, etc.. You get the idea. Best regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I enable more useful PHP error logging?

2012-02-28 Thread Tommy Pham
* facility does rolling file logging, DB, e-mail, syslog, etc. (I've used the log4j and log4net before.) Very handy and flexible, IMO. HTH, Tommy [1] http://logging.apache.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL over TCP results on CLOSE_WAIT state in PHP 5.3.8

2012-02-27 Thread Tommy Pham
and kernel version. Best regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Tommy Pham
explanation: http://pastebin.com/mTrybi6u HTH, Tommy The definitive work on this (and where it first gained the most publicity) is a book called Design Patterns by four authors (Gamma, Helm, Johnson and Vlissides). It essentially contains a chapter about each (known at the time) design

Re: [PHP] any security issues with this mysql_update function?

2012-01-13 Thread Tommy Pham
       {                echo error SQL FAILS . mysql_error();                mysql_close($link) ;                die;                return null;        } } Use MySQLi library and simplify your life [1]. Best regards, Tommy [1] http://php.net/class.mysqli and http://php.net/class.mysqli-stmt and http

Re: [PHP] reporting errors when $ sign is missing in front of a variable

2012-01-11 Thread Tommy Pham
of error_reporting(E_ALL) is different [1]: Notice: Use of undefined constant my_var - assumed 'my_var' in F:\dev\sites\wwwroot\php_apps\test.php on line 5 my_var ?php error_reporting(E_ALL); ini_set('display_errors', 'on'); $my_var = 90; echo my_var; highlight_file(__FILE__); Good luck, Tommy [1] http

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-29 Thread Tommy Pham
On Mon, Nov 28, 2011 at 1:34 AM, Pierre Joye pierre@gmail.com wrote: On Mon, Nov 28, 2011 at 5:51 AM, Tommy Pham tommy...@gmail.com wrote: Can someone please confirm if you're able to create/drop MySQL database on using phpMyAdmin with PHP 5.3.9RC2 or PHP5.4RC2? Please use the sqlsrv

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-27 Thread Tommy Pham
- 20111026 - $Revision: 318612 $ Thanks again, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 5.3.9RC2 and 5.4RC2

2011-11-26 Thread Tommy Pham
some testing as how I can implement that into my existing apps!!! That's just awesome!! Thanks for all your continuous hard work :) Platform: Win08R2/IIS7.5 SP1 with current patches running PHP as FastCGI. Applications: drupal, joomla, mediawiki, wordpress, and a few of my own :) Cheers, Tommy

Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Tommy Pham
are needed for each purpose and is the proper gauge of the cable being used? Insufficient gauge will lead to fire. After you have a firm understanding of the materials/technologies/skills involved, then Google programming design patterns... HTH, Tommy -- PHP General Mailing List (http://www.php.net

Re: Re: [PHP] include

2011-11-21 Thread Tommy Pham
; is an allowed form of the include statement. RTFM [1] example #6 ;) HTH, Tommy [1] http://php.net/function.include -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include

2011-11-20 Thread Tommy Pham
. But doing this is going to kill the server side with too many unnecessary round trips. Which clearly demonstrates point 2 and 3. You should look into Interfaces, and Abstract under OOP [2]. HTH, Tommy [1] http://php.net/function.header [2] http://php.net/language.oop5 -- PHP General Mailing List

Re: Re: [PHP] include

2011-11-20 Thread Tommy Pham
On Sun, Nov 20, 2011 at 1:34 PM, Tim Streater t...@clothears.org.uk wrote: On 20 Nov 2011 at 10:36, Tommy Pham tommy...@gmail.com wrote: I think you're approaching this the wrong way. 1) have a clear understanding of PHP - syntax, capabilities, etc. That's what I'm doing - gathering

Re: Re: [PHP] include

2011-11-20 Thread Tommy Pham
On Sun, Nov 20, 2011 at 4:44 PM, Tommy Pham tommy...@gmail.com wrote: On Sun, Nov 20, 2011 at 1:34 PM, Tim Streater t...@clothears.org.uk wrote: On 20 Nov 2011 at 10:36, Tommy Pham tommy...@gmail.com wrote: And here's another question. Can a child forked by pcntl_fork() use a socket

Re: [PHP] Sniping on the List

2011-11-18 Thread Tommy Pham
On Thu, Nov 17, 2011 at 9:43 PM, Robert Cummings rob...@interjinn.com wrote:    http://shorl.com/tebrakefesahe ROFLMAO!!! Thanks Robert for starting off a good Friday for me :D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RE: [PHP] Safari and PDF

2011-11-16 Thread Tommy Pham
Acrobat Reader? Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Novice MySQL problem

2011-11-14 Thread Tommy Pham
;) Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysqli question

2011-11-12 Thread Tommy Pham
[3] to better handle and troubleshoot any errors. [4] is the non OOP way of error handling, IMO less elegant approach. Best regards, Tommy [1] http://php.net/language.oop5 [2] http://php.net/language.exceptions [3] http://php.net/exception.gettrace [4] http://php.net/ref.errorfunc -- PHP General

Re: [PHP] create file after form completion

2011-10-29 Thread Tommy Pham
not to include the email in my reply? Sorry about that. Where as this line is bottom posting. Meaning you'd be posting bottom/below the reply, which is the preferred method on this list. Regards, Tommy

Re: [PHP] Why does this script run out of memory?

2011-10-28 Thread Tommy Pham
that you used MySQL extensions. Have you tried MySQLi to see if there's any difference? Regards, Tommy

Re: [PHP] Object size

2011-10-28 Thread Tommy Pham
On Fri, Oct 28, 2011 at 9:43 AM, QI.VOLMAR QI qi.vol...@gmail.com wrote: Is there a function or method that calculate the object size in PHP?. Or maybe that calculates a xml buffer of a file? I need to check a size of a file, and if it's size is bigger than 500kb. I will need to make another

Re: [PHP] Exporting large data from mysql to html using php

2011-10-27 Thread Tommy Pham
a LOT of reading. I'd estimate that's about 3k+ pages of reading. :) Regards, Tommy

Re: [PHP] Exporting large data from mysql to html using php

2011-10-26 Thread Tommy Pham
On Wed, Oct 26, 2011 at 12:52 AM, Lester Caine les...@lsces.co.uk wrote: Tommy Pham wrote: It turns out the issue was actually in the pagination... I'm reworking the whole thing and stream lining it... But in the pagination that I found on the internet it used a SELECT COUNT(*) WHERE

Re: [PHP] Exporting large data from mysql to html using php

2011-10-26 Thread Tommy Pham
On Wed, Oct 26, 2011 at 1:40 AM, Lester Caine les...@lsces.co.uk wrote: Tommy Pham wrote: I wonder ... The real question is what's the purpose of the DB? Is it for OLAP or OLTP? ;) As for dealing with DB having millions of rows, you're crossing over into DBA area. Many of my customers

Re: [PHP] Exporting large data from mysql to html using php

2011-10-26 Thread Tommy Pham
On Wed, Oct 26, 2011 at 4:14 AM, Lester Caine les...@lsces.co.uk wrote: Tommy Pham wrote: Many of my customers have coming up on 20 years of data available. There has been a debate on transferring historic data to a separate database, but having it available is not causing

Re: [PHP] Exporting large data from mysql to html using php

2011-10-25 Thread Tommy Pham
should be in slot PCI-X or, preferably, PCI-e. Regards, Tommy

Re: [PHP] Geo IP Location help needed...

2011-10-24 Thread Tommy Pham
On Mon, Oct 24, 2011 at 7:03 PM, Tommy Pham tommy...@gmail.com wrote: On Mon, Oct 24, 2011 at 6:36 PM, DealTek deal...@gmail.com wrote: but maybe the db is old from - Geo IP Location? hmmm . how do I check? -- Thanks, Dave - DealTek deal...@gmail.com [db-11] Dave, I don't Linux

[PHP] Re: Ms Web PI and PHP

2011-10-20 Thread Tommy Pham
On Thu, Oct 20, 2011 at 5:15 AM, Joseph Adenuga jadenu...@yahoo.com wrote: Dear Tommy, Good day to you. I'm trying to install Microsoft's Web Platform as advised in your last message below. But, I don't know which application to install from the list provided from the downloaded

Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Tommy Pham
On Wed, Oct 19, 2011 at 9:26 AM, Tim Thorburn immor...@nwconx.net wrote: Failing this, do you need Apache? If you just want a web server to test some stuff on, you can download Microsoft's Web Platform - it will install and configure IIS to run with PHP, IIS is only available on Windows

Re: [PHP] Seeking strategy/algorithm for maintaining order of records

2011-10-17 Thread Tommy Pham
. Good luck, Tommy [1] php.net/mysqli.prepare [2] php.net/mysqli-stmt.bind-param [3] php.net/mysqli-stmt.execute [4] php.net/language.exceptions

Re: [PHP] Local variable protection

2011-10-12 Thread Tommy Pham
this, and explain why. Ben Regards, Tommy [1] php.net/reserved.variables.globals

Re: [PHP] Server Side Include translator as PHP functions

2011-10-09 Thread Tommy Pham
going to through the same thing I did. Good luck, Tommy

Re: [PHP] Server Side Include translator as PHP functions

2011-10-08 Thread Tommy Pham
and output without having to rely on SSI mechanisms? I'm just curious... since PHP is OOP and, IIRC of SSI, the use of SSI limits the full potential of OOP and PHP. Is the control of the application and configurations beyond yours? Regards, Tommy

Re: [PHP] Server Side Include translator as PHP functions

2011-10-08 Thread Tommy Pham
and output without having to rely on SSI mechanisms? I'm just curious... since PHP is OOP and, IIRC of SSI, the use of SSI limits the full potential of OOP and PHP. Is the control of the application and configurations beyond yours? Regards, Tommy

Re: [PHP] Server Side Include translator as PHP functions

2011-10-08 Thread Tommy Pham
My apologies I was multitasking some heavy applications/tests and had a huge spike in CPUs utilization and I accidentally clicked on send x2.

Re: [PHP] Server Side Include translator as PHP functions

2011-10-08 Thread Tommy Pham
On Sat, Oct 8, 2011 at 2:31 PM, Complex complex.confus...@gmail.com wrote: On Sat, Oct 8, 2011 at 1:09 PM, Tommy Pham tommy...@gmail.com wrote: I think you didn't provide enough details to get a more accurate suggestion of a solution, but here goes... Is 'include SSI file B' always

Re: [PHP] Server Side Include translator as PHP functions

2011-10-08 Thread Tommy Pham
. But if a majority of your page is being generated at the time that it is served, you need to look for some other solution. [1] Last time I checked, SSI, either on httpd or IIS, doesn't have any means to do dynamically, including generating headers, as you intended. Regards, Tommy [1] http://httpd.apache.org

Re: [PHP] Namespaced code with SabreDAV

2011-10-06 Thread Tommy Pham
autoload to circumvent SabreDAV being not 5.3 namespace declaration. You may also want to take a look at CodeIgniter's autoloading mechanism. Regards, Tommy

Re: [PHP] Problem with code...

2011-10-06 Thread Tommy Pham
development phase, try to bypass that mechanism for a quick confirmation that is causing the problem. Regards, Tommy

Re: [PHP] Namespaced code with SabreDAV

2011-10-06 Thread Tommy Pham
On Thu, Oct 6, 2011 at 1:45 PM, Tommy Pham tommy...@gmail.com wrote: On Thu, Oct 6, 2011 at 7:37 AM, Andrew Mason slackma...@gmail.com wrote: Hello all, I am trying to use the wonderful SabreDAV library to create a webdav share. I have a demo up and running however the framework / class i'm

Re: [PHP] Re: Secure data management

2011-10-05 Thread Tommy Pham
On Tue, Oct 4, 2011 at 8:01 PM, Jeremiah Dodds jeremiah.do...@gmail.comwrote: On Tue, Oct 4, 2011 at 9:25 PM, Tommy Pham tommy...@gmail.com wrote: There would be a difference in performance since the the expression has to be reevaluated, including the function FROM_BASE, every time versus

Re: [PHP] Re: Secure data management

2011-10-04 Thread Tommy Pham
On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:04, Mark Kelly wrote: Hi. On Tuesday 04 Oct 2011 at 21:39 Stuart Dallas wrote: http://stut.net/2011/09/15/mysql-real-escape-string-is-not-enough/ Thanks. I followed this link through and read

Re: [PHP] Re: Secure data management

2011-10-04 Thread Tommy Pham
On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:45, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:04, Mark Kelly wrote: Hi. On Tuesday 04 Oct 2011 at 21:39 Stuart Dallas wrote

Re: [PHP] Re: Secure data management

2011-10-04 Thread Tommy Pham
On Tue, Oct 4, 2011 at 5:51 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 01:13, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 00:45, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:11 PM, Stuart Dallas stu...@3ft9.com

Re: [PHP] Re: Secure data management

2011-10-04 Thread Tommy Pham
On Tue, Oct 4, 2011 at 6:07 PM, Jeremiah Dodds jeremiah.do...@gmail.comwrote: On Tue, Oct 4, 2011 at 7:51 PM, Stuart Dallas stu...@3ft9.com wrote: As for the overhead I very much doubt there's much difference between that and the overhead of prepared statements. Probably not. As an aside,

Re: [PHP] Re: Secure data management

2011-10-04 Thread Tommy Pham
On Tue, Oct 4, 2011 at 6:10 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 02:02, Tommy Pham wrote: On Tue, Oct 4, 2011 at 5:51 PM, Stuart Dallas stu...@3ft9.com wrote: On 5 Oct 2011, at 01:13, Tommy Pham wrote: On Tue, Oct 4, 2011 at 4:49 PM, Stuart Dallas stu...@3ft9.com

Re: [PHP] book quest

2011-09-29 Thread Tommy Pham
;) Regards, Tommy

Re: [PHP] PHP5 cgi Suexec htaccess rewrite issue

2011-09-29 Thread Tommy Pham
that the above is from old config file and is configured for PHP to run as FastCGI on IIS7.5. There maybe recent changes regarding httpd and impersonation. Go through the php.ini and make all relevant changes regarding 'cgi'. Regards, Tommy

Re: [PHP] book quest

2011-09-29 Thread Tommy Pham
nothing wrong with the official manual, try downloading the chm or single html file and print as you go. No need to lug around thick that manual/reference ;) Regards, Tommy I didn't find that there was anything wrong with the PHP.net manual, except that it wasn't a book about

Re: [PHP] Getting meta data (of any type) for an XML file being from it's URL.

2011-09-29 Thread Tommy Pham
. Regards, Tommy

Re: [PHP] Getting meta data (of any type) for an XML file being from it's URL.

2011-09-29 Thread Tommy Pham
On Thu, Sep 29, 2011 at 3:27 PM, Tommy Pham tommy...@gmail.com wrote: On Thu, Sep 29, 2011 at 9:09 AM, Richard Quadling rquadl...@gmail.comwrote: Hi. I'm looking to process very large XML files without the need of first downloading them. To that end, SimpleXMLIterator('compress.zlib

Re: [PHP] 'Mobile' PHP

2011-09-23 Thread Tommy Pham
Have you looked at Quercus to see if it could run on Android? If it could, you can then run your PHP code then.

Re: [PHP] 'Mobile' PHP

2011-09-23 Thread Tommy Pham
On Fri, Sep 23, 2011 at 11:37 AM, Lester Caine les...@lsces.co.uk wrote: Tommy Pham wrote: Have you looked at Quercus to see if it could run on Android? If it could, you can then run your PHP code then. http://techblog.aasisvinayak.**com/deploy-php-applications-** in-google-app-engine

Re: [PHP] How can I check for characters in a $_POST[] variable?

2011-09-22 Thread Tommy Pham
On Thu, Sep 22, 2011 at 7:55 AM, Eric eric_justin_al...@cfl.rr.com wrote: I have this problem when using php because my computer recognizes the characters . and .. as an existing file when I use file_exists. Also I want to check $_POST[username] for characters other then A-Z a-z and 0-9. If

Re: [PHP] Re:

2011-09-22 Thread Tommy Pham
On Thu, Sep 22, 2011 at 9:25 AM, Eric eric_justin_al...@cfl.rr.com wrote: Thanks Very much I used, preg_match('/[[:punct:]]/', $_POST['username']) !== 0 and it works without errors. The reason I can't just use is_file which I wish I could is because windows doesn't allow question marks or

Re: [PHP] PHP installations, usage, and popularity

2011-09-20 Thread Tommy Pham
On Tue, Sep 20, 2011 at 5:00 AM, Bastien phps...@gmail.com wrote: On 2011-09-20, at 12:05 AM, Tommy Pham tommy...@gmail.com wrote: ASP? Not ASP.NET? Wow... I haven't any new sites deployed in ASP in almost 10 years. IIRC, ASP is nothing more but bunch of spaghetti codes and no OOP

Re: [PHP] Re: While on the topic of PHP Web Site Stats - SharePoint...

2011-09-19 Thread Tommy Pham
, if your company currently using any MS products, Exchange, SQLServer, etc. and is midsize+, then it maybe justifiable to use SharePoint, not just the free version. Else, if you just need a CMS that's the lowest TCO and easier to maintain, stick w/ PHP and Open Source, IMO. Regards, Tommy

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Tommy Pham
students certified is that they could get a job quickly. Best wishes, Tommy

Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??

2011-03-25 Thread Tommy Pham
2008 in stability under rigorous condition. Minimum system required: Windows 7, Windows Server 2008 R2, Windows Vista, Windows Server 2008, Windows XPSP3 and Windows Server 2003 R2. Regards, Tommy [1] http://www.apachelounge.com/download/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??

2011-03-25 Thread Tommy Pham
On Fri, Mar 25, 2011 at 12:12 PM, Tommy Pham tommy...@gmail.com wrote: On Fri, Mar 25, 2011 at 10:52 AM, Curtis Tammany curtis.tamm...@urs.com wrote: Help!! I am in a Windows environment (XP SP3 for development and Server 2003 for production. I have to upgrade to PHP 5.3.6. It does not appear

[PHP] Re: [PHP-WIN] Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??

2011-03-25 Thread Tommy Pham
On Fri, Mar 25, 2011 at 1:44 PM, Pierre Joye pierre@gmail.com wrote: On Fri, Mar 25, 2011 at 8:12 PM, Tommy Pham tommy...@gmail.com wrote: There used to be a VC6 binary release for PHP v5.3.3 at windows.php.net but I don't see a VC6 build for v5.3 now.  Any way, since you're using using

Re: [PHP] opening a new window from php script

2011-03-25 Thread Tommy Pham
tool belt but have you considering using it? It may simply your life with various browsers and their versions across different platforms. Note: Flash does tend to be sluggish in terms of loading time and how much of what you need the Flash to do. Regards, Tommy -- PHP General Mailing List (http

Re: [PHP] Probem with go-pear.bat

2011-03-14 Thread Tommy Pham
On Sun, Mar 13, 2011 at 5:49 PM, Alejandro Crosa alec...@ymail.com wrote: Hi...I try install pear by executing the go-pear.bat file, but I get a follow  message: The go.pear.phar.dll is not a image valid of  windows. Please, any help is important for me. Thanks. Alejandro See

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread Tommy Pham
On Fri, Mar 11, 2011 at 11:39 PM, David Hutto smokefl...@gmail.com wrote: On Sat, Mar 12, 2011 at 2:34 AM, Tommy Pham tommy...@gmail.com wrote: On Fri, Mar 11, 2011 at 11:26 PM, David Hutto smokefl...@gmail.com wrote: On Sat, Mar 12, 2011 at 2:22 AM, Tommy Pham tommy...@gmail.com wrote: On Fri

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread Tommy Pham
On Fri, Mar 11, 2011 at 11:59 PM, David Hutto smokefl...@gmail.com wrote: Optimization also becomes a more manipulative, due to the stem point of your further language utilization. If you divide your languages, and disperse them through a C framework, you can utilize the languages in their

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread Tommy Pham
On Sat, Mar 12, 2011 at 12:06 AM, David Hutto smokefl...@gmail.com wrote: On Sat, Mar 12, 2011 at 2:59 AM, Tommy Pham tommy...@gmail.com wrote: On Fri, Mar 11, 2011 at 11:39 PM, David Hutto smokefl...@gmail.com wrote: On Sat, Mar 12, 2011 at 2:34 AM, Tommy Pham tommy...@gmail.com wrote: On Fri

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread Tommy Pham
We're going way off-topic. Perhaps start a new thread? :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread Tommy Pham
On Sat, Mar 12, 2011 at 12:22 AM, David Hutto smokefl...@gmail.com wrote: This isn't a C/PHP question, or optimization, it's a matter of PHP isn't always the center of attention, in terms of a development process. In each language there are advocates, and it's admirable, but ignorant in sight

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread Tommy Pham
On Sat, Mar 12, 2011 at 1:31 AM, David Hutto smokefl...@gmail.com wrote: On Sat, Mar 12, 2011 at 4:10 AM, Tommy Pham tommy...@gmail.com wrote: On Sat, Mar 12, 2011 at 12:06 AM, David Hutto smokefl...@gmail.com wrote: On Sat, Mar 12, 2011 at 2:59 AM, Tommy Pham tommy...@gmail.com wrote: On Fri

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread Tommy Pham
On Sat, Mar 12, 2011 at 2:40 AM, David Hutto smokefl...@gmail.com wrote: As I mentioned below, if PHP is sluggish, shouldn't it be brought up to the PHP developers instead?  Why would you try include more complexity? I'm sure it has, it's called benchmarks. And they can't top C or Fortran,

Re: [PHP] Check for open file

2011-03-11 Thread Tommy Pham
conversation) just food for thought, since I am not sure of the size of files they are dealing with. Steve Jumping in late. I've been too busy. Steve, I think you're probably referring to FAT32 file system. IIRC, NTFS doesn't have that low limit. [1] Regards, Tommy [1] http

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-11 Thread Tommy Pham
bottom of the HTML document just right before /body. This would allow the mixed PHP/HTML to finish without creating problems for your JS code(s). The other solution is implement output buffer using ob* functions. Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

  1   2   3   4   5   >