Re: [PHP] Recursion... Sort of...

2008-05-08 Thread Nathan Nobbe
On Thu, May 8, 2008 at 6:23 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > Nathan Nobbe wrote: > >> On Thu, May 8, 2008 at 3:48 PM, Matt Neimeyer <[EMAIL PROTECTED]> wrote: >> >> Is there a way to tell if a function has been called that has resulted >>&g

Re: [PHP] Recursion... Sort of...

2008-05-09 Thread Nathan Nobbe
On Fri, May 9, 2008 at 1:52 AM, Stut <[EMAIL PROTECTED]> wrote: > On 9 May 2008, at 02:02, Nathan Nobbe wrote: > >> function doStuff() { >> static $callCount; >> >> if(!isset($callCount)) >> $callCount = 1; >> else >> $callCount++; >>

Re: [PHP] php.ini

2008-05-09 Thread Nathan Nobbe
On Fri, May 9, 2008 at 12:02 PM, Michael Satterwhite <[EMAIL PROTECTED]> wrote: > I do know that on bluehost, they actually encourage people to use their own > php.ini file in their web directory ... and users certainly don't have the > authority to restart apache. > > That said - just for grins,

Fwd: [PHP] php.ini

2008-05-09 Thread Nathan Nobbe
bouncing back to the list.. -- Forwarded message -- From: Michael Satterwhite <[EMAIL PROTECTED]> Date: Fri, May 9, 2008 at 3:09 PM Subject: Re: [PHP] php.ini To: Nathan Nobbe <[EMAIL PROTECTED]> On Friday 09 May 2008 13:43:27 you wrote: > On Fri, May 9, 2

Re: [PHP] Re: unsubscribe

2008-05-09 Thread Nathan Nobbe
On Fri, May 9, 2008 at 2:57 PM, tedd <[EMAIL PROTECTED]> wrote: > At 2:39 PM -0400 5/9/08, Wolf wrote: > >> bobcray <[EMAIL PROTECTED]> wrote: >> >>> unsubscribe >>> >> >> http://www.php.net and unsubscribe yourself. >> > > Yeah, I got that sent to me as well. > > It's interesting when peopl

Re: [PHP] Re: unsubscribe

2008-05-09 Thread Nathan Nobbe
On Fri, May 9, 2008 at 8:25 PM, tedd <[EMAIL PROTECTED]> wrote: > At 3:45 PM -0600 5/9/08, Nathan Nobbe wrote: > >> On Fri, May 9, 2008 at 2:57 PM, tedd <<mailto:[EMAIL PROTECTED]> >> [EMAIL PROTECTED]> wrote: >> >> >> It's interest

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someone help me out please?

2008-05-10 Thread Nathan Nobbe
On Sun, May 11, 2008 at 12:30 AM, Rahul <[EMAIL PROTECTED]> wrote: > I am using Fedora Core 4. As I was unable to use PHP or MySQL together, I > uninstalled both of them and installed again using the following commands: > > yum install mysql > > And then > > apt-get install php php-devel php-gd ph

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someone help me out please?

2008-05-10 Thread Nathan Nobbe
On Sun, May 11, 2008 at 12:42 AM, Rahul <[EMAIL PROTECTED]> wrote: > Thanks a lot for your reply. > > I have tried using > > $host = "localhost"; > $db = "dbname"; > $table_main = "tablename"; > $dbusername = "root"; > $dbpass = "passhere"; > > mysql_connect($host, $dbusername, $dbpass) or die(mys

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Nathan Nobbe
On Sun, May 11, 2008 at 1:05 AM, Rahul <[EMAIL PROTECTED]> wrote: > I have recorded both the errors by changing the variable: > > $host = "mycomputer.webaddress.com" > > PHP Warning: mysql_connect(): Lost connection to MySQL server during query > in /export/home/rpo219/may/conf_global.php on line

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Nathan Nobbe
On Sun, May 11, 2008 at 1:22 AM, Rahul P <[EMAIL PROTECTED]> wrote: > Thanks. I just stopped mysql and when I try to start it again it throws > another set of errors: > > chown: changing ownership of `/home-public/mysql6': Operation not permitted > > So I guess something is messed up completely. I

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Nathan Nobbe
On Sun, May 11, 2008 at 1:29 AM, Rahul P <[EMAIL PROTECTED]> wrote: > Oh... This is the fourth time I'm doing that except that this time yum > installed mysql6 instead of older versions... I don't see any way out other > than reinstalling the OS itself... There are so many dependency failures

Re: [PHP] Can I make EasyPHP on Windows allow remote connections?

2008-05-10 Thread Nathan Nobbe
On Sun, May 11, 2008 at 1:25 AM, Rahul <[EMAIL PROTECTED]> wrote: > I have EasyPHP installed on my Windows system and can connect to the > php+mysql using localhost in the browser but I was wondering if I can > connect to this computer (which is at my office) from my home. I have a web > address a

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Nathan Nobbe
On Sun, May 11, 2008 at 1:46 AM, Rahul P <[EMAIL PROTECTED]> wrote: > Ok I removed mysql using yum remove mysql. But is there a special way to > tell yum to install that version of mysql? ahh, this is where google comes in for sure. it looks like you could download an older rpm, like from mysql

Re: [PHP] Can I make EasyPHP on Windows allow remote connections?

2008-05-10 Thread Nathan Nobbe
On Sun, May 11, 2008 at 1:48 AM, Rahul P <[EMAIL PROTECTED]> wrote: > Well I thought it has something to do with EasyPHP because I'm able to use > Remote Desktop Connection of Windows. Actually I've been using EasyPHP > through RDC but I thought I could use it directly... rdp has a special port

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Nathan Nobbe
On Sun, May 11, 2008 at 1:59 AM, Rahul P <[EMAIL PROTECTED]> wrote: > Ok. I apologize for the mix. When I'm mailing someone, I simply don't get > Google into mind. :) > no problem, if it were emerge id be much more capable of helping ;) -nathan

Re: [PHP] Re: unsubscribe

2008-05-12 Thread Nathan Nobbe
On Mon, May 12, 2008 at 11:17 AM, tedd <[EMAIL PROTECTED]> wrote: > At 11:46 AM -0400 5/12/08, Daniel Brown wrote: > >> On Sun, May 11, 2008 at 9:19 PM, Craige Leeder <[EMAIL PROTECTED]> wrote: >> >>> You've even had to resort to using classes and other strange stuff to program. Clearly sig

Re: [PHP] Good XML Parser

2008-05-13 Thread Nathan Nobbe
On Tue, May 13, 2008 at 7:29 PM, Waynn Lue <[EMAIL PROTECTED]> wrote: > Ok, thanks so much for the help. I went with DOM-parsing to begin > with, I'll explore XPath + SimpleXML later. just fyi, youre likely to get more bang for your buck starting off w/ SimpleXML. DOM is a successor to DOMXML

Re: [PHP] HELP !!!!! PHP SOAP Not building objects correctly

2008-05-16 Thread Nathan Nobbe
On Fri, May 16, 2008 at 1:04 PM, Tim Traver <[EMAIL PROTECTED]> wrote: > Hi all, > > sorry for the cross post to the general PHP list as well as the SOAP PHP > list, but I'm a little bit desperate... > > Ok, for some reason when I am sending the proper objects to the __soapCall > method, it is not

Re: [PHP] echo returnArray()['a']; // workaround

2008-05-22 Thread Nathan Nobbe
On Fri, Feb 29, 2008 at 12:16 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > wow, im going to have to stare at some of those and play around with them > as soon as im half awake :) > > of course i still like my solution ;) but im excited about the > experimentation and ideas

Re: [PHP] Advantages of declared vs undeclared object properties

2008-05-25 Thread Nathan Nobbe
On Sun, May 25, 2008 at 3:51 AM, Weston C <[EMAIL PROTECTED]> wrote: > In a setup like you've got with a SimpleXML object, where object > properties aren't necessarily declared in the class definition but are > added on an ad hoc basis, is there any performance hit? > > If not, other than the abil

Re: [PHP] Bug in SimpleXML?

2008-06-02 Thread Nathan Nobbe
On Mon, Jun 2, 2008 at 3:12 PM, Kyle Browning <[EMAIL PROTECTED]> wrote: > I was working on a project for XML Parsing. I came across instances where > my > elements were completely missing. > > After further Digging into the issue, I found out, that when placing tags > inside of an element with te

Re: [PHP] Bug in SimpleXML?

2008-06-02 Thread Nathan Nobbe
On Mon, Jun 2, 2008 at 4:32 PM, Kyle Browning <[EMAIL PROTECTED]> wrote: > I used both print_r and var_dump. > Whats supported for ultimate nesting prints of values and keys?, or in > objects words, properties and values. > cc'ng the list again.. well var_dump() and print_r() just arent supporte

Re: [PHP] no array passed error

2008-06-03 Thread Nathan Nobbe
On Tue, Jun 3, 2008 at 4:28 PM, PJ <[EMAIL PROTECTED]> wrote: > I don't know if this is the right list, it seems php and postgresql are > rather interdependent in the webside I am debugging :(, but here goes: > > I'm getting this error: > pg_execute() [function.pg-execute]: No > array passedE_

Re: [PHP] Regex in PHP

2008-06-03 Thread Nathan Nobbe
On Tue, Jun 3, 2008 at 8:39 PM, VamVan <[EMAIL PROTECTED]> wrote: > Hello All, > > For example I have these email addressess - > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > What would be my PHP function[Regular expression[ to that can give me some > thing like > > yahoo.com > h

Re: [PHP] slowness mystery

2008-06-04 Thread Nathan Nobbe
On Wed, Jun 4, 2008 at 3:05 AM, Rene Veerman <[EMAIL PROTECTED]> wrote: > Hi.. > > I've built a cms that's running into a serious speedbump. > I load several sets of javascript through a custom built db > caching&compression system. > Loading it without caching and compression takes between 2 and

Re: [PHP] slowness mystery

2008-06-04 Thread Nathan Nobbe
On Wed, Jun 4, 2008 at 8:49 AM, Rene Veerman <[EMAIL PROTECTED]> wrote: > Using a statis .js file costs 3.54 seconds. > > Should i suspect apache now? is this something youre fetching over a local network, or are you going out over the internet to get it ? -nathan

Re: [PHP] Regex in PHP

2008-06-04 Thread Nathan Nobbe
On Wed, Jun 4, 2008 at 10:10 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > Hi, > > and the case insensitive versions are a hair faster still ;) >> > > Are they? I always thought that case-sensitive functions were faster > because they have to test fewer comparisons. Eg To test if i == I in a > c

Re: [PHP] Regex in PHP

2008-06-04 Thread Nathan Nobbe
On Wed, Jun 4, 2008 at 10:26 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > Nope, case insensitive is slower since you must make two tests for > characters having a lower and upper case version. With case sensitive > comparisons you only need to make a single comparison. a quick test shows str

Re: [PHP] Regex in PHP

2008-06-04 Thread Nathan Nobbe
On Wed, Jun 4, 2008 at 11:12 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > Did you just try to use a test that used a single iteration to prove me > wrong? OMFG ponies!!! Loop each one of those 10 million times, use a > separate script for each, and use the system time program to > appropriatel

Re: [PHP] Regex in PHP

2008-06-04 Thread Nathan Nobbe
On Wed, Jun 4, 2008 at 2:06 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Wed, 2008-06-04 at 11:18 -0600, Nathan Nobbe wrote: > > On Wed, Jun 4, 2008 at 11:12 AM, Robert Cummings <[EMAIL PROTECTED]> > > wrote: > > > > > Did you just try to use a tes

Re: [PHP] Regex in PHP

2008-06-04 Thread Nathan Nobbe
On Wed, Jun 4, 2008 at 11:43 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Wed, 2008-06-04 at 23:20 -0400, Nathan Nobbe wrote: > > > > i repeated your test using the time program and splitting the script into > 2, > > one for each strpos and stripos, to find s

Re: [PHP] Caching and Optimization

2008-06-05 Thread Nathan Nobbe
On Thu, Jun 5, 2008 at 10:16 AM, VamVan <[EMAIL PROTECTED]> wrote: > Hello All, > > Today my question is about the all important topic "Web Optimization" > > What kind of caching mechanisms can I use for Mysql Queries? mysql has its own caching support, worth looking into. you can also cache qu

Re: [PHP] Array of PDO objects

2008-06-06 Thread Nathan Nobbe
2008/6/6 Miguel J. Jiménez <[EMAIL PROTECTED]>: > Hi, I want to know if I can set an array with PDO objects, thus: > >$foo = array(new PDO(...), new PDO(...)); >$oSt = $foo[0]->prepare(...); > > and so on... I tried that aproach and PHP is always complaining about > using prepare()

Re: [PHP] Updating inherited attributes without __construct()

2008-06-06 Thread Nathan Nobbe
On Thu, Jun 5, 2008 at 12:15 PM, Tyson Vanover <[EMAIL PROTECTED]> wrote: > I have a class that has a list of valid keys, and an array of values. When > a value is added to the array it's key is first checked against the list of > valid keys (this is to prevent injection issues we have been havin

Re: [PHP] WSDL/SOAP/PHP5

2008-06-06 Thread Nathan Nobbe
On Fri, Jun 6, 2008 at 2:53 PM, Dan Joseph <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > I'm struggling with a WSDL trying to make it work right. I don't even know > what to really ask. > > Basically I've created a WSDL and made a web service in PHP5. It doesn't > seem to validate properly when

Re: [PHP] Updating inherited attributes without __construct()

2008-06-06 Thread Nathan Nobbe
On Fri, Jun 6, 2008 at 2:09 PM, Tyson Vanover <[EMAIL PROTECTED]> wrote: > Sorry, I probably should have included the add() function from the parent. > As well as all of the parent constructor. > > Basically the object takes an array of key=>value pairs and parses them > into a string for output.

Re: [PHP] class? package?

2008-06-10 Thread Nathan Nobbe
On Wed, Jun 11, 2008 at 12:02 AM, Larry Garfield <[EMAIL PROTECTED]> wrote: > On Tuesday 10 June 2008, Shelley wrote: > > Hi all, > > > > If you are designing with OO principles, could you give an explanation of > > what is the difference classes and packages? > > > > Several principles talks abou

Re: [PHP] Class & Type Casting

2008-06-10 Thread Nathan Nobbe
On Tue, Jun 10, 2008 at 5:13 AM, Leurent Francois <[EMAIL PROTECTED]> wrote: > I was asking myself if there was a good reason this syntax not to work > > class string_extented{ > function __construct($str){ > $this->contents=$str; > } > function __toString(){ > return $this->contents; > } > > } >

Re: [PHP] Problem with output_buffering directive in cli

2008-06-10 Thread Nathan Nobbe
On Tue, Jun 10, 2008 at 10:27 PM, Mike Burba <[EMAIL PROTECTED]> wrote: > I am using Smarty templates to format HTML emails from the command > line (using cli). My typical command is: > php filename.php > > However, and I am struggling with templates that are greater than 10k. > It looks like th

Re: [PHP] Problem with output_buffering directive in cli

2008-06-11 Thread Nathan Nobbe
On Wed, Jun 11, 2008 at 4:35 AM, Mike Burba <[EMAIL PROTECTED]> wrote: > I think I solved this issue by using the -d option on the commandline. > > When I use: > php -d output_buffering=On ./filename.php > > the local value / active value of output_buffering is correct. kudos, and nice find ;)

Re: [PHP] Re: HTML 5

2008-06-12 Thread Nathan Nobbe
On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote: > Pavel wrote: > >> В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а): >> >>> This may be of interest (HTML 5 diffences to HTML 4 overview): >>> >> >> what about xHTML? html died few years ago and i thou

Re: [PHP] Re: HTML 5

2008-06-12 Thread Nathan Nobbe
On Thu, Jun 12, 2008 at 4:05 PM, M. Sokolewicz <[EMAIL PROTECTED]> wrote: > Nathan Nobbe wrote: > >> On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie <[EMAIL PROTECTED]> >> wrote: >> >> Pavel wrote: >>> >>> В сообщении от Thursday 12

Re: [PHP] PHP code will not work

2008-06-12 Thread Nathan Nobbe
On Wed, Jun 11, 2008 at 9:51 PM, Joseph Subida <[EMAIL PROTECTED]> wrote: > Hi. > > I am new to PHP. I found a tutorial that said to copy and paste the code > into a .php document and open it in my browser: > > echo $_SERVER['HTTP_USER_AGENT']; > ?> > > I'm pretty sure PHP is enabled on my comput

Re: [PHP] Capture homepage screenshot

2008-06-13 Thread Nathan Nobbe
On Fri, Jun 13, 2008 at 12:45 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Fri, Jun 13, 2008 at 1:46 PM, Shiplu <[EMAIL PROTECTED]> wrote: > > Hello, > > How can i capture homepage screenshot of a webpage by php? > > > > I know a way. > > I'll run a executable written in C/C++. when It will be

Re: [PHP] Capture homepage screenshot

2008-06-13 Thread Nathan Nobbe
On Fri, Jun 13, 2008 at 2:38 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Fri, Jun 13, 2008 at 4:35 PM, Nathan Nobbe <[EMAIL PROTECTED]> > wrote: > > > > btw. im curious to see your implementation dan ;) > > I thought I was going to have time to do

Re: [PHP] Another way to send variables

2008-06-13 Thread Nathan Nobbe
On Fri, Jun 13, 2008 at 3:49 PM, R B <[EMAIL PROTECTED]> wrote: > Hello. > > I have this script (script1.php): > > $a = "Hello"; > header("Location: script2.php"); > ?> > > I need to send the $a variable to script2.php, but i don´t want to send it > in the url. > > Is there another method? > >

Re: [PHP] Memory cache problem

2008-06-13 Thread Nathan Nobbe
On Fri, Jun 13, 2008 at 8:02 PM, tedd <[EMAIL PROTECTED]> wrote: > At 11:47 PM +0100 6/13/08, Stut wrote: > >> On 13 Jun 2008, at 23:20, R B wrote: >> >>> I search in both caches, and the video appears in the memory cache. >>> >> >> Sorry, but that doesn't answer the question of why you/he doesn't

Re: [PHP] How to prevent DoS on PHP script?

2008-06-16 Thread Nathan Nobbe
On Mon, Jun 16, 2008 at 2:11 PM, Nitsan Bin-Nun <[EMAIL PROTECTED]> wrote: > Umm yes I don't think so too, but thats one of the only possibile options.. > so give it a shot because you have nothing to loose (: > > I also think he should speak to the server administrator / the guy he pays > him the

[PHP] PHP process control

2007-06-07 Thread Nathan Nobbe
I was reading the handbook on the topic of Unix process control. The first thing it says is: Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Process Control should not be enabled within a web server environ

[PHP] PHP process control

2007-06-07 Thread Nathan Nobbe
I was reading the handbook on the topic of Unix process control. The first thing it says is: Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Process Control should not be enabled within a web server environ

Re: [PHP] Re: Re: Re: php-cli vs python

2007-06-09 Thread Nathan Nobbe
Admittedly, there are some annoying features of PHP, the most annoying one being its "dynamic" typing (opposed to "weak" typing). I think its worth mentioning that 'dynamic' and 'weak' typing both refer to type checking, yet they refer to different aspects of type checking. a lanuguage is either

[PHP] does php4 have language level classes

2007-06-14 Thread Nathan Nobbe
all, php5 has language-level classes that ship w/ many of the extensions. PDO is a primary example. recently, through a sort-of round-about way, i have been working w/ the serialize function, which lead me to discover It is not possible to serialize PHP

[PHP] pack vs. serialize

2007-06-17 Thread Nathan Nobbe
all, i have recently stumbled upon the packmethod. can this be used as a substitute for serialize ? if so, is there any rationalization for this; like would it perhaps create a more compact repres

Re: Re[6]: [PHP] Need a more elegant way of bitwise ORing values

2007-06-17 Thread Nathan Nobbe
admittedly i had to read up quickly on the usage of a *binary pattern*where each bit in said *pattern* is used to represent the state of some boolean variable. wikipedia sufficed this makes much more sense to me now; as ive seen this technique b

Re: [PHP] Need a more elegant way of bitwise ORing values

2007-06-17 Thread Nathan Nobbe
admittedly i had to read up quickly on the usage of a *binary pattern* where each bit in said* pattern* is used to represent the state of some boolean variable. wikipedia sufficed this makes much more sense to me now; as ive seen this technique b

Re: [PHP] Re: php framework, large site

2007-06-17 Thread Nathan Nobbe
the best part about re-inventing the wheel is, once youve re-invented it; its yours! time is precious yes; but what happens when you get along using some lib and you cant get it to do what you want? you start writing weak code because you never learned how to write good code in the first place, o

Re: [PHP] Re: php framework, large site

2007-06-18 Thread Nathan Nobbe
discouraging new framework development is like telling the people of the world never to develop a new flavor of linux. we all know its a massive undertaking, but there is merit and purpose in it nonetheless. and you never know a new one could just become the best one. -nathan On 6/18/07, Crayon

Re: [PHP] Re: php framework, large site

2007-06-18 Thread Nathan Nobbe
On 6/18/07, Crayon Shin Chan <[EMAIL PROTECTED]> wrote: On Tuesday 19 June 2007 02:04, Nathan Nobbe wrote: > discouraging new framework development is like telling the people of > the world never to develop a new flavor of linux. There are no new flavours of linux. You're prob

Re: [PHP] phpinfo displays blank page

2007-06-20 Thread Nathan Nobbe
do you have other php files that produce html output still working (after the upgrade)? if not, there is probly something wrong w/ the new php installation. is this the same phpinfo script you were using before the upgrade? if not there may be a problem w/ the phpinfo script. -nathan On 6/20/

Re: [PHP] foreach() using current() strange beahvior

2007-06-23 Thread Nathan Nobbe
Julien, i reproduced your experiment and got a different result on the first one. i found that the internal pointer does not seem to be affected if there is a check on the index of the internal pointer during iteration, but if there is no check on the index during iteration the pointer seems to

Re: [PHP] foreach() using current() strange beahvior

2007-06-23 Thread Nathan Nobbe
n On 6/23/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Sat, 2007-06-23 at 15:15 -0400, Nathan Nobbe wrote: > > in summary, COW or not; i think the documentation could be revised a bit to > clarify these subtleties. Regardless of additional documentation or not, I think

[PHP] onphp

2007-06-24 Thread Nathan Nobbe
all, has anyone used the onphp framework? if so what do you think of it? thanks, -nathan

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Nathan Nobbe
Alexander, sorry to see nobody has replied to your post, im sure you worked very hard on the cache system and are eager for feedback.. so to me it looks like youve introduced a somewhat new style of caching here (though im sure there are other such approaches); for instance i know of 2 main uses

Re: [PHP] UI toolkit

2007-06-24 Thread Nathan Nobbe
Darren, I recently discovered php5 bindings to qt4 http://www.php-qt.org although qt is currently leveraged by kde primarily it has been converted to a cmake build system instead of a make build system which supposedly will enable cross platform capabilities. kde apps will be running on windows

Re: [PHP] Aggressive PHP Smart Caching

2007-06-24 Thread Nathan Nobbe
Sun, 2007-06-24 at 23:55 -0400, Nathan Nobbe wrote: > Alexander, > > sorry to see nobody has replied to your post, im sure you worked very hard > on the cache system and are eager for feedback.. > > so to me it looks like youve introduced a somewhat new style of caching her

Re: [PHP] PHP5 TUTORIAL

2007-06-26 Thread Nathan Nobbe
if you want to spend a little i would recommend this book from php|arch http://www.phparch.com/shop_product.php?itemid=135 -nathan On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi Preethi > Kindly suggest me the good online tutorial for PHP5. > Am already working on php4. > Need

Re: [PHP] PHP P O K E R...... and JAVA (convert)

2007-06-27 Thread Nathan Nobbe
Ryan, if you want to port the java code to php it wouldnt be very difficult since this code doesnt rely heavily on much besides core language constructs. really you could just save it as a php file and start making changes where needed; it wouldnt take too long to port. as for the compilation iss

Re: [PHP] RE: Address book - LDAP or MySQL?

2007-06-29 Thread Nathan Nobbe
i havent worked w/ LDAP and PHP together as of yet; but maybe i can jump in the conversation and share some of my thoughts on the topic.. in terms of options for Timothy's address book the data for the address book will need to be stored somewhere. since Timothy is already using MySQL that sounds

Re: [PHP] RE: Address book - LDAP or MySQL?

2007-06-29 Thread Nathan Nobbe
Ed, Im not sure if OpenLDAP or other can use a different backed, such as MySQL. I suspect there would be a server to support this, but it would almost certainly define the table structure in the database of choice. From the sound of it there are ways to change the information model of X.500 (whe

Re: [PHP] RE: Address book - LDAP or MySQL?

2007-06-29 Thread Nathan Nobbe
On 6/29/07, Jay Blanchard <[EMAIL PROTECTED]> wrote: Twas me. LDAP is not a database it is a protocol for accessing a directory service which is the abstraction layer for the actual data repository namespace. And an LDAP server will typically house said repository namespace. Like OpenLDAP using

Re: [PHP] Re: PHP vs Delphi Comparison?

2007-07-03 Thread Nathan Nobbe
On 7/3/07, Darren Whitlen <[EMAIL PROTECTED]> wrote: One is compiled, and for desktop software... actually the last 2 revisions of delphi are based on the .net framework, and as such there is support for ASP.NET -nathan On 7/3/07, Darren Whitlen <[EMAIL PROTECTED]> wrote: Dan wrote: > I'm lo

Re: [PHP] Re: PHP vs Delphi Comparison?

2007-07-03 Thread Nathan Nobbe
On 7/3/07, Darren Scales <[EMAIL PROTECTED]> wrote: But unlike delphi, it just can't output a native GUI on each OS. Actually PHP has 3 bindings that i know of (which cover *nixes and windows) - php gtk - php-qt - windows bindings

Re: [PHP] Re: php security books

2007-07-04 Thread Nathan Nobbe
this is getting good; i want to know why its *flawed* now too. no pressure :) -nathan On 7/4/07, Stut <[EMAIL PROTECTED]> wrote: Andrew Hutchings wrote: > In article <[EMAIL PROTECTED]> > [EMAIL PROTECTED](Mark Kelly) wrote: > >> Hi. >> >> On Wednesday 04 July 2007 13:01, Andrew Hutchings w

Re: RE: [PHP] Re: php security books

2007-07-04 Thread Nathan Nobbe
the root user issue aside, i still dedicate a separate file in /var/log for my php apps. -nathan On 7/4/07, Andrew Hutchings <[EMAIL PROTECTED]> wrote: In article <[EMAIL PROTECTED]>[EMAIL PROTECTED] ("bruce") wrote: > andrew... ¾ > are you sure about this... i would have thought that if yo

Re: [PHP] PHP as a strategic BUSINESS language

2007-07-05 Thread Nathan Nobbe
I'll keep it in my toolbox for the simple, quick way to get something to the inter/intranet but other than that it's not ever going to be a major player in Real World business solutions. i usually take a statement of this nature to mean the person saying it doesnt know much about php. have you h

Re: [PHP] About Website Search Engine

2007-07-05 Thread Nathan Nobbe
Kevin, just like Daniel said, $sql .= "OR product_description *LIKE '%".$terms."%'"*; most of the *search engines* ive seen revolve around the use of the LIKE construct which is a simplified regex mechanism

Re: [PHP] Re: PHP Courses in India

2007-07-05 Thread Nathan Nobbe
you might try the online training courses from php architect . -nathan On 7/5/07, Dan <[EMAIL PROTECTED]> wrote: You go to an institute in India to learn PHP? Isn't it more of a language that you could get from a book? I know there's been lots of book disc

Re: [PHP] About Website Search Engine

2007-07-05 Thread Nathan Nobbe
n 7/5/07, Robert Cummings < [EMAIL PROTECTED]> wrote: On Thu, 2007-07-05 at 22:26 -0400, Nathan Nobbe wrote: > Kevin, > > just like Daniel said, > > $sql .= "OR product_description *LIKE '%".$terms."%'"*; > > most of the *search engines* ive s

Re: [PHP] About PHP CMS

2007-07-07 Thread Nathan Nobbe
to keep html separate from php you can also look at XSLT. ive heard good and bad things about smarty. -nathan On 7/6/07, Davi <[EMAIL PROTECTED]> wrote: Em Sexta 06 Julho 2007 21:24, Kelvin Park escreveu: > Is it possible to have PHP code completely separate from the HTML page that > needs to

Fwd: [PHP] About PHP CMS

2007-07-07 Thread Nathan Nobbe
forgot to copy the list on this one, sorry -- Forwarded message -- From: Nathan Nobbe <[EMAIL PROTECTED]> Date: Jul 7, 2007 2:13 PM Subject: Re: [PHP] About PHP CMS To: Kelvin Park <[EMAIL PROTECTED]> On 7/7/07, Kelvin Park <[EMAIL PROTECTED]> wrote: C

Re: [PHP] About PHP CMS

2007-07-07 Thread Nathan Nobbe
kelvin, here is the example: catalog.php load('catalog.xsl'); $xsl->importStyleSheet($doc); $doc->load('catalog.xml'); echo $xsl->transformToXML($doc); ?> catalog.xml Empire Burlesque Bob Dylan USA Columbia 10.90 1985 catalog.xsl http://www.w3.org/1999/XSL/Transform";> My CD Collecti

Fwd: [PHP] About PHP CMS

2007-07-07 Thread Nathan Nobbe
fogot to copy the list on this as well; my bad :( -- Forwarded message -- From: Nathan Nobbe <[EMAIL PROTECTED]> Date: Jul 7, 2007 3:00 PM Subject: Re: [PHP] About PHP CMS To: Kelvin Park <[EMAIL PROTECTED]> On 7/7/07, Kelvin Park <[EMAIL PROTECTED]> wrote: Lo

Re: [PHP] Where does PHP look for php.ini??

2007-07-08 Thread Nathan Nobbe
On 7/6/07, Tijnema <[EMAIL PROTECTED]> wrote: Completely missed it LOL, it looks for it in /usr/lib :S Is that normal? i beleive it depends on the OS/distribution. on gentoo php.ini is located at /etc/php/apache2-php5 Here is a bit of output from phpinfo() on a gentoo box of mine [w/ no changes

Re: [PHP] Re: About DOM function in PHP

2007-07-08 Thread Nathan Nobbe
On 7/8/07, M. Sokolewicz <[EMAIL PROTECTED]> wrote: You don't have the DOM extension installed (req. PHP5 in case you're not There is no DOM extension it is part of the PHP5 core; this from the DOM documantation in the online handbook: *Installation Th

Re: [PHP] Re: About DOM function in PHP

2007-07-08 Thread Nathan Nobbe
sable-dom, there are also hosts which build php with --disable-libxml thus disabling all xml-related functionality. - Tul Nathan Nobbe wrote: >> On 7/8/07, M. Sokolewicz <[EMAIL PROTECTED]> wrote: >> You don't have the DOM extension installed (req. PHP5 in case you'

Re: [PHP] About Incorporating MySQL and XML/XSLT/PHP

2007-07-09 Thread Nathan Nobbe
Kelvin, you will want to use SimpleXML if you can or DOM if you have to to build XML data. you will populate certain portions of said XML using data from the database. Then said XML is handed to the XSLT processor along w/ an XSL file. The XSL file makes reference to the XML that you give it [

Re: [PHP] Re: About Incorporating MySQL and XML/XSLT/PHP

2007-07-09 Thread Nathan Nobbe
Tony, this material looks quite excellent; thanks for sharing. -nathan On 7/9/07, Tony Marston <[EMAIL PROTECTED]> wrote: Try these for size: http://www.tonymarston.net/php-mysql/domxml.html and http://www.tonymarston.net/php-mysql/sablotron.html http://www.tonymarston.net/php-mysql/dom.html

Re: [PHP] Re: About Incorporating MySQL and XML/XSLT/PHP

2007-07-09 Thread Nathan Nobbe
cument, wouldn't it raise security issues if all data was transferred to XML files? On 7/9/07, Kelvin Park < [EMAIL PROTECTED]> wrote: > > absolutely!, thanks > > On 7/9/07, Nathan Nobbe <[EMAIL PROTECTED] > wrote: > > > > Tony, > > > > this material

Re: [PHP] Re: About Incorporating MySQL and XML/XSLT/PHP

2007-07-09 Thread Nathan Nobbe
t; Or bottomline is it more convenient and clear coding (with XSLT, XML) to > just directly send customer data through PHP POST in to mysql database? > > On 7/9/07, Nathan Nobbe < [EMAIL PROTECTED]> wrote: > > > > I said, > > > Kevin > > > > my b

Re: [PHP] Re: About Incorporating MySQL and XML/XSLT/PHP

2007-07-09 Thread Nathan Nobbe
ements back in to MySQL database? Thanks! On 7/9/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > i havent had time to fully explore the material from Tony yet, but so > far ive been building XML entirely in memory rather than reading in a > complete file, parsing it and placin

Re: [PHP] Re: About Incorporating MySQL and XML/XSLT/PHP

2007-07-09 Thread Nathan Nobbe
I said, Kevin my bad; meant to say Kelvin.. -nathan On 7/9/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote: Kevin, would you mind sending the particular url w/ the content you are referring to? also, data doesnt necessarily need to go through xml on its way back to the database. cons

Re: [PHP] Creating 'Next' & 'Previous' for PHP Photo Gallery

2007-07-10 Thread Nathan Nobbe
Rahul, how are the image names related in your system? youll have to conjure some sort of ordering for the pictures before youll be able to tell photo.php the links for the next and previous images, because before you can do that you have to know which pictures actually come next and first in th

Re: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Nathan Nobbe
I also don't really get the idea of interface and abstract classes ? They don't seem to be any practical use ? Maybe that's me ? Anyway, not really relevant to this post ... there is a lot of usefulness in these constructs; look into design patterns. also, there are code libraries already writte

Re: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Nathan Nobbe
Robert, I looked at your code in InterJinn a couple of times; i havent gone over all of it mind you but it looks pretty sweet. have you had a look at any of the other frameworks i mentioned earlier in this thread? ez components, onPHP, and now there is a new one ive found (in recent thread) Radic

Re: [PHP] SMS questions

2007-07-12 Thread Nathan Nobbe
Brian, I was experimenting late last year using PHP to send SMS messages. I think there is a lot of potential in the marketplace around SMS. But most of the phone companies wouldnt even talk to me and all i was trying to do was hit a development API to test some code out. im almost certain you

Re: [PHP] SMS questions

2007-07-12 Thread Nathan Nobbe
Brian, Here's another thing that would be nice: A web service to look up the carrier for a cell number. That way you could simply send an email to [EMAIL PROTECTED], though this would still be only a partial solution. This is a lot harder now that numbers are transportable between carriers. fr

Re: [PHP] About PHP/XML/XSLT/MYSQL Web Sites

2007-07-12 Thread Nathan Nobbe
kelvin, attached is a very simple diagram i put together when i got home illustrating a possible relationship between the main components in an xsl templated php application w/ a database back-end. as ive mentioned there are other configurations as well. primarily the main options in the overal

Re: [PHP] Social Networking Sites OT

2007-07-13 Thread Nathan Nobbe
is anyone a member of linkedin ? ive had a few

Re: [PHP] Re: About PHP/XML/XSLT/MYSQL Web Sites

2007-07-13 Thread Nathan Nobbe
Although it is necessary to convert SQL data into XML before it can be processed in an XSL transformation, it is a waste of time converting user input into XML before it is added to the database as none of the SELECT/INSERT/UPDATE/DELETE commands can work with XML files. It is far easier to take t

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Nathan Nobbe
I have imagined being able to connect to a client browser and push changes to the client rather than have something sit on the client side and periodically wait for updates. or only update when the client refreshes the page manually. both of those antiquated options are ugly. the push technique

<    5   6   7   8   9   10   11   12   >