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
On Mon, Mar 25, 2013 at 10:21 AM, Jim Giner jim.gi...@albanyhandball.com wrote: In light of the apparent lack of any solution, I have embarked on changing all my report choices to use multiple forms with different target attribs as needed. For many of them not a big deal, but for several it

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
On Wed, Oct 31, 2012 at 6:46 AM, Alex Nikitin niks...@gmail.com wrote: Hey guys (and/or gals), I have heard this question entirely too many times, I think at some point Rasmus just stopped responding to it. The real reason that PHP is not threaded has nothing to do with PHP internal or

Re: [PHP] Re: Multithreading for OOP PHP

2012-10-31 Thread Tommy Pham
On Wed, Oct 31, 2012 at 9:27 AM, Alex Nikitin niks...@gmail.com wrote: That's all understood but there are times when that one request from the visitor requires many sub-requests like connection to DB and making SOAP calls. I would say it's more than just there are times, that's how a

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
On Thu, May 31, 2012 at 11:17 PM, Govinda govinda.webdnat...@gmail.com wrote: You need to get better tools.  I found this with Notepad++ for Windows searching case within *.php files filter within the root directory of the extracted zip/tarball:  

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: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 input) ...for example, in the way this post's answer explains how to use

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
On Sat, Apr 14, 2012 at 9:27 AM, Mingda mingda...@gmail.com wrote: Hi, All, System: CentOS 5.5; PHP version is 5.1.6. I met a strange problem associate with session_save_handler in current environment(The same code can work well in my local windows platform and ubuntu system). This is

Re: [PHP] php in windows

2012-04-09 Thread Tommy Pham
On Mon, Apr 9, 2012 at 7:05 PM, Kirk Bailey kbai...@howlermonkey.net wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? -- Did you configure it properly??? I've run it fine from XP (x86 x64), Win2003 (x86 x64) Win2008

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
On Thu, Apr 5, 2012 at 7:26 PM, Kirk Bailey kbai...@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 from PHP.net? Learn the tool so you know how to use it, efficiently. Otherwise how do you know if the tool can

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
On Mon, Apr 2, 2012 at 5:46 PM, Karl James karlja...@tampabay.rr.comwrote: Hello, ** ** Hey guys, I figured out my critical error. I have a table that has a limit of 30 rows. How can I add more rows to a table so that we can upload more images? Below is what I need to

Re: [PHP] whats wrong

2012-03-31 Thread Tommy Pham
On Fri, Mar 30, 2012 at 11:45 PM, saeed ahmed mycomputerbo...@gmail.com wrote: i have made a php script with a tutorial helpi dont know where is a error.please have a look Your code below assumes that everything is perfect in your world. IE: no network connectivity issue, all firewall

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
On Mon, Mar 5, 2012 at 7:33 AM, php-l...@dubistmeinheld.de wrote: I have a MySQL server A, a server B with PHP 5.3.8 and a server C with PHP 5.3.3. I'm connecting to the MySQL server on A via TCP from B and C using an internal network. Server B and C use the same PHP application. There

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

2012-03-01 Thread Tommy Pham
On Thu, Mar 1, 2012 at 6:29 AM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: Good morning PHP groupies! I am working on this tool that will ultimately display a collapsible org chart. The org chart is based on a nested unordered list and that is the heart of my question. The

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

