Hi all, I'm fairly new to PHP so I don't have too many bad habits yet.
I'm keen to make my code easy to read for me in the future, and for others
as well.
Are there any rules or advice I can use for formatting (especially
indenting) code?
for example how best to format / indent this ?
if
Angus Mann wrote:
Hi all, I'm fairly new to PHP so I don't have too many bad habits yet.
I'm keen to make my code easy to read for me in the future, and for
others as well.
Are there any rules or advice I can use for formatting (especially
indenting) code?
for example how best to format /
Thanks Tedd,
You're such an angel. I've tried it your way and it works perfectly well.
(maybe I'll send you a return ticket to Nigeria when I organize the PHP
conference).
Hey Dan, help me amplify my thanks to Tedd.
Alugo Abdulazeez
www.frangeovic.com
Date: Sun, 22 Mar 2009
bruce schreef:
Hi...
Working on a test app, and I need a web interface to test/view the
underlying information. Looking for (hopefully) quick pointers/suggestions.
I'm dealing with a number of cli web crawling apps that return data. I'm
trying to find a quick app that I can modify the db
Probably a bit off topic and
The Game is over man.
Javascript coming with flank speed. Next generation JS Framworks will take
html generation jobs from server side.
Whole thing of Server Side MVC and other yada yada was became joke. Those
server siders become JSON pushers for JS frameworks.
Hi list,
After searching google for 1 hr I am still unable to find an equivalent for
java checkstyle for PHP which would play nice with eclipse. I could find
this
http://developer.spikesource.com/wiki/index.php?title=Projects:phpcheckstyleNewsand
one abandoned project with no releases on
On Mon, 2009-03-23 at 11:52 +0200, Sancar Saran wrote:
Probably a bit off topic and
The Game is over man.
Javascript coming with flank speed. Next generation JS Framworks will take
html generation jobs from server side.
Whole thing of Server Side MVC and other yada yada was became
Hi,
I am trying to find out if there are any “form to mail” php script generators
that run on Linux available - that would generate the script needed
to profess web mail forms such as a “contact us” page or a
“mail us” page on a web site.
There was one in patricular I was looking at that is
From: Michael A. Peters
Angus Mann wrote:
Hi all, I'm fairly new to PHP so I don't have too many bad habits
yet.
I'm keen to make my code easy to read for me in the future, and for
others as well.
Are there any rules or advice I can use for formatting (especially
indenting) code?
Bob McConnell wrote:
From: Michael A. Peters
Angus Mann wrote:
Hi all, I'm fairly new to PHP so I don't have too many bad habits
yet.
I'm keen to make my code easy to read for me in the future, and for
others as well.
Are there any rules or advice I can use for formatting (especially
On Mon, Mar 23, 2009 at 8:23 AM, Shawn McKenzie nos...@mckenzies.netwrote:
Bob McConnell wrote:
From: Michael A. Peters
Angus Mann wrote:
Hi all, I'm fairly new to PHP so I don't have too many bad habits
yet.
I'm keen to make my code easy to read for me in the future, and for
others
Dear Sir/Madam,
I am a first-year student at the ENSIMAG, one of the french educational
institutions in informatics, applied mathematics and telecommunications,
pioneer in the field of information processing and I am writing this letter
to show my deep motivation and interest to work on the PHP
George Larson wrote:
On Mon, Mar 23, 2009 at 8:23 AM, Shawn McKenzie nos...@mckenzies.netwrote:
Bob McConnell wrote:
From: Michael A. Peters
Angus Mann wrote:
Hi all, I'm fairly new to PHP so I don't have too many bad habits
yet.
I'm keen to make
Hi Angus, please, read this topic
http://www.igorescobar.com/blog/2009/02/03/coding-standards/
I speak a little bit about Coding Standards.
Igor Escobar
systems analyst interface designer
www . igorescobar . com
On Mon, Mar 23, 2009 at 9:48 AM, Jason Pruim pru...@gmail.com wrote:
George
Well, I was pondering making a recommendation, of sorts.
I work in an environment with various levels of coders, perhaps similar to
your description. Currently, there are no standards that I have seen. We
all are bringing our coding habits with us. I don't know if it is important
that I like
At 4:19 PM +1000 3/23/09, Angus Mann wrote:
Hi all, I'm fairly new to PHP so I don't have too many bad habits yet.
I'm keen to make my code easy to read for me in the future, and for
others as well.
Are there any rules or advice I can use for formatting (especially
indenting) code?
for
Great Project, Lemos.
When you are thinking in show more exemples?
Regards,
Igor Escobar
systems analyst interface designer
www . igorescobar . com
On Fri, Mar 20, 2009 at 3:04 AM, Manuel Lemos mle...@acm.org wrote:
Hello Andrea,
on 03/18/2009 06:07 AM Andrea Giammarchi said the
Do not try this at home...
Igor Escobar
systems analyst interface designer
www . igorescobar . com
On Sat, Mar 21, 2009 at 7:23 AM, Virgilio Quilario
virgilio.quila...@gmail.com wrote:
if( !function_exists('clean_sql_term') )
{
function clean_sql_term($term) {
return
At 10:57 AM +0100 3/23/09, Nabil Khamassi wrote:
Dear Sir/Madam,
I am a first-year student at the ENSIMAG, one of the french educational
institutions in informatics, applied mathematics and telecommunications,
pioneer in the field of information processing and I am writing this letter
to show
On Mon, Mar 23, 2009 at 09:07, Igor Escobar titiolin...@gmail.com wrote:
Do not try this at home...
Sorry, all, I must have yelled. Two days later and my words are
still echoing. ;-P
--
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ ||
Say this:
Okey man, where are the camera? it's not funny :D
Regards,
Igor Escobar
systems analyst interface designer
www . igorescobar . com
On Sat, Mar 21, 2009 at 8:16 PM, abdulazeez alugo defati...@hotmail.comwrote:
Date: Sat, 21 Mar 2009 10:54:56 -0400
From: danbr...@php.net
Daniel Brown wrote:
On Mon, Mar 23, 2009 at 09:07, Igor Escobar titiolin...@gmail.com wrote:
Do not try this at home...
Sorry, all, I must have yelled. Two days later and my words are
still echoing. ;-P
Yeah... Would you keep your voice down You self titled oh so important
On Mon, Mar 23, 2009 at 05:57, Nabil Khamassi
nabil.khama...@ensimag.imag.fr wrote:
I am especially interested in Integrated Code Coverage of C and PHP Code
because I have a solid knowledge in C language (and a full-time project in
C is planned at the end of this semester in ENSIMAG) but also
Jason Pruim wrote:
Daniel Brown wrote:
On Mon, Mar 23, 2009 at 09:07, Igor Escobar titiolin...@gmail.com
wrote:
Do not try this at home...
Sorry, all, I must have yelled. Two days later and my words are
still echoing. ;-P
Yeah... Would you keep your voice down You self
Date: Mon, 23 Mar 2009 09:11:00 -0400
From: danbr...@php.net
To: titiolin...@gmail.com
CC: virgilio.quila...@gmail.com; nrix...@gmail.com; php-general@lists.php.net
Subject: Re: [PHP] today i found the best function I've ever seen
On Mon, Mar 23, 2009 at 09:07, Igor Escobar
Bob McConnell wrote:
To take this question a step further, is there a PHP best practices
document available? I am looking for one that I can give to a new
programmer and tell her do it this way until you can explain to me why
you shouldn't.
Bob McConnell
I just remembered why I started
George Larson wrote:
Well, I was pondering making a recommendation, of sorts.
I work in an environment with various levels of coders, perhaps similar to
your description. Currently, there are no standards that I have seen. We
all are bringing our coding habits with us. I don't know if it is
On Monday 23 March 2009 12:33:58 Robert Cummings wrote:
On Mon, 2009-03-23 at 11:52 +0200, Sancar Saran wrote:
Probably a bit off topic and
The Game is over man.
Javascript coming with flank speed. Next generation JS Framworks will
take html generation jobs from server side.
Whole
Daniel Brown wrote:
Sorry, all, I must have yelled. Two days later and my words are
still echoing. ;-P
I'm sure everyone has experienced email being delivered oddly. What's
the problem that causes an email to be sent one day and then a week.
or so later, it's sent again?
Even
tedd wrote:
Daniel Brown wrote:
Sorry, all, I must have yelled. Two days later and my words are
still echoing. ;-P
I'm sure everyone has experienced email being delivered oddly. What's
the problem that causes an email to be sent one day and then a week.
or so later, it's sent again?
Date: Mon, 23 Mar 2009 09:52:21 -0300
From: titiolin...@gmail.com
To: pru...@gmail.com
CC: george.g.lar...@gmail.com; nos...@mckenzies.net; php-general@lists.php.net
Subject: Re: [PHP] Proper code formatting
Hi Angus, please, read this topic
On Mon, 2009-03-23 at 15:58 +0200, Sancar Saran wrote:
On Monday 23 March 2009 12:33:58 Robert Cummings wrote:
On Mon, 2009-03-23 at 11:52 +0200, Sancar Saran wrote:
Probably a bit off topic and
The Game is over man.
Javascript coming with flank speed. Next generation JS
Im brazilian, and i understand your language, why you dont undertand my ?
Regards,
Igor Escobar
systems analyst interface designer
www . igorescobar . com
On Mon, Mar 23, 2009 at 11:10 AM, abdulazeez alugo defati...@hotmail.comwrote:
Date: Mon, 23 Mar 2009 09:52:21 -0300
From:
Daniel Brown wrote:
Sorry, all, I must have yelled. Two days later and my words are
still echoing. ;-P
I'm sure everyone has experienced email being delivered oddly. What's
the problem that causes an email to be sent one day and then a week.
or so later, it's sent again?
Im brazilian, and i understand your language, why you dont undertand my ?
Regards,
Igor Escobar
systems analyst interface designer
www . igorescobar . com
Well I guess the answer to that is obvious. I'm not brazilian and it would be
so generous of you
to use the most acceptable
Take a look at
http://php.resourceindex.com/Complete_Scripts/Form_Processing/
Note that not all the scripts there are free though so look at type.
By the way, as long as the server can run PHP and there are no specific
shell commands in the script, it should run on any operating system.
--
At 10:09 AM -0400 3/23/09, Jason Pruim wrote:
tedd wrote:
Daniel Brown wrote:
Sorry, all, I must have yelled. Two days later and my words are
still echoing. ;-P
I'm sure everyone has experienced email being delivered oddly.
What's the problem that causes an email to be sent one day
tedd wrote:
At 10:09 AM -0400 3/23/09, Jason Pruim wrote:
tedd wrote:
Daniel Brown wrote:
Sorry, all, I must have yelled. Two days later and my words are
still echoing. ;-P
I'm sure everyone has experienced email being delivered oddly.
What's the problem that causes an email to be
At 10:24 AM -0400 3/23/09, Robert Cummings wrote:
My point is, just because new techniques and technoloigies
come out, is in no way a boundary condition on an existing technology's
lifespan or efficacy in any particular environment. The deprecation of
usefulness of any technology is based on
2009/3/23 tedd tedd.sperl...@gmail.com:
However, I have heard of new javascript being run server-side. What's the
likelihood of that catching on and surpassing php?
http://aptana.com/jaxer
I really like the idea, but I'm yet to have a good reason to try it.
If you're starting from scratch it
On Mon, Mar 23, 2009 at 10:43 AM, tedd tedd.sperl...@gmail.com wrote:
At 10:24 AM -0400 3/23/09, Robert Cummings wrote:
My point is, just because new techniques and technoloigies
come out, is in no way a boundary condition on an existing technology's
lifespan or efficacy in any particular
On Mon, Mar 23, 2009 at 10:33 AM, Jacques Manukyan
ml...@streamingedge.comwrote:
Take a look at
http://php.resourceindex.com/Complete_Scripts/Form_Processing/
Note that not all the scripts there are free though so look at type.
By the way, as long as the server can run PHP and there are no
Ok man, I'm sorry.
This post i wrote in a few days ago in my native language. I dont have time
enough to write in two languagesbut who knows in the future i can do it?
I'm sorry about that man,but if you like the post anyway, try something like
google translator.
Regards,
Igor Escobar
Ok man, I'm sorry.
This post i wrote in a few days ago in my native language. I dont have time
enough to write in two languagesbut who knows in the future i can do it?
I'm sorry about that man,but if you like the post anyway, try something like
google translator.
Regards,Igor Escobar
George Larson wrote:
On Mon, Mar 23, 2009 at 8:23 AM, Shawn McKenzie nos...@mckenzies.netwrote:
Bob McConnell wrote:
From: Michael A. Peters
Angus Mann wrote:
Hi all, I'm fairly new to PHP so I don't have too many bad habits
yet.
I'm keen to make my code easy to read for me in the future,
Not to mention the Object Oriented nature of PHP. This looks like a
pretty cool idea, but JS OO cannot compare to PHP OO programming.
Thanks,
Jesse Hazen
-Original Message-
From: Stuart [mailto:stut...@gmail.com]
Sent: Monday, March 23, 2009 7:49 AM
To: tedd
Cc:
-Original Message-
From: Sancar Saran [mailto:sancar.sa...@evodot.com]
Sent: 23 March 2009 11:52 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Frameworks / obstinate?
Probably a bit off topic and
The Game is over man.
Javascript coming with flank speed. Next generation JS
tedd wrote:
At 10:09 AM -0400 3/23/09, Jason Pruim wrote:
tedd wrote:
Daniel Brown wrote:
Sorry, all, I must have yelled. Two days later and my words are
still echoing. ;-P
I'm sure everyone has experienced email being delivered oddly. What's
the problem that causes an email to be
Arno Kuhl wrote:
-Original Message-
From: Sancar Saran [mailto:sancar.sa...@evodot.com]
Sent: 23 March 2009 11:52 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Frameworks / obstinate?
Probably a bit off topic and
The Game is over man.
Javascript coming with flank
No, please!
In some districts of the world, license means bribe.
Eduardo Varela
Buenos Aires, 25 ºC
Marc Christopher Hall m...@hallmarcwebsites.com wrote in message
news:!!AAAYAFiX02vhnU9NtdOHs2jtbxfCgAAAEMVvYN00QhlOn0no
wcs77jkba...@hallmarcwebsites.com...
This is why I
On Mon, Mar 23, 2009 at 11:35 AM, Shawn McKenzie nos...@mckenzies.netwrote:
Arno Kuhl wrote:
-Original Message-
From: Sancar Saran [mailto:sancar.sa...@evodot.com]
Sent: 23 March 2009 11:52 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Frameworks / obstinate?
Probably
At 10:31 AM -0500 3/23/09, Shawn McKenzie wrote:
tedd wrote:
At 10:09 AM -0400 3/23/09, Jason Pruim wrote:
Well... As my Dad would say... Someone wasn't holding their mouth
right... :)
That's a strange answer. Maybe I'm dense, but what does that have to do
with email?
Cheers,
tedd
From: Eduardo
No, please!
In some districts of the world, license means bribe.
You misspelled most. In a lot of cases it is simply disguised as union
or association dues or as a fee or tax, but the effect is just the same.
The purpose is to protect the incumbents from too much
At 10:50 AM -0400 3/23/09, Bastien Koert wrote:
Tedd,
JS has been running on MS servers for a long time. It was always
viewes as an acceptable replacement for vbscript.
Well -- that's been my fear. I think that M$ is trying to get it's
foot into this so they can charge for it -- similar to
At 12:49 PM -0300 3/23/09, Eduardo wrote:
No, please!
In some districts of the world, license means bribe.
Eduardo Varela
Buenos Aires, 25 C
It means the same here. It's a payment for being
allowed to do something instead of payment for
services rendered. In the USA politicians don't
want
Thx ab.
I'm did not to be rude ;)
Have a nice day.
Regards,
Igor Escobar
systems analyst interface designer
www . igorescobar . com
On Mon, Mar 23, 2009 at 12:05 PM, abdulazeez alugo defati...@hotmail.comwrote:
Ok man, I'm sorry.
This post i wrote in a few days ago in my native
On Mon, Mar 23, 2009 at 11:11 AM, tedd tedd.sperl...@gmail.com wrote:
At 10:50 AM -0400 3/23/09, Bastien Koert wrote:
Tedd,
JS has been running on MS servers for a long time. It was always viewes as
an acceptable replacement for vbscript.
Well -- that's been my fear. I think that M$ is
On Fri, Mar 20, 2009 at 5:27 PM, דניאל דנון danondan...@gmail.com wrote:
---8---
###
function h3x($envar){
$hax3d = bin2hex($envar);
$hax3d = chunk_split($hax3d , 2, %);
$hax3d = % . substr($hax3d , 0, strlen($hax3d ) - 1);
return $hax3d;
2009/3/21 Linda Stark nads...@live.com:
I’m not sure if I am
in the right forum but thought I would give this a shot…
Sure, you are
I just
created a new mail form in Dreamweaver for a web site. I’m
working on a form to mail script that I started after reading a few on line
tutorials,
OMGBBQ I didn't even catch that! He truly is the c0d1ng g0d!
On Mon, Mar 23, 2009 at 12:45 PM, haliphax halip...@gmail.com wrote:
On Fri, Mar 20, 2009 at 5:27 PM, דניאל דנון danondan...@gmail.com wrote:
---8---
###
function h3x($envar){
2009/3/20 דניאל דנון danondan...@gmail.com:
I'm a member of some forums about some topics,
One of them include a programming forum.
Now, I've visited there a week ago and saw a topic with the title Free
security,
Someone who calls himself a PHP expert (and said that he could teach me PHP
On Mon, 2009-03-23 at 10:43 -0400, tedd wrote:
At 10:24 AM -0400 3/23/09, Robert Cummings wrote:
My point is, just because new techniques and technoloigies
come out, is in no way a boundary condition on an existing technology's
lifespan or efficacy in any particular environment. The
On Mon, Mar 23, 2009 at 12:05:27PM -0400, tedd wrote:
At 10:31 AM -0500 3/23/09, Shawn McKenzie wrote:
tedd wrote:
At 10:09 AM -0400 3/23/09, Jason Pruim wrote:
Well... As my Dad would say... Someone wasn't holding their mouth
right... :)
That's a strange answer. Maybe I'm dense,
Hello,
on 03/23/2009 10:05 AM Igor Escobar said the following:
Great Project, Lemos.
Thanks?
When you are thinking in show more exemples?
Who? Me or Andrea?
--
Regards,
Manuel Lemos
Find and post PHP jobs
http://www.phpclasses.org/jobs/
PHP Classes - Free ready to use OOP components
On Monday 23 March 2009 16:24:55 Robert Cummings wrote:
On Mon, 2009-03-23 at 15:58 +0200, Sancar Saran wrote:
On Monday 23 March 2009 12:33:58 Robert Cummings wrote:
On Mon, 2009-03-23 at 11:52 +0200, Sancar Saran wrote:
Probably a bit off topic and
The Game is over man.
i havea general replacement or workaround for every php function in my code
that i know to be utf-8-unsafe. except one: strtr().
the only ideas i have to implement strtr in php with known utf-8-safe php
functions would be rather inefficient.
any ideas, suggestions, pointers? or maybe you're
From: Daniel Kolbo
P.P.P.S. What might be nice is to have an online repository of PHP
community approved classes, then programmers could mix and match
'modules' as needed...well now I am sounding like that snake oil
salesman.
You mean something like CPAN over in the Perl arena? Or
Shawn McKenzie nos...@mckenzies.net wrote in message
news:b8.7e.55398.e12b2...@pb1.pair.com...
[snip]
I've never done this, but just scanning that link, did you do the
Per-site PHP process pools steps?
Found it!
I was using a php.ini file, a little adjusted, from the test server on
IIS5.1
Sancar Saran wrote:
Probably a bit off topic and
The Game is over man.
Javascript coming with flank speed. Next generation JS Framworks will take
html generation jobs from server side.
No it won't.
People are getting sick and tired of allowing third scripts to modify
the DOM - browsers are
Daniel Kolbo wrote:
P.P.P.S. What might be nice is to have an online repository of PHP
community approved classes, then programmers could mix and match
'modules' as needed...well now I am sounding like that snake oil salesman.
There is a php class web site that focuses on OO
Bob McConnell wrote:
However, don't limit it to classes. There
are enough non-OO people that collections of usable function libraries
should also be worth assembling. I would also suggest including unit
test fixtures and utilities in any collection.
Bob McConnell
Most functions can be
Sorry for top posting, but here goes...
Stopping third party js from running on the client will never happen.
If so, you just killed your servers thru put in attempting to handle
things like google maps, google analytics and other fun things coming
out of companies like that ( google, zoho
Phpster wrote:
Sorry for top posting, but here goes...
Stopping third party js from running on the client will never happen. If
so, you just killed your servers thru put in attempting to handle things
like google maps, google analytics and other fun things coming out of
companies like that (
73 matches
Mail list logo