On Monday, 11 April 2011 at 02:12, Curtis Maurand wrote:
nevermind. There is a function: fgetcsv();
Ewww!
http://blog.ericlamb.net/2010/01/parse-apache-log-files-with-php/
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
Curtis Maurand wrote:
Hello,
I'm trying to run through an
Stuart Dallas wrote:
On Monday, 11 April 2011 at 02:12, Curtis
Maurand wrote:
nevermind. There is a function: fgetcsv();
Ewww!
Say what you want, it works. Your
solution is way more elegant. regex's are not my strong suit.
I have to have the regex pocket reference to understand that
On Monday, 11 April 2011 at 13:17, Curtis Maurand wrote:
Stuart Dallas wrote:
On Monday, 11 April 2011 at 02:12, Curtis Maurand wrote:
nevermind. There is a function: fgetcsv();
Ewww!
Say what you want, it works. Your solution is way more elegant. regex's are
not my strong suit. I
On 11 April 2011 13:23, Stuart Dallas stu...@3ft9.com wrote:
On Monday, 11 April 2011 at 13:17, Curtis Maurand wrote:
Stuart Dallas wrote:
On Monday, 11 April 2011 at 02:12, Curtis Maurand wrote:
nevermind. There is a function: fgetcsv();
Ewww!
Say what you want, it works. Your
Hello,
I'm trying to run through an apache log file in an attempt to
get all of the user agents.
The question is how do I split the
string? I can't seem to find a workable delimiter. Each
section of the file is enclosed in quotes and that should be helpful, but
it doesn't seem to be. I can't
nevermind. There is a function: fgetcsv();
Thanks,
Curtis
Curtis Maurand wrote:
Hello,
I'm trying to run through an apache log
file in an attempt to
get all of the user agents.
The question is how do I split the
string? I can't
seem to find a workable delimiter. Each
section of
On Wed, 2009-03-11 at 19:50 -0500, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 16:16 -0500, Shawn McKenzie wrote:
Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at
Hi,
I wondering what is the difference between include(), and eval('
?'.file_get_content().' ?php ')?
If there is something I should be aware, please, let me know.
Thanks,
SanTa
On Wed, 2009-03-11 at 13:07 +0100, Sándor Tamás (HostWare Kft.) wrote:
Hi,
I wondering what is the difference between include(), and eval('
?'.file_get_content().' ?php ')?
If there is something I should be aware, please, let me know.
Use include since it allows a cache like eAccelerator
On Wed, 2009-03-11 at 08:33 -0400, Robert Cummings wrote:
On Wed, 2009-03-11 at 13:07 +0100, Sándor Tamás (HostWare Kft.) wrote:
Hi,
I wondering what is the difference between include(), and eval('
?'.file_get_content().' ?php ')?
If there is something I should be aware, please,
Hi,
I wondering what is the difference between include(), and eval('
?'.file_get_content().' ?php ')?
If there is something I should be aware, please, let me know.
Use include since it allows a cache like eAccelerator or APC to work.
Eval never gets cached. Also, include let's the engine
On Wed, 2009-03-11 at 20:49 +0800, Virgilio Quilario wrote:
Hi,
I wondering what is the difference between include(), and eval('
?'.file_get_content().' ?php ')?
If there is something I should be aware, please, let me know.
Use include since it allows a cache like eAccelerator or
To: Virgilio Quilario virgilio.quila...@gmail.com
Cc: Sándor Tamás (HostWare Kft.) sandorta...@hostware.hu;
php-general@lists.php.net
Sent: Wednesday, March 11, 2009 1:55 PM
Subject: Re: [PHP] Silly question - include vs. eval
On Wed, 2009-03-11 at 20:49 +0800, Virgilio Quilario wrote:
Hi,
I
On Wed, 2009-03-11 at 14:03 +0100, Sándor Tamás (HostWare Kft.) wrote:
Yes, Rob is right. My original question is about the difference between the
processing of a file-based site with include() OR eval(). In that case, if I
understood it correctly, the results are the same.
But! If the
Sándor Tamás (HostWare Kft . ) wrote:
Yes, Rob is right. My original question is about the difference between
the processing of a file-based site with include() OR eval(). In that
case, if I understood it correctly, the results are the same.
But! If the included pages contain functions,
On Wed, Mar 11, 2009 at 10:19 AM, Shawn McKenzie nos...@mckenzies.netwrote:
Sándor Tamás (HostWare Kft . ) wrote:
Yes, Rob is right. My original question is about the difference between
the processing of a file-based site with include() OR eval(). In that
case, if I understood it
On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote:
Sándor Tamás (HostWare Kft . ) wrote:
Yes, Rob is right. My original question is about the difference between
the processing of a file-based site with include() OR eval(). In that
case, if I understood it correctly, the results are
Robert Cummings wrote:
On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote:
Sándor Tamás (HostWare Kft . ) wrote:
Yes, Rob is right. My original question is about the difference between
the processing of a file-based site with include() OR eval(). In that
case, if I understood it
On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote:
Sándor Tamás (HostWare Kft . ) wrote:
Yes, Rob is right. My original question is about the difference between
the processing of a file-based site with
Robert Cummings wrote:
On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote:
Sándor Tamás (HostWare Kft . ) wrote:
Yes, Rob is right. My original question is about the difference between
the processing of a
Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote:
Sándor Tamás (HostWare Kft . ) wrote:
Yes, Rob is right. My original question is about the difference between
On Wed, 2009-03-11 at 16:16 -0500, Shawn McKenzie wrote:
Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote:
Sándor Tamás (HostWare Kft . ) wrote:
Yes, Rob
Robert Cummings wrote:
On Wed, 2009-03-11 at 16:16 -0500, Shawn McKenzie wrote:
Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote:
Robert Cummings wrote:
On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote:
Sándor Tamás (HostWare Kft .
Uuuuh... Where do I set the default server extension type to .php in the
apache config? Right now the page will execute on my server, but if there is
an index.php the server won't automatically open it, but instead browses the
directory.
Thanks in advance,
-Brian
--
PHP General Mailing List
Brian A. Anderson wrote:
Uuuuh... Where do I set the default server extension type to .php in the
apache config? Right now the page will execute on my server, but if there is
an index.php the server won't automatically open it, but instead browses the
directory.
DirectoryIndex index.html index.php
Uuuuh... Where do I set the default server extension type to .php in the
apache config? Right now the page will execute on my server, but
if there is
an index.php the server won't automatically open it, but instead
browses the
directory.
Thanks in advance,
-Brian
Look for
Coolbeans guys!
:)
Thanks,
-Brian
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Brian A. Anderson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 4:07 PM
Subject: Re: [PHP] silly question - setting .php as default extension
(Apache)
Brian
On Tuesday 09 November 2004 16:04, Brian A. Anderson wrote:
Uuuuh... Where do I set the default server extension type to .php
in the apache config? Right now the page will execute on my server,
but if there is an index.php the server won't automatically open
it, but instead browses the
Zhang Weiwu wrote:
Not to start flame. I have been writing php using just vim for some
time, it is a waste of time to put 'echo' statement everywhere to track
variable values. I wonder what do the experienced users on php.net use
for php development? Do you use IDE? Do you use Zend?
Is there
Burhan Khalid wrote:
Is there an alternative free (free as in 'beer') IDE rather than Zend
that I can use to track variables, analize code and so like? I heard
of bluefish, is it widely used?
PHPEdit would be my recommendation.
Although if you are serious about PHP, you should consider investing
Not to start flame. I have been writing php using just vim for some
time, it is a waste of time to put 'echo' statement everywhere to track
variable values. I wonder what do the experienced users on php.net use
for php development? Do you use IDE? Do you use Zend?
Is there an alternative free
I wanted some sort of IDE for PHP, so decided to use Zend (which i believe
quite popular).
I installed it on my redhat linux 8.0- both client and server components.
Instructions was smooth and gave me success msg, but now I do not know how
to open the IDE...
so stupid question.. but still want
On Monday 27 October 2003 04:08, Manisha Sathe wrote:
I wanted some sort of IDE for PHP, so decided to use Zend (which i believe
quite popular).
I installed it on my redhat linux 8.0- both client and server components.
Instructions was smooth and gave me success msg, but now I do not know
I assume that you have input type=text name=field1 value=?=
$field1 ? / or some variation thereof. In that case, just set $field1
= after you save the record, or remove the value= statement altogether.
Mike
Rodrigo Peres wrote:
Hi list,
I have PHP code to insert the result of a form into
Hi list,
I have PHP code to insert the result of a form into mysql. When I nedd to
made an update, I pass an id in the url and use it to make the update
query. The problem is after I click in the update button (input submit) my
page refresh and came back in the same state, to see the changes I
try adding the nocache header() calls to the page to force the broswer to
refresh.
See how that goes
Martin T
-Original Message-
From: Rodrigo Peres [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 9:43 AM
To: PHP
Subject: [PHP] silly question
Hi list,
I have PHP code
Sorry all, just to add a little info, the inpu hidden i've mentioned in the
other message is made if exist the id in the url!! it isn't all the time
there :-)
thks again
Rodrigo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Take care to be sure that you make the update, before the rest of the
page loads, things happen in order, so it's almost like creating your
page backwards (I just had that problem).
I can elaborate if you like.
(C:
[EMAIL PROTECTED] wrote:
Hi list,
I have PHP code to insert the result of a
38 matches
Mail list logo