Easy newbie question. I've searched all the PHP documentation I can
find, but can't find an answer.
What does the "@" mean, in this context:
@mysql_select_d b( "scripts");
(Have you ever tried Googling for the @ symbol? Doesn't work.) 4 1924 dw******@mtco.c om (Derek Wickersham) wrote in
news:cc******** *************** ***@posting.goo gle.com: Easy newbie question. I've searched all the PHP documentation I can find, but can't find an answer.
What does the "@" mean, in this context:
@mysql_select_d b( "scripts");
(Have you ever tried Googling for the @ symbol? Doesn't work.)
prevents errors being printed to the screen. good for developing, bad
whenyour site is done, online, and all the world can see it.
> prevents errors being printed to the screen. good for developing, bad whenyour site is done, online, and all the world can see it.
Well, not necessarily. If the errors reveal something about your web
server, database, or whatever, that you might not want the whole world
to see.
With that said, using error_reporting and/or the display_errors
directive are a better way to handle this: since that let's you set the
option globally, instead of sprinkling your code with random @
characters.
--cd
Coder Droid wrote: prevents errors being printed to the screen. good for developing, bad whenyour site is done, online, and all the world can see it.
Well, not necessarily. If the errors reveal something about your web server, database, or whatever, that you might not want the whole world to see.
BTW I think you misunderstood him! I think his good/bad were refering to
the "errors being printed on screen", not the prevention of them!
I agree having a global control is better for when you switch from
development to production.
2metre <2m****@xxxhers ham.net> wrote in news:clku0n$k7e $1
@hercules.btint ernet.com: Coder Droid wrote:prevents errors being printed to the screen. good for developing, bad whenyour site is done, online, and all the world can see it.
Well, not necessarily. If the errors reveal something about your web server, database, or whatever, that you might not want the whole world to see. BTW I think you misunderstood him! I think his good/bad were refering
to the "errors being printed on screen", not the prevention of them!
I agree having a global control is better for when you switch from development to production.
I didnt think about control in that fashion, but I will be trying that
soon. :o)
Yes I did mean that its bad for such errors to be printed to the screen
on sites that are available for anyone to browse. When I do a google
search for new errors I get in the logs or on screen, its interesting to
see how many hits are not discussions of what the errors are, but non-
functional pages where the errors are happening for whatever reason. And
this goes for personal and semi-professional or education sites. But Ive
never seen a google hit a big time site. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Russ Perry Jr |
last post by:
I'm using "ID" and "Value" in the generic sense here...
Let's say one page I had a <html:select> with a collection like this:
<html:options collection="items" property="key" labelProperty="value"/>
In this case "key" is what I mean by "ID", and "value" is what I mean
by "Value" -- the "Value" is shown to the user, but the "ID" is what
I plan to keep, to be saved to a database (as a reference in a table
to a common table as a part of...
|
by: Jim Hill |
last post by:
I've done some Googling around on this and it seems like creating a here
document is a bit tricky with Python. Trivial via triple-quoted strings
if there's no need for variable interpolation but requiring a long, long
formatted arglist via (%s,%s,%s,ad infinitum) if there is. So my
question is:
Is there a way to produce a very long multiline string of output with
variables' values inserted without having to resort to this wacky
"""v...
|
by: David Furey |
last post by:
Hi
I have an XML documnet and a XSLT document as shown below
THe XSLT document brings back a filtered docmument that has the VendorName
that starts with a particular sub-string
This works as expected with alphabet and number characters and the ' (single
quote ' entity) character but does not work if a double quote character
" is part of the string to filter on
This returns all Vendor Names that begin with A (either case)
|
by: Joseph Turian |
last post by:
Fellow hackers,
I have a class BuildNode that inherits from class Node.
Similarly, I have a class BuildTree that inherits from class Tree.
Tree includes a member variable:
vector<Node> nodes; // For clarity, let this be "orig_nodes"
BuildTree includes a member variable:
|
by: Robin Tucker |
last post by:
Should I consider this to work in other locales?
If theServer.Name <> "(local)" and theServer.Name <> "(localhost)"
Then
' Can only use local machine in this version.....
End If
| |
by: Anurag |
last post by:
Hi,
I have 2 related questions.
DB2 UDB ESE v8.x (8.1 till 8.2 FP2 - all fixpaks included) on AIX 5.4.x
_____________________________________________________________________________
(QUESTION 1)
Output of "db2ilist" does not list all the instances on my AIX box.
DB2 functions normally - I do not get any unexpected errors.
Any ideas what configuration has been missed out?...
|
by: Chen ShuSheng |
last post by:
HI,
I am now study a segment of codes:
------------------------
printf("%p\t",fp); /*add by me*/
fseek(fp, 0L, SEEK_END); /* go to end of file */
printf("%p\t",fp); /*add by me*/
last = ftell(fp);
cout<<"last="<<last<<"\t"; /*add by me*/
-------------------------
|
by: jacob navia |
last post by:
I am trying to compile as much code in 64 bit mode as
possible to test the 64 bit version of lcc-win.
The problem appears now that size_t is now 64 bits.
Fine. It has to be since there are objects that are more than 4GB
long.
The problem is, when you have in thousands of places
|
by: samadams_2006 |
last post by:
Hello,
I haven't done much programming in .asp and was wondering if someone
could provide me with some sample code to do the following task...
I have a Web Service called:
http://abc.def.com:8088/wsABC.asmx
It has a Web Method called:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |