ib/ 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 caffeinated mammal.
[EMAIL PROTECT
#x27;d consider using ImageMagick's identify 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
manipulate, 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]
IC
ion, but I sure admire the
problem! ^_^
--
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
sers seem to automatically add a slash 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]
es, a dash has to come last, otherwise 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
TML page? Etc...
> If you want "website last updated" then from a database sounds OK but
> where I'm working its commonly a "page last updated" wanted. In this
> case its just a manually entered date in html in the page.
Or use stat() to get the page's mtim
roach 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 bina
l $dprint_file;
if (!$dprint_file)
$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 ca
, however it appears winamp ignores this data 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
pparently is an alias to count(), and it works
fine, so 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:/
pecific patches, so GD 2 support probably won't 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:
f it's to do with the gd library installed.
Try it with ImageCreateTruecolor(), since 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 Hug
ntry like:
# 0 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
while writing, use
fflush()...
--
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
it wrap 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
ly
become that color.
When you use imagecreatetruecolor(), it sets all the pixels to black,
and you have to explicitly draw them in to get them white.
--
Morgan Hughes
C programmer and highly caffeinated mammal.
[EMAIL PROTECTED]
ICQ: 79293356
--
PHP General Mailing List (htt
secs %= 3600;
$mins = $secs / 60;
$mins %= 60;
$out = sprintf ("%d hour%s, %d minute%s, %d second%s",
$hours, ($hours == 1 ? '' : 's'),
$mins, ($mins == 1 ? '' : 's'),
$secs, ($secs == 1 ? ''
e heavy
lifting for me... ^_^
--
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
header sent by PHP/Apache 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
20 matches
Mail list logo