[PHP] GD help

2003-01-13 Thread RClark
Does anyone know if there is a newsgroup for help with GD commands?

Thanks,
RC



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] readdir() output question

2002-12-13 Thread RClark
Hello all!

Ok, I have a readdir() reading pictures files from a directory. But now I
want to output them into a html table, say 5 across the top row, then 5 the
next row, etc. What I cant figure out is how to make this happen. Right now,
I am not reading the files into an array. Should I do this and then create a
while loop?

Thanks,
Ron Clark



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] include question

2002-12-12 Thread RClark
Hello all,

I am passing a variable like so:
a href=link.php?foo=bar.php

On the link.php page, I have this simple code:
?php
$job = $_GET['foo'];
echo $job;   // for error checking
include 'path/to/$job';
?

The 'echo $job;' statement works just fine, but the outbout for the
include statement looks like this:
bar.php
Warning: Failed opening 'scripts/$job' for inclusion
(include_path='.:/usr/local/lib/php') in /usr/local/www/data-dist/link.php
on line 142

Can I not use a $variable in an include 'something.php '; statement?

Thanks in advance,
Ron Clark



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Can PHP do this...?

2002-12-11 Thread RClark
Hello all. I have a question that I hope someone can answer. Is it possible
to determine is someone is hitting your site over SSL or plain http using
PHP? If so, is it part of getenv()?

Thanks in advance,
Ron Clark



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php