d searching for 'javascript reference' - you will
likely find the results handy.
HTH
Jason Soza
-Original Message-
From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 18, 2002 1:44 AM
To: Justin French
Cc: [EMAIL PROTECTED]
Subject: Re[2]: [PHP] pop-up
Hello
contents of the text file echo correctly before the preg_match, but the
preg_match I've tried:
preg_match("!]+>(.*)!", $contents,
$story);
Returns array(), so no matches are made. Any suggestions?
TIA,
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsub
Worked on this a bit tonight, thought it might help someone out there! I
looked at the bottomw of phpclasses.org at what they'd done to obfuscate
their e-mail address using JavaScript. While theirs is much more complex, I
couldn't figure a way to do it their way when you don't know the exact
user@
y, I just noticed what the difference is with those last three -
their lines don't break in the source. The other lines have breaks, so the
land on the following line. Is there anything I can do to have
preg_match_all 'connect' the lines?
Any help would be great. Thanks!
Jason So
Maybe opendir() and readdir() would work for you?
opendir():
http://www.php.net/manual/en/function.opendir.php
readdir():
http://www.php.net/manual/en/function.readdir.php
Jason Soza
- Original Message -
From: "Paul Oh" <[EMAIL PROTECTED]>
Date: Tuesday, July 23, 2002
the
first time".
The manual entries for preg_match and preg_match_all pretty much assume you
have a working knowledge of reg expressions, which I don't, and a google
search turned up a bunch of pages, none of which I could understand enough
to be of help. So, any pointers would be appreciated.
st what I intend for it
to do, is grab everything between mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 10:16 PM
To: 'Jason Soza'; David Robley; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Using fopen()/fread()/fscanf()
I'm thinking that you need to remove the:
$contents = fread($
nfo on this, I tried
replacing fscanf($filename,...) with fscanf($contents,...) and got the same
result.
Thanks,
Jason Soza
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 8:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Using fopen()/fread()/f
y ideas? Any other functions I could try instead of fscanf()?
TIA,
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
) {
if (isset($array)) {
$a++;
print $array[$a] . "";
}
}
}
print "";
-Original Message-
From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 3:05 PM
To: 'Jason
ific date.
I'm hoping the code I posted will create something like:
1941
1942
1943
...
Make sense?
Jason Soza
- Original Message -
From: "Lazor, Ed" <[EMAIL PROTECTED]>
Date: Thursday, July 11, 2002 2:08 pm
Subject: RE: [PHP] Re
echo ""\n; //close secondary table at
10 cells
}
echo "\n"; //close main row/cell
}
echo "\n"; //close main table
Jason Soza
- Original Message -
From: "Michael Davey" <[EMAIL PROTECTED]>
Date: Thursday, July 11,
This is exactly what I was looking for. Now I wish I could just leave
work now to test it out!
Thanks everyone for your help on this, very appreciated!
Jason Soza
- Original Message -
From: "Chris Boget" <[EMAIL PROTECTED]>
Date: Thursday, July 11, 2002 9:05 am
S
print "\n"; //end table on $i = 5
}
$i+5;
$grad_year=""; //clear $grad_year
}
if ($i<5) print "\n"; //end any rows with less than 5 columns
Jason Soza
- Original Message -
From: Justin French <[EMAIL PROTECTED]>
Date: Thur
22 77 19 98
http://www.online.no/abuse (Norwegian only)
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 4 5
6 7 8 9 10
11 12 13 14 15
I want this:
1 6 11
2 7 12
3 8 13
4 9 14
5 10 15
Thanks again for the help, though.
Jason Soza
-Original Message-
From: Analysis & Solutions [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 10:13 PM
To: PHP List
Subject: R
int, but I just can't think it out. I'm guessing $i would be used to
limit the amount of items in a column... But, I'm in need of some guidance
to get it right. I can't even begin to think where to start. Any help would
be great - thanks!
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
properly dealt with by his ISP. Thanks,
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ge mailing list so no doubt thousands of people are
beginning to get quite annoyed with Mr. Hegreberg. If there's anything
you can do to assure that he won't continue doing this, it would be
much appreciated.
e's a Norwegian
translation somewhere.
Jason Soza
- Original Message -
From: "Daniel Negron/KBE" <[EMAIL PROTECTED]>
Date: Tuesday, Jul
Häkkinen, Mika
"
And there is no other commas in the list, you can do it something like
this:
I think that'll do. I didn't test it thou.. :)
Niklas
-Original Message-
From: Jason Soza [mailto:[EMAIL PROTECTED]]
Sent: 27. kesäkuuta 2002 7:42
To: PHP-General Mailing Lis
mple. But I'm stuck on what to use to actually
separate and rewrite each $name. I'm assuming I'll have to create a while()
or for() loop and use a regular expression for this? I'm not sure where to
look. Any help would be great - just so I won't have to go in and manuall
I think what you're looking for is number_format() - you can set decimal
places with it and used in combo with round(), ceil(), and/or floor(), you
should be able to achieved the desired result.
http://www.php.net/manual/en/function.number-format.php
HTH,
Jason Soza
-Original Me
To be honest, I didn't know I could format the date within my query.
For some reason, I was under the assumption that since dates go into
MySQL in a specific format, that's how they came out.
Anyway, thanks for pointing this out to me! Very helpful.
Jason Soza
- Origin
P Warning: strtotime() called with
empty time parameter in test.php on line 19
Line 19 is the 'return' line in the function. I do not get this error in my
successful application of this code.
Any ideas? Thanks in advance...
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Figured it was something simple. Part of the learning process, I suppose.
Thanks for the help!
Jason Soza
-Original Message-
From: Dan Koken [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 15, 2002 11:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Code Structure/Errors
Can simply set
}
...
if ($i=="5") {
print "\n";
$i=0;
}
}
Thanks!
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sn't a new idea, but I'm assuming it's more secure than
just keeping a mailto:[EMAIL PROTECTED] link around.
Thanks,
Jason Soza
- Original Message -
From: Stuart Dallas <[EMAIL PROTECTED]>
Date: Thursday, June 13, 2002 9:23 am
Subject: Re: [PHP] Spam Bots/E-mail Ad
to combat this? Any PHP scripts, classes, functions
that can 'hide' e-mail addresses? The site I'll be building needs to
have the e-mail addresses available, but I don't want to subject users
to more spam than they probably already get.
Jason Soza
--
PHP General Ma
want the "id" variable in your if(), you need:
if($HTTP_GET_VARS["id"]) {}
Or alternately do:
$id = $HTTP_GET_VARS["id"]
if($id) {}
Although that's not necessary. Also, try using $_GET["id"], as
$HTTP_GET_VARS[] has been deprecated in newer versions.
H
the
pathnames were invalid.
I'm using Win32, PHP v4.1.2 as a module (not CGI), Apache 1.3.something.
Jason Soza
- Original Message -
From: "Bill Hudspeth" <[EMAIL PROTECTED]>
Date: Monday, June 10, 2002 2:16 pm
Subject: [PHP] self processing forms
> I am using the
is www.miatapix.net - I have it showing as working fine on my side,
someone else want to take a look at it and see what they get? And any help
for this? It's hard to troubleshoot things when results aren't immediately
available.
Thanks in advance,
Jason Soza
--
PHP General Ma
ch gives me "server not
found") and the actual hostname of my computer, which gives me the access
denied.
The weird thing is, this works with -just- mysql_connect(), and the
user/pass combos I'm using I use just fine to maintain and update the
database, i.e. these are known good user/pa
Couldn't you also do:
Link
I think you can subsitute "Resource Window" for "_blank" and get the
same effect.
HTH
Jason Soza
- Original Message -
From: Martin Towell <[EMAIL PROTECTED]>
Date: Tuesday, June 4, 2002 3:55 pm
Subject: RE: [PHP] Creating pop
sfully been
entered into the database!";
}
HTH,
Jason Soza
- Original Message -
From: Jule Slootbeek <[EMAIL PROTECTED]>
Date: Monday, June 3, 2002 2:09 pm
Subject: stupid error, please kick me (and send me a solution)
> Hey guys,
> i'm getting this error wit
I don't know if it's possible (or faster, or more efficient), but could
you query your millions of records for those 3k - 5k, insert them into
a temp table, then do your LIMIT queries on that table for your
prev/next pages?
Just an idea!
Jason Soza
Juneau, Alaska
- Origin
x27;s any easier way to do this that I'm overlooking. I'm thinking
doing some kind of image overlay is the way to go, but not sure. Any ideas
or pointers would be great, links to sample scripts would be excellent.
Thanks!
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well it just keeps getting better. I hit reply-to and the response went
here.
I apologize for this and my earlier off-topic post. I made a blatant mistake
in judgement.
Jason Soza
-Original Message-
From: Jason Soza [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 9:21 PM
To
o:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 8:48 PM
To: Jason Soza
Subject: Re: [PHP] Quick query question
On Thursday 23 May 2002 12:07, you wrote:
> I'm sorry.
>
> I'm used to other lists where occasional off-topic posts are tolerated a
> little more. Didn't
iling list for one question. Please reply
offlist. Thanks in advance.
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing could be used here, I just
didn't explain it. Seems that someone else came up with a simpler
solution anyhow!
Thanks for pointing out my idea's flaws... I'm a little biased, so I
don't always see them myself.
Jason Soza
- Original Message -
From: Miguel Cruz <[EM
e3, inside each one, store their vote choice, their IP, and a
timestamp.
I don't know, I'm not an expert! Just throwing out ideas.
Jason Soza
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
Date: Wednesday, May 22, 2002 5:46 am
Subject: Re:
Thanks for the help! I spent more time looking at IFNULL() when I should've
just been looking at IF(). Thanks again, sorry for the off-topic!
Jason Soza
-Original Message-
From: Dan Koken [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 18, 2002 11:16 AM
To: [EMAIL PROTECTED]
Su
to PHP?
Or can I use some PHP function to sort $result to place all NULL values
last? I'd check the PHP manual, but it seems to not be responding well at
the moment.
Thanks,
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- not cool,
so I added $p into the loop, but started it at 1 so I'd have a variable to
use for correct page numbers.
Oh and I had to change $i<=$num_pages to just $i<$num_pages because with
$i=0, I was getting an extra iteration. What a learning experience!
Thanks again,
Jason Soza
---
Friday, May 17, 2002 8:30 PM
To: Jason Soza; PHP General
Subject: Re: [PHP] Feelin' dumb...
That means $num_pages is equal to 2 so yes the if statement is true and it
goes onto the the for loop. Now where you are having problems is on the
second expression in the for loop.. This expression i
al Message-----
From: Jason Soza [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 8:24 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Feelin' dumb...
When I use that, here:
if ($num_pages >= 2) {
for ($i=1; $i<=$num_pages; $i+=20) {
-
From: Tom Rogers [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 7:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Feelin' dumb...
Hi
What you need is
for ($i=1; $i<=$num_pages; $i+=20) {
// print stuff here
}
Tom
At 01:19 PM 18/05/2002, Jason Soza wrote:
>Okay, I'm
ut $page = and put in $i where $page is
in the printf() statement, I get the extra iteration again. Any ideas?
-Original Message-
From: Craig Vincent [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 7:56 PM
To: Jason Soza; [EMAIL PROTECTED]
Subject: RE: [PHP] Feelin' dumb...
-
From: Craig Vincent [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 7:36 PM
To: Jason Soza; [EMAIL PROTECTED]
Subject: RE: [PHP] Feelin' dumb...
> For each loop, I want to add 20 to $i, so after the first
> iteration, I have
> 21, then 41, 61, etc. I've tried $i+20, $i + 20,
.. Then it times out.
-Original Message-
From: Richard Baskett [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 7:15 PM
To: Jason Soza; PHP General
Subject: Re: [PHP] Feelin' dumb...
Hmm... Wouldn¹t you just do this?:
for ($i=1; $i<=$num_pages; $i+20) {
// print stuff here
+20, $i + 20, I've tried looking in the
manual, but I assume this is some C-type function, and I'm not familiar with
C!
Any helpers?
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
start("ob_gzhandler") would compress the output, then
ob_implicit_flush() would display that compressed output at each call?
Either way, is there any way to tell if my output is really being
compressed by ob_gzhandler?
Jason Soza
- Original Message -
From: Miguel Cruz <[EMAIL PROTEC
doing something wrong? Shouldn't the ob_start() by itself just
load all output into a buffer and not display it until I call ob_flush
()? And how would I know if ob_gzhandler works? I'm running PHP and
Apache on Windoze, PHP is version 4.2.0 I think, Apache is
1.3.something.
TIA
Jaso
=red&i=25
Then have a $_GET['i'] variable in my script and set $i equal to that?
Your help is appreciated. Thanks again.
Jason Soza
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
Date: Thursday, May 16, 2002 10:53 am
Subject: Re: [PHP] Making Mul
to use some kind of row count language in the
script, i.e. first count how many rows are in the MySQL table, if it's
less than 25, just display them all. If there's more than 25, display
only 1 - 25, then create a link to view 26 - 50, etc.
Is that what I need to be looking into? Any
e a good
programming job. Maybe they do anyway, but as it is, they find a hobby
in 'exposing security flaws' in other's programs.
Jason Soza
- Original Message -
From: "Collins, Robert" <[EMAIL PROTECTED]>
Date: Monday, May 13, 2002 2:06 pm
Subject: RE: [PHP]
t around even the biggest doors with the
biggest locks. Look at all the bank robberies that have taken place
over the past century.
I guess the bottom line, you can do what you want with your code, but
that doesn't make it hack-proof (or anti-distributable!).
Jason Soza
- Original Me
Use opendir(), readdir(), and closedir() -
http://www.php.net/manual/en/function.opendir.php
HTH,
Jason Soza
- Original Message -
From: "Ashley M. Kirchner" <[EMAIL PROTECTED]>
Date: Monday, May 13, 2002 9:50 am
Subject: [PHP] Reading dir contents...
>
>
cause I was lazy and using PHP to do this for me seemed to be the easier
choice. It's not, and doing it that way is far from efficient.
HTH,
Jason Soza
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 12, 2002 1:26 PM
To: 'PHP-General'
Subjec
d it works now, but I'm a little confused as to why it
works.
Thanks again.
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 11:06 PM
To: Jason Soza
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Variable Prob
It would seem the only way this cou
s up has a NULL value for the last name, but
rather than printing $first_name's it prints $first_name $last_name using
the last name of the previous record!
Am I missing something there? Do I need to clear out a variable somewhere?
It seems like since $last_name isn't even called in
efficient and would I be able to use PHP
effectively to retrieve all that information and display it correctly?
Has anyone out there done a similar project? If so, what was your
approach? Thanks in advance,
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
ur code into my script w/o querying again?
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 8:59 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Date Q
On Friday 10 May 2002 13:02, Jason Soza wrote:
> If I have a MySQL field full of dates and othe
section that
describes this, that'd be great. Thanks!
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
server...' page. If I can remember this
correctly, it just went directly to a white screen, as if there were a
parse error involved. I checked the error logs and it said that the 8M
file limit was exceeded. But it did this without waiting for the entire
file to be uploaded first.
Jason Soza
?
I suppose the easiest way is to save/export the table as a tab-
delimited txt file, make my first/last name changes that way, change
the layout of the table, then update the table using the new txt file?
Sorry for the newbie (and MySQL) questions - I'm not a programmer or DB
admin by tr
nds after
the space and put it into an array, then have some if/else statement to
deal with the lack of a space or the presence of multiple spaces, then
use sort() on that array.
Just looking for some guidance, maybe a specific function or bit of
code. Anything that'd help. Or if this wou
I think it's because you need an absolute URL in there as opposed to
the relative one you're using, i.e. "Location:
http://www.example.com/menu?pg=news";
Try that, and try looking here:
http://www.php.net/manual/en/function.header.php
HTH,
Jason Soza
- Origina
Hoping someone can help me here. I'm working with someone else's code and
I'm not familiar with ereg_replace(), can someone provide me an alternative
to the following?
ereg_replace("[^a-z0-9._]", "",
ereg_replace (" ", "_",
ereg_replace("%20", "_",
strtolower($original_name;
Basically, I wan
Yeah, I think I'd rather fix the errors rather than just not see them.
I'd still know they were there and it'd bug me!
Thanks everyone for your help!
Jason Soza
- Original Message -
From: "Nathan" <[EMAIL PROTECTED]>
Date: Thursday, April 25, 2002 9
d 0. Correct? Then I can use if($id)
statements later on without having PHP return "Undefined Variable"
errors. Right?
Thanks for your help, I'll work on my PHP listetiquette.
Jason Soza
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
Dat
ppreciated!
Jason
-Original Message-----
From: Jason Soza [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 7:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Parse Error - Help?
Found it - just added another curly brace to the end of the code and it
worked, so I searched up from there
f ( $found ) {
echo ""
. $message["invext"]."";
$rc = 2;
}
This function should have another curly brace at the end. Aha! Thanks for
your help!
Jason
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April
ason for it. All of my ifs and functions are
closed as far as I see. I guess I'm just looking for an unbiased eye here,
I've been staring at this for a couple hours now. If you have comments on to
how I could simplify this code, that'd be great too. Otherwise, I just need
it to ge
I do this without writing separate filename, extension, existing, and
uploading scripts? Can someone point me in the right direction here?
Thanks,
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;userfile1']['name'];
that gets uploaded needs to 1) have the filename modified:
Jason Soza
'98 Black Grand Cherokee "IAMB4U"
'92 Classic Red Miata "IMB4U2"
Juneau, Alaska
http://www.phrog-net.com/miata/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I actually need to apologize for this post. Wasn't intended for this
list. If you do feel like responding, please offlist.
Sorry,
Jason Soza
- Original Message -
From: Erik Price <[EMAIL PROTECTED]>
Date: Tuesday, April 23, 2002 1:49 pm
Subject: Re: [PHP] Question for
aning toward Debian or SuSe. If you have other suggestions or
whatever, please share. Remember, NO HOLY WARS! Offlist is okay if you
think your comments might spark something. :)
Thanks in advance,
Jason Soza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ere I wanted
it. Once it did what I wanted, I copied it into my working script.
Sometimes it works to just start over with something simpler, then work
your way back up.
HTH,
Jason Soza
- Original Message -
From: "Jennifer Downey" <[EMAIL PROTECTED]>
Date: Tuesday, Ap
s and upload the files to an
incoming directory with a timestamp prefix, so I can match the e-mails
with the uploads. This should be a fairly straightforward task, correct?
Jason Soza
- Original Message -
From: Jason Wong <[EMAIL PROTECTED]>
Date: Monday, April 22, 2002 0:54 am
lse {
echo ""
. $message["incomplete"]."";
}
Now why would this work but the e-mail scripts not?
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 21, 2002 10:13 AM
To: [EMAIL PROTECTED
= "base64";
}
if (!$hasBody) {
$$msg->data("This is a MIME message with attachments");
}
my $m = $$msg->attach(%$data);
$m->attr("content-type" => $mime_t
They actually vary as to where they become truncated - some are at 633
bytes, some are at 1kb. The odd thing is that the PHP script I'm using to
process the form actually pics up the correct filesize, it reports it to me
under a $filesize variable I've setup. It'll report, say file2_filesize...:
6
other ideas or places I could check?
Thanks again.
Jason
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 8:36 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Attachments
On Saturday 20 April 2002 12:29, Jason Soza wrote:
> Using both Perl and
I apologize in advance, this question most likely doesn't belong here, but
if anyone can help that'd be great:
Using both Perl and PHP to send mail with attachments from forms, the
attachments get truncated. Since both Perl scripts and PHP scripts do this,
I'm ruling out coding error, and since m
I don't have the code I used right in front of me, so I'm sorry that I
can't give specifics, but maybe someone may have an idea about this off
the top of their head.
I have a script that processes a form on my site where people can
submit information and upload files. The files don't upload to
ader("A") } into any of my scripts, nor was I ever planning on it! :)
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 10:13 PM
To: 'Jason Soza'; [EMAIL PROTECTED]
Subject: RE: [PHP] Nasty DoS in PHP
> Mine produced t
Mine produced the same error message as yours, Jason, but the memory and CPU
usage continued until I hit the 'stop' button on the browser. It seemed to
have overridden both time and memory limits, as it had racked up 320 megs of
my RAM by the time I stopped it.
Jason
-Original Message-
F
limits, that would sure
appear to be a PHP bug. (FWIW, I can't find an existing bug report about
this behavior at bugs.php.net. Perhaps you and the OP could run backtraces
and open a new bug report?)
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jason Soza) wrote:
> It shows the
It shows the memory and CPU time being used by apache. I have PHP
installed as a module, that may be why. (?)
Jason Soza
- Original Message -
From: Martin Towell <[EMAIL PROTECTED]>
Date: Wednesday, April 17, 2002 6:37 pm
Subject: RE: [PHP] Nasty DoS in PHP
> Is that memory u
hink so. A bug? Possibly. Bad coding? Yep. :)
Jason Soza
- Original Message -
From: CC Zona <[EMAIL PROTECTED]>
Date: Wednesday, April 17, 2002 6:21 pm
Subject: Re: [PHP] Nasty DoS in PHP
> In article <p05100304b8e3cee5ab0c@[210.49.237.250]>,
> [EMAIL PROTECTED] (Richar
How would I have a script display results in a table, but make it so
that once 3 or 4 results are displayed in one table row, a new table
row would be started?
Right now I have something like:
printf("",$pic1);
And all the records for $pic1 come out into a single column which, if I
had many r
ent: Tuesday, April 16, 2002 9:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Displaying Results
On Wednesday 17 April 2002 08:21, Jason Soza wrote:
> Sorry, I just noticed that the count() function will do at least the
> first part of my question, i.e. SELECT year, COUNT(*) FROM cars GROUP
ery gets replaced by what comes after
the ? in script.php?year=1991 ?
Thanks in advance
Jason
- Original Message -
From: Jason Soza <[EMAIL PROTECTED]>
Date: Tuesday, April 16, 2002 2:49 pm
Subject: [PHP] Displaying Results
> Suppose I want a script that goes into a table, loo
Suppose I want a script that goes into a table, looks up all records in
a given field, and groups and displays the results like so:
match1 (1)
match2 (5)
match3 (6)
So basically it looked at the field 'matches' and found a total of 12
records, 1 record for match1, 5 records for match2, and 6 re
Hey... new to the list, but didn't have time to lurk and watch the traffic,
kind of in a bind here. I apologize in advance if I do something wrong...
Using this code:
generation;
$year = $row->year;
$owner = $row->owner;
97 matches
Mail list logo