| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Jul 2005
Posts: 1,492
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | How to fix infinite error looping? This is a small portion of my php script which is as shown below: PHP Code: ????: NamePros.com http://www.namepros.com/programming/370027-resolved-how-fix-infinite-error-looping.html ![]() Is there anyway, when the script sees the error it returns me like "Page not found" message? Thanks in advance!!!
__________________ ||||newsiness.com||||'""|""\__,_ | _[lol]___[lol]____ l ||__|__|) |(@)(@)"""""""**|(@)(@)**|(@) 100% Free Online Flash games |
| |
| | #2 (permalink) |
| Danltn.com Join Date: May 2007 Location: Danltn.com / Nottingham, UK
Posts: 1,201
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | PHP Code:
__________________ |
| |
| | #3 (permalink) |
| NamePros Regular Join Date: Apr 2006
Posts: 363
![]() ![]() ![]() ![]() | You can try this either Untested but should surpress the first error and return false on a 404 page.PHP Code:
__________________ Canadian Domain Registrar Ready.ca |
| |
| | #4 (permalink) |
| New Member Join Date: Apr 2006
Posts: 18
![]() | Or simply PHP Code: PHP Code: |
| |
| | THREAD STARTER #5 (permalink) |
| Senior Member Join Date: Jul 2005
Posts: 1,492
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Danltn, baxter & elmister, Thanks...it works!!!! ![]() ++Rep added.
__________________ ||||newsiness.com||||'""|""\__,_ | _[lol]___[lol]____ l ||__|__|) |(@)(@)"""""""**|(@)(@)**|(@) 100% Free Online Flash games |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |