By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,744 Members | 1,835 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,744 IT Pros & Developers. It's quick & easy.

usage of @ symbol in php

P: 4
hi friends,

i am using the function "imagecreatefromjpeg" in my php program.
1) while running, it outputs the message undefined function.
2) if i put @ before that function like this '@imagecreatefromjpeg' it doesn;t return the error message. but also it doesn't give the result.

please hekp me
Feb 1 '07 #1
Share this Question
Share on Google+
2 Replies


Motoma
Expert 2.5K+
P: 3,235
hi friends,

i am using the function "imagecreatefromjpeg" in my php program.
1) while running, it outputs the message undefined function.
2) if i put @ before that function like this '@imagecreatefromjpeg' it doesn;t return the error message. but also it doesn't give the result.

please hekp me
Hi krishna5,

The @ symbol is used to suppress error messages.

It sounds like you haven't installed the GD functions. If you view phpinfo(), what does the page say under the GD heading?
Feb 1 '07 #2

P: 17
Hi krishna,

php 3 types of error is there.

1.Normal error
2.Warning error
3.Fatal Error.

the function before @ is used avoid to show error message in waring errors...
Feb 1 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.