I am trying to parse an ini conf file using parse_ini_file but fails
without returning something. I found this which is probably the reason:
http://bugs.php.net/bug.php?id=44544
(the $ in the values)
The problem is that this file has more than 7500 lines so it's kind of
difficult to use quote
Matt Graham wrote:
> Ashley Sheridan wrote:
>> Paul M Foster wrote:
>>> On Thu, May 14, 2009 at 03:22:12PM -0500, Skip Evans wrote:
One of the things the other company said was possible, and I'm
not familiar with... if I understand correctly, is to create a
CD with not just an Excel
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
Hey thanks for your quick reply,
Here is what i have done
This is my flex code
var issFront:ImageSnapshot =
ImageSnapshot.captureImage(_model.productDesigner._boundingBox, dpi, new
PNGEncoder(), false);
var ba:ByteArray = issFront.data;
ba.compress();
jpegBackProcessParams.
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 headline.
> > >
> > > Please note, the "()" seen in my use of echo is not neces
On Fri, May 15, 2009 at 10:21:22AM +0100, Peter Ford wrote:
> Matt Graham wrote:
> > Ashley Sheridan wrote:
> >> Paul M Foster wrote:
> >>> On Thu, May 14, 2009 at 03:22:12PM -0500, Skip Evans wrote:
> One of the things the other company said was possible, and I'm
> not familiar with...
At 8:41 AM -0400 5/15/09, Robert Cummings wrote:
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 headline.
> >
> > Please note, the "()
On Thu, May 14, 2009 at 5:17 PM, Nathan Rixham wrote:
> Jerry Zhao wrote:
>
>> On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham wrote:
>>
>> Jerry Zhao wrote:
>>>
>>> I tried different combination of ssl clients and servers, it all points
to
problems on the client side of my new php bu
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:
"first line
second line"
when I output the value to html:
"first linesecond line"
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
2009/5/15 PHPScriptor :
>
> 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:
> "first line
> second line"
>
> when
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.
-Sterex
On Fri, May 15, 2009 at 7:42 PM, Stuart wrote:
> 2009/5/15 PHPScriptor :
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 more a HTML problem?
Robert Cummings wrote:
>
> On Fri, 2009-05-15 at 07:03 -0700, PHPScriptor wrote:
>> Hello,
>>
>> How do you guys handle
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 an input field, it wouldn't make a
difference.
But I just don't understand why this problem exists? Wha
At 4:45 PM -0400 5/14/09, Andrew Ballard wrote:
On Thu, May 14, 2009 at 4:33 PM, Paul M Foster
wrote:
> My stance is, if you're going to subscribe to an email list, learn how
to unsubscribe, how to see if you've been inadvertantly unsubscribed,
> learn email netiquette on lists, etc.
I ag
Yes, I thought about that. But then you have a problem when you're going to
'edit' that data back in a form. Then you get "first linesecond line"
in your textarea.
Manoj Sterex wrote:
>
> Well, instead of storing the text from the textarea directly into the db,
> validate it and wrap it with t
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, May 15, 2009 at 07:03:49AM -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 f
Well, its not exactly a 'problem' at all. The textarea just does what its
meant to do - accept raw text input and lets you process it via form action.
This is neither a PHP or a HTML 'problem'.
The reason you cannot see the line breaks when you echo the text on your
browser is the fact that the br
@Robert:
True. I was assuming that the text was going to be final and not being
edited again.
@PHPScriptor:
If you do have a lot of textareas to work around with, why don't you give
TinyMCE a try. Thats the best option you have got. It replaces the textarea
into more of a html compatible one and w
TinyMCE: http://tinymce.moxiecode.com/
-Sterex
On Fri, May 15, 2009 at 7:56 PM, Paul M Foster wrote:
> On Fri, May 15, 2009 at 07:03:49AM -0700, PHPScriptor wrote:
>
> >
> > Hello,
> >
> > How do you guys handle this "problem".
> >
> > Just a form with a textarea. When I use enters in the textar
On Fri, May 15, 2009 at 9:38 AM, tedd wrote:
> At 8:41 AM -0400 5/15/09, Robert Cummings wrote:
>
>> 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:
>>> >
>>> > >
>>> > >
>>> > >
>>> > >
>>>
2009/5/15 PHPScriptor :
>
> 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 an input field, it wouldn't make a
> difference.
> But I just don't unde
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 an input field, it wouldn't make a
difference.
But I just
@tedd:
Its just another way of looking at the things. Putting HTML into the DB is
not really wrong (perhaps in this context it is). If you do have HTML in the
DB, you can directly echo it out and use CSS to style it accordingly. Just
my 2 cents. :)
-Sterex
On Fri, May 15, 2009 at 8:24 PM, tedd
Hey,
I'm looking into moving my site over to Nginx from apache. I've been
reading up on how FastCGI works with PHP, and I've found two main
solutions, either use spawn-fcgi or use php-fpm. However, it looks
like there isn't any php-fpm code for the current stable version of
PHP. Does anyone use ph
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, 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 more a HTML problem?
HTML doesn't recognize newlines when it displays te
On Fri, May 15, 2009 at 10:24 AM, tedd wrote:
> At 4:45 PM -0400 5/14/09, Andrew Ballard wrote:
>>
>> On Thu, May 14, 2009 at 4:33 PM, Paul M Foster
>> wrote:
>> > My stance is, if you're going to subscribe to an email list, learn how
>>>
>>> to unsubscribe, how to see if you've been inadvertan
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
At 8:38 PM +0530 5/15/09, Manoj Sterex wrote:
@tedd:
Its just another way of looking at the things. Putting HTML into the
DB is not really wrong (perhaps in this context it is). If you do
have HTML in the DB, you can directly echo it out and use CSS to
style it accordingly. Just my 2 cents. :)
At 11:29 AM -0400 5/15/09, 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 more a HTML problem?
HTML d
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:
"first line
second line"
when I output the value to html:
"fir
At 11:19 AM -0400 5/15/09, Robert Cummings wrote:
On Fri, 2009-05-15 at 10:54 -0400, tedd wrote:
> 4. Or, listen to me (who is somewhere between Rob/Stuart and Sterex)
and use either the tag or the nlbr() function depending upon
what you want to do with the output. Both solutions [1 and 2] p
Paul M Foster wrote:
On Fri, May 15, 2009 at 10:21:22AM +0100, Peter Ford wrote:
Matt Graham wrote:
But why write an Excel spreadsheet - why not save the data in something more
portable like CSV that ExCel and read and write to once you are back at base?
CSV doesn't export *formulas*, ju
tedd wrote:
Also, one can generate validation errors using "" because there
are three different varieties of the tag, namely "", "", and
"" -- all of which can be used in different settings. I don't
remember which doctypes go with which version (xhtml requires />), but
I've run into that pr
On Fri, May 15, 2009 at 12:35 PM, Michael A. Peters wrote:
> Paul M Foster wrote:
>
>> On Fri, May 15, 2009 at 10:21:22AM +0100, Peter Ford wrote:
>>
>> Matt Graham wrote:
>>>
>>
>
>>> But why write an Excel spreadsheet - why not save the data in something
>>> more
>>> portable like CSV that ExC
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 CSS seems an impossibly tortuous exercise. I've
managed
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
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 CSS seems an impossibly tortuous exercise.
From: Bastien Koert
> On Fri, May 15, 2009 at 12:35 PM, Michael A. Peters
wrote:
>> Paul M Foster wrote:
>>> On Fri, May 15, 2009 at 10:21:22AM +0100, Peter Ford wrote:
>>>
>>> Matt Graham wrote:
>>>
>>
But why write an Excel spreadsheet - why not save the data in
something
more
>>
On 5/15/09 1:25 PM, "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 CSS seems a
On 5/15/09 10:12 AM, "Stuart" wrote:
> What's your problem with using nl2br?
it's not multibyte safe. if you're using mb strings, e.g. for utf8 pages and
forms, then use preg_replace (with the u modifier) instead of ml2br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
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 I am wasting my time
as positioning with CSS seems an impo
At 2:10 PM -0400 5/15/09, Tom Worster wrote:
On 5/15/09 10:12 AM, "Stuart" wrote:
What's your problem with using nl2br?
it's not multibyte safe. if you're using mb strings, e.g. for utf8 pages and
forms, then use preg_replace (with the u modifier) instead of ml2br
Whoa -- and I thought yo
At 2:06 PM -0400 5/15/09, Tom Worster wrote:
for one thing, a table is a great way of representing relations
(http://mathworld.wolfram.com/Relation.html). data tables are the canonical
example but very often a form's structure is a relation, e.g. between labels
and input fields, or between multip
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 CSS seems an impossibly tortuous exercise
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
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 I am wasting my time
>> as positio
iling List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__ Information from ESET Smart Security, version of virus signature
database 4080 (20090515) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing
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,
imagine writing a script to run as a daemon reading data off the bottom of a
log file that gets updated every few minutes and processing each new log
line as they arrive.
i could exec("tail $logfile", $lines, $status) every now and then. or poll
the file mtime and run exec("tail $logfile", $lines,
Robert Cummings wrote:
> 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
tedd wrote:
At 2:06 PM -0400 5/15/09, Tom Worster wrote:
for one thing, a table is a great way of representing relations
(http://mathworld.wolfram.com/Relation.html). data tables are the
canonical
example but very often a form's structure is a relation, e.g. between
labels
and input fields, o
Robert Cummings wrote:
> 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 cl
Nathan Rixham wrote:
> tedd wrote:
>> At 2:06 PM -0400 5/15/09, Tom Worster wrote:
>>> for one thing, a table is a great way of representing relations
>>> (http://mathworld.wolfram.com/Relation.html). data tables are the
>>> canonical
>>> example but very often a form's structure is a relation, e.g
Tom Worster wrote:
imagine writing a script to run as a daemon reading data off the bottom of a
log file that gets updated every few minutes and processing each new log
line as they arrive.
i could exec("tail $logfile", $lines, $status) every now and then. or poll
the file mtime and run exec("ta
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 CSS seems an impossibly tortuous exercise.
tedd wrote:
At 2:06 PM -0400 5/15/09, Tom Worster wrote:
for one thing, a table is a great way of representing relations
(http://mathworld.wolfram.com/Relation.html). data tables are the
canonical
example but very often a form's structure is a relation, e.g. between
labels
and input fields, o
Nathan Rixham wrote:
tedd wrote:
At 2:06 PM -0400 5/15/09, Tom Worster wrote:
for one thing, a table is a great way of representing relations
(http://mathworld.wolfram.com/Relation.html). data tables are the
canonical
example but very often a form's structure is a relation, e.g. between
label
Just a draft i thought should not go unnoticed on the list :-) just cleaning
up.
OK,
How about a super efficient soln where each string is only converted once
and a fast sorting algorithm is used:
http://www.ihostnz.com
Fred Allen - "California is a fine place to live - if you happen to be an
or
On Fri, May 15, 2009 at 03:12:06PM -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.
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 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 positioni
65 matches
Mail list logo