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: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:
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 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!!
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: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
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
>
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:
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:
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:
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
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
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
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
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))
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'
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
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
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:
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
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++)
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
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
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
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
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 (
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 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.
> >>
> >
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 14:11 -0400, 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; but it looks to me like
On Fri, 2009-05-15 at 13:25 -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 trying to format rather large input pages with CSS
> and trying to avoid tables; but it looks to me like I am wasting my time
> as positioning with
On Fri, 2009-05-15 at 11:29 -0400, Paul M Foster wrote:
> On Fri, May 15, 2009 at 07:19:24AM -0700, PHPScriptor wrote:
>
> >
> > Mja, that's not my intention, in that case I also could use nl2br...
> >
> > Why does this problem exists? And why does it work with ? Is this a PHP
> > problem or mor
On Fri, 2009-05-15 at 10:54 -0400, tedd wrote:
> At 7:22 AM -0700 5/15/09, PHPScriptor wrote:
> >Well, the problem is that I have a lot of forms, a lot of data to output, and
> >even then, I don't know always where I have a textarea or just a inputfield.
> >But true, I could even set the nl2br on a
On Fri, 2009-05-15 at 19:48 +0530, Manoj Sterex wrote:
> Well, instead of storing the text from the textarea directly into the db,
> validate it and wrap it with tags (replace \n) and then store it.
> This way you needn't use nl2br every time you retrieve the text from db.
Don't do that unless it
On Fri, 2009-05-15 at 07:03 -0700, PHPScriptor wrote:
> Hello,
>
> How do you guys handle this "problem".
>
> Just a form with a textarea. When I use enters in the textarea it's saved to
> the db like this:
>
> database:
> "first line
> second line"
>
> when I edit the value in the form:
> "fir
On Fri, 2009-05-15 at 05:42 -0400, Robert Cummings wrote:
> On Thu, 2009-05-14 at 17:24 -0700, Michael A. Peters wrote:
> > tedd wrote:
> >
> > >
> > >
> > >
> > >
> > >
> > > and Hello World will be show as a H1 headl
On Thu, 2009-05-14 at 17:24 -0700, Michael A. Peters wrote:
> tedd wrote:
>
> >
> >
> >
> >
> >
> > and Hello World will be show as a H1 headline.
> >
> > Please note, the "()" seen in my use of echo is not necessary -- it's
> > just another one of those things that I do that no one else do
On Wed, 2009-05-13 at 09:41 -0400, tedd wrote:
> At 4:39 PM -0400 5/12/09, Robert Cummings wrote:
> >On Tue, 2009-05-12 at 16:31 -0400, tedd wrote:
> >
> > > While your post dealt with [2] mine was addressing [1]. Understand?
> >
> >Except he already had tha
On Tue, 2009-05-12 at 18:53 -0400, PJ wrote:
> Robert Cummings wrote:
> > On Tue, 2009-05-12 at 16:31 -0400, tedd wrote:
> >
> >> At 3:48 PM -0400 5/12/09, Robert Cummings wrote:
> >>
> >>> On Tue, 2009-05-12 at 09:54 -0400, tedd wrote:
&
On Tue, 2009-05-12 at 16:31 -0400, tedd wrote:
> At 3:48 PM -0400 5/12/09, Robert Cummings wrote:
> >On Tue, 2009-05-12 at 09:54 -0400, tedd wrote:
> >> At 12:27 PM -0700 5/11/09, Daevid Vincent wrote:
> >> > > > Here's an example with code:
> &
On Tue, 2009-05-12 at 09:54 -0400, tedd wrote:
> At 12:27 PM -0700 5/11/09, Daevid Vincent wrote:
> > > > Here's an example with code:
> >> >
> > > > http://webbytedd.com/b/watermark/
> >>
> >> I can't read the text over the dog's nose... ;)
> >
> >You're lucky. I don't see ANYTHING (as mention
On Tue, 2009-05-12 at 18:05 +0300, Thodoris wrote:
>
> Still curious about the right script though (if this is possible of
> course).
Of course it's possible... but you're probably not going to get the
results you want since you're taking 3 dimensions and trying to push
them into 2. You'll notice
On Mon, 2009-05-11 at 10:39 -0700, Michael A. Peters wrote:
> tedd wrote:
> > At 12:04 AM -0700 5/11/09, Michael A. Peters wrote:
> >> That site is also coded in php so I'm guessing that the watermark is
> >> added using a php technology.
> >>
> >> Can someone enlighten me on how that is done?
> >
On Mon, 2009-05-11 at 13:01 -0400, tedd wrote:
> At 12:04 AM -0700 5/11/09, Michael A. Peters wrote:
> >That site is also coded in php so I'm guessing that the watermark is
> >added using a php technology.
> >
> >Can someone enlighten me on how that is done?
> >
> >Also, while not php related, cou
On Mon, 2009-05-11 at 20:06 +0600, Lenin wrote:
> Thanks to Robert and congrats Michael :)
>
> Robert could you suggest about the transperency or translucency in GD?
Is this what you're looking for?
http://www.php.net/manual/en/image.examples.merged-watermark.php
> I also have interest in u
On Mon, 2009-05-11 at 00:04 -0700, Michael A. Peters wrote:
> I need to know the best way to dynamically watermark images via gd.
>
> This is an example of what I currently have:
>
> http://www.shastaherps.org/images/66-3.jpg
>
> That's using Lucida Mono. A really nice monospace font (very simil
On Wed, 2009-01-28 at 23:42 +, Ashley Sheridan wrote:
>
> I hate div'itis as well. Some people seem to think it's a big faux pas
> to use table tags now, when that couldn't be more wrong. Use tables for
> tabular data, CSS for the rest (with as few exceptions - and there are
> always some eh -
On Sat, 2009-05-09 at 18:35 +0200, Cesco wrote:
> Ok, I suppose that this should be a very simple problem and probably
> the answer is obvious, but I really can't understand how the classes
> and the rest of the stuff works in PHP...
>
> Let's suppose that we have this piece of code:
>
>
>
On Sat, 2009-05-09 at 21:23 +0530, kranthi wrote:
> k i ended up with this code
>
>
> $_POST = array( '1', '100', '100.1', '100.123', 'a');
>
> foreach( $_POST as &$value )
> {
> if(is_numeric($value)) {
> $value = $value + 0;
> }
> }
> var_dump($_POST);
>
> ?>
>
On Sat, 2009-05-09 at 20:02 +0530, kranthi wrote:
> thanks for the reply... just happened to see http://php.net/ternary
> which explains the above result
>
> i want to explicitly type cast all the numbers passed via post (by
> default they are strings)
> is_numeric() is a option, but it will not b
On Sat, 2009-05-09 at 18:22 +0530, kranthi wrote:
> var_dump($_POST['month'], intval($_POST['month']), $_POST['month'] ==
> ((int)($_POST['month']));
> var_dump($_POST['month'], intval($_POST['month']), $_POST['month'] ==
> (intval($_POST['month'])));
After I fixed your syntax error this worked fi
On Thu, 2009-05-07 at 21:45 -0700, Michael A. Peters wrote:
> Michael A. Peters wrote:
> > I'm having a problem with db2 and prepared statements.
> > var_dump indicates that some variables that should be type int are type
> > text.
> >
> > These variables are the output of bcmath equations, and a
On Thu, 2009-05-07 at 09:33 -0400, Tom Worster wrote:
> On 5/6/09 9:31 PM, "Clancy" wrote:
>
> > I can understand your reluctance to disregard your mother's advice, but
> > unfortunately she
> > had been brainwashed to accept the dogma of the day.
>
> actually, i don't believe so. she did numeri
On Wed, 2009-05-06 at 15:50 -0500, Shawn McKenzie wrote:
> Marcus Gnaß wrote:
> > Robert Cummings wrote:
> >> On Wed, 2009-05-06 at 12:56 +0200, Marcus Gnaß wrote:
> >>> Tom Worster wrote:
> >>>> there's a control structure i wish php had: a
On Wed, 2009-05-06 at 22:23 +0200, Marcus Gnaß wrote:
> Robert Cummings wrote:
> > On Wed, 2009-05-06 at 12:56 +0200, Marcus Gnaß wrote:
> >> Tom Worster wrote:
> >>> there's a control structure i wish php had: a simple block that you can
> >>> brea
On Wed, 2009-05-06 at 08:43 -0400, Tom Worster wrote:
> On 5/6/09 6:56 AM, "Marcus Gnaß" wrote:
>
> > Tom Worster wrote:
> >> there's a control structure i wish php had: a simple block that you can
> >> break out of, e.g.
> >
> > As Maarten pointed out you could use a function. Another alternati
On Wed, 2009-05-06 at 08:41 -0400, Tom Worster wrote:
> On 5/6/09 7:05 AM, "Robert Cummings" wrote:
>
> > That seems like an abuse of exceptions. But then we're already abusing
> > loops. I just don't think one could say it's the proper way to do it :)
On Wed, 2009-05-06 at 12:56 +0200, Marcus Gnaß wrote:
> Tom Worster wrote:
> > there's a control structure i wish php had: a simple block that you can
> > break out of, e.g.
>
>
> As Maarten pointed out you could use a function. Another alternative is
> to use Exceptions which might be the most p
On Tue, 2009-05-05 at 22:31 -0700, Jim Lucas wrote:
> Well, since nobody seems to want to answer your question, I will... :)
>
> It has to do with you using an assignment '=' instead of a comparison '=='
> operator in your condition.
He already found the problem and fixed it :)
Cheers,
Rob.
--
On Tue, 2009-05-05 at 13:56 -0400, Tom Worster wrote:
> there's a control structure i wish php had: a simple block that you can
> break out of, e.g.
>
> block {
>
> if ( condition )
> break;
>
> blah...
> blah...
>
> if ( another condition )
> break;
>
> blah...
> blah...
>
On Tue, 2009-05-05 at 12:12 -0400, tedd wrote:
> At 11:29 AM -0400 5/5/09, Robert Cummings wrote:
> >On Tue, 2009-05-05 at 11:21 -0400, tedd wrote:
> > > At 10:13 AM -0400 5/5/09, Robert Cummings wrote:
> >
> > > >Just so we all know why...
&
On Tue, 2009-05-05 at 11:21 -0400, tedd wrote:
> At 10:13 AM -0400 5/5/09, Robert Cummings wrote:
> >On Tue, 2009-05-05 at 10:05 -0400, Robert Cummings wrote:
> >> On Tue, 2009-05-05 at 09:49 -0400, tedd wrote:
> >> > At 2:57 PM -0400 5/4/09, Gary wrote:
> >&
On Tue, 2009-05-05 at 10:05 -0400, Robert Cummings wrote:
> On Tue, 2009-05-05 at 09:49 -0400, tedd wrote:
> > At 2:57 PM -0400 5/4/09, Gary wrote:
> > >I am trying to get this to work, however it only reads the second if
> > >statement. I get no error messages, bu
On Tue, 2009-05-05 at 09:49 -0400, tedd wrote:
> At 2:57 PM -0400 5/4/09, Gary wrote:
> >I am trying to get this to work, however it only reads the second if
> >statement. I get no error messages, but as I change counties, the % stays
> >the same.
> >
> >Can someone enlighten me, or should I be lo
On Sat, 2009-05-02 at 15:43 -0500, Larry Garfield wrote:
> On Saturday 02 May 2009 3:20:24 pm Colin Guthrie wrote:
> > 'Twas brillig, and Larry Garfield at 02/05/09 20:00 did gyre and gimble:
> > > On Saturday 02 May 2009 9:30:09 am Colin Guthrie wrote:
> > >> 'Twas brillig, and Paul M Foster at 02
On Sat, 2009-05-02 at 12:10 +0100, Ashley Sheridan wrote:
> On Sat, 2009-05-02 at 06:45 -0400, Robert Cummings wrote:
> > On Sat, 2009-05-02 at 12:39 +0200, Andrea Giammarchi wrote:
> > > exactly, why bother with JavaScript literal representation?
> > >
> &g
On Sat, 2009-05-02 at 12:39 +0200, Andrea Giammarchi wrote:
> exactly, why bother with JavaScript literal representation?
>
> the foreach loop was just an alternative to explicit object cast cause you
> did not like it I though it was more about control over what you want to
> cast and what
On Sat, 2009-05-02 at 01:07 -0400, Paul M Foster wrote:
> In another thread (which I mercifully declined to highjack), someone
> cited:
>
> > Taken from http://www.corephp.co.uk/archives/19-Prepare-for-PHP-6.html
>
> And I read this:
>
> Both '$foo =& new StdClass()' and 'function &foo' will now
On Fri, 2009-05-01 at 17:52 +0200, Andrea Giammarchi wrote:
> you are in PHP, not in JavaScript.
>
> In PHP arrays are like collections or hash tables.
> if you strictly need object cause
>
> $o->stuff
> is better than
> $o['stuff']
>
> having exactly the same number of characters, you can creat
On Fri, 2009-05-01 at 17:36 +0200, Andrea Giammarchi wrote:
> var o = {
> "a" : "b",
> "c" : "d"
> };
>
> $o = array(
> 'a' => "b",
> 'c' => "d"
> );
>
> so I guess the problem is a couple of quotes, isn't it?
>
>
> otherwise define object statically and externally and use json_
On Fri, 2009-05-01 at 10:42 -0400, Dan Joseph wrote:
> On Fri, May 1, 2009 at 10:40 AM, Robert Cummings wrote:
>
> > On Fri, 2009-05-01 at 10:34 -0400, Dan Joseph wrote:
> > >
> > > Ajax unfortunately isn't an option in this particular case.
> >
>
On Fri, 2009-05-01 at 10:34 -0400, Dan Joseph wrote:
>
> Ajax unfortunately isn't an option in this particular case.
Why? Maybe you're thinking about it wrong.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP General Mailing List (http://www.php.net
On Fri, 2009-05-01 at 10:24 -0400, Dan Joseph wrote:
> Hi Everyone,
>
> I'm trying to get Chrome to output html information as it comes thru. We
> have an iframe running a php script, and when the php script receives
> information, it outputs it. FF, IE, and Safari all work just fine, displays
>
On Mon, 2009-04-27 at 21:06 +0600, 9el wrote:
>
> I think some time ago I used combination of mysqldump and
> iconv, some
> minor editing, and then pumped it back into the database.
>
> I think if the dump is not too big your trick will yield good results.
> What d
601 - 700 of 4119 matches
Mail list logo