Posting Summary for PHP-General List
Week Ending: Friday, 8 February, 2008
Messages| Bytes | Sender
++--
391 (100%) 581347 (100%) EVERYONE
32 (8.2%)
On Fri, 2008-02-08 at 21:19 -0500, Nathan Nobbe wrote:
> i hooked up an spl example; and the files are sorted by name.
> also, did you want that inside or outside the w/
> class=NormalText, because the opening and closing tags are
> mixed up..
>
Here is another, generic extension filter with S
On Fri, Feb 8, 2008 at 9:19 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> i hooked up an spl example; and the files are sorted by name.
> also, did you want that inside or outside the w/
> class=NormalText, because the opening and closing tags are
> mixed up..
>
damnit; i had a couple of mistak
i hooked up an spl example; and the files are sorted by name.
also, did you want that inside or outside the w/
class=NormalText, because the opening and closing tags are
mixed up..
getInnerIterator()->current()->isFile()) {
return true;
}
}
}
clas
Pastor Steve wrote:
> Hi, thanks for all your help today.
>
> I have the following code and I am trying to order the output. Currently it
> seems really random. Can anyone point me in the right direction?
>
>
> $dir = "content/current/breaking_news/";
>
> // set pattern
> $pattern = ".txt*|.TX
On Feb 8, 2008 4:16 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> ahlist wrote:
> > Hi,
> >
> >
> > I have a clean php 4.4.7 compile but it still shows the old mysql lib
> > version. I can't find where it is picking that up at. Is it just built
> > into the php sources that way?
>
> Yes, it is include
Pastor Steve wrote:
Hi, thanks for all your help today.
I have the following code and I am trying to order the output. Currently it
seems really random. Can anyone point me in the right direction?
Breaking News
Please check here often for breaking news stories.
Hi, thanks for all your help today.
I have the following code and I am trying to order the output. Currently it
seems really random. Can anyone point me in the right direction?
Breaking News
Please check here often for breaking news stories.
At 4:56 PM -0500 2/8/08, Robert Cummings wrote:
On Fri, 2008-02-08 at 16:51 -0500, tedd wrote:
At 10:42 PM +0100 2/8/08, Jochem Maas wrote:
>$post_var = @sessionize_post('post_var');
>
>so why exactly is that not an option (or good idea)?
It IS an option -- and that's what I was doing (exc
At 1:39 PM -0800 2/8/08, Jim Lucas wrote:
So, how is this any better then just doing this
$_SESSION = array_merge(array_merge($_SESSION, $_POST), $_GET);
If I replace the two calls to sessionize_*() with the above line, I
get the same results. Not sure what I am missing.
First, I didn't say
On Fri, 2008-02-08 at 16:51 -0500, tedd wrote:
> At 10:42 PM +0100 2/8/08, Jochem Maas wrote:
> >$post_var = @sessionize_post('post_var');
> >
> >so why exactly is that not an option (or good idea)?
>
> It IS an option -- and that's what I was doing (except for the
> suppress error) via this:
>
At 10:42 PM +0100 2/8/08, Jochem Maas wrote:
$post_var = @sessionize_post('post_var');
so why exactly is that not an option (or good idea)?
It IS an option -- and that's what I was doing (except for the
suppress error) via this:
$post_var = sessionize_post('post_var');
I just wanted to mak
Daniel Brown schreef:
On Feb 8, 2008 4:17 PM, tedd <[EMAIL PROTECTED]> wrote:
At 10:31 AM -0500 2/8/08, Daniel Brown wrote:
> On Feb 8, 2008, at 10:14 AM, tedd wrote:
> Hi gang:
>
> From a variable with the name of $this_variable -- how do I get a
> > string 'this_variable' ?
What Te
tedd wrote:
At 10:31 AM -0500 2/8/08, Daniel Brown wrote:
> On Feb 8, 2008, at 10:14 AM, tedd wrote:
> Hi gang:
>
> From a variable with the name of $this_variable -- how do I get a
> > string 'this_variable' ?
What Tedd means is this: ;-P
BINGO! We have a winner!
For those of
On Feb 8, 2008 4:17 PM, tedd <[EMAIL PROTECTED]> wrote:
> At 10:31 AM -0500 2/8/08, Daniel Brown wrote:
> > > On Feb 8, 2008, at 10:14 AM, tedd wrote:
> >>
> >> > Hi gang:
> >> >
> >> > From a variable with the name of $this_variable -- how do I get a
> > > > string 'this_variable' ?
> >>
> >
nihilism machine schreef:
i have a method called CreateUser() which is public and takes 5
variables as its data, then adds them to a db. it only executes the
first method not the other although its all the same but the variable.
ex:
$auth = new auth();
$auth->CreateUser("fake email", 1, "fake
On Feb 8, 2008 4:25 PM, nihilism machine <[EMAIL PROTECTED]> wrote:
> that was just an example. yes they both provide 5 input variables.
well theres something preventing successive calls from doing what you
expect. php has no issue in calling the same instance method successively,
which you cou
that was just an example. yes they both provide 5 input variables.
On Feb 8, 2008, at 4:18 PM, Jim Lucas wrote:
nihilism machine wrote:
i have a method called CreateUser() which is public and takes 5
variables as its data, then adds them to a db. it only executes the
first method not the ot
On Feb 8, 2008 4:10 PM, nihilism machine <[EMAIL PROTECTED]> wrote:
> i have a method called CreateUser() which is public and takes 5
> variables as its data, then adds them to a db. it only executes the
> first method not the other although its all the same but the variable.
>
> ex:
>
> $auth = n
nihilism machine wrote:
i have a method called CreateUser() which is public and takes 5
variables as its data, then adds them to a db. it only executes the
first method not the other although its all the same but the variable.
Here you say that the method takes five (5) variables.
ex:
$aut
At 10:31 AM -0500 2/8/08, Daniel Brown wrote:
> On Feb 8, 2008, at 10:14 AM, tedd wrote:
> Hi gang:
>
> From a variable with the name of $this_variable -- how do I get a
> > string 'this_variable' ?
What Tedd means is this: ;-P
BINGO! We have a winner!
For those of you who want
ahlist wrote:
Hi,
I have a client who requires php 4.x with mysql 5 (cannot use php 5
for this project).
Too bad...
Can anyone confirm that it is possible to use this combination without
setting mysql to use old-style passwords.
Not sure
I have a clean php 4.4.7 compile but it still sh
i have a method called CreateUser() which is public and takes 5
variables as its data, then adds them to a db. it only executes the
first method not the other although its all the same but the variable.
ex:
$auth = new auth();
$auth->CreateUser("fake email", 1, "fake name", 4);
$auth->Create
Hi,
I have a client who requires php 4.x with mysql 5 (cannot use php 5
for this project).
Can anyone confirm that it is possible to use this combination without
setting mysql to use old-style passwords.
I have a clean php 4.4.7 compile but it still shows the old mysql lib
version. I can't find
On Feb 8, 2008 2:50 PM, Børge Holen <[EMAIL PROTECTED]> wrote:
> am I readin an comercial
but wait, there's more! Order within the next 6.3 seconds
and you'll receive a cloned version of my first born, ABSOLUTELY FREE!
--
Daniel P. Brown
Senior Unix Geek
--
PHP General Mailing List
On Feb 8, 2008 2:45 PM, David Giragosian <[EMAIL PROTECTED]> wrote:
> On 2/8/08, Eric Butera <[EMAIL PROTECTED]> wrote:
Did you see the function that I published in this thread this
morning? I'm nearly positive that's what he's looking for, and it
worked for me.
--
Daniel P. Brown
Senior
On Thursday 07 February 2008 17:17:30 David Giragosian wrote:
> On 2/7/08, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > On Feb 7, 2008 8:23 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> > > Legolas wood schreef:
> > > > Hi
> > > > Thank you for reading my post
> > > > I am trying to run a php based a
On 2/8/08, Eric Butera <[EMAIL PROTECTED]> wrote:
>
> On Feb 8, 2008 1:53 PM, David Giragosian <[EMAIL PROTECTED]> wrote:
> > On 2/8/08, Richard Lynch <[EMAIL PROTECTED]> wrote:
> > >
> > > On Fri, February 8, 2008 9:14 am, tedd wrote:
> > > > From a variable with the name of $this_variable -- how
On Feb 8, 2008, at 2:41 PM, Paul Scott wrote:
On Fri, 2008-02-08 at 14:37 -0500, Daniel Brown wrote:
On Feb 8, 2008 2:18 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
And look who chimes in with some helpful advice! ;-P
lol
(now isn't that even more useless?)
Not worse then this... :)
On Feb 8, 2008 2:41 PM, Paul Scott <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2008-02-08 at 14:37 -0500, Daniel Brown wrote:
> > On Feb 8, 2008 2:18 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> > And look who chimes in with some helpful advice! ;-P
> >
>
> lol
>
> (now isn't that even more useless
On Fri, 2008-02-08 at 14:37 -0500, Daniel Brown wrote:
> On Feb 8, 2008 2:18 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> And look who chimes in with some helpful advice! ;-P
>
lol
(now isn't that even more useless?)
--Paul
All Email originating from UWC is covered by disclaimer
http://
On Feb 8, 2008 2:18 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> That is ridiculous.
And look who chimes in with some helpful advice! ;-P
--
Daniel P. Brown
Senior Unix Geek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 8, 2008 1:53 PM, David Giragosian <[EMAIL PROTECTED]> wrote:
> On 2/8/08, Richard Lynch <[EMAIL PROTECTED]> wrote:
> >
> > On Fri, February 8, 2008 9:14 am, tedd wrote:
> > > From a variable with the name of $this_variable -- how do I get a
> > > string 'this_variable' ?
> >
> > You don't..
On 2/8/08, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> On Fri, February 8, 2008 9:14 am, tedd wrote:
> > From a variable with the name of $this_variable -- how do I get a
> > string 'this_variable' ?
>
> You don't...
>
> Consider this:
>
> function foo($bar){
> //what would your function output?
On Thu, February 7, 2008 1:15 am, Michael Moyle wrote:
> I am new to the list and have a question that inspired me to join the
> list as I can not find any answer online.
>
> When a object reference is passed to the $_SESSION array what happens
> to
> the object? Is the object serialized and saved
MaryAnn Woodall wrote:
> Just starting to use php on my webpages. If I save a file as .php
> or .php4 are they the same file. For example is index.php the same as
> index.php4?
If you save the same file with two different names, the contents will
remain the same. How the different extensions ar
You probably do not have GD installed...
Does list "GD" as one of your extensions?
If not, install it.
On Thu, February 7, 2008 6:57 am, Legolas wood wrote:
> Hi
> Thank you for reading my post
> I am trying to run a php based application using php5 and apache.
> but I receive an error like:
>
On Thu, February 7, 2008 9:51 am, Eric Butera wrote:
> On Feb 7, 2008 9:59 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
>> On Feb 7, 2008 9:24 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
>>
> If you look at plugin architectures of projects such as drupal,
> phorum, or serendipity you can see there ar
On Thu, February 7, 2008 12:30 pm, Steve Marquez wrote:
> Greetings,
>
> Could someone please point me in the right direction? I am trying to
> have
> PHP find out if a directory has files in it and then if it does,
> display and
> include, if it does not, then not display the include.
>
> I have
On Thu, February 7, 2008 1:49 pm, MaryAnn Woodall wrote:
> Just starting to use php on my webpages. If I save a file as .php
> or .php4 are they the same file. For example is index.php the same as
> index.php4?
They are not the same file at all, unless you use really old Windows
that only let you
2008. 02. 8, péntek keltezéssel 12.46-kor Daniel Brown ezt írta:
> On Feb 8, 2008 12:35 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> I knew it. After silence, Lynch comes back with a vengeance
> three hours before the week's stats come out.
>
> And not only that he top-posts. ;
On Feb 8, 2008 12:35 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
I knew it. After silence, Lynch comes back with a vengeance
three hours before the week's stats come out.
And not only that he top-posts. ;-P
--
Daniel P. Brown
Senior Unix Geek
--
PHP General Mailing List (ht
On Fri, February 8, 2008 9:14 am, tedd wrote:
> From a variable with the name of $this_variable -- how do I get a
> string 'this_variable' ?
You don't...
Consider this:
function foo($bar){
//what would your function output?
}
$baz = 3;
foo($baz);
--
Some people have a "gift" link here.
Kno
The first possible issue is that the "newline" character[s] is
different for Mac, Windows, and Linux...
So if your file is one format, and fgets is expecting the other, it
won't do what you want.
The next is that if your code is wrong, and is showing it all as one
line, it PROBABLY means you are
--- Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Feb 8, 2008 12:11 PM, Pastor Steve <[EMAIL PROTECTED]>
> wrote:
> > I think I may have written the question wrong. I only want to
> display the
> > first line. It is a news story with a headline. I only want to
> display the
> > headline in the lin
On Feb 8, 2008 12:19 PM, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> 2008. 02. 8, péntek keltezéssel 12.17-kor Daniel Brown ezt írta:
> > On Feb 8, 2008 12:11 PM, Pastor Steve <[EMAIL PROTECTED]> wrote:
> > > I think I may have written the question wrong. I only want to display the
> > > first line.
2008. 02. 8, péntek keltezéssel 12.17-kor Daniel Brown ezt írta:
> On Feb 8, 2008 12:11 PM, Pastor Steve <[EMAIL PROTECTED]> wrote:
> > I think I may have written the question wrong. I only want to display the
> > first line. It is a news story with a headline. I only want to display the
> > headli
2008. 02. 8, péntek keltezéssel 11.11-kor Pastor Steve ezt írta:
> I think I may have written the question wrong. I only want to display
> the first line. It is a news story with a headline. I only want to
> display the headline in the link.
>
> The output I want is:
>
> The
>
> But I am getting
On Feb 8, 2008 12:11 PM, Pastor Steve <[EMAIL PROTECTED]> wrote:
> I think I may have written the question wrong. I only want to display the
> first line. It is a news story with a headline. I only want to display the
> headline in the link.
>
> The output I want is:
>
> The
>
> But I am getting:
>
I think I may have written the question wrong. I only want to display the
first line. It is a news story with a headline. I only want to display the
headline in the link.
The output I want is:
The
But I am getting:
The file looks like this.
Does that make more sense?
Thanks,
--
Steve M.
on
2008. 02. 8, péntek keltezéssel 10.54-kor Pastor Steve ezt írta:
> Is it possible to read each line of data from a file?
>
> I have a text file that has several lines on it. I only want to display the
> first line only.
>
> The
> file I have
> looks like this.
>
> But outputs:
>
> "The file I
Is it possible to read each line of data from a file?
I have a text file that has several lines on it. I only want to display the
first line only.
The
file I have
looks like this.
But outputs:
"The file I have looks like this."
Here is my code:
Breaking News
Please che
Hiep Nguyen wrote:
> let say that user searched and found 10 records,
> in the meantime, other users may change any of these 10 records,
> so if we saved mysql statement and re-run mysql statement again, the
> result might be different. to prevent this problem, i only want to
> download records t
On Fri, 8 Feb 2008, Jason Pruim wrote:
On Feb 8, 2008, at 10:14 AM, Hiep Nguyen wrote:
On Fri, 8 Feb 2008, Per Jessen wrote:
Hiep Nguyen wrote:
is there anyway to generate this into xls file w/o using fopen &
fwrite to the server? my goal is to have a link after the table and
user can c
On Feb 8, 2008 10:14 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
>
> On Fri, 8 Feb 2008, Per Jessen wrote:
>
> > Hiep Nguyen wrote:
> >
> >> is there anyway to generate this into xls file w/o using fopen &
> >> fwrite to the server? my goal is to have a link after the table and
> >> user can click
tedd wrote:
Hi gang:
From a variable with the name of $this_variable -- how do I get a
string 'this_variable' ?
Cheers,
tedd
At some point or the other you will have to define $this_variable as
$this_variable, so at that point you will have access to the string
'this_variable'. Even if yo
On Feb 8, 2008 10:25 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Feb 8, 2008, at 10:14 AM, tedd wrote:
>
> > Hi gang:
> >
> > From a variable with the name of $this_variable -- how do I get a
> > string 'this_variable' ?
>
>
> Hey tedd,
>
> What is the end result you want? for debugging and c
On Feb 8, 2008, at 10:14 AM, tedd wrote:
Hi gang:
From a variable with the name of $this_variable -- how do I get a
string 'this_variable' ?
Hey tedd,
What is the end result you want? for debugging and checking variable
contents, I've simply: echo "this_variable = $this_variable";
Bu
On Feb 8, 2008, at 10:14 AM, Hiep Nguyen wrote:
On Fri, 8 Feb 2008, Per Jessen wrote:
Hiep Nguyen wrote:
is there anyway to generate this into xls file w/o using fopen &
fwrite to the server? my goal is to have a link after the table and
user can click on that link and a save window pop u
On Feb 8, 2008 10:14 AM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> From a variable with the name of $this_variable -- how do I get a
> string 'this_variable' ?
>
> Cheers,
>
> tedd
> --
> ---
> http://sperling.com http://ancientstones.com http://earthstones.com
>
> --
> PHP General Mail
Hi gang:
From a variable with the name of $this_variable -- how do I get a
string 'this_variable' ?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
On Fri, 8 Feb 2008, Per Jessen wrote:
Hiep Nguyen wrote:
is there anyway to generate this into xls file w/o using fopen &
fwrite to the server? my goal is to have a link after the table and
user can click on that link and a save window pop up to allow user to
save to local disk.
Yes - have
On Feb 8, 2008 8:41 AM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
> hi friends,
>
> i have a php page with the following logic:
>
>
>
> Download
>
>
>Title>Author
> null"; ?>
>
>
Hiep,
You should also put all of the code you can into one block. Each
time you it will tak
Hiep Nguyen wrote:
hi friends,
i have a php page with the following logic:
Download
Title>Author
author != null"; ?>
Download Into Excel File
is there anyway to generate this into xls file w/o using fopen &
fwrite to the server? my goal is to have a link after the t
2008. 02. 8, péntek keltezéssel 11.38-kor Manuel Lemos ezt írta:
> Hello,
>
> on 02/08/2008 06:15 AM Zoltán Németh said the following:
> >> Another aspect is that Metastorage features what is called report
> >> classes. These are classes that perform queries that you define and
> >> generates SQL
Hiep Nguyen wrote:
> is there anyway to generate this into xls file w/o using fopen &
> fwrite to the server? my goal is to have a link after the table and
> user can click on that link and a save window pop up to allow user to
> save to local disk.
Yes - have a link like this:
Get XLS file
in
hi friends,
i have a php page with the following logic:
Download
Title>Author
Download Into Excel File
is there anyway to generate this into xls file w/o using fopen & fwrite to
the server? my goal is to have a link after the table and user can click
on that link an
Hello,
on 02/08/2008 06:15 AM Zoltán Németh said the following:
>> Another aspect is that Metastorage features what is called report
>> classes. These are classes that perform queries that you define and
>> generates SQL and PHP at compile time to retrieve data from the
>> persistent objects for r
Daniel Brown schreef:
On Feb 7, 2008 7:10 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
McNaught, Scott schreef:
. Get profile results for novices without having to mess around
installing php binaries such as APD / zend debugger etc
I suppose that includes xdebug?
If xdebug works as
> accept the fact that it may get pirated.
It may do. But there's nothing wrong with making it as hard as possible
to do so. Most people have better things to do than try to reverse
engineer a piece of code.
Consider:
1. People who buy code will generally do so to solve a problem that they
2008. 02. 7, csütörtök keltezéssel 13.15-kor Manuel Lemos ezt írta:
> Hello
>
> on 02/07/2008 07:26 AM Zoltán Németh said the following:
> >>> When creating a LAMP app, I always start by writing ORM myself.
> >>> It's fun but it usually takes a long time.
> >>> Besides, that always results in a t
Casey wrote:
>
> Why not just translate it to C#?
Personally I'd just go for C - that way I can just distribute a binary
and be done with it. No runtime, no JVM, no mono etc.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Greg Donald wrote:
> Deductive reasoning leads to two possible options:
>
> 1) Don't give the code to anyone.
> 2) Give the code to the client and accept the fact that it may get
> pirated.
Yep, that's all there is to it.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
73 matches
Mail list logo