On Nov 30, 2007, at 12:13 AM, John Campbell wrote:
include_once is a real performance drag. You should use better
program
logic to make it possible to use a regular include call.
That is news to me. Why is include_once a performance drag?
This is a pretty controversial topic.
The theory
> I am using a system function to execute a command via php. We have recently
> changed servers and after the change, the system function started to fail
> with an error return value of 126.
>
> I can execute the command that I'm passing to the function at the server
> command line and everything
>
> I can execute the command that I'm passing to the function at the server
> command line and everything runs successfully.
Don't know what 126 is off-hand, but when you say run at the command
line, are you running it as the same user as the web server?
Tom
http://www.liphp.org
> include_once is a real performance drag. You should use better program
> logic to make it possible to use a regular include call.
That is news to me. Why is include_once a performance drag? What is
the better programming logic, that doesn't just duplicate the
behavior?
I have always just use
Urb:
On Thu, Nov 29, 2007 at 08:19:02AM -0500, Urb LeJeune wrote:
> include_once() files are in the same directory as the application
> but blows up if they files are not in the same directory but are
> in /usr/local/include.
What exactly happens when it "blows up?" Are your includes silenced by
Hello Everyone,
I am using a system function to execute a command via php. We have recently
changed servers and after the change, the system function started to fail
with an error return value of 126.
I can execute the command that I'm passing to the function at the server
command line and ev
On Nov 29, 2007 2:43 PM, Cliff Hirsch <[EMAIL PROTECTED]> wrote:
>
> Is $_Cookie['original_url'] == $_Server['request_uri'], less the
> http://domain.com stuff?
>
> Is one more reliable for getting the URI of a request?
I'm pretty sure PHP doesn't auto-populate values in the $_COOKIE
superglobal
Thanks Micheal,
Thanks to you it appears to be working now, the coding is true, the
information is being passed
Here is the coding for "tp_update_tr.php" which is being used to verify info
passing (messy and not elegant but useful for testing)
");
echo('' . "")
Is $_Cookie['original_url'] == $_Server['request_uri'], less the
http://domain.com stuff?
Is one more reliable for getting the URI of a request?
Cliff
___
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 20
Funny you mention that,
I was just browing the SVN repo, checking out the code.
I am really most interested in the classes for redirect, request, &
response, here:
http://konstrukt.svn.sourceforge.net/viewvc/konstrukt/trunk/lib/k/http/
The source for Tonic looks really good too:
http://tonic.
On Nov 29, 2007 4:41 AM, Adrian Videnie <[EMAIL PROTECTED]> wrote:
>
> You might want to try http://www.konstrukt.dk/.
>
Konstrukt looks interesting. Have you used it?
It claims to be lightweight and un-framework-y but I think it is just
"different", rather than conceptually simpler.
--
Chris S
Hello Adrian,
Thanks, I'll check the links out today!
- Ben
- Original Message -
From: "Adrian Videnie" <[EMAIL PROTECTED]>
To: "NYPHP Talk"
Sent: Thursday, November 29, 2007 4:41 AM
Subject: Re: [nyphp-talk] RESTful PHP Frameworks/Libs
Ben Sgro (ProjectSkyLine) wrote:
Let me be
Urb LeJeune wrote:
> My php.ini configuration is set to look for an include in the
> currently accessed directory and then in /usr/local/include. A
> contractor just delivered a program that works just fine if the
> include_once() files are in the same directory as the application
> but blows u
My php.ini configuration is set to look for an include in the
currently accessed directory and then in /usr/local/include. A
contractor just delivered a program that works just fine if the
include_once() files are in the same directory as the application
but blows up if they files are not
Ben Sgro (ProjectSkyLine) wrote:
Let me be more vague. I'm looking for php code for routing, request
handling,
response generation that I can use to see how others have done REST in
php.
You might want to try http://www.konstrukt.dk/.
Also, take a look here:
http://semwebdev.keithalexander.co
15 matches
Mail list logo