Showing posts with label script. Show all posts
Showing posts with label script. Show all posts

Wednesday, October 27, 2010

"Internet Explorer restricted this webpage from running scripts on ActiveX controls" Stop IE warning messages for good in regedit

Are you fed up with warning messages such as,

"Internet Explorer restricted this webpage from running scripts on ActiveX controls"

"An add-on for this website failed to run. Check security settings in Internet options for potential conflicts"


You can turn off these warnings permanently. The security set by Internet Explorer is not replicated in other browsers like Mozilla Firefox and Opera, so why worry about turning it off?


Do this.


STEP 1.

Click "start".

Type "regedit" in "Start Search".
..........

STEP 2.

You will see "Computer" and when you click that you will see a list of folders:

The two important folders are,

HKEY_CURENT_USER and
HKEY_LOCAL_MACHINE

Let's deal with the first folder.

Open each of the following folders to get to the "exe" file by clicking the "" sign on the left of each of them:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN


Click the folder "FEATURE_LOCALMACHINE_LOCKDOWN"
You will see a couple of files on the right.
Right click "iexplorer.exe"
Left click "Modify"
You will see a "1" there. Change it to "0".
..........

STEP 3.

Now let's deal with the second folder.

Open each of the following folders to get to the "exe" files:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main
\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN


Click the folder "FEATURE_LOCALMACHINE_LOCKDOWN"
You will see about 8 files on the right.
Change the following four files from "1" to "0" as you did in STEP 2:
(Right click "wmplayer.exe" for example. Left click "Modify" You will see a "1" there. Change it to "0")
..........

"msimn.exe" may not be there. If it isn't don't worry about it. Just change the other three files. It will work anyway.

Note: You will have to do this again after about 3 months, especially it you use a registry cleaner. Don't use them!


restricted from running regedit

Thursday, November 5, 2009

How to Make RSSfeedreader PHP "script" Work on Your Server

Today, I am pleased to announce that the RSSfeedreader website is working again.

This is how you get your site to run PHP files created by RSSfeedreader:


PART ONE

Putting Info into the .htaccess file

Open your FTP program.

go to the main folder "/public_html/"

a) Right click on ".htaccess" and click "edit". The file will open straight away or you may have to click "overwrite" depending on your FTP program.

b) If you don't see an ".htaccess" file, create it by opening notepad.

Now, in both instances a) and b) above you will have notepad open.

Some of you will see

AddHandler server-parsed .htm
AddHandler server-parsed .html"

already there. That is okay.

This is the important part.

Make sure all of the following is in that notepad page:

AddHandler server-parsed .htm
AddHandler server-parsed .html
suPHP_ConfigPath /home/loginname/public_html/

The "loginname" is the name you enter into your FTP program (with a password of course but no password in this instance) to be able to put files onto your server.

Save the notepad page with this name ".htaccess.php"
It will save as "htaccess.php.txt but you will not be able to remove the "''txt" on your computer because the file name begins with a "."

Upload the ".htaccess.php.txt" file to the "/public_html/" directory.
Delete the old ".htaccess,php" if you already have it.
Right click on the ".htaccess.php.txt" file.
Click "rename"
Delete the ".txt" part of the name.
The FTP program may ask if it is alright to change it, but click "OK".


PART TWO

Creating the php.ini file

Open notepad. Write this, or copy it, into the notepad page.

register_globals = On ;
allow_url_include = On ;

Save it as "php.ini"

It will save as "php.ini.txt"

Upload the "php.ini.txt" file to the "/public_html/" directory.
Right click on the "php.ini.txt" file.
Click "rename"
Delete the ".txt" part of the name.
The FTP program may ask if it is alright to change it, but click "OK".

If you already have a "php.ini" Right click on it and put the extra code in it using notepad.
Delete the old ".htaccess,php"
Upload the "php.ini.txt" file to the "/public_html/" directory.
Right click on the "php.ini.txt" file.
Click "rename"
Delete the ".txt" part of the name.
The FTP program may ask if it is alright to change it, but click "OK".


USING THE RSSFEEDREADER WEBSITE

