![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||
|
I was trying to make a script that will add a watermark on images, and i stumbled upon a script that checks if the image exists or not and the used it like this:
$image = @imagecreatefromjpeg("bla.jpg"); if (!$image).... i wanted to know why do they put the @ before the function ![]() |
|
|
|
||
|
#2
|
||
|
that @ means that if that function (imagecreate...) gives and error, don't output it.
|
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Tutorial | Sarunasas | Website Design Forum | 3 | 11-02-2008 13:18 |
| What is PHP, Here i will tell you what is PHP | booster20002005 | Programming | 1 | 08-20-2007 04:04 |
| 80 cheap Script for sale | teampower | Content | 0 | 06-29-2007 02:08 |
| PHP Designer 2005 | Positive | Other Free Resources | 1 | 08-30-2005 01:13 |
| How To : Improve Your PHP Programming | admans | Website Design Forum | 0 | 07-17-2005 07:58 |