<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <atom:link href="https://ashtech.yolasite.com/blog.rss" rel="self" type="application/rss+xml" />
        <title>blog</title>
        <description>blog</description>
        <link>https://ashtech.yolasite.com/blog.php</link>
        <lastBuildDate>Fri, 05 Jun 2026 23:34:08 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>5 Handy PHP Tips and Tricks</title>
            <link>https://ashtech.yolasite.com/blog/5-handy-php-tips-and-tricks</link>
            <description>&lt;div class=&quot;post-excerpt&quot;&gt;&lt;p&gt;We are delighted to post a article by Mr. Darren on the &lt;em&gt;26th January 2010&lt;/em&gt; as he shares five very 
handy PHP tips.&lt;/p&gt;
&lt;/div&gt;
					
					

					&lt;ul&gt;&lt;li&gt;Mr. Darren has set up &lt;a class=&quot;&quot; href=&quot;http://www.online-selling.co.uk/&quot;&gt;Online Selling&lt;/a&gt; in January 2009 providing website design and eCommerce websites.&lt;/li&gt;&lt;/ul&gt;His article reads: &lt;br&gt;&lt;p&gt;It has become one of the first choice languages of web application 
developers, the go-to language if your website needs something more than
 what HTML can give you. Over 20 million domains have PHP installed, and
 it is considered the most popular Apache HTTP Server module by far. 
Some of the most famous examples of PHP at work are Facebook, Wikipedia,
 Yahoo!, Digg, Joomla, WordPress, YouTube, and more. PHP has become part
 of the internet.&lt;/p&gt;
&lt;p&gt;For the anniversary of PHP, I decided a “5 Useful Tips” list was in 
order, to help you use PHP to its full potential (and to avoid some of 
the problems inherent in the language!). I hope you find these useful.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h1 style=&quot;font-family: yui-tmp; font-size: 20px;&quot; class=&quot;splitter&quot;&gt;1. PHP memory allocation&lt;/h1&gt;
&lt;p&gt;PHP scripts have a memory allocation attached to them by the server. 
To stop a PHP script taking up too much processing power, usually an 
arbitrary Mb usage is allocated. Sometimes this is a hinderance to web 
developers, so to increase the amount of memory allowed, enter the 
following line into the php.ini file on the root of your website. If the
 php.ini doesn’t exist, you can simply create it. You can increase this 
number if you still need more memory, but you may find an upper limit 
set by your host.&lt;/p&gt;
&lt;pre&gt;memory_limit=16M&lt;/pre&gt;
&lt;h1 style=&quot;font-size: 20px;&quot; class=&quot;splitter&quot;&gt;2. PHP include functions&lt;/h1&gt;
&lt;p&gt;PHP can be used to great effect on websites which don’t involve any 
database interaction. By using the PHP include function, you can include
 another .php file anywhere in the current file. This can be extremely 
useful to include, for examples, headers, or footers, or a left menu 
that stays fixed. Instead of having to make changes to each file in the 
future, you can change the one PHP included into all the others. The 
syntax for including a file is as follows:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php include ('directory/file.php'); ?&amp;gt;&lt;/pre&gt;
&lt;h1 style=&quot;font-size: 20px; font-family: yui-tmp;&quot; class=&quot;splitter&quot;&gt;3. Setting variables in PHP&lt;/h1&gt;
&lt;p&gt;Another really useful PHP tip is to create variables, which can be a 
huge time saver later on down the line. Do you have to regularly enter a
 phone number or email address? By storing bits of information into 
variables, you can change the information and once and have it propegate
 site-wide instantly. No more Find and Replace, we say. To store a 
