|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Looks great, but how does $data1_size get populated ?
Can't seem to get this php code to go,
When I enter image names the error message "Please select a top image" and "Please select a bottom image". how does $data1_size get populated ? |
|
#2
|
|||
|
|||
|
Sorry, I'm not following you..
![]() Tell a little bit about what you're trying to do, post some code, etc.. ![]()
__________________
Best Regards, Håvard Lindset |
|
#3
|
|||
|
|||
|
See URL for the code.
I am trying to this ad drop down banner example to go. I got the above errors. How does the $data1_size and $data2_size varibles get populated ? |
|
#4
|
|||
|
|||
|
Hi,
They are automatically populated by PHP, as they are the size of the images. That article was written for PHP 4.1, so you will need register_globals = On in PHP.INI or HTTPD.CONF, or you can change them to make use of the $_FILES associative array. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Looks great, but how does $data1_size get populated ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|