Saturday, September 30, 2017

PHP Delimiters





What are PHP delimiters?

     Php delimiters are used to embed PHP code on an HTML web page.  

     The four main methods for marking PHP code in a page are like this. Here is the default method <?php "CODE"; ?>, the shorthand version <? "CODE"; ?>, the script version which is like this <script language = "php> "CODE"; </script> , and the ASP method like this <% "CODE"; %>.  

     The problem with the short tag syntax (<? "CODE"; ?>) is that it has to be enabled using a short_open_tag directive and some servers might not be configured execute the shorthand. However short tag syntax could save you some time if you don't like typing out the default tag.  

     This script tag (<script language = "php> "CODE"; </script>) is beneficial if you have an editor that doesn't do well with the standard delimiter syntax, but it can take longer to type so it might be beneficial to find a new editor if you have trouble using default escape tags.  

     The ASP method (<% "CODE"; %>) is used to separate dynamic PHP from static however it is recommended that you do not use the ASP method because it is a not a common delimiter and might cause problems.  

Thanks for reading.  

Check out this Truth or Dare game.
https://play.google.com/store/apps/details?id=com.calebsapps.mynam.truthordare
References:

Sunday, July 9, 2017

Can a Proxy Server Protect My Personal Information




What Is a Proxy Server?

A proxy server is a server that sits between a computer and access to the World Wide Web.  It can be used to benefit a user who needs anonymity and a company who wants to block access to certain sites on the Web. 


Blocks Internet Access

Some companies set up proxy servers so their employees have restricted access to the internet.  The proxy server routes the internet access through a server which only then allows access to the websites that are not blocked.  This is one of the most common uses for a proxy server. 

Proxies can hide your identity 

If a proxy server is configured properly it can block the information that is normally sent through a website from the user.  This information typically means your IP address, your location, your ISP.  The proxy can also protect you from cookies being put on your computer giving away more personal information such as browsing history, shopping info, and other personal information.

Proxies can also be bad

Some proxy servers can do the opposite of protecting you.  If you log onto them they can do the same things as downloading a virus they can install software that can harm your computer or steal personal information.  So if you decide to use a proxy server make sure that you do so after researching the site where the server is hosted.  

You can always use a proxy server to look out for your safety as well as the safety of others as long as you do your research. And normally proxy sites are not blocked by most company's allowing for a loophole in the security process(hint hint).



Happy Surfing!

Thanks for reading.

Featured Post

Washington State Poisonous Toad

The Western Toad pictured above can be green or brown and is always covered in warts.  (This is the frog he tried to eat) One w...