Ask a Question related to PHP Development, Design and Development.
-
Disco #1
what is the difference....
Hi,
What is the difference between....
$data = file($this->URL);
....and...
$data = @file($this->URL);
and when/why would I choose one over the other?
Thanks
Disco Guest
-
what's the difference?
Greetings - I'm looking to buy a good beginners book on DMX/php/mysql and I see this one mentioned all over the place, but I also hear complaints... -
FMS vs FCS, BW difference?
We are migrating our system from FCS to FMS 2.0.4r79, running on Debian Sarge. With pre-recorded videos (flv), which is what we're testing first,... -
Why is there a difference??
I'm noticing that for some reason the 2 icons I have on my page are moving in different browsers. Look fine in IE but not in Firefox. Page is... -
difference between these 2?
In some examples I am looking through they are speaking of datagrids and datalists (this is not the question :) For the datalist a column is... -
Difference between ASP & PHP
I doubt about the difference between ASP & PHP. Some people say that PHP is faster than ASP and PHP is the free equivalant of ASP. An other... -
matty #2
Re: what is the difference....
Disco wrote:
The "@" causes errors/warnings to be hidden, so you don't> Hi,
>
> What is the difference between....
>
>
> $data = file($this->URL);
> ...and...
> $data = @file($this->URL);
>
>
> and when/why would I choose one over the other?
>
> Thanks
get
Warning: unable to open /home/bits/foo.txt
etc etc if there's a problem
Use it if, well, you're doing something that might cause
an error, that you want to test for afterwards without
generating stuff in your output
It's not the same as perl!
Matt
matty Guest



Reply With Quote

