|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
JPG Uploads
I use this because its nice and compact and fast, plus it does the trick. But is there a way i can limit it to accept just .jpg's and only up to 100k
<? copy($jpgimage, "/www/html/gallery/uploads/$jpgimage_name"); unlink($jpgimage); ?> |
|
#2
|
|||
|
|||
|
Are you receiving the image from a user-entered form?
If so, you can use the MAX_FILE_SIZE attribute: PHP Code:
Hope that helps...
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > JPG Uploads |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|