2012-03-01 Thread Tommy Pham
On Thu, Mar 1, 2012 at 4:36 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: [snip]…stuff…[/snip] I am getting close, but I am also getting frustrated. I probably need to walk away for a bit. I have an array of tiers…. Array (    [0] = TIER1DATA    [1] = TIER2DATA    [2] =

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

2012-02-28 Thread Tommy Pham
On Tue, Feb 28, 2012 at 3:14 PM, Daevid Vincent dae...@daevid.com wrote: My question is, is there a way to enable some PHP configuration that would output more verbose information, such as a backtrace or the URL attempted? Have you looked at log4php? [1] It's a log4j (Java based) logging

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

2012-02-27 Thread Tommy Pham
On Mon, Feb 27, 2012 at 4:06 AM, php-l...@dubistmeinheld.de wrote: Hi, I have a MySQL server A, a server B with PHP 5.3.8 and a server C with PHP 5.3.3. I'm connecting to the MySQL server on A via TCP from B and C using an internal network. Server B and C use the same PHP application. There

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

2012-02-07 Thread Tommy Pham
On Tue, Feb 7, 2012 at 2:31 PM, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Feb 07, 2012 at 09:02:00PM +, Tim Streater wrote: On 07 Feb 2012 at 19:34, Daniel Brown danbr...@php.net wrote: On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh mike.mackint...@angrystatic.com wrote: I

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

2012-01-13 Thread Tommy Pham
On Fri, Jan 13, 2012 at 7:52 PM, Haluk Karamete halukkaram...@gmail.com wrote: I wrote a function sql_update which takes a $db_name, a $table_name, a $where and finally a $data array where data is authored by using an associative array which allows easy the pairing of field names and field

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

2012-01-11 Thread Tommy Pham
On Wed, Jan 11, 2012 at 8:43 PM, Haluk Karamete halukkaram...@gmail.com wrote: Hi, I'm coming from ASP background. There, there is a life saver option called option explicit. It forces you to declare your variables using the dim statement. The good thing about that is that if you were to

[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
On Sun, Nov 27, 2011 at 7:32 AM, Pierre Joye pierre@gmail.com wrote: hi, I just uploaded two zip for sqlsrv and 5.4. I did not test them and they are no official builds, only for testing purposes (so is 5.4 :). you can find them at http://www.php.net/~pierre/ Cheers, Hi Pierre, I

[PHP] 5.3.9RC2 and 5.4RC2

2011-11-26 Thread Tommy Pham
Hi everyone, 5.3.9RC2 works fine with all my apps so far. 5.4RC2 broke with sqlsvr and its PDO in addition to Wincache, which I've already brought to MS' attention. What's the estimated official release of 5.4? I can't wait for the feature session.upload_progress* in 5.4 which I need to do

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

2011-11-25 Thread Tommy Pham
On Fri, Nov 25, 2011 at 4:38 PM, Andreas maps...@gmx.net wrote: Hi again, is there a tutorial for the structure of an php-app? There are more than enough books and online docs that teach the basics of PHP and of course the native mysql commands. I'd now rather need a help to figure out how

Re: Re: [PHP] include

2011-11-21 Thread Tommy Pham
On Mon, Nov 21, 2011 at 2:56 AM, Tim Streater t...@clothears.org.uk wrote: On 20 Nov 2011 at 23:46, Tamara Temple tamouse.li...@tamaratemple.com wrote: Tim Streater t...@clothears.org.uk wrote: At the moment I'm using an instance of apache to run PHP scripts, as and when required via AJAX.

Re: [PHP] include

2011-11-20 Thread Tommy Pham
On Sat, Nov 19, 2011 at 2:16 PM, Tim Streater t...@clothears.org.uk wrote: At the moment I'm using an instance of apache to run PHP scripts, as and when required via AJAX. Having got some understanding of web sockets, I'm minded to look at having a small server to execute these functions as

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
On Wed, Nov 16, 2011 at 4:13 AM, HallMarc Websites m...@hallmarcwebsites.com wrote: Seems strange that you are given a choice. My clients have been telling me that they are told to get the latest Acrobat Reader by Safari. Which they have done (again why allow a plugin that isn't supported get

Re: [PHP] Novice MySQL problem

2011-11-14 Thread Tommy Pham
On Mon, Nov 14, 2011 at 4:11 AM, Stuart Dallas stu...@3ft9.com wrote: On 14 Nov 2011, at 11:47, Jim Giner wrote: Actually, no it doesn't,  since I have a well-developed sense of all of that, but that's not helping to answer the OP's question now, is it?  Stay on point. The OP's problem is

Re: [PHP] mysqli question

2011-11-12 Thread Tommy Pham
On Sat, Nov 12, 2011 at 6:15 AM, Peet Grobler p...@hivemind.net wrote: Not sure if this is the correct mailing list to be asking this question but here goes: I've got a prepared statement. $stmt = $dbh-prepare (insert into test values (?, ?))        or die (Error: . $dbh-error);

Re: [PHP] create file after form completion

2011-10-29 Thread Tommy Pham
This line is consider 'top post'. Meaning you're posting on top of the reply. On Sat, Oct 29, 2011 at 12:12 PM, Pau vim.u...@googlemail.com wrote: Hi, Please try not to top post. sorry, but I do not understand the expression (I am not native, as you might have guessed). Do you mean not

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

2011-10-28 Thread Tommy Pham
On Fri, Oct 28, 2011 at 9:38 AM, Jim Long p...@umpquanet.com wrote: I'm running PHP 5.3.8 on FreeBSD 8.2 with MySQL 5.1.55. Jim, Installed from packages or standard port tree build? Did you do any tweak for the ports build? Any special compiler parameters in your make.conf? I've noticed

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
On Wed, Oct 26, 2011 at 5:47 PM, Jason Pruim li...@pruimphotography.comwrote: Jason Pruim li...@pruimphotography.com The server that's running it is a home computer with a VPS installed... It's not my dev environment :) Home computer used for a production environment? Wow.. I'm

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 3:23 AM, Tommy Pham tommy...@gmail.com wrote: 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

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
On Tue, Oct 25, 2011 at 7:06 PM, Jason Pruim li...@pruimphotography.comwrote: 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 state='{$state}'; and

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
applications. Please which ones are the correct window web PI and PHP applications to download from the list. I look forward to hearing from you. Many thank's and have a beautiful day. Best Wishes, Joseph --- On *Wed, 19/10/11, Tommy Pham tommy...@gmail.com* wrote: From: Tommy Pham tommy

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
On Sun, Oct 16, 2011 at 2:32 PM, Stephen stephe...@rogers.com wrote: On 11-10-16 04:10 PM, Jim Giner wrote: Stephen: What you describe is a multistep problem. There are many ways to show pictures (images) in any order you want. * So far, the OP has only asked how to keep his

Re: [PHP] Local variable protection

2011-10-12 Thread Tommy Pham
On Wed, Oct 12, 2011 at 4:51 PM, Benjamin Coddington bcodd...@uvm.eduwrote: On Oct 12, 2011, at 4:24 PM, Ken Robinson wrote: Quoting Benjamin Coddington bcodd...@uvm.edu: Are there any assurances that function local variables are protected from code calling the function? For example,

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

2011-10-09 Thread Tommy Pham
On Sun, Oct 9, 2011 at 8:41 AM, Complex complex.confus...@gmail.com wrote: Tedd, The crucial detail you're lookign for is my lack of choice or control in the matter, for all sorts of reasons that are actually quite stupid but not possible for *me* to change, and not possible for anyone else

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

2011-10-08 Thread Tommy Pham
On Sat, Oct 8, 2011 at 8:36 AM, Complex complex.confus...@gmail.com wrote: Hello, Can you please tell me if there's already a set of PHP functions for translating SSI commands to PHP? I'm looking to do two things -- one difficult, one easy -- using PHP on a hosted server. My client has

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

2011-10-08 Thread Tommy Pham
On Sat, Oct 8, 2011 at 8:36 AM, Complex complex.confus...@gmail.com wrote: Hello, Can you please tell me if there's already a set of PHP functions for translating SSI commands to PHP? I'm looking to do two things -- one difficult, one easy -- using PHP on a hosted server. My client has

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
On Sat, Oct 8, 2011 at 5:33 PM, Complex complex.confus...@gmail.com wrote: Thanks for the advice, I'm aware of all that, but I'm looking for a specific PHP solution at the moment. Unless you have advice on how I can update the SSI includes on the larger website *without* having to also update

Re: [PHP] Namespaced code with SabreDAV

2011-10-06 Thread Tommy Pham
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 using is namespaced, and SabreDAV unfortunately does not have a 5.3

Re: [PHP] Problem with code...

2011-10-06 Thread Tommy Pham
On Thu, Oct 6, 2011 at 7:29 PM, Jason Pruim li...@pruimphotography.comwrote: Jason Pruim li...@pruimphotography.com On Oct 6, 2011, at 9:04 PM, George Langley wrote: On 2011-10-06, at 6:28 PM, Jason Pruim wrote: ?PHP //SETUP VARIABLES $mailTo = li...@pruimphotography.com;

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] Getting meta data (of any type) for an XML file being from it's URL.

2011-10-01 Thread Tommy Pham
On Fri, Sep 30, 2011 at 3:03 AM, Richard Quadling rquadl...@gmail.comwrote: On 29 September 2011 23:34, Tommy Pham tommy...@gmail.com wrote: 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.com wrote

Re: [PHP] book quest

2011-09-29 Thread Tommy Pham
On Wed, Sep 28, 2011 at 5:29 PM, Jim Lucas li...@cmsws.com wrote: On 9/28/2011 3:26 PM, Bastien Koert wrote: On Wed, Sep 28, 2011 at 6:20 PM, Kirk Bailey kbai...@howlermonkey.net wrote: The best book for a beginner? No, don't tell me php.net, I hear that one already, and while it is

Re: [PHP] PHP5 cgi Suexec htaccess rewrite issue

2011-09-29 Thread Tommy Pham
On Thu, Sep 29, 2011 at 5:43 AM, Shaun Morrow morrow.sh...@gmail.comwrote: I am running a server with cPanel on and want to have php run as a cgi with Suexec enabled I cannot seem to rectify an issue, when I set the handler to cgi, my rewrite rules on one of my sites stop working Sample

Re: [PHP] book quest

2011-09-29 Thread Tommy Pham
On Thu, Sep 29, 2011 at 10:12 AM, George Langley george.lang...@shaw.cawrote: On 2011-09-29, at 8:53 AM, Andy McKenzie wrote: Is there something wrong with the PHP.net manual? Or you just want something physical to be able read any where and stay unplugged? If the latter and there's

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 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:// http://www.site.com/products.xml.gz') is working perfectly. But a

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

2011-09-20 Thread Tommy Pham
On Tue, Sep 20, 2011 at 12:43 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Mon, Sep 19, 2011 at 9:03 AM, Daniel Brown danbr...@php.net wrote: You have to add the extensions to your php.ini file, Yeah, did that, still not working. and - if using them on the web -

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
I don't know about external facing and 'most web sites use SharePoint' but SharePoint is mainly used in conjunction with other midsize/enterprise MS applications such as Exchange, SQLServer and other MS products, including SSO integration with Active Directory. I've yet to see it used as

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

2011-09-19 Thread Tommy Pham
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. That's why attendance/registration is so low. Only main web (server side) development languages are ASP.NET (C#), Java, and PHP (listed as

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 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 to work with either Apache 2.2.11 or the new 2.2.17 from Apache Lounge.

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
On Fri, Mar 25, 2011 at 2:59 PM, Grega Leskovšek legr...@gmail.com wrote: I am working on CMS designed to those who are unfamiliar  with a computer world and I want to offer a task where on a push of a button it will save current working page in textarea/s and open this page in a new tab or in

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

  1   2   3   4   5   >