PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



access to my forum broken

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> Hosting Related
View previous topic :: View next topic  
Author Message
MarkHoward



Joined: 23 Nov 2009
Posts: 2
Location: New Zealand

PostPosted: Tue Nov 24, 2009 5:27 am    Post subject: access to my forum broken Reply with quote

This is a bit complicated:
I wanted to execute some PHP from within an HTML file.
I found a reference that said to add the following lines to the public_html/.htaccess file
Code:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

The .htaccess file was previously empty.
When I tried to enter the site after that I got a Firefox message saying
Quote:
You have chosen to open (blank) which is a: PHP file from http://www.nzmotorhome.co.nz
o Open with
o Save file

I replaced the .htaccess file with an empty file again.
Same problem
Deleted cache rebooted same problem
Tried IE same problem
Tried IE on a different computer same problem.
Contacted webhost - they can access it no problems - so can some of the website members that I contacted.
But neither of the computers that I have access to can get access.
I THINK that there is something funny where people who access the website www.nzmotorhome.co.nz get redirected to www.nzmotorhome.co.nz/NZMotorhomeForum/ but I can't remember how this happens and don't know whether it has any bearing on the problem.
I really don't know how to sort this problem out by myself.
[/quote][/code]
Back to top
View user's profile Send private message
zxcvbnm



Joined: 27 Feb 2010
Posts: 2

PostPosted: Wed Mar 03, 2010 8:10 am    Post subject: Reply with quote

Yes, it can be solve easily.
Back to top
View user's profile Send private message
maria8989



Joined: 05 May 2010
Posts: 1

PostPosted: Wed May 05, 2010 6:15 am    Post subject: diseņo web sevilla Reply with quote

diseņo web sevilla
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



PHP Code Examples
 Stream diffrent sizes of images from a single image to save disk space.
 JavaScript dropdown list menu to switch any page.
 Dump the contents of a PHP variable in html format with a recursive list of subfolders and files from a given root directory.
 PHP Dump in html format the contents of one array variable with a recursive list of the nested array variables inside.
 Link Extractor - This function is used to extract links from a given URL. This will convert relative path into absolute path and also remove PHPSESSID stuff.
 Building a Dynamic Form using Javascript and innerHTML. Add form elements in realtime without refreshing the page.
 A PHP Calendar function with CSS : add a cool calendar to any php page by just adding a calendar class based function.
Post new topic   Reply to topic    WeberForums.com Forum Index -> Hosting Related All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum