[PHP] Programming With Revision History

2008-07-28 Thread Nate Tallman
Hey guys, Does anyone know of any good literature on programming revision history into an application? I'm looking for something covering theory around revision history. For a little background info, I'm dealing with lesson plans that will need to be edited by many different sources. I like the

Re: [PHP] simplexml

2008-07-10 Thread Nate Tallman
You have to handle the html special chars. == amp; On Thu, Jul 10, 2008 at 10:59 AM, Joakim Ling [EMAIL PROTECTED] wrote: Hi I'm using simplexml to create some xml files. Here's a stripped example, how can I get this to work? Tried millions different ways still no joy. ?php

Re: [PHP] simplexml

2008-07-10 Thread Nate Tallman
You have to handle the html special chars. == amp; On Thu, Jul 10, 2008 at 10:59 AM, Joakim Ling [EMAIL PROTECTED] wrote: Hi I'm using simplexml to create some xml files. Here's a stripped example, how can I get this to work? Tried millions different ways still no joy. ?php

Re: [PHP] Splitting up long URLs

2008-07-01 Thread Nate Tallman
If you want to do it on the php side, I would do something like this: a href=$fullURLsubstr($fullURL, 0, 9)/a It would provide a valid link using the full url, but chop off everything after the 10th character and replace with a Nate On Tue, Jul 1, 2008 at 3:45 PM, Boyd, Todd M. [EMAIL

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-18 Thread Nate Tallman
On Tue, Jun 17, 2008 at 3:22 PM, Jon Drukman [EMAIL PROTECTED] wrote: Nate Tallman wrote: Why is an ErrorDocument insufficient or not the elegant way? It accomplishes the goal in a clean way, no? It's *WRONG*. ErrorDocument still preserves the 404 error code, it just gives it a prettier

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-05 Thread Nate Tallman
Why not just set: ErrorDocument 404 /path/to/some/script.php Then check $SERVER['REDIRECT_URL'] for the failed request. On Thu, Jun 5, 2008 at 2:41 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Ryan S wrote: Hey, one of the things that make the php.net site so cool is how easy it is to find

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-05 Thread Nate Tallman
ErrorDocument 404 /path/to/some/script.php * $_SERVER['REDIRECT_URL'] (somehow misplaced underscore) On Thu, Jun 5, 2008 at 2:50 PM, Nate Tallman [EMAIL PROTECTED] wrote: Why not just set: ErrorDocument 404 /path/to/some/script.php Then check $SERVER['REDIRECT_URL'] for the failed request

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-05 Thread Nate Tallman
, this will display IEs built-in error doc if the server supplied one is 512 Bytes. Maybe other implications for spiders also. I might be wrong, but this is from some old memory. -Shawn Nate Tallman wrote: ErrorDocument 404 /path/to/some/script.php * $_SERVER['REDIRECT_URL'] (somehow misplaced

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-05 Thread Nate Tallman
to the client. In the case of IE, this will display IEs built-in error doc if the server supplied one is 512 Bytes. Maybe other implications for spiders also. I might be wrong, but this is from some old memory. -Shawn Nate Tallman wrote: ErrorDocument 404 /path

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-05 Thread Nate Tallman
Why is an ErrorDocument insufficient or not the elegant way? It accomplishes the goal in a clean way, no? Nate On Thu, Jun 5, 2008 at 3:25 PM, Yeti [EMAIL PROTECTED] wrote: still telling Ryan to produce errors is insufficient or at least not the elegant way On 6/5/08, Nate Tallman [EMAIL

Re: [PHP] Template system in PHP

2008-02-12 Thread Nate Tallman
Ditto on Eval() PHP is already a templating system. Why go the long way around? On Feb 12, 2008 10:13 AM, Greg Donald [EMAIL PROTECTED] wrote: On 2/12/08, Xavier de Lapeyre [EMAIL PROTECTED] wrote: Do any of you guys gurls know of a way to implement that template system. eval() is my

Re: [PHP] PHP shell commands

2008-01-11 Thread Nate Tallman
To fix this scenerio, chroot would require different apache processes running under different users. On Jan 11, 2008 3:46 PM, Lucas Prado Melo [EMAIL PROTECTED] wrote: On Jan 11, 2008 2:16 PM, Daniel Brown [EMAIL PROTECTED] wrote: Make sure you change the permissions on the directory in