In Feburary 2016 26,
Malicious exploits using JavaScript often pretend to be in the Local Zone to gain additional privileges. Microsoft's solution to this issue was to make the Local Zone security more restrictive than the Web, blocking JavaScript, Flash and other active content on pages viewed on the local file system. Blocking Javascripts and other active content becomes an issue for Web developers who test their Web pages on their desktop computers before uploading updated pages to their websites.
Mark of the Web
One workaround to this issue is to add 'The Mark of the Web' to your Web page to trick Internet Explorer into treating the local file as if it were loaded from a different zone. 'The Mark of the Web' is a specially formatted comment Internet Explorer adds to Web pages when they are saved from the Web, and grants the local copy the same privileges as the source website.Add the 'Mark of the Web' to the top of your Web page (below the DOCTYPE declaration if one is present) For example:
Change the Web address to the address of your website, and the number '0026' to the number of characters in your Web address, including the http and all punctuation.If you are using Adobe Dreamweaver, it features a command to automatically add 'The Mark of the Web' to your Web page. Select 'Insert Mark of the Web' in the Commands menu. The mark can be removed by selecting 'Remove Mark of the Web' in the Commands menu.
Other Testing Methods
'The Mark of the Web' is the simplest and easiest way to stop blocking JavaScripts in Internet Explorer. However, many Web developers may find this method aesthetically displeasing, and it becomes cumbersome when managing large websites. Another option is to test your Web pages on a Web server. You can install a Web server, such as XAMPP, on your desktop computer, or create a test folder under your website to upload and test Web pages. Check with your hosting provider or systems administrator to see if they can provide a test website for you.
In Feburary 2016 26,
Showing posts with label test. Show all posts
Showing posts with label test. Show all posts
Friday, 26 February 2016
Friday, 19 February 2016
Windows Media Player Cannot Connect to the ServerIn Feburary 2016 19,
In Feburary 2016 19,
Retype the URL or website address in the Open URL dialog box in Windows Media Player. Make certain you spell the file name correctly with the correct path.
Try again later to connect Windows Media Player to the server, since the host server may be busy.
Check your modem or wireless connection to make certain your computer is connected to the Internet.
Proxy Server Settings
Test your proxy server settings for Windows Media Player to ensure you have them configured properly, by clicking 'Start,' typing 'windows media player' in the Start Search field box and then pressing the 'Enter' key. This brings up Windows Media Player.
Click the 'Library' drop-down arrow and 'More Options,' which brings up the Options window.
Click the 'Network' tab at the top of the window to look at your settings under 'Streaming Proxy Settings.'
Select a protocol, such as 'HTTP,' if you do not know what the proxy server settings should be set to, and then click 'Configure.' The HTTP proxy server works by taking the HTTP request you made when you typed in the URL or website address, then checking it against certain conditions. This proxy server helps speed up your connection to websites you visit often, plus it reduces the amount of data flowing over the Internet connection.
Select 'Use Proxy Settings of the Web Browser if you selected the 'HTTP' protocol; otherwise, select 'Autodetect Proxy Settings.' Try connecting Windows Media Player again to the server.
In Feburary 2016 19,
Retype the URL or website address in the Open URL dialog box in Windows Media Player. Make certain you spell the file name correctly with the correct path.
Try again later to connect Windows Media Player to the server, since the host server may be busy.
Check your modem or wireless connection to make certain your computer is connected to the Internet.
Proxy Server Settings
Test your proxy server settings for Windows Media Player to ensure you have them configured properly, by clicking 'Start,' typing 'windows media player' in the Start Search field box and then pressing the 'Enter' key. This brings up Windows Media Player.
Click the 'Library' drop-down arrow and 'More Options,' which brings up the Options window.
Click the 'Network' tab at the top of the window to look at your settings under 'Streaming Proxy Settings.'
Select a protocol, such as 'HTTP,' if you do not know what the proxy server settings should be set to, and then click 'Configure.' The HTTP proxy server works by taking the HTTP request you made when you typed in the URL or website address, then checking it against certain conditions. This proxy server helps speed up your connection to websites you visit often, plus it reduces the amount of data flowing over the Internet connection.
Select 'Use Proxy Settings of the Web Browser if you selected the 'HTTP' protocol; otherwise, select 'Autodetect Proxy Settings.' Try connecting Windows Media Player again to the server.
In Feburary 2016 19,
Monday, 8 February 2016
How to Troubleshoot Network Connection IssuesIn Feburary 2016 08,
In Feburary 2016 08,
Determine whether the problem has to do with the network connection. For example, are you trying to access a webpage and your browser keeps prompting you with a 'Page cannot be displayed' error? Use a major search engine to find an alternate link to your original destination. If that works, then there is most likely a problem with the website and not with the network connection.
Check your computer's physical connection to the network. This will require you to check your data jack or Ethernet cable. Verify which port your Ethernet cable is connected to. In many cases, network connection issues can be resolved by checking to see if the correct cables are being used, or if they are plugged in the right places. In addition, you should test your router to make sure that it is working properly.
Find the network connections setting within your operating system if it's not a physical connection issue. In Windows 7, right-click the 'Internet Access' icon (appears as several vertical bars) in the task bar and select 'Troubleshoot problems.' The Windows Network Diagnostics dialog appears. When prompted what type of networking problem you're experiencing, click on 'I'm trying to reach a specific website or folder on a network.' Then enter the address or path you are trying to connect to.In Mac OS X, go to 'System Preferences' and click on 'Network.' Select the built-In Ethernet option, and click on 'Configure.'
Examine your firewall to confirm that it doesn't prevent you from connecting to the network. In many cases, your settings may be too high. You can also disable any background applications that may be running and preventing you from accessing the network. In a worst-case scenario, you may have a virus other malware that prevents you from properly accessing your network.
Contact your department's or campus technical support (IT) staff if your issues still have not been resolved. There may be something else that is wrong that needs to be addressed. Hopefully they will be able to troubleshoot your network connection issue.
In Feburary 2016 08,
Determine whether the problem has to do with the network connection. For example, are you trying to access a webpage and your browser keeps prompting you with a 'Page cannot be displayed' error? Use a major search engine to find an alternate link to your original destination. If that works, then there is most likely a problem with the website and not with the network connection.
Check your computer's physical connection to the network. This will require you to check your data jack or Ethernet cable. Verify which port your Ethernet cable is connected to. In many cases, network connection issues can be resolved by checking to see if the correct cables are being used, or if they are plugged in the right places. In addition, you should test your router to make sure that it is working properly.
Find the network connections setting within your operating system if it's not a physical connection issue. In Windows 7, right-click the 'Internet Access' icon (appears as several vertical bars) in the task bar and select 'Troubleshoot problems.' The Windows Network Diagnostics dialog appears. When prompted what type of networking problem you're experiencing, click on 'I'm trying to reach a specific website or folder on a network.' Then enter the address or path you are trying to connect to.In Mac OS X, go to 'System Preferences' and click on 'Network.' Select the built-In Ethernet option, and click on 'Configure.'
Examine your firewall to confirm that it doesn't prevent you from connecting to the network. In many cases, your settings may be too high. You can also disable any background applications that may be running and preventing you from accessing the network. In a worst-case scenario, you may have a virus other malware that prevents you from properly accessing your network.
Contact your department's or campus technical support (IT) staff if your issues still have not been resolved. There may be something else that is wrong that needs to be addressed. Hopefully they will be able to troubleshoot your network connection issue.
In Feburary 2016 08,
Sunday, 7 February 2016
How to Test a Secure FTP Connection From a DOS PromptIn Feburary 2016 07,
In Feburary 2016 07,
Click Start. Click Run and type “cmd” (in Windows XP). In Windows Vista, type “cmd” in the Start Search box. This will open up the DOS prompt.
Create a test file by entering this command at the DOS prompt (without quotes): “dir > file.txt.”
Type the following command: “ftp [server name].” The server name should be the server or computer you are trying to connect to. For example, “ftp ftp.Microsoft.com.”
Enter your username/login and password when prompted.
Enter the following command: “put file.txt.” If your FTP connection has no errors, you will see a message that confirms that you are logged in.
Type “quit, to exit the FTP session.
Open the test file you created by typing: “edit file.txt.” The test file will show you the nature of any errors. The error may be at your end or on the server side.
In Feburary 2016 07,
Click Start. Click Run and type “cmd” (in Windows XP). In Windows Vista, type “cmd” in the Start Search box. This will open up the DOS prompt.
Create a test file by entering this command at the DOS prompt (without quotes): “dir > file.txt.”
Type the following command: “ftp [server name].” The server name should be the server or computer you are trying to connect to. For example, “ftp ftp.Microsoft.com.”
Enter your username/login and password when prompted.
Enter the following command: “put file.txt.” If your FTP connection has no errors, you will see a message that confirms that you are logged in.
Type “quit, to exit the FTP session.
Open the test file you created by typing: “edit file.txt.” The test file will show you the nature of any errors. The error may be at your end or on the server side.
In Feburary 2016 07,
Friday, 5 February 2016
How to Read iFrame Content in JavaScriptIn Feburary 2016 05,
In Feburary 2016 05,
Launch the plain-text editor application that is available on your computer.
Enter the following code into the text editor.
Blank
Click the File menu. Select the 'Save' option. Save under the file name 'test.html.'
Click the File menu. Select the 'New' option. Type the following code into the new text-editor window.
This is the iframe
Click the File menu. Select the 'Save' option. Save under the file name 'frame.html.'
Launch the FTP application and log in to the Web server. Upload the files 'test.html' and 'frame.html' to the root directory of the server.
Click the 'Disconnect' button of the FTP application.
Launch a Web browser and enter the appropriate URL to access the test file. For example, enter: http://yourdomainname.com/test.html Replace 'yourdomainname.com' with the domain name or IP address of the Web server.
Press the 'Enter' key to load the URL and run the test file. Click the button with the text 'Show What's in the iFrame' to test the script.
In Feburary 2016 05,
Launch the plain-text editor application that is available on your computer.
Enter the following code into the text editor.
Blank
Click the File menu. Select the 'Save' option. Save under the file name 'test.html.'
Click the File menu. Select the 'New' option. Type the following code into the new text-editor window.
This is the iframe
Click the File menu. Select the 'Save' option. Save under the file name 'frame.html.'
Launch the FTP application and log in to the Web server. Upload the files 'test.html' and 'frame.html' to the root directory of the server.
Click the 'Disconnect' button of the FTP application.
Launch a Web browser and enter the appropriate URL to access the test file. For example, enter: http://yourdomainname.com/test.html Replace 'yourdomainname.com' with the domain name or IP address of the Web server.
Press the 'Enter' key to load the URL and run the test file. Click the button with the text 'Show What's in the iFrame' to test the script.
In Feburary 2016 05,
Thursday, 4 February 2016
How to Compile an Assembly on UbuntuIn Feburary 2016 04,
In Feburary 2016 04,
Open Terminal.
Type 'sudo apt-get install nasm,' and press 'Enter.' Type your password, and press 'Enter, then the nasm compiler will install.
Type 'nasm -f elf -o test.o test.asm,' and press 'Enter.' Replace 'test' with the actual file name for your code. This compiles the code.
Type 'ld -o test test.o,' and press 'Enter' to link the executable.
Type './test,' and press 'Enter' to run the program.
AT&T Syntax
Open Terminal.
Type 'sudo apt-get install binutils,' and press 'Enter.' Type your password and press 'Enter.' You should receive a message that the 'as' compiler is already installed. If not, it will install.
Type 'as -o test.o test.s,' and press 'Enter' to compile the code.
Type 'ld -o test test.o,' and press 'Enter' to link the executable.
Type './test,' and press 'Enter' to run the program.
In Feburary 2016 04,
Open Terminal.
Type 'sudo apt-get install nasm,' and press 'Enter.' Type your password, and press 'Enter, then the nasm compiler will install.
Type 'nasm -f elf -o test.o test.asm,' and press 'Enter.' Replace 'test' with the actual file name for your code. This compiles the code.
Type 'ld -o test test.o,' and press 'Enter' to link the executable.
Type './test,' and press 'Enter' to run the program.
AT&T Syntax
Open Terminal.
Type 'sudo apt-get install binutils,' and press 'Enter.' Type your password and press 'Enter.' You should receive a message that the 'as' compiler is already installed. If not, it will install.
Type 'as -o test.o test.s,' and press 'Enter' to compile the code.
Type 'ld -o test test.o,' and press 'Enter' to link the executable.
Type './test,' and press 'Enter' to run the program.
In Feburary 2016 04,
Subscribe to:
Posts (Atom)