flexible though, the Priorities, TTR limits,
tubes and optional delays make for a powerful set of tools within the
queue itself.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
], neither of which exist in the array.
Keep in mind $chance only has keys with string names:
http://uk3.php.net/current
$chance = array(lowercase = 27, uppercase = 62, integer = 46);
arsort($chance);
$lastItem = current($chance);
echo $lastItem\n\n; // 62
Alister
--
PHP General Mailing
and SM :)
Well, I found this entertaining. As for useful? I'll say no.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ORDER BY auto_id DESC;
Yep, thats pretty classic.
One thing I would do - assuming $newsId should always be an integer
$whereClause = '';
if (isset($_GET['id']) {
$newsId = intval($_GET['id']);
if ($newsId) // if not 0
$whereClause = 'WHERE auto_id ='.$newsId;
}
.
Alister
--
PHP General
On 15/04/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Sun, 2007-04-15 at 20:36 +0100, Alister Bulman wrote:
On 15/04/07, Zoltán Németh [EMAIL PROTECTED] wrote:
2007. 04. 15, vasárnap keltezéssel 21.20-kor Otto Wyss ezt írta:
I want to sort directories according there modification time
,
and not a person, I'd call them entirely 'clean' and obvious enough
for the task, though ultimately, it's about having a pretty URL, as
the program that reads it won't care what the extension is, if any,
and people won't be typing it in regularly anyway.
Alister
--
PHP General Mailing List (http
a
slashdotting, if it had to do a dozen big queries for every page
display. Meanwhile a Pentium3 with a decent network can serve
hundreds of requests a second of a few static pages.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
website to push it data
myself, and that saves a lot of time rather than waiting for a
connection to come back from fopen/fsockopen
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/filename.php';
from anywhere on the system. Until PEAR produces a module called
'MyCompany' (unlikely), it will live there entirely happily.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
better served with
something to actually speed your code, like APC
(http://pecl.php.net/apc) or Eaccellerator (http://eaccelerator.net/)
that is a compiled-code cache. And then learn how to write good code
as well.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
sites). How fast is the ilnk from the webserver? There's a lot
of good questions you can ask to figure it out.
For the first, you can trim the html and images you are sending, and
gzip the output (see mod_gzip or http://php.net/ob_gzhandler
Alister
--
PHP General Mailing List (http
();
}
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on Windows 2003 views the whole email
(ie the raw code - both the text only and the HTML) and when I sent an
email to his hotmail account, hotmail simply displayed a blank page.
Sorting out the MIME headers is not easy.
So user http://pear.php.net/package/Mail_Mime to do the hard work.
Alister
will also help, so the PHP
isn't being reparsed all the time as well.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 9 Sep 2003 15:35:48 -0500
Frank Miller [EMAIL PROTECTED] wrote:
Hello all,
I'm working on an entry page where I would like to show some of the
current headlines from technology websites. I've been following and
pretty much understand the article on devshed
it on
from there.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not there are configure time,
it won't even compile the 'mail' function.
I've had the same problem before - now that PHP can recognise it's got a
way to send email, re-running ./configure / make / make install should
work. It did for me.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
( CURRENT_DATE, INTERVAL 1 HOUR
)
2003-07-11 2003-07-11 22:02:022003-07-10 23:00:00
I think you'd want:
DATE_SUB( NOW( ) , INTERVAL 1 HOUR )
2003-07-11 21:02:02
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an entry
into the bug-tracker about it. http://bugs.php.net/bug.php?id=20959
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
classes in PEAR)
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
very simple configuration, they would
just all work together, and without having to write inside a particular
framework, like phpNuke or Horde.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and On in the .htaccess file.
php_flag register_globals On
Yes, you can do it.
Alister
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the start (or use for())
while ($i$loopcounter) {
$temp = size. $i; // $temp = 'size1', 'size2'...
$valueofsize = $$temp;
$i++; # untested code, should be OK though
}
No messing around with evals neccessary.
Alister
--
PHP General Mailing List (http
Follow up to my own message:
If you want to also skip even needing the empty 'array()' (new fianl
example) - check if it is an array, and only do the first extract of
the parameters if there's something there.
?php
function foo($p='')
{
$foodefault = array(
'foo_fred'=
not appear
to be able to (currently) EXTR_PREFIX_ALL _and_ EXTR_SKIP.
Alister
Please don't send the mailing lists and CC me -
getting two copies just bugs me.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
st used
to access the site?
Take a look at the output of phpinfo() for the two virtual sites,
especially
HTTP_SERVER_VARS["HTTP_HOST"]
HTTP_SERVER_VARS["SERVER_NAME"]
Server_name is likely to be the 'main name' (www.example.com), but
http_host should be the name it's called by (not a
26 matches
Mail list logo