Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Programming > PHP Development
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-20-2005, 10:15 PM   #1 (permalink)
georgy
Junior Member
 
Join Date: Sep 2005
Posts: 2
Default No error messages

Is there a way if lets say a include statement has an error, it will use another specified include rather than giving an error message?

If include (1) fails then use include (2)
Something like that

Any ideas?
georgy is offline   Reply With Quote
Sponsored Links
Old 09-22-2005, 04:52 AM   #2 (permalink)
cornelis
Member
 
Join Date: Sep 2005
Posts: 62
Default

thats strange..

Try something like this

Quote:
if(fopen("http://somelocation.com/index.html", "r"))
{
print 'I can see the file ';
}
else
{
print 'I can't see the file ';
}

Hope this is what you are looking for.
cornelis is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 08:38 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums