Hi everybody,
I have big trouble to correctly configure Eclipse/Xdebug to remotely
debug a PHP website.
When web server is local i have no problem, it works like a charm...but
in case webserver is not local, that's a real nightmare.
till now everything what i found on internet was about
I haven't tested yet but I've found yesterday some good tips that maybe
could work.
1) Xdebug wizard. Simple paste there the output of phpinfo() and follow
the steps.
http://xdebug.org/wizard.php
If you find problems with phpize, remember to run it inside the inner
xdebug folder.
2) Go
webcode written in PHP and it is running in the interpreted way. My
problem is it is not giving the desired performance so want to try the
compiler if any.
Please suggest if we have any compiler option available for the PHP code and
more important is this new option.
--
PHP General
My webcode written in PHP and it is running in the interpreted way. My problem
is it is not giving the desired performance so want to try the compiler if any.
Please suggest if we have any compiler option available for the PHP code and
more important is this new option.
Googling compile php code gave me this :
http://stackoverflow.com/questions/1408417/can-you-compile-php-code
It looks like you have some options but I haven't tried any yet, so I can't
help you with the installation
2013/3/19 Kevin Peterson qh.res...@gmail.com
My webcode written in PHP
is it is not giving the desired performance so want to try the
compiler if any.
Please suggest if we have aany compiler option available for the PHP code
and more important is this new option.
--
Tumwijukye Vincent
Chief Executive Officer
Future Link Technologies
Plot 78 Kanjokya Street,
P. O. BOX
-general@lists.php.net
Subject: Re: [PHP] Compiler for the PHP code
Googling compile php code gave me this :
http://stackoverflow.com/questions/1408417/can-you-compile-php-code
It looks like you have some options but I haven't tried any yet, so I can't
help you with the installation
2013/3/19 Kevin
Il Tue, 19 Mar 2013 08:46:22 +, Kevin Peterson ha scritto:
My webcode written in PHP and it is running in the interpreted way. My
problem is it is not giving the desired performance so want to try the
compiler if any.
PHP gets compiled to bytecode on the server before being executed.
You
-Original Message-
From: Alessandro Pellizzari [mailto:a...@amiran.it]
Sent: Tuesday, March 19, 2013 2:06 AM
To: php-general@lists.php.net
Subject: [PHP] Re: Compiler for the PHP code
Il Tue, 19 Mar 2013 08:46:22 +, Kevin Peterson ha scritto:
My webcode written in PHP
On Sun, May 6, 2012 at 3:32 PM, rene7705 rene7...@gmail.com wrote:
On Sat, May 5, 2012 at 5:13 AM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
On Wed, May 2, 2012 at 5:23 AM, rene7705 rene7...@gmail.com wrote:
On Wed, May 2, 2012 at 11:47 AM, rene7705 rene7...@gmail.com wrote:
I
On Sat, May 5, 2012 at 5:13 AM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
On Wed, May 2, 2012 at 5:23 AM, rene7705 rene7...@gmail.com wrote:
On Wed, May 2, 2012 at 11:47 AM, rene7705 rene7...@gmail.com wrote:
I can't use anything like git on my shared hoster. But I suppose I
On Wed, May 2, 2012 at 5:23 AM, rene7705 rene7...@gmail.com wrote:
On Wed, May 2, 2012 at 11:47 AM, rene7705 rene7...@gmail.com wrote:
I can't use anything like git on my shared hoster. But I suppose I could
use something like git at home, and use a sync script like I posted in my
OP on the
I can't use anything like git on my shared hoster. But I suppose I could
use something like git at home, and use a sync script like I posted in my
OP on the shared hoster.
On Wed, May 2, 2012 at 11:47 AM, rene7705 rene7...@gmail.com wrote:
I can't use anything like git on my shared hoster. But I suppose I could
use something like git at home, and use a sync script like I posted in my
OP on the shared hoster.
Maybe you git gurus can help me along a bit
rene7705 wrote:
I can't use anything like git on my shared hoster. But I suppose I could
use something like git at home, and use a sync script like I posted in my
OP on the shared hoster.
I have some legacy hosting packages which are just ftp access and BC just lists
them and allows me to
On 1 mei 2012, at 10:59, rene7705 wrote:
Hi folks.
I was here a while ago, trying to figure out how to keep deployment
instances of my common code, running on more than 1 site, in sync with
eachother.
I've looked at rsync which was recommended here, but didn't like it much,
nor could I
On Tue, May 1, 2012 at 11:11 AM, Camilo Sperberg unrea...@gmail.com wrote:
If I understood the problem correctly, you want to keep a single copy of
your code on every machine you work, including the final server.
Well, I want to work on 1 copy of my common code on my windows machine,
then
On 1 May 2012, at 10:19, rene7705 wrote:
On Tue, May 1, 2012 at 11:11 AM, Camilo Sperberg unrea...@gmail.com wrote:
If I understood the problem correctly, you want to keep a single copy of
your code on every machine you work, including the final server.
Well, I want to work on 1 copy of
-Original Message-
From: Stuart Dallas [mailto:stu...@3ft9.com]
Sent: Tuesday, May 01, 2012 8:19 AM
To: rene7705
Cc: Camilo Sperberg; php-general
Subject: Re: [PHP] code deployment through php
On 1 May 2012, at 10:19, rene7705 wrote:
On Tue, May 1, 2012 at 11:11 AM, Camilo Sperberg
On 5/1/12 4:19 AM, rene7705 wrote:
On Tue, May 1, 2012 at 11:11 AM, Camilo Sperbergunrea...@gmail.com wrote:
If I understood the problem correctly, you want to keep a single copy of
your code on every machine you work, including the final server.
Well, I want to work on 1 copy of my common
rene7705 wrote:
Well, I want to work on 1 copy of my common code on my windows machine,
then sync those changes to all my sites (hosted on the win dev box) to see
if it messes up the other sites, then FTP those changes to my hosting
account, and run the sync script there as well.
I have a
On Tue, Mar 27, 2012 at 5:47 AM, rene7705 rene7...@gmail.com wrote:
Yea, i'm quite sure I want to develop on Windows 7. Ubuntu still has
quircks when it comes to using 3 monitors on a single system, as far as I
know. I just like windows 7 a lot better at the moment.
And how would it be
On Tue, Mar 27, 2012 at 7:24 AM, Curtis Maurand cur...@maurand.com wrote:
rene7705 wrote:
On Tue, Mar 27, 2012 at 1:21 PM, Peter Ford
p...@justcroft.com wrote:
On 27/03/12
12:13, rene7705 wrote:
hey, I just read
the rsync man page for the first time, and while it
sure
looks simple
On Mon, Mar 26, 2012 at 9:16 PM, Stuart Dallas stu...@3ft9.com wrote:
Rene: please read a book / website / something on PHP security. Some
things are important whether you believe they are or not.
Yea, I will do that within a week or so..
I can also confirm that I'm not using any source of
On Tue, Mar 27, 2012 at 12:08 PM, rene7705 rene7...@gmail.com wrote:
On Mon, Mar 26, 2012 at 9:16 PM, Stuart Dallas stu...@3ft9.com wrote:
Rene: please read a book / website / something on PHP security. Some
things are important whether you believe they are or not.
Yea, I will do that
rene7705 rene7...@gmail.com hat am 27. März 2012 um 12:16 geschrieben:
On Tue, Mar 27, 2012 at 12:08 PM, rene7705 rene7...@gmail.com wrote:
I've done a search for rsync windows, and I get some rsync apps
allright, but it's not clear to me yet how I would use these windows
rsync
clones to
On Tue, Mar 27, 2012 at 12:22 PM, ma...@behnke.biz ma...@behnke.biz wrote:
rene7705 rene7...@gmail.com hat am 27. März 2012 um 12:16 geschrieben:
On Tue, Mar 27, 2012 at 12:08 PM, rene7705 rene7...@gmail.com wrote:
I've done a search for rsync windows, and I get some rsync apps
On Tue, Mar 27, 2012 at 12:31 PM, rene7705 rene7...@gmail.com wrote:
On Tue, Mar 27, 2012 at 12:22 PM, ma...@behnke.biz ma...@behnke.biz wrote:
rene7705 rene7...@gmail.com hat am 27. März 2012 um 12:16 geschrieben:
On Tue, Mar 27, 2012 at 12:08 PM, rene7705 rene7...@gmail.com wrote:
On Tue, Mar 27, 2012 at 12:45 PM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Mar 27, 2012 at 12:31 PM, rene7705 rene7...@gmail.com wrote:
On Tue, Mar 27, 2012 at 12:22 PM, ma...@behnke.biz ma...@behnke.biz
wrote:
rene7705 rene7...@gmail.com hat am 27. März 2012 um 12:16
On Tue, Mar 27, 2012 at 12:47 PM, rene7705 rene7...@gmail.com wrote:
On Tue, Mar 27, 2012 at 12:45 PM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Mar 27, 2012 at 12:31 PM, rene7705 rene7...@gmail.com wrote:
On Tue, Mar 27, 2012 at 12:22 PM, ma...@behnke.biz ma...@behnke.biz
wrote:
On Tue, Mar 27, 2012 at 1:02 PM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Mar 27, 2012 at 12:47 PM, rene7705 rene7...@gmail.com wrote:
On Tue, Mar 27, 2012 at 12:45 PM, Matijn Woudt tijn...@gmail.com
wrote:
On Tue, Mar 27, 2012 at 12:31 PM, rene7705 rene7...@gmail.com wrote:
hey, I just read the rsync man page for the first time, and while it sure
looks simple enough for my taste, wouldn't updating multiple remote domains
be like a whole series of the same FTP updates to these different domain
directories there? In other words, take a long time because of my 200kb/s
On Tue, Mar 27, 2012 at 1:21 PM, Peter Ford p...@justcroft.com wrote:
On 27/03/12 12:13, rene7705 wrote:
hey, I just read the rsync man page for the first time, and while it sure
looks simple enough for my taste, wouldn't updating multiple remote
domains
be like a whole series of the same
rene7705 wrote:
On Tue, Mar 27, 2012 at 1:21 PM, Peter Ford
p...@justcroft.com wrote:
On 27/03/12
12:13, rene7705 wrote:
hey, I just read
the rsync man page for the first time, and while it
sure
looks simple enough for my taste, wouldn't updating
multiple remote
domains
be like a
whole
Hi.
My last thread got derailed into a javascript and even photoshop
discussion, and while I can't blame myself for that really, this time I
would like to bring a pure PHP issue to your scrutiny.
I run several sites now, on the same shared hoster, but with such a setup
that I cannot let PHP
REMOVE THAT SCRIPT FROM YOUR SERVER RIGHT NOW!
See follow-up email direct to you for the reason!
On 26 Mar 2012, at 14:53, rene7705 wrote:
Hi.
My last thread got derailed into a javascript and even photoshop
discussion, and while I can't blame myself for that really, this time I
would
Hi, Rene
I just want to say the same ... whatever you're trying to do here - it
will end up in a major security-isse that (I think) you won't fix that
soon as someone has hacked your server.
That sounds like you don't wanna pay 10$ per month for a good
multiple-domain-hosting solution.
If you're
On 26 Mar 2012, at 15:17, Simon Schick wrote:
Hi, Rene
I just want to say the same ... whatever you're trying to do here - it
will end up in a major security-isse that (I think) you won't fix that
soon as someone has hacked your server.
I couldn't care less about Rene's stuff. It's
On 26 Mar 2012, at 14:53, rene7705 wrote:
My last thread got derailed into a javascript and even photoshop
discussion, and while I can't blame myself for that really, this time I
would like to bring a pure PHP issue to your scrutiny.
I run several sites now, on the same shared hoster, but
rsync is your friend.
--C
Stuart Dallas
wrote:
On 26 Mar 2012, at 14:53, rene7705 wrote:
My last thread got derailed into a javascript and even
photoshop
discussion, and while I can't blame myself for
that really, this time I
would like to bring a pure PHP
issue to your scrutiny.
I
Curtis Maurand wrote:
rsync is your friend.
and is even available for windows machines ...
--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model
Now, as the issue adressed and script removed, can you please explain
what exactly are the issues of using such approach? I mean security
ones, not performance.
2012/3/26 Lester Caine les...@lsces.co.uk:
Curtis Maurand wrote:
rsync is your friend.
and is even available for windows machines
is then able to include/require URLs. It just needs one of
them to have a related vulnerability and suddenly people can execute arbitrary
PHP code on the server.
* Rene mentioned that the code is open source. This implies that the security
risk is lessened because the code that is being made
. It just needs one
of them to have a related vulnerability and suddenly people can execute
arbitrary PHP code on the server.
* Rene mentioned that the code is open source. This implies that the security
risk is lessened because the code that is being made publicly accessible is
already publicly
Maybe my subject line is not descriptive as I wish, but I just did not
know
how to put on it.
I have the following problem, I'm using jQuery to make a slide effect
(horizontal), everything seems to be working find, but I have to add a
mask
with a white color background, I did this by CSS,
Hello Mates,
Maybe my subject line is not descriptive as I wish, but I just did not know
how to put on it.
I have the following problem, I'm using jQuery to make a slide effect
(horizontal), everything seems to be working find, but I have to add a mask
with a white color background, I did this
On Sat, Jan 21, 2012 at 20:07, Carlos Sura carlos.su...@googlemail.com wrote:
Hello Mates,
Maybe my subject line is not descriptive as I wish, but I just did not know
how to put on it.
I have the following problem, I'm using jQuery to make a slide effect
(horizontal), everything seems to be
Here is the PHP code:
?php
$panka =c:can-it-rock-
:the-boat-of-
:love- ;
$pankb = preg_split(':',$panka);
$pankc = $pankb{1};
echo ( . $panka . )\n( . $pankc . )\n;
?
I keep getting the following error:
Sophia-Shapiras-MacBook-Pro:tmp red_angel$
Sophia-Shapiras-MacBook
On Fri, Nov 4, 2011 at 1:47 PM, Sophia red_an...@techno-info.com wrote:
Here is the PHP code:
?php
$panka =c:can-it-rock-
:the-boat-of-
:love- ;
$pankb = preg_split(':',$panka);
It should be preg_split('/:/', $panka);
$pankc = $pankb{1};
echo ( . $panka . )\n( . $pankc
On Fri, Nov 4, 2011 at 2:52 AM, shiplu shiplu@gmail.com wrote:
On Fri, Nov 4, 2011 at 1:47 PM, Sophia red_an...@techno-info.com wrote:
Here is the PHP code:
?php
$panka = c:can-it-rock-
:the-boat-of-
:love- ;
$pankb = preg_split(':',$panka);
It should be preg_split
On 11-08-31 08:20 PM, Tedd Sperling wrote:
On Aug 30, 2011, at 3:09 PM, Robert Cummings wrote:
On 11-08-30 11:36 AM, Richard Quadling wrote:
On 30 August 2011 15:04, Tedd Sperlingtedd.sperl...@gmail.com wrote:
To all:
I prefer the Whitesmiths style:
On 2011-08-31, at 11:44 PM, Ross McKay wrote:
On Tue, 30 Aug 2011 10:04:54 -0400, Tedd Sperling wrote:
I prefer the Whitesmiths style:
http://rebel.lcc.edu/sperlt/citw229/brace-styles.php
But style is really up to the individual -- what works best for you
is the best (unless it's a
On 11-09-01 01:44 AM, Ross McKay wrote:
On Tue, 30 Aug 2011 10:04:54 -0400, Tedd Sperling wrote:
I prefer the Whitesmiths style:
http://rebel.lcc.edu/sperlt/citw229/brace-styles.php
But style is really up to the individual -- what works best for you
is the best (unless it's a team effort or
Robert Cummings wrote:
That's because JavaScript is broken in some ways. As much as I like
JavaScript, some parts of the language were thrown together by flinging
crap at a fan and seeing what sticks to the wall... this being a prime
example.
Sounds a lot like PHP :) which I must add I love
On 11-09-01 02:39 AM, Ross McKay wrote:
Robert Cummings wrote:
That's because JavaScript is broken in some ways. As much as I like
JavaScript, some parts of the language were thrown together by flinging
crap at a fan and seeing what sticks to the wall... this being a prime
example.
Sounds a
On 30 August 2011 23:25, Richard Quadling rquadl...@gmail.com wrote:
On 30 August 2011 20:09, Robert Cummings rob...@interjinn.com wrote:
You're just saying that so Tedd will be your friend!! Come now, let's be
honest with everyone... Whitesmith's is -GLEE! ;)
Beauty is in the eye
On 01 Sep 2011 at 11:42, Richard Quadling rquadl...@gmail.com wrote:
On 30 August 2011 23:25, Richard Quadling rquadl...@gmail.com wrote:
On 30 August 2011 20:09, Robert Cummings rob...@interjinn.com wrote:
You're just saying that so Tedd will be your friend!! Come now, let's be
honest with
On Sep 1, 2011, at 8:16 AM, Tim Streater wrote:
On 01 Sep 2011 at 11:42, Richard Quadling rquadl...@gmail.com wrote:
On 30 August 2011 23:25, Richard Quadling rquadl...@gmail.com wrote:
On 30 August 2011 20:09, Robert Cummings rob...@interjinn.com wrote:
You're just saying that so Tedd
Genius!
-Original Message-
From: Matt Graham [mailto:danceswithcr...@usa.net]
Sent: Tuesday, August 30, 2011 5:59 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Code should be selv-maintaining!
From: David Harkness davi...@highgearmedia.com
I don't always use braces, but when I
On Aug 30, 2011, at 3:09 PM, Robert Cummings wrote:
On 11-08-30 11:36 AM, Richard Quadling wrote:
On 30 August 2011 15:04, Tedd Sperlingtedd.sperl...@gmail.com wrote:
To all:
I prefer the Whitesmiths style:
http://rebel.lcc.edu/sperlt/citw229/brace-styles.php
But style is really up
On Wed, Aug 31, 2011 at 08:20:14PM -0400, Tedd Sperling wrote:
On Aug 30, 2011, at 3:09 PM, Robert Cummings wrote:
On 11-08-30 11:36 AM, Richard Quadling wrote:
On 30 August 2011 15:04, Tedd Sperlingtedd.sperl...@gmail.com
wrote:
To all:
I prefer the Whitesmiths style:
On Tue, 30 Aug 2011 10:04:54 -0400, Tedd Sperling wrote:
I prefer the Whitesmiths style:
http://rebel.lcc.edu/sperlt/citw229/brace-styles.php
But style is really up to the individual -- what works best for you
is the best (unless it's a team effort or the clients demand).
I note on your page
On Aug 29, 2011, at 4:32 PM, George Langley wrote:
The One True Brace Style:
http://en.wikipedia.org/wiki/Indent_style
Didn't know there was a name for the way I learned to indent! Make sense to
me - looks so much cleaner and less scrolling/printing.
And, I already add a comment
On 30 August 2011 15:04, Tedd Sperling tedd.sperl...@gmail.com wrote:
To all:
I prefer the Whitesmiths style:
http://rebel.lcc.edu/sperlt/citw229/brace-styles.php
But style is really up to the individual -- what works best for you is the
best (unless it's a team effort or the clients
On 11-08-30 11:36 AM, Richard Quadling wrote:
On 30 August 2011 15:04, Tedd Sperlingtedd.sperl...@gmail.com wrote:
To all:
I prefer the Whitesmiths style:
http://rebel.lcc.edu/sperlt/citw229/brace-styles.php
But style is really up to the individual -- what works best for you is the
best
I don't always use braces, but when I do I use Compact Control Readability
style. Stay coding, my friends.
LOLercopter!
-Original Message-
From: David Harkness [mailto:davi...@highgearmedia.com]
Sent: Tuesday, August 30, 2011 12:57 PM
To: Robert Cummings
Cc: rquadl...@gmail.com; Tedd Sperling; php-general@lists.php.net
Subject: Re: [PHP] Code should be selv-maintaining!
I don't
: [PHP] Code should be selv-maintaining!
I don't always use braces, but when I do I use Compact Control Readability
style. Stay coding, my friends.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 30 August 2011 20:09, Robert Cummings rob...@interjinn.com wrote:
You're just saying that so Tedd will be your friend!! Come now, let's be
honest with everyone... Whitesmith's is -GLEE! ;)
Beauty is in the eye of the beholder.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
On Aug 30, 2011, at 6:25 PM, Richard Quadling wrote:
On 30 August 2011 20:09, Robert Cummings rob...@interjinn.com wrote:
You're just saying that so Tedd will be your friend!! Come now, let's be
honest with everyone... Whitesmith's is -GLEE! ;)
Beauty is in the eye of the
From: David Harkness davi...@highgearmedia.com
I don't always use braces, but when I do I use Compact Control Readability
style. Stay coding, my friends.
...and when you use CCR style, you can sing, I see a bad brace a-risin'?
--
Matt G / Dances With Crows
The Crow202 Blog:
Dont get me wrong, I love programming! But what an absolute pain in the
ass it is when you re-use old code only to discover something less well
made.
You all know about this right?
You go into your homemade library of code to re-use some piece that you
already are using 12 other places in
On 11-08-29 03:42 PM, Rico Secada wrote:
You go into your homemade library of code to re-use some piece that you
already are using 12 other places in production. Now, last time you
worked on the code you thought it was almost perfect. While working on
the code this time you find an undiscovered
-Original Message-
From: Rico Secada [mailto:coolz...@it.dk]
Sent: Monday, August 29, 2011 3:42 PM
To: php-general@lists.php.net
Subject: [PHP] Code should be selv-maintaining!
Dont get me wrong, I love programming! But what an absolute pain in the
ass it is when you re-use old
On Mon, 29 Aug 2011, Rico Secada wrote:
You go into your homemade library of code to re-use some piece that you
already are using 12 other places in production. Now, last time you
worked on the code you thought it was almost perfect. While working on
the code this time you find an undiscovered
Hi all,
I have a simple code that override some env vars but i need it to run before
any other php code on every php execution.
I would like to avoid any change of all php code (even if its only to
include the include command).
Any one knows of such way ?
I dont mind overriding this vars
On Jun 12, 2011, at 1:46 PM, techloop wrote:
I have a simple code that override some env vars but i need it to
run before
any other php code on every php execution.
Have you looked at http://us.php.net/manual/en/ini.core.php#ini.auto-prepend-file
?
--
PHP General Mailing List (http
On 12 Jun 2011, at 19:46, techloop techloop...@gmail.com wrote:
Hi all,
I have a simple code that override some env vars but i need it to run before
any other php code on every php execution.
I would like to avoid any change of all php code (even if its only to
include the include
Dear list,
It seems that Python has already a Log Rotation mechanism,
which solves the problem of log file growth.
I'm wondering whether there is any PHP-based solution around?
Now let me ask from a different view:
Is it a good approach to implement the Rotation mechanism to PHP? (Code Level
:
Is it a good approach to implement the Rotation mechanism to PHP? (Code Level)
Or leave the job to the operating system and other utilities?
Where is the right place to implmenet the Rotation? In Code? In OS?
PHP? or a Bash Script?
Thanks,
Personally, I would leave it to the OS and other tools
Frankly, while that modulo looks like something worthy of learning,
for my immediate time critical need I went with a quicker method,
which is working. The complete script is below. It simply counts
cells and resets the row when a number is exceeded.
?php
# The next several lines declare an
Now I have a situation. I need to take the code from my former home
page and modify it to lay out a table (let's say 5 cells wide) and
as many rows deep to contain all the items. Each item is the name of
the directory, under which is an icon image from that directory,
under which is a
On 15 February 2011 00:53, Kirk Bailey kbai...@howlermonkey.net wrote:
Now I have a situation. I need to take the code from my former home page and
modify it to lay out a table (let's say 5 cells wide) and as many rows deep
to contain all the items. Each item is the name of the directory, under
well, this ends the row after every cell. I am trying to get a row
of 5 cells across, then end it and start a new row. If the routines
stops before the end of the count of 5 due to lack of further
directories, closing out the table following the loops will onclude
a /tr tag.
On 2/14/2011
On 2/14/2011 4:53 PM, Kirk Bailey wrote:
Now I have a situation. I need to take the code from my former home page and
modify it to lay out a table (let's say 5 cells wide) and as many rows deep to
contain all the items. Each item is the name of the directory, under which is
an
icon image
Very nice; I am leaning in the direction of doing it this way. Thank
you!
:-)
On 2/14/2011 9:24 PM, Jim Lucas wrote:
On 2/14/2011 4:53 PM, Kirk Bailey wrote:
Now I have a situation. I need to take the code from my former home page and
modify it to lay out a table (let's say 5 cells wide)
-Original Message-
From: ken.gu...@gmail.com [mailto:ken.gu...@gmail.com] On
Behalf Of Ken Guest
Sent: Monday, January 31, 2011 3:26 PM
To: Hansen, Mike
Cc: php-general@lists.php.net
Subject: Re: [PHP] Code formatter
On Mon, Jan 31, 2011 at 8:27 PM, Hansen, Mike
Subject: Re: [PHP] Code formatter
On Mon, Jan 31, 2011 at 8:27 PM, Hansen, Mike
mike.han...@atmel.com wrote:
I've got an application that I'm fixing up and I'd like
to run it through a code formatter. Is there something like
Perl Tidy for PHP? If so, what are you
I've got an application that I'm fixing up and I'd like to run it through a
code formatter. Is there something like Perl Tidy for PHP? If so, what are you
experiences with it. No prob running it on the command line. It'd be great if
it followed the PEAR coding standards.
Thx
--
PHP General
On Mon, Jan 31, 2011 at 8:27 PM, Hansen, Mike mike.han...@atmel.com wrote:
I've got an application that I'm fixing up and I'd like to run it through a
code formatter. Is there something like Perl Tidy for PHP? If so, what are
you experiences with it. No prob running it on the command line.
Kirk Bailey wrote:
Ok, so what is echo, and how is it different from print.
The code in code quest used echo. I have a copy of learning php 5.0 from
O'Reilly, and noplace does it mention echo. Why? What's the difference?
IS there a difference? Is there an advantage to either? Please clarify
Groovy; they appear to be identical in all but name. IDENTICAL. Or am I
missing a subtle definition difference?
David Robley wrote:
Kirk Bailey wrote:
Ok, so what is echo, and how is it different from print.
The code in code quest used echo. I have a copy of learning php 5.0 from
They are almost identical.
Echo supports multiple parameters like echo $a, $b;
print is 20% slower than echo (by some tests).
echo is shorter than print so it's easy to write.
In fact it's all a matter of taste. The same reason we user die instead of
exit.
Alex
On Sun, Dec 12, 2010 at 6:23 PM,
, Dec 12, 2010 18:56
Subject: [PHP] code quest - ECHO?!?
To: Kirk Bailey kbai...@howlermonkey.net
Cc: php-general@lists.php.net
They are almost identical.
Echo supports multiple parameters like echo $a, $b;
print is 20% slower than echo (by some tests).
echo is shorter than print so it's easy
Ok, so what is echo, and how is it different from print.
The code in code quest used echo. I have a copy of learning php 5.0 from
O'Reilly, and noplace does it mention echo. Why? What's the difference?
IS there a difference? Is there an advantage to either? Please clarify
for this newbie.
OK, now here's a giggle; I like ssi includes. If I put the script in as
an ssi include, will it still work? The functionality would also be
useful on a page besides the default landing page, such as a
404error.html page, or a thank you page.
--
end
Very Truly yours,
- Kirk
A good point, but in this application there WILL be AT LEAST 1
legitimate directory at all times, or else the script would not be used,
so this ought not be a problem.
My problem is that I understand the basic functions to implement, but
have not yet aquired sufficient command of php to
Now Now, fight nice. We don need no stinkin' @$^*$^(! woids here. :-P
Steve Staples wrote:
On Thu, 2010-12-02 at 10:07 -0500, Daniel P. Brown wrote:
On Wed, Dec 1, 2010 at 23:13, Kirk Bailey kbai...@howlermonkey.net wrote:
[snip!]
Can this be improved to exclude anything with a '.'
my current code is as follows:
*ul
?php # The next several lines declare an array of directories which
are NOT to be listed!
$excludes[] = 'images';
$excludes[] = 'cgi-bin';
$excludes[] = 'vti_cnf';
$excludes[] = 'private';
$excludes[] = 'thumbnail';
$ls =
From: Kirk Bailey kbai...@howlermonkey.net
OK, now here's a giggle; I like ssi includes. If I put the script
in as an ssi include, will it still work?
If you're using Apache, and you do
!--#include virtual=something.php --
...the PHP in something.php will execute and produce output, but
1 - 100 of 1137 matches
Mail list logo