Go to the site. Register your name, email and website address.

Look in your email.

Login in to the RSSfeedreader site.

Enter the URL of your desired news feed after the "http://"

Make sure you put the "www." in, for example http://www.feeds.news.com.au/public/rss/2.0/news_mostpopular_topstories_403.xml

if the "www." address doesn't work try,

http://feeds.news.com.au/public/rss/2.0/news_mostpopular_topstories_403.xml

The feed URLs can be really fussy about the "www." Some need it, some don't.


Enter the information on how you want the feed to look.

For page width enter the width In "Feed Width"

Don't bother about "Choose New Page Options"

Click "get RSS Feed"

Copy the PHP script.

Paste it into a notepad page.


Saving the PHP file

Save it as "rssfeedyourfilename.php" into the "/public_html/" directory with your FTP program.

Right click on the file, choose rename, and remove the ".txt"

Enter the "include virtual" code,

as RSSfeedreader info advises, into your website html code at the position in the page where you want it.

Save the html. Upload it to the "/public_html" directory on your server.

Finished!

. . . . . . . . . . . . .

Friday, September 25, 2009

Give up on RSS Feedreader PHP - It Will Not Work!

Feedreader has been giving out useless PHP "scripts" for months. The conclusion has been reached by all - that it simply does not work!

Rssfeedreader told me to do this,

"Please create a php5.ini file and set allow_url_include,register_globals ON. Currently they are OFF in php configuration. You can create php5.ini by yourself. But the best way is to contact your host support."

My host support refused to do this because of security reasons. I suggest that RSSfeedreader changes the way its system operates. It can do this, or people will ignore their site!

If you really want RSSfeedreader php script to work go here,

How to Make RSSfeedreader PHP "scipt" Work on Your Server



Include PHP works okay. So I would advise people to go to that site. But remember if you use their newer version you can only have 10 PHP "Scripts" before you are shut out. They expect you to pay a yearly fee to have more. You can use their basic version as many times as you like and to be honest, the output is quite good for most websites.

The Include site can be a bit confusing. Their basic PHP scripts are at the bottom of the Home page. You will have to scroll down or you will not see it. Just enter the XML or RSS address of the feed you want on your webpage. Choose the three color options (that is enough) choose the width, usually 900, then click "create HTML".


If you want to use the newer version register an email address with them. Wait, then click on the register url in the email you get. *Go the Include site click the http://www.rssinclude.com/ button. Then on the new page that comes up click "Create A New RSSbox". Another page will appear: click "Create this RSSbox" in the "Simple Vertical List" square.


There is a problem: after you put your rss/xml address in and edit, save, then preview your feed you will be asked to login. When you do you will have to go through all the above again (from*). Then you will get your PHP script.


Save this PHP script in notepad. Then save it as "rssfeedyourfilename.php" into a folder on your computer. Go to that folder and you will see the file as "rssfeedyourfilename.php.txt". Right click on the file. Choose "Rename". Get rid of ".txt".

Save the "rssfeedyourfilename.php" file into the main folder on your website server with an FTP program.

To make it work add this address to the HTML of your webpage where you want the feed to show:

Save your website HTML , for example "index.html", to the main folder on your server with an FTP program.



SETTING UP YOUR COMPUTER FOR PHP

You will have to create a file on your computer. Open notepad and write these two lines on the left side of the page,

"AddHandler server-parsed .htm
AddHandler server-parsed .html"

without the quotation marks.

Save it as ".htaccess" into a folder on your computer. It will save as ".access.txt. Your computer will not allow you to remove the "".txt" because the file begins with a dot.

You have to open your FTP program and load the file into the main directory of your website server. In the right column, "your /public_html/" directory, right click on the ".access.txt" file. Choose "rename" and remove the ".txt.

Your computer is now set to run PHP.


It will work!
Happy Webbing.

http://adventure--australia.blogspot.com/
http://tysaustralia.blogspot.com/
http://feeds.feedburner.com/AdventureAustralia
http://www.technorati.com/blogs/http://adventure--australia.blogspot.com

. . . . . . . . . . . . .