Re: [PHP] Upload & View Image : Database Thingy!!!!

2002-01-20 Thread Malte Fucks
_array[location]) { echo ""; } else echo " } but as i said, i dont know if i really understood your question.. (im german, you know *g*) - Original Message - From: "Thomas Edison Jr." <[EMAIL PROTECTED]> To: "Malte Fucks" <[EMAIL P

Re: [PHP] Upload & View Image

2002-01-20 Thread Malte Fucks
oops... should be if($yourfile) instead of if($file)... sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Upload & View Image

2002-01-20 Thread Malte Fucks
I think the PHP image functions aren't what this guy needs... First thing : File Uploads You have to make a form, including an tag, which refers to a php script like... $yourfile_size includes the size of the file in bytes, use an if-statement to check if the picture-size fits your needs... $

[PHP] function arguments

2002-01-18 Thread Malte Fucks
Hi, how do i tell a function which arguments can be passed and which must be passed... example: function func($arga, $argb, $argc) { do_something_with_arga; do_another_thing_with_argb; and_if_argc_was_passed_do_something_with_it_too; } because i dont want to pass argc if i dont need it, and to

Re: [PHP] strange problem

2002-01-18 Thread Malte Fucks
hmmm try $coding = "%coding"; $a[$coding]='whatever this array shall contain'; please let me know if it worked... diggn this is a test because my email client gave me an error message so if this message arrives twice, it wasnt meant to be spam...

Re: [PHP] strange problem

2002-01-18 Thread Malte Fucks
hmmm try $coding = "%coding"; $a[$coding]='whatever this array shall contain'; please let me know if it worked... diggn - Original Message - From: "Marc Logghe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 18, 2002 3:44 PM Subject: [PHP] strange problem > Hi, > my