variable, use the following code:&lt;/p&gt;
&lt;pre&gt;$variable_name = 'variable_result';&lt;/pre&gt;
&lt;p&gt;And to call the variable, use:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php echo $variable_name; ?&amp;gt;&lt;/pre&gt;
&lt;h1 style=&quot;font-size: 20px;&quot; class=&quot;splitter&quot;&gt;4. Using if statements in PHP&lt;/h1&gt;
&lt;p&gt;Using if statements in PHP can be incredibly useful for only showing 
information you really want to. The potential that an if statement can 
give you is huge, and the syntax is incredibly easy to use. For example,
 if the variable telephone1 is defined, then show it:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php if
(&quot;$telephone1&quot; != &quot;&quot;) {
	echo (&quot;$telephone1&quot;);
} ?&amp;gt;&lt;/pre&gt;
&lt;h1 style=&quot;font-size: 20px;&quot; class=&quot;splitter&quot;&gt;5. Difference between single and double quotes&lt;/h1&gt;
&lt;p&gt;In PHP there is a difference when using either single or double 
quotes, either ‘ or “. If you use double quotes ” then you are telling 
the code to check for a variable. If you are using single quotes ‘ then 
you are telling it to print whatever is between them. This might seem a 
bit trivial, but if you use the double quotes instead of the single 
quotes, it will still output correctly, but you will be wasting 
processer time.&lt;/p&gt;
&lt;p&gt;So that’s it, 5 useful and hopefully time-saving tips for you. I’d 
love to hear any feedback you have on these solutions, whether they 
worked for you, or whether you have another useful tip to share with 
others.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description>
            <pubDate>Sun, 15 Jul 2012 23:41:52 +0100</pubDate>
        </item>
        <item>
            <title>How to Unhide Hidden Files Caused by a Virus</title>
            <link>https://ashtech.yolasite.com/blog/how-to-unhide-hidden-files-caused-by-a-virus</link>
            <description>&lt;i&gt;How to unhide files That’s been Hidden by a Virus in USB Flash Drives or hard disks&lt;/i&gt;&lt;br&gt;&lt;br&gt;Nowadays, floppy drives are just remnants of old computers. Majority of computer users today are using USB Flash Disks as their primary storage of their files. Goodbye to the 1.4mb diskettes. You don’t have to buy lots of these diskettes just to store large files anymore.&lt;br&gt;&lt;br&gt;With USB Flash drives, all you need is a computer that has USB port to plug in to which is available in every computer today. Not only they are handy because of their small sizes, USB Flash drives can also store large files!&lt;br&gt;&lt;br&gt;The problem with using these flash drives, they’re easily infected with viruses. Some forms of virus infections among flash drives are the following: hides your files and folders, creates exe file extensions of your files and even corrupt your files. And later on infecting your PC.&lt;br&gt;&lt;br&gt;If you have a strong antivirus, you don’t have to worry with these threats that could infect your computer when a USB flash drive has been plug to the computer because they are easily deleted upon detection.&lt;br&gt;&lt;br&gt;Now, if your files have been infected even your antivirus is up-to-date and they’ve been hidden and no longer visible when you open your files, these are some tips on how to unhide hidden files caused by a virus.&lt;br&gt;&lt;br&gt;&lt;b&gt;1. Sometimes this infection can be solved by:&lt;/b&gt;&lt;br&gt;&lt;br&gt;* Going to Windows Explorer&lt;br&gt;* Tools menu&lt;br&gt;* Folder Option&lt;br&gt;* View Tab&lt;br&gt;* Choose “show Hidden Files and Folders”.&lt;br&gt;* If the files will show up, simply change the properties of the files/folders. Uncheck the “hidden” checkbox and the files will show again just like before.&lt;br&gt;&lt;br&gt;&lt;b&gt;2. If the above doesn’t work, and your files are still hidden, do this one that will surely work.&lt;/b&gt;&lt;br&gt;&lt;br&gt;Go To&lt;br&gt;&amp;gt;&amp;gt;folder options &amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; view &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; under files and folders check all &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; under hidden files and folders check show hidden files and folders &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; uncheck hide protected operating system files &lt;br&gt;&lt;br&gt;Then Click Start and type &quot;run&quot;&lt;br&gt;a window will pop up and then type &quot;cmd&quot; (without quotes)&lt;br&gt;A black window will pop up known as &quot;Comand Promt&quot;&lt;br&gt;&lt;br&gt;&amp;gt; Here u type&amp;nbsp; &quot;attrib -h -s &quot;&lt;br&gt;&amp;gt; Make sure you add a space after the -s.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; Drag and drop the file you want to change(make visible), onto the command prompt window.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; Press enter.&lt;br&gt;&amp;nbsp;Repeat this process for each file.&lt;br&gt;&lt;br&gt;Once this is done &lt;br&gt;&amp;gt;&amp;gt;folder options &amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; view &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; under files and folders check all &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; under hidden files and folders check show hidden files and folders &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; check hide protected operating system files&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;br&gt;&lt;br&gt;&lt;b&gt;3. This option is for those who do not want the long process.&lt;/b&gt;&lt;br&gt;&lt;br&gt;Download the unhide.exe program from Bleeping Computer &lt;a class=&quot;&quot; href=&quot;http://download.bleepingcomputer.com/grinler/unhide.exe&quot; target=&quot;new&quot;&gt;here&lt;/a&gt;, save it&lt;br&gt;&lt;br&gt;Once downloaded to your computer, then double click it to run the program – it may take quite a while (e.g. 2 – 30 minutes) to run depending how many files there are on your hard drive but just leave it running until it finishes.&lt;br&gt;&lt;br&gt;The unhide.exe program automatically goes through your computer and unhides all files except hidden system files – Windows files that are supposed to be (and should stay) hidden. It basically automates the attrib command above to&lt;br&gt;change the hidden attribute of all your files and folders.&lt;br&gt;&lt;br&gt;Once unhide.exe has finished you should now be able to view and open your documents/pictures/music again just as before&lt;br&gt;&lt;br&gt;&lt;br&gt;</description>
            <pubDate>Mon, 23 Apr 2012 23:35:07 +0100</pubDate>
        </item>
        <item>
            <title>Microsoft Outlook Load Error</title>
            <link>https://ashtech.yolasite.com/blog/outlook-2007</link>
            <description>&lt;P&gt;Your Microsoft Outlook May at times keeps reinstalling or reconfiguring Office 2007, 2003 and/or maybe 2010&lt;BR&gt;&lt;BR&gt;This Type of error os mostly found with &lt;I&gt;MS Office 2007&lt;/I&gt;.&lt;BR&gt;&lt;BR&gt;&lt;U&gt;Here's why:&lt;BR&gt;&lt;/U&gt;It means that your installation got damaged somehow and the installer is trying to fix it. but most of the time its jst keeps on repeating this process over and over again..&lt;BR&gt;&lt;BR&gt;&lt;U&gt;2&amp;nbsp;ways to solve this..&lt;BR&gt;&lt;BR&gt;&lt;/U&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; Click on start and type &quot;run&quot; (without quotes) and press enter.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; A&amp;nbsp;small window will popup in&amp;nbsp;that u type &quot;regedit&quot;&amp;nbsp;(without quotes) and press enter.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; open HKEY_CLASSES_ROOT and scroll extensions down to &lt;B&gt;.pip&lt;/B&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Here you&amp;nbsp; rigth click and change permissions to full control on &lt;B&gt;.pip&lt;/B&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Remove if need be when done just start office program say excel..&lt;/P&gt; 
&lt;P&gt;A new .pip will be created..all hassle gone&lt;BR&gt;&lt;BR&gt;2)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; If the above step does not sole it then, uninstall Office and then reinstall it again.&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; No data or configuration settings will be lost in this process.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Cheers!!!!!&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;</description>
            <pubDate>Thu, 12 Apr 2012 22:52:34 +0100</pubDate>
        </item>
    </channel>
</rss>
