| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Barru. | This is a really noobish question... On my image hosting site they're is a 1MB filesize limit, the script I use to check that is: PHP Code: 2nd question: would that work?
__________________ |
| |
| | #4 (permalink) |
| DNOA Member | Yeah, but there's no point, it's just extra typing.
__________________ codeboards A high-quality community of programmers -- Join today and post! We want new members! |
| |
| | #5 (permalink) | |
| NamePros Regular | Quote:
die(); or die(""); Quotes can be most useful to report back an error to the surfer if you want. I do this all the time when I write code for inept end-users. I will display a SPECIFIC error that I can trace back to the exact line in the code. For example, if you are trying to open a file and it fails, you can always report the error something like this: PHP Code:
__________________ The mass purge has begun. | |
| |
| | #6 (permalink) |
| DNOA Member | well, yeah, but first an ugly error would appear - you'd want the @ character in the line.
__________________ codeboards A high-quality community of programmers -- Join today and post! We want new members! |
| |
| | #7 (permalink) |
| Senior Member | or error_reporting(0);
__________________ Custom WordPress theme design. Top notch free WordPress themes Custom Theme Design |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Religious Question. | Humdizzy | The Break Room | 99 | 06-22-2005 10:53 AM |
| Not at trick question | Coastalguy | The Break Room | 5 | 05-04-2005 04:22 PM |
| Quick question... | kektex | Domain Newbies | 1 | 03-31-2005 01:24 PM |
| little question.. | khkhan | Domain Appraisals | 2 | 11-20-2004 04:28 AM |
| two-letter .com domain question | questioning | Domain Name Discussion | 1 | 10-05-2004 04:08 PM |