( $date_result)) {
array_push($dates, $row[date]);
}
return $dates;
-
Pekka Saarinen
http://photography-on-the.net
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
likely have
hue shifts if channels don't clip 'equally'.
-
Pekka Saarinen
http://photography-on-the.net
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a very odd problem with PHP 4.22 (no acceleration) and Apache 1.3:
Getimagesize fails to see an image from URL randomly (1 out of 8 tries),
although the image is definitely there (trust me) and the server is under
zero load.
I tried also urlExists() from
);
This way users don't have to select from two source versions, one PHP
4.1.0 and one 4.1.0.
-
Pekka Saarinen
http://photography-on-the.net
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
, many (well configured) servers do not
send when there is no live account for that sender.
-
Pekka Saarinen
http://photography-on-the.net
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
\;);
$j++;
}
-
Pekka Saarinen
http://photography-on-the.net
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= $stop - $start;
print brarray_push time was: . $diff2 . s;
?
-
Pekka Saarinen
http://photography-on-the.net
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. The talk Mac is 72 and PC
is 96 has no meaning because screen dpi changes with resolution and
monitor image size adjustments.
-
Pekka Saarinen
http://photography-on-the.net
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
At 7/7/2002, you wrote:
Is there any way of doing this so within a single page?
Can this be done using only PHP or do I need to use Javascripts?
Where would I be able to find examples of code which does this sort of
processing?
Hi,
I would do it in PHP, because you can never ever rely on
:)
Pekka
-
Pekka Saarinen
http://photography-on-the.net
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 7/6/2002, you wrote:
SORT BY and ORDER by
I mean LIMIT and ORDER BY of course
Time for some more coffee.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
update the software _before_ changes in PHP happen.
Pekka
http://photography-on-the.net/
-
Pekka Saarinen
http://photography-on-the.net
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 6/21/2002, you wrote:
PS What about execution time in ms (with breakpoints)?
PS And is there way to measure MySQL query speed in ms?
u can use microtime function
function getMicrotime()
{
list($usec, $sec) = explode( ,microtime());
return ((float)$usec +
Hi,
Is there any way to determine script's memory usage?
What about execution time in ms (with breakpoints)?
And is there way to measure MySQL query speed in ms?
Thanks
Pekka
http://photography-on-the.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Which gives out the output:
Tesing arrays:
ryan1,
ryan1.2,
ryan2,
ryan2.1.1.1.1.1,
ryan3,
ryan3.2,
my question/problem is simply this: how do i stop the last comma from
coming?
Hi,
See http://www.php.net/manual/en/function.implode.php
Pekka
http://photography-on-the.net/
--
PHP General
At 4/30/2002, you wrote:
Any one know how to display, go to page number on a record list page
eg
Prev 1|2|3|4|5|6... Next
Here's a very simplified demo of dropdown+arrows paging code I did for my
gallery software.
It might not be the most clever code around, but it works, and scales well.
At 4/30/2002, you wrote:
At 4/30/2002, you wrote:
Any one know how to display, go to page number on a record list page
eg
Prev 1|2|3|4|5|6... Next
Here's a very simplified demo of dropdown+arrows paging code I did for my
gallery software.
It might not be the most clever code around, but
Hi,
Make an array $arr of all the states and loop
$state = AR;
$arr = array();
array_push($arr, AL, AR, AZ);
foreach ($arr as $key = $value)
{
if ($state == $value){
include(Calc$value.class.inc);
}
}
Cheers,
Pekka
http://photography-on-the.net/
At 4/27/2002, you wrote:
Hi,
I've
$PHP_SELF replaced
with $_SERVER['PHP_SELF'] when executed in 4.2 or newer?
This way I would avoid putting out separate versions for PHP 4.2 or newer.
Thanks,
Pekka
http://photography-on-the.net/ee/
-
Pekka Saarinen
http://photography-on-the.net
-
Hi,
Do you have any good sites which list (and review) php applications?
I already know http://www.hotscripts.com/PHP/Scripts_and_Programs/ and
http://php.resourceindex.com (they update the content two moths late!).
Thanks,
Pekka
http://photography-on-the.net/ee/
--
PHP General Mailing
At 3/20/2002, you wrote:
$newstr = preg_replace('/\b(\S+@\S+)\b/',
'a href=mailto:\1;\1/a', $oldstr);
Take the time to learn Perl-style regular expressions. You can practically
write Photoshop with them.
miguel
Thanks! It seems to work fine.
If I had time I'd try to learn regexp, but first
Hi,
I need to search text for @ and replace the mail address around it (i.e.
text between previous and following spaces) so that if I have text
Foobar foobar [EMAIL PROTECTED] foobar foobar.
It'll convert it to
Foobar foobar a href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a foobar foobar.
At 3/19/2002, you wrote:
Hi,
I think the following lines could help you :
$line = Foobar foobar [EMAIL PROTECTED] foobar foobar;
list($var1,$var2,$var3,$var4,$var5) = explode( ,$line);
echo $var1 $var2 a href=mailto:$var3;$var3/a. .$var4. .$var5;
more or less... i am a newbie in this stuff...
print TABLE HEADER: ;
echo CheckTime($start, $end);
---
PS. Is there some other timer code available?
Thanks for any insight,
Pekka Saarinen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
24 matches
Mail list logo