command rather
than getImageSize(), since it handles many more image types. Depending
on what you need you may find the -verbose option helpful, as it gives
tons of information, but is slow...
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ
have a bunch of
scripts in a lib/ directory, they can't include each other without
taking into account the path from the calling script... Thus why I try
to define INC_DIR as early as possible if it's relative.
Hope this helps...
--
Morgan Hughes
C programmer and highly
the regex
engine interprets it as a range. Escaping it may work too, but I've
never had trouble moving dashes to the last char in the range, so your
regex would look like this:
eregi(^([a-zedv_\. -]+)$,$value);
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL
if you just put in
www.domain.com
as part of converting it to
http://www.domain.com/
but for subdirectories there is often a redirect.
hope this helps!
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing
! ^_^
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, then convert back to PDF. The utilities I'm
thinking of are ps2pdf and pdf2ps, which seem to be part of the
Ghostscript package and ship with most Linux distros...
Hoep this helps!
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP
(%c, $stat[9]);
print Last update: $date;
?
Which will be automatically updated...
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
is useful...
$text = addcslashes(substr($string, 0, 1024), \\\'\0..\37\177..\377);
$size = strlen(preg_replace('/[^]/', '', $text));
if ($size 200)
print mostly text, use addslashes;
else
print mostly binary, use base64_encode;
--
Morgan Hughes
C programmer and highly
unless the response
from the server is ICY/1.0 200 OK rather than the HTTP 200 OK... As
far as I can tell after checking the SAPI source and asking here, it's
not possible to override that.
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ
)
$dprint_file = fopen(/tmp/mp3.log, a);
fprintf ($dprint_file, %s, $msg);
}
Good luck, and if anyone makes something useful out of this, I'd like to
hear about it!
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General
count() should do the trick.
if ( !sizeof($keywords) )
print keywords is empty;
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ImageCreate() produces 8-bit
indexed-color images... If that function doesn't exist, you're using a
pre-2.x GD, and those can't do 24-bit images at all...
Good luck!
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing
be widespread
with ISPs until it's sorted out and stable... So you'll have to wait,
or look into something like ImageMagick.
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
3 * * * sh ~/db_backup
#
# Version : 1.00
# Author : Morgan Hughes ([EMAIL PROTECTED])
# License : Copyright (C) 2002, Morgan Hughes. Use freely.
# Account/password/email info
db_list=your_database
db_user=your_username
db_pass=your_password
email=your_email_addy
# program locations
mysqldump
a back-end script that actually does the work. I've used this
effectively, and so long as the back-end script is properly written I
believe it's a very secure method.
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General
()...
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
them in to get them white.
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and instead send ICY 200
OK, to fool the player into thinking it's listening to a ShoutCast
server...
Does anyone know how to do this? The docs on header() don't mention it,
nor do the user notes... Any ideas? Thanks!
--
Morgan Hughes
C programmer and highly caffeinated mammal
... ^_^
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
19 matches
Mail list logo