On Fri, 2009-05-15 at 14:59 -0400, PJ wrote:
> tedd wrote:
> > At 1:25 PM -0400 5/15/09, PJ wrote:
> >> I know of no better place to ask. This may not be strictly a PHP issue,
> >> but...
> >> I am busting my hump trying to format rather large input pages with CSS
> >> and trying to avoid tables; b
On Fri, 2009-05-15 at 15:12 -0400, HallMarc Websites wrote:
> Um... sorry to jump in as a late arrival yet there you go
>
> What limitations? You could provide a layered layout using CSS and png
> graphic format. As for setting up columns check out float and clear and
> you're all set. TABLE,
On Fri, 2009-05-15 at 15:12 -0400, HallMarc Websites wrote:
> Um... sorry to jump in as a late arrival yet there you go
>
> What limitations? You could provide a layered layout using CSS and png
> graphic format. As for setting up columns check out float and clear and
> you're all set. TABLE,
On Sat, 2009-05-16 at 10:48 +0100, Ashley Sheridan wrote:
> On Sat, 2009-05-16 at 02:25 -0400, Paul M Foster wrote:
> > On Fri, May 15, 2009 at 01:25:42PM -0400, PJ wrote:
> >
> > > I know of no better place to ask. This may not be strictly a PHP issue,
> > > but...
> > > I am busting my hump tryi
On Sat, 2009-05-16 at 19:48 -0400, Stephen wrote:
> PJ wrote:
> > I know of no better place to ask. This may not be strictly a PHP issue,
> > but...
> > I am busting my hump trying to format rather large input pages with CSS
> > and trying to avoid tables; but it looks to me like I am wasting my ti
On Sun, 2009-05-17 at 01:52 +0100, Ashley Sheridan wrote:
> On Sat, 2009-05-16 at 09:15 -0400, Robert Cummings wrote:
> > On Sat, 2009-05-16 at 10:48 +0100, Ashley Sheridan wrote:
> > > On Sat, 2009-05-16 at 02:25 -0400, Paul M Foster wrote:
> > > > On Fri, May 15
On Thu, 2009-05-21 at 05:06 -0400, O. Lavell wrote:
> Jim Lucas wrote:
>
> > Since this has been a topic of dicussion, I figured I would add my
> > thoughts.
> >
> > I have been toying with the idea of doing a -less layouts
> > involving tabular data, calendars, etc...
>
> Why?
>
> > Recent thr
On Sat, 2009-05-23 at 14:43 +0100, Stuart wrote:
> 2009/5/23 Afan Pasalic :
> > short hack works like a charm!
> > :-)
>
> It may work but output buffers are relatively expensive. The eval
> function will return the value the eval'd code returns, so just stick
> a return statement at the end of th
On Sat, 2009-05-23 at 15:11 +0100, Stuart wrote:
> 2009/5/23 Robert Cummings :
> > On Sat, 2009-05-23 at 14:43 +0100, Stuart wrote:
> >> 2009/5/23 Afan Pasalic :
> >> > short hack works like a charm!
> >> > :-)
> >>
> >> It ma
On Sun, 2009-05-24 at 12:04 +0100, Ashley Sheridan wrote:
> On Sat, 2009-05-23 at 22:23 -0700, Michael A. Peters wrote:
> > Paul M Foster wrote:
> >
> > >
> > > I wish someone had thought of a similar thing for databases. From the
> > > beginning, there should have been a spreadsheet-like interfa
On Sun, 2009-05-24 at 14:33 +0100, Nathan Rixham wrote:
> Afternoon all,
>
> This is a quick survey, think it would be useful to have the values of
> MAX_FLOAT for each platform, and indeed see if it does differ.
>
> to do this can you please run the following code (bc* required) and
> reply ba
On Sun, 2009-05-24 at 21:26 +0100, Stuart wrote:
> 2009/5/24 Nathan Rixham :
> > LinuxManMikeC wrote:
> >>
> >> On Sun, May 24, 2009 at 11:09 AM, tedd wrote:
> >>>
> >>> At 12:01 AM +0100 5/24/09, Nathan Rixham wrote:
>
> LinuxManMikeC wrote:
> >
> > I was recently researching te
On Mon, 2009-05-25 at 09:39 +0100, Richard Heyes wrote:
> Hi,
>
> > and then you have the joy of telling the client its 6 months work
>
> 6 months vs 1 day... Ka-Ching! :-)
That's where your integrity is called into question.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating
On Mon, 2009-05-25 at 13:46 +0100, Richard Heyes wrote:
> > That's where your integrity is called into question.
>
> What's that...? :-)
One of the most important attributes a person can have. It is more
important than the person's technical ability.
:)
Cheers,
Rob
--
http://www.interjinn.com
On Mon, 2009-05-25 at 15:04 +0100, Stuart wrote:
> 2009/5/25 Robert Cummings :
> > On Sun, 2009-05-24 at 21:26 +0100, Stuart wrote:
> >> 2009/5/24 Nathan Rixham :
> >> > LinuxManMikeC wrote:
> >> >>
> >> >> On Sun, May 24, 2009 at 11:09
On Mon, 2009-05-25 at 16:31 +0100, Stuart wrote:
> 2009/5/25 Robert Cummings :
> > On Mon, 2009-05-25 at 15:04 +0100, Stuart wrote:
> >> 2009/5/25 Robert Cummings :
> >> > On Sun, 2009-05-24 at 21:26 +0100, Stuart wrote:
> >> >> 2009/5/24
On Mon, 2009-05-25 at 16:58 +0100, Nathan Rixham wrote:
> Robert Cummings wrote:
> > On Mon, 2009-05-25 at 15:04 +0100, Stuart wrote:
> >> 2009/5/25 Robert Cummings :
> >> Have I done something to annoy you lately? You seem to be directing a
> >> lot of hosti
On Mon, 2009-05-25 at 19:56 +0100, Stuart wrote:
> 2009/5/25 Robert Cummings :
> > On Mon, 2009-05-25 at 16:31 +0100, Stuart wrote:
> >> 2009/5/25 Robert Cummings :
> >> > On Mon, 2009-05-25 at 15:04 +0100, Stuart wrote:
> >> >> 2009/5/25 Robert Cum
On Tue, 2009-05-26 at 18:30 +0100, hessi...@hessiess.com wrote:
> Something that seriously annoys me about PHP is the fact that it has
> a configuration file which can *completely* change the behaviour of
> the language. Take the following for example:
>
On Tue, 2009-05-26 at 14:10 -0400, Andrew Ballard wrote:
> On Tue, May 26, 2009 at 1:47 PM, Robert Cummings wrote:
> > [snip] Such settings are usually made
> > available to people who know what they're doing and who need specific
> > functionality.
> >
> > C
On Thu, 2009-05-28 at 16:20 +0300, Olexandr Heneralov wrote:
> Hi!
> Guys, you of course, know that ASP.NET becomes more and more popular in the
> world.
> I have a question for everyone:
> Can it happen so that PHP will be replaced with ASP.NET?
It is unlikely. Open source continues to grow, and
On Thu, 2009-05-28 at 09:29 -0400, Daniel Brown wrote:
> On Thu, May 28, 2009 at 09:20, Olexandr Heneralov
> wrote:
> > Hi!
> > Guys, you of course, know that ASP.NET becomes more and more popular in the
> > world.
> > I have a question for everyone:
> > Can it happen so that PHP will be replace
On Mon, 2009-06-01 at 12:53 +1000, Angus Mann wrote:
> Hi all. I realize this is more an HTML question than PHP but I'm sure someone
> here can help.
>
> I have several forms with lots (dozens) of text inputs. If the user presses
> the "Update" button I want the form handled by "update.php" but
On Sun, 2009-05-31 at 08:52 -0500, flint wrote:
> sent this before, don't know if it went through... someone please reply if
> it went, even if they don't know answer?...
>
> so here's the scenario..
>
> I have a site that uses php with a database to offer sound files to
> users using streaming
On Sun, 2009-05-31 at 21:23 -0700, bruce wrote:
> hi robert.,,
>
> now you've got me curious..
>
> you state...
>
> -Use something else to pass the data back to the user... popen() comes to
> -mind or proc_open(). Then disable auto abort on user disconnect via
> -ignore_user_abort(). Then after
On Mon, 2009-06-01 at 05:15 -0500, flint wrote:
> - Original Message -
> From: "Robert Cummings"
> To: "flint"
> Cc: "PHP-General List"
> Sent: Sunday, May 31, 2009 10:15 PM
> Subject: Re: [PHP] spawning a process that uses pipes - doesn
On Mon, 2009-06-01 at 07:52 -0700, bruce wrote:
> hi robert...
>
> i got the popen/php process but i don't see how one can stop a
> browser/apache process, and somehow reattach to the browser process.. unless
> he's talking about stopping a process within the app's context.. and then
> contniuing.
On Mon, 2009-06-01 at 12:38 -0400, Andrew Ballard wrote:
> On Mon, May 25, 2009 at 6:44 PM, Nathan Rixham wrote:
> > Stuart wrote:
> >>
> >> 2009/5/25 Robert Cummings :
> >>>
> >>> I continued the discussion with Nathan.
> >>
> >
ple code I could
> look at for proc_open? It looks like it might do what I need but it's a lot
> more complex than popen.
>
> fm
>
> ------
> From: "Robert Cummings"
> Sent: Monday, June 01, 2009 10:01 AM
>
On Mon, 2009-06-01 at 14:32 -0500, Matthew McKay wrote:
> It would be much simpler and cleaner to use Javascript to modify the form's
> action attribute onClick.
No it wouldn't.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP General Mailing List (
Kyle Terry wrote:
On Mon, Jun 8, 2009 at 8:48 AM, tedd wrote:
Hi gang:
I've heard that php can be used for more than web programming, but I am not
aware of specifically how that can be done. So, let me ask directly -- can
php be used to create a Mac Application?
If so, how?
Cheers,
tedd
Matty Sarro wrote:
Real men use perl ;)
When I was younger my dad told me real men drink their coffee black... I
tried it for a month and then I told him real men choose their own path
in life.
Cheers,
Rob.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Eric Butera wrote:
On Mon, Jun 8, 2009 at 1:34 PM, Robert Cummings wrote:
Matty Sarro wrote:
Real men use perl ;)
When I was younger my dad told me real men drink their coffee black... I
tried it for a month and then I told him real men choose their own path in
life.
Cheers,
Rob.
Yeah
Bastien Koert wrote:
On Mon, Jun 8, 2009 at 1:47 PM, Robert Cummings wrote:
Eric Butera wrote:
On Mon, Jun 8, 2009 at 1:34 PM, Robert Cummings
wrote:
Matty Sarro wrote:
Real men use perl ;)
When I was younger my dad told me real men drink their coffee black... I
tried it for a month and
PJ wrote:
I know this a silly question, but I can't figure out if it's even
possible to get rid of that final annoying | in my pagination script.
Navigation";
echo (($page !=1)?"first":"first")." ... ";
echo (($page>1)?"prev":"prev")." | ";
for($i=$page; $i<=($page+$records_per_page-2)+1; $i++)
PJ wrote:
Robert Cummings wrote:
PJ wrote:
I know this a silly question, but I can't figure out if it's even
possible to get rid of that final annoying | in my pagination script.
Navigation";
echo (($page !=1)?"first":"first")." ... ";
echo (($p
Larry Garfield wrote:
On Monday 08 June 2009 12:34:40 pm Robert Cummings wrote:
Matty Sarro wrote:
Real men use perl ;)
When I was younger my dad told me real men drink their coffee black... I
tried it for a month and then I told him real men choose their own path
in life.
Cheers,
Rob
PJ wrote:
Robert Cummings wrote:
PJ wrote:
Robert Cummings wrote:
PJ wrote:
I know this a silly question, but I can't figure out if it's even
possible to get rid of that final annoying | in my pagination script.
Navigation";
echo (($page !=1)?"first":"f
Adrian Price-Whelan wrote:
Hey all-
Something strange is happening with a python script I am executing from
a php page:
I am executing this by doing $output = `python blahblah.py arg1 arg2 arg3`
Say my Python code looks like this:
import sys
import os
thisPID = os.getpid()
print thisPID
pri
Per Jessen wrote:
Adrian Price-Whelan wrote:
Hey -
Running these on a Linux server with PHP 5 and Python 2.5.
My problem is this: I have a simple php form that executes a long (~3
minutes) Python script using the 'exec' function from php. The issue
is that the browser, I think, 'times out'
Craige Leeder wrote:
I'm not sure I agree with NEVER using else. Sometimes else is a very
logical way to organize code. However, it should not be used for data
validation IE:
function myValidatorFunc($data) {
if (empty(data)) {
return false;
} else {
if (!is_numeric($data))
Paul M Foster wrote:
This question may be too complex for a reasonable answer on this list,
but I'll ask anyway.
If a page has static content (no PHP variables, etc.), I can
understand how caching works. The engine just checks to see if it's got
a copy of the requested page in the cache, and d
Ashley Sheridan wrote:
On Sun, 2009-06-07 at 13:29 +0200, mrfroasty wrote:
Alain Roger wrote:
Hi,
i'm currently investigating what would be the best solution to develop an
e-commerce web site.
should i use some PHP template engine like smarty or CMS like Joomla, Drupal
?
thanks a lot,
Jo
Kyle Terry wrote:
On Mon, Jun 8, 2009 at 9:33 AM, Robert Cummings wrote:
Kyle Terry wrote:
On Mon, Jun 8, 2009 at 8:48 AM, tedd wrote:
Hi gang:
I've heard that php can be used for more than web programming, but I am
not
aware of specifically how that can be done. So, let me ask dir
Michael wrote:
Paul M Foster wrote:
On Mon, Jun 08, 2009 at 09:30:18AM -0700, Kyle Terry wrote:
I don't mean to be the thread spirit killer, but I think another
language
would be better for this. Such as Python.
PHP desktop apps might be fun to hack around with, but I wouldn't use
it fo
Michael wrote:
Robert Cummings wrote:
Michael wrote:
Paul M Foster wrote:
On Mon, Jun 08, 2009 at 09:30:18AM -0700, Kyle Terry wrote:
I don't mean to be the thread spirit killer, but I think another
language
would be better for this. Such as Python.
PHP desktop apps might be f
Michael wrote:
This was about half of my point, writing these applications in PHP is
difficult, it is a task to be overcome. PHP requires cajoling into being
useful. Your solution to "use the Java extension" is peculiarly ironic -
yes: Use Java!
If the only language you know is PHP i'm sure i
Michael wrote:
"Languages were designed to be programmed, what they are programmed to
do is entirely up to the programmer."
Perhaps there is no hope then. This is so distant from the actual case
it does not require more than pointing out.
If you want to write demons in php fine, i wince at t
Michael wrote:
Robert Cummings wrote:
> Michael wrote:
>> "Languages were designed to be programmed, what they are programmed to
>> do is entirely up to the programmer."
>>
>> Perhaps there is no hope then. This is so distant from the actual case
>
Daniel Brown wrote:
On Wed, Jun 10, 2009 at 08:37, tedd wrote:
Beside, this is how languages evolve. There is no job that any tool is
designed for. The "job" is our current perception of the task at hand and
that is always changing.
That's the point I was trying to get at in the email I wr
reporting. Please suggest us
technolgy which is secure and prooven. The problem of integrating Birt in to
PHP has been solved
and successfully tested also.
Thanks and Best Regards
Wow, thanks for letting us know all of the backstory there!
Robert Cummings and I just had a long, deep talk the o
Daniel Brown wrote:
On Wed, Jun 10, 2009 at 08:59, Robert Cummings wrote:
Don't you have VB applications to write?
And this after I just mentioned your name in another thread
without throwing up in my mouth.
You've finally got those gag reflexes under control... call me!!
Eddie Drapkin wrote:
Dan, I do appreciate when you share your pillow talk with the list at large.
Just so everyone knows... Dan was catcher when we were having that long
"deep" talk.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP General Mailing
Daniel Brown wrote:
On Wed, Jun 10, 2009 at 09:06, Robert Cummings wrote:
Dan, I'd appreciate it if you wouldn't share our pillow talk with the list
at large.
Oh, stop, it's not like I mentioned the rash for which you've been
getting that cream.
I just realized..
Eddie Drapkin wrote:
The question then becomes whether he was one of the boring catchers and
just sort of "sat there" or was "actively discussing" with you.
He was quite active... when I raised a really good point all he could do
was scream.
Cheers,
Rob.
--
http://www.interjinn.com
Applicati
Daniel Brown wrote:
On Wed, Jun 10, 2009 at 09:14, Robert Cummings wrote:
He was quite active... when I raised a really good point all he could do was
scream.
and it is at this point that I would like to remind you that
we are on the air, gentlemen, live and being recorded for future
Ford, Mike wrote:
On 11 June 2009 12:00, Ashley Sheridan advised:
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any
idea to solve? Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (
Jean-Pierre Arneodo wrote:
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7
Shawn McKenzie wrote:
Waynn Lue wrote:
For mysql, it's better to use int and then store it in cents (or
micros) so you can use all integer operations instead of float ones.
To each his own. Speed or otherwise I don't see a difference between:
$total = 19.95 + 3.99; //shipping
and
$total =
tedd wrote:
At 10:51 PM +0100 6/17/09, Ashley Sheridan wrote:
On Wed, 2009-06-17 at 23:05 +0200, Nisse Engström wrote:
On Wed, 17 Jun 2009 10:18:09 +0100, "Ford, Mike" wrote:
> This is very true -- but XHTML requires *all* attributes to have a
> value, so an XHTML conformant page will use
Michael A. Peters wrote:
Robert Cummings wrote:
Ash:
As I understand it and is my experience, that is true -- a
stand-alone HTML attribute should be equal to itself, such as
selected="selected", or more specifically selected="SELECTED".
How is that MORE specific? X
tedd wrote:
Hi gang:
Here's the problem. Let's say you have a collection of arrays, such as:
$a = array();
$b = array();
$c = array();
$d = array();
And then you populate the arrays like so:
while(...)
{
$a[] = ...
$b[] = ...
$c[] = ...
$d[] = ...
}
Now, let's say you want
Ford, Mike wrote:
On 17 June 2009 22:12, tedd advised:
Hi gang:
Here's the problem. Let's say you have a collection of
arrays, such as:
$a = array();
$b = array();
$c = array();
$d = array();
And then you populate the arrays like so:
while(...)
{
$a[] = ...
$b[] = ...
$c[]
PJ wrote:
I just thought I would share a revelation.
Someone just pointed me to a site that IMHO is superb for elegance of
artistic design and programming.
I was blown away.
http://www.apfq.ca
You won't regret it. 8-)
Can I have my 5 minutes back please? It's about as simplistic a site as
it g
Gary wrote:
The center echo does not show. It will show if I replace $newmort with
anything else. I have copied the first "if" statement,pasted it in the
second position, and it works fine. Once I change the var to $newmort, it
will not show. The third echo shows fine, it is only if I use
tedd wrote:
At 8:47 PM -0400 6/17/09, Robert Cummings wrote:
tedd wrote:
As I understand it and is my experience, that is true -- a
stand-alone HTML attribute should be equal to itself, such as
selected="selected", or more specifically selected="SELECTED".
How is that MOR
PJ wrote:
Robert Cummings wrote:
PJ wrote:
I just thought I would share a revelation.
Someone just pointed me to a site that IMHO is superb for elegance of
artistic design and programming.
I was blown away.
http://www.apfq.ca
You won't regret it. 8-)
Can I have my 5 minutes back please?
tedd wrote:
At 10:11 AM +0100 6/18/09, Ford, Mike wrote:
On 17 June 2009 22:12, tedd advised:
-snip-
> Now, let's say you want to sort the $d array, but you also want the
> arrays $a, $b, and $c to be arranged in the same resultant order as
$d.
>
For example, please follow this:
Befor
tedd wrote:
At 1:45 PM -0400 6/18/09, Robert Cummings wrote:
Thanks to Rob and Daniel for also playing, better luck next time.
:-) <- note smiley -- I do appreciate your time.
Mine version retains key associations. It wasn't a complete waste of time.
Cheers,
Rob.
Rob:
Nothing you
Jason Pruim wrote:
Wow dan, must be nice to have the time to read all that :P
I could rant about how hard it is to find a job when you don't have
much verifiable experience But instead I put together a website
which has links to everywhere that I'm watching. So if anyone is in
central
Daniel Brown wrote:
On Fri, Jun 19, 2009 at 15:05, Robert Cummings wrote:
I'm self-employed. I don't plan on ever laying myself off.
Mind out of the gutter, Rob. Words like "self," "laying," and
"off" will get you flagged.
Gutter? It'
Per Jessen wrote:
Manuel Aude wrote:
I'm giving a PHP course next semester (3 hours all saturdays for 22
weeks) and I just realized that PHP 5.3 is coming very soon (2 days
now!). So, my plans of teaching PHP 5.2 are starting to change, and I
think it's a good idea to teach them 5.3 already.
Manuel Aude wrote:
The thing is, that part of the planned course was to develop a small
framework, so that they could see the dynamic and OOP posibilities that PHP
offers. With PHP 5.3, there are namespaces, which change a lot the design of
a framework, as well as true lambdas with closures. So,
Per Jessen wrote:
Robert Cummings wrote:
Per Jessen wrote:
Manuel Aude wrote:
I'm giving a PHP course next semester (3 hours all saturdays for 22
weeks) and I just realized that PHP 5.3 is coming very soon (2 days
now!). So, my plans of teaching PHP 5.2 are starting to change, and
I
Michael A. Peters wrote:
Manuel Aude wrote:
I'm giving a PHP course next semester (3 hours all saturdays for 22 weeks)
and I just realized that PHP 5.3 is coming very soon (2 days now!). So, my
plans of teaching PHP 5.2 are starting to change, and I think it's a good
idea to teach them 5.3 alrea
ioan...@btinternet.com wrote:
Is there a function which will convert characters like \x3d \x3b \x3c to
ASCII. Or is there a full list of conversions, eg \x3c=\x3e=>, \x27=' etc. What are these, hex? I tried hexdec() but am not
sure that is right.
These are hex escaped for a string:
This w
Ashley Sheridan wrote:
On Tue, 2009-06-23 at 15:07 -0400, Eddie Drapkin wrote:
It's just foreach($foo as $key => &$item) { }
You can't assign the key by reference >.>
On Tue, Jun 23, 2009 at 3:04 PM, Ashley
Sheridan wrote:
On Tue, 2009-06-23 at 12:56 -0600, kirk.john...@zootweb.com wrote:
An
Michael A. Peters wrote:
Robert Cummings wrote:
Michael A. Peters wrote:
Manuel Aude wrote:
I'm giving a PHP course next semester (3 hours all saturdays for 22
weeks)
and I just realized that PHP 5.3 is coming very soon (2 days now!).
So, my
plans of teaching PHP 5.2 are starting to c
Michael A. Peters wrote:
Robert Cummings wrote:
Michael A. Peters wrote:
Robert Cummings wrote:
Michael A. Peters wrote:
Manuel Aude wrote:
I'm giving a PHP course next semester (3 hours all saturdays for 22
weeks)
and I just realized that PHP 5.3 is coming very soon (2 days now!).
S
Per Jessen wrote:
Robert Cummings wrote:
It's hard to create a helpful application when fort knox is your
delivery location. I'm not saying there's a problem with Fort Knoxes
in the world, but this isn't necessary for everyone. if it were we
wouldn't have banks
Per Jessen wrote:
Robert Cummings wrote:
Personally, I prefer having my code outside the DocumentRoot
also, but I do not believe it is the simplest solution, and I do not
think it is "wrong" to place such information within the DocumentRoot.
The feature exists, application devel
Michael A. Peters wrote:
Robert Cummings wrote:
* snip *
No. It is not.
The web root should be read only.
Please cite references as to why it should be read only. Please explain
why the feature exists if it should not be so.
The feature exists because the web server runs as a standard user
Martin Scotta wrote:
Hi all
I have this in a simple routine...
for($i=0, $if=count($array); $i<$if; ++$i)
if( $array[$i] == '' )
{
array_splice( $array, $i, 1);
--$i;
--$if;
}
My question: is this t
Eddie Drapkin wrote:
On Thu, Jun 25, 2009 at 5:00 PM, Ashley
Sheridan wrote:
On Thu, 2009-06-25 at 17:52 -0300, Martin Scotta wrote:
Hi all
I have this in a simple routine...
for($i=0, $if=count($array); $i<$if; ++$i)
if( $array[$i] == '' )
{
array_splice( $array, $i
Farah Fawcett has also died. I guess you gotta go sometime :|
Björn Bartels wrote:
Hello fellow coders...
THE 'KING OF POP' IS DEAD !
Tonight (here in Germany), Mr. Michael Joseph Jackson, also known as
'the king of pop',
died on heart failure in the age of 50.
I just want to express my
:(
Tom Worster wrote:
and Kaleem Omar.
and 15 people in Baghdad when motorcycle loaded with nails and ball-bearings
exploded in a crowded bazaar.
On 6/26/09 4:27 AM, "Robert Cummings" wrote:
Farah Fawcett has also died. I guess you gotta go sometime :|
Björn Bartels wro
tedd wrote:
At 10:02 AM +0530 6/26/09, Gautam Bhatia wrote:
hello all,
Is there anyway in php by which i can get the total play
time of a mp3 , I found some information while doing the google thing
using some 3rd party plug ins like getID3 but without any luck, Any help
in this case
Aspell.
Dan Joseph wrote:
Hi Everyone,
This is slightly off topic... We're building an application, and have a
need for an opensource dictionary. Basically a way to match words against a
dictionary to see if they are valid, and what type of word they are. noun,
adv, etc..
Can anyone point m
rszeus wrote:
Hello,
I’m tryng to make some replacements on a string.
Everything goês fine until the regular expression.
$file = "screens/temp/7a45gfdi6icpan1jtb1j99o925_1_main.jpg";
echo $a = str_replace(array(7a45gfdi6icpan1jtb1j99o925,
'temp/',’_([0-9])’), array(“test”,"",””), $file)
.. I
just switched a few weeks ago.
Cheers,
Rob.
Robert Cummings wrote:
rszeus wrote:
Hello,
I’m tryng to make some replacements on a string.
Everything goês fine until the regular expression.
$file = "screens/temp/7a45gfdi6icpan1jtb1j99o925_1_main.jpg";
echo $a
Floyd Resler wrote:
The nice thing about the database, though, is that you can specify
which MySQL user has access to the sessions table. That way you can
really lock it down by giving access to only INSERT, SELECT, UPDATE,
and DELETE just for that table.
Thanks!
Floyd
On Jul 22, 2009, a
Floyd Resler wrote:
When I first started programming in PHP I used the second method you
mentioned. I had a single file I called utils.php and it contained
all the functions I could possibly need throughout my site.
Unfortunately, this file grew to be over 10,000 lines and most of the
t
Ashley Sheridan wrote:
>
Wikipedia can hardly be accounted an official source of anything,
especially considering how it gets the content! If you want official,
then http://www.mozilla.com/en-US/firefox/releases/1.5.html is a good
link.
Wikipedia is the official source of Wikipedia information
Paul M Foster wrote:
On Thu, Jul 23, 2009 at 09:34:37AM -0400, Robert Cummings wrote:
Not that I disagree with your methodology at this time, but you could
have just made that single big file, include all those little files and
still had a single load statement in each of your consumer
Eddie Drapkin wrote:
Hey all,
we've got a repository here at work, with something like 55,000 files
in it. For the last few years, we've been naming $variables_like_this
and functions_the_same($way_too). And now we've decided to switch to
camelCasing everything and I've been tasked with someho
Dave M G wrote:
PHP Gurus,
I'm currently having a problem with PHP writing text to a PNG image on
one server.
I have various web sites hosted on various servers, and on most of them,
the script that generates the image is writing text properly. I have
ensured that the same fonts are availab
Andrew Ballard wrote:
I'm trying to profile a site on our development server to see why it
takes around 4 seconds to generate a pretty basic page. I installed
xdebug to use for the profiling, and now I'm really confused. Even
though it takes around 4 seconds to build the entire page, the profile
Per Jessen wrote:
Daniel Brown wrote:
On Fri, Jul 24, 2009 at 15:25, Per Jessen wrote:
Daniel Brown wrote:
In reality, those are canned responses. Jani didn't type that up
himself, he just selected it from a drop-down that we have.
In all honesty, that only makes it worse. To make an effor
Skip Evans wrote:
Jim Lucas wrote:
Skip Evans wrote:
Hey all,
Am I brain fading or what? I'm so used to formatting text in tables for
HTML display I can't think of how to do it for a plain text file.
I just need to create a columned table of names and addresses type
stuff... sprintf?
or a li
Oh wow,
I didn't know your wife had gone into labour or anything :( Sorry to
hear of the stress and very glad to hear both are alive and doing well.
Congratulations!
Cheers,
Rob.
Daniel Brown wrote:
ALL:
It's far easier to drop a line to the mailing lists and BCC a few
others th
901 - 1000 of 4119 matches
Mail list logo