...

View Full Version : PHP Varible Help



-MA TriX0978-
09-14-2005, 12:23 AM
Here is page of to help clean your computer. And updated versions of all the programs. So i was gonig to make them varibles so i just have to change the varibles and not every version number. So heres what i got and it doesnt work.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
{
$cwshred = "2.15";
$spywareblast = "304";
$microsoft = " 1.0.615";
$adware = "1.06";
$spybot = "1.4";
}
<head>
<style type="text/css">
a {
text-decoration: none;
}
</style>
<title>PC Maintenance</title>
<link rel="icon" type="mime type" src="http://lunarsoft.optichosts.net/images/TarunSupport.ico">
</head>
<body>
<br />
<center><h3>PC Maintenance</h3></center>
<br />
<hr />
<u>Disclaimer</u>: I am in no way, shape, or form affiliated with these applications. I simply work with them as a hobby. I do however have roughly ten years of computer experience. By viewing this page and/or downloading any files, you agree that I am in no way legally responsible for damage to your computer software or hardware. The entire risk as to the quality and performance of the covered code is with you. Should any covered code prove defective in any respect, you (Not the initial developer or any other contributor) assume the cost of any necessary servicing, repair, or correction. By seeking my assistance you hereby waive any possible means of legal action or otherwise.
<hr />
<ol><b><u>Index</u></b>:
<br />
<br />
<a href="#download">Download Needed Files</a><br />
<a href="#antivirus">Free Online Anti-Virus Utilities</a><br />
<a href="#install">Installation Instructions</a><br />
<a href="#orderoperations">Order Of Operations</a><br />
<a href="#settings:cws">Settings for CWShredder $cwshred</a><br />
<a href="#settings:spywareblaster">Settings for Spyware Blaster $spywareblast</a><br />
<a href="#settings:msas">Settings for Microsoft Anti-Spyware $microsoft</a><br />
<a href="#settings:ad-aware">Settings for Ad-Aware SE Personal $adware</a><br />
<a href="#settings:spybot">Settings for SpyBot S&amp;D $spybot</a><br />
<a href="#settings:ccleaner">Settings for CCleaner v1.23.160</a><br />
<a href="#settings:hijack">Settings for Hijack This 1.99.1</a>
<br />
<br />
<u>Last updated</u>: August 31st, 2005
<br />
<br />
Website now 100&#37; compatible for Firefox and Internet Explorer.</ol>
<hr />
<a name="download" id="download">
<ol><b><u>Download Needed Files</u></b></ol>
</a>
<ol type="1">
<li><form action="http://cwshredder.net/bin/CWShredder.exe" method="get" name="fname" id="fname"><input type="submit" value="CWShredder 2.15" name="submit" /> (457 KB)</form></li>
<li><form action="http://ct7support.com/downloads/javacool/z341a/spywareblastersetup34.exe" method="get" name="fname" id="fname"><input type="submit" value="Spyware Blaster 3.4" name="submit" /> (2.44 MB)</form></li>
<li><form action="http://download.microsoft.com/download/8/1/5/815d2d60-49b5-44dc-ae35-fca2f2c6f0cc/MicrosoftAntiSpywareInstall.exe" method="get" name="fname" id="fname"><input type="submit" value="Microsoft Anti-Spyware" name="submit" /> (6.22 MB)</form></li>
<li><form action="http://www.aeicomputertech.com/_downloads/aawsepersonal.exe" method="get" name="fname" id="fname"><input type="submit" value="Ad-Aware SE Personal 1.06" name="submit" /> (2.72 MB)</form></li>
<li><form action="http://www.net-integration.net/downloads/spybotsd14.exe" method="get" name="fname" id="fname"><input type="submit" value="Spybot Search &amp; Destroy 1.4" name="submit" /> (4.80 MB)</form></li>
<li><form action="http://download.softpedia.com/software/system/ccsetup119.exe" method="get" name="fname" id="fname"><input type="submit" value="CCleaner v1.23.160" name="submit" /> (435 KB)</form></li>
<li><form action="http://www.merijn.org/files/hijackthis.zip" method="get" name="fname" id="fname"><input type="submit" value="HijackThis 1.99.1" name="submit" /> (208 KB)</form>
<form action="http://www.zerosrealm.com/downloads/hjt.zip" method="get" name="fname" id="fname">Link above not working for HijackThis 1.99.1? <input type="submit" value="Mirror" name="submit" /></form>
Download all of the above applications in one rar or zip below. It's your choice!
<br />
<br />
<form action="http://downloads.locias.com/anti-malware/Anti-Malware.rar" method="get" name="fname" id="fname"><input type="submit" value="Anti-Malware Package Rar" name="submit" /> (14.5 MB)</form>
<form action="http://downloads.locias.com/anti-malware/Anti-Malware.zip" method="get" name="fname" id="fname"><input type="submit" value="Anti-Malware Package Zip" name="submit" /> (16.0 MB)</form>
</li>
</ol>
<hr />
<a name="antivirus">
<ol><b><u>Free Online Anti-Virus Utilities</u></b>
</a>
<br />
<br />
<a href="http://housecall.trendmicro.com/housecall/start_corp.asp">Trend Micro - Virus Scan</a> (Works for Firefox, Netscape, IE and more)<br />
<br />
To use these you need to run your Internet Explorer web browser.
<br />
<br />
<a href="http://us.mcafee.com/root/mfs/default.asp">McAfee Free Scan - Virus Scan Only</a><br />
<a href="http://security.symantec.com/default.asp?productid=symhome&amp;langid=ie&amp;venid=sym">Symantec Security Check - Virus Scan Only/Firewall Check</a>
<br />
<br />
Free Anti-Virus to run on your PC.
<br />
<br />
<a href="http://www.avast.com/eng/avast_4_home.html">Avast Home Edition</a>
<br />
<a href="http://free.grisoft.com/doc/2/lng/us/tpl/v5">AVG Free Edition</a>
</ol>
<hr />
<a name="install" id="install">
<ol><u><b>Installation Instructions</b></u></ol>
</a>
<ol type="1">
<li>Install Spyware Blaster 3.4</li>
<li>Install Microsoft Anti-Spyware 1.0.615</li>
<li>Install Ad-Aware SE Personal 1.06</li>
<li>Install SpyBot S&amp;D 1.4</li>
<li>Install CCleaner 1.23.160</li>
<br />
<b>Be sure to update to the most recent definitions, then run a full system scan with the configurations below.</b>
</ol>
<hr />
<a name="orderoperations">
<ol><b><u>Order Of Operations</u></b>
</a>
<br />
<br />
If you want me to clean your system here's what you have to do.<br />
You may wish to bookmark this page so you may return to it easier and faster.
<br />
</ol>
<ol type="1">
<li>Boot your computer into Safe Mode (F8 during the Windows logo screen on bootup). </li>
<li>Scan for viruses. (<a href="#antivirus">Free Online Scanners</a>)</li>
<li>Run CWShredder 2.15. (<a href="#settings:cws">Instructions</a>)</li>
<li>Run Spyware Blaster 3.4. (<a href="#settings:spywareblaster">Instructions</a>)</li>
<li>Run Microsoft Anti-Spyware 1.0.615. (<a href="#settings:msas">Instructions</a>)</li>
<li>Run Ad-Aware SE Personal 1.06. (<a href="#settings:ad-aware">Instructions</a>)</li>
<li>Run SpyBot S&amp;D 1.4. (<a href="#settings:spybot">Instructions</a>)</li>
<br />
At this point, you should reboot your computer and repeat steps 2, 5, and 6 if you have not already done so.</li>
</ol>
<ol type="1" start="7">
<li>Run CCleaner v1.23.160. (<a href="#settings:ccleaner">Instructions</a>)</li>
<li>Run Hijack This 1.99.1. (<a href="#settings:hijack">Instructions</a>)</li>
<li>Run <a href="http://windowsupdate.microsoft.com">Microsoft Windows Update</a>.</li>
</ol>
<ol><form action="http://download.mozilla.org/?product=firefox-1.0.4&os=win&lang=en-US" method="get" name="fname" id="fname">I <b>HIGHLY</b> recommend using <a href="http://www.mozilla.org/products/firefox/">Firefox</a> as your browser. <input type="submit" value="Download Firefox 1.0.4" name="submit" /></form>
I have also written up documentation for tweaking and optimizing Firefox.<br />
If you are interested you may view this direct url to the <a href="http://lunarsoft.optichosts.net/Forums/viewforum/f=9.html">Lunarsoft Forum</a> that features the tweaking guide.
<br />
<br />
<form action="http://www.verisign.com/advisor/check.html" method="get" name="fname" id="fname">If you'd like to check your browser's security, check with this link. <input type="submit" value="Web Browser SSL Check" name="submit" /></form>
If you came here through any other website then do the following.
</ol>
<ol type="1">
<li>Click this link to <a href="http://lunarsoft.locias.com/Your_Account/register.html">register</a> on my Lunarsoft website and forums.</li>
<li>Make a post under this <a href="http://lunarsoft.locias.com/Forums/viewforum/f=11.html">HijackThis forum</a>.</li>
</ol>
<ol><b>GOOD LUCK!</b>
<br />
<br />
Tarun Nightfyre
</ol>
<hr />
<a name="settings:cws" id="settings:cws">
<ol><u><b>Settings for CWShredder 2.15</b></u></ol>
</a>
<ol type="1">
<li>Click &quot;Fix -&gt;&quot;.</li>
<li>Close all browser windows that are open.</li>
<li>Click &quot;OK&quot; on the message box that tells you to close all open browser windows to ensure CWS is cleaned and removed.</li>
<li>After it scans through, a report will be made. Click &quot;Next -&gt;&quot; and allow it to fix the problems found, if any were discovered.</li>
<li>Click &quot;Exit&quot; as you are finished.</li>
</ol>
<hr />
<a name="settings:spywareblaster" id="settings:spywareblaster">
<ol><u><b>Settings for Spyware Blaster 3.4</b></u></ol>
</a>
<ol type="1">This is by far the easiest application to update and apply simply by doing the following.
<br />
<br />
<li>Under &quot;Quick Tasks&quot; click &quot;Download Latest Protection Updates&quot;.</li>
<li>Click &quot;Protection&quot; on the left side of the application.</li>
<li>Under &quot;Quick Tasks&quot; click &quot;Enable All Protection&quot;.</li>
</ol>
<hr />
<a name="settings:msas">
<ol><u><b>Settings for Microsoft Anti-Spyware</b></u>
</a>
<br />
<br />
Open Microsoft Anti-Spyware. Click on &quot;File&quot; and then &quot;Check for updates...&quot;</ol>
<ol type="1">
<li>Click &quot;Scan Options&quot;. </li>
<li>Select &quot;Run a full system scan&quot;. </li>
<li>Make sure every option is checked. </li>
<li>Check &quot;Save these options&quot;. </li>
<li>Click &quot;Scan Now&quot; to begin scanning.</li>
</ol>
<hr />
<a name="settings:ad-aware" id="settings:ad-aware">
<ol><u><b>Settings for Ad-Aware SE Personal 1.06</b></u></ol>
</a>
<ol type="1">
<li>Open Ad-Aware SE Personal 1.06 and click on the Configuration (The metal gear button).
<br />All of the items mentioned below should be checked (green checkmark). If you cannot check them off, simply skip them.</li>
<ol type="A">
<li>Under &quot;General&quot;: Make sure every option is checked.</li>
<li>Under &quot;Scanning&quot;: Make sure every option except &quot;Skip files larger than:&quot; is checked.</li>
<li>Under &quot;Advanced&quot;: Make sure everything under &quot;Logfile Detail Level&quot; is checked.</li>
<li>Under &quot;Defaults&quot;: Click &quot;Read current settings from system&quot;; or enter Default Homepage of &quot;about:blank&quot; and Default searchpage of &quot;http://www.microsoft.com/isapi/redir.dll?prd=ie&amp;ar=iesearch&quot;.</li>
<li>Under &quot;Tweak&quot;:
<ul type="circle">
<li>Scanning Engine: Unload recognized processes &amp; modules during scan, Run scan as background process (Low priority), Scan registry for all users instead of current user only.</li>
<li>Cleaning Engine: Make sure every option is checked except for &quot;Disable manual quarantine if auto-quarantine is selected&quot;.</li>
<li>Safety Settings: Check item &quot;Reanalyze results after scanning before displaying results lists&quot;.</li>
<li>Log Files: Make sure every option is checked.</li>
<li>User Interface: Check items &quot;Use gridlines in results lists&quot; and &quot;Show detail tooltips in results lists&quot;.</li>
<li>Misc Settings: Disable the option &quot;Play sound at scan completion if scan locates critical objects&quot;.</li>
</ul>
</li>
</ol>
<li>Now you will click Proceed.</li>
<li>When you scan, click Scan now on the left side or press Start.</li>
<li>Next, select the option &quot;Use custom scanning options&quot; and make sure &quot;Search for negligible risk entries&quot; is checked.</li>
<li><b>Press Next to begin scanning.</b></li>
</ol>
<hr />
<a name="settings:spybot">
<ol><u><b>Settings for SpyBot S&amp;D 1.4</b></u>
</a>
<br />
<br />
<b>*</b> <u><b>NOTE</b></u>: You do NOT need to run or activate TeaTimer or SDHelper.<br />
I have found these to slow down the system with &quot;added protection&quot;.<br />
This document is to help remove and prevent further spyware and adware infestations, along with improving your computers performance.<br />
If you wish to have the extra protection, simply enable SDHelper.
<br />
<br />
<u><b>FIRST TIME ONLY</b></u></ol>
<ol type="1">
<li>Click &quot;Mode&quot; -&gt; &quot;Advanced&quot;.</li>
<li>Click &quot;Yes&quot; on the message box that appears.</li>
<li>Click &quot;Settings&quot; -&gt; &quot;File Sets&quot; -&gt; Make sure everything is checked.</li>
</ol>
<ol><u><b>After EVERY update and starting of the application</b></u></ol>
<ol type="1">
<li>Click on Update and check for updates. If found, install all of them.</li>
<li>Click &quot;Immunize&quot; and let it scan and apply these settings.</li>
<li>Click &quot;Search &amp; Destroy&quot; and then click &quot;Check for Problems&quot;</li>
This will find any spyware/adware installed and also offer to clean your usage tracks.<br />
If you have your folders set in a special way, simply do not check off Windows Explorer in the usage tracks reported</li>
</ol>
<hr />
<a name="settings:ccleaner" id="settings:ccleaner">
<ol><u><b>Settings for CCleaner v1.23.160</b></u></ol>
</a>
<ol type="1">
<li>Click the &quot;Windows&quot; tab and check EVERY option.</li>
<li>Click the &quot;Applications&quot; tab and check EVERY option.</li>
<li>Click the &quot;Run Cleaner&quot; button.</li>
</ol>
<ol><u><b>ADVANCED USERS ONLY</b></u><br />
This will work with your registry. If you do not feel comfortable making changes to your registry then skip this section.</ol>
<ol type="1">
<li>Click the &quot;Issues&quot; tab and check EVERY option.</li>
<li>Click the &quot;Scan For Issues&quot; button.</li>
<li>Right click and choose &quot;Select All&quot;.</li>
<li>Click the &quot;Fix selected issues...&quot; button.</li>
<li>Click &quot;Yes&quot; when asked to backup changes to the registry.</li>
<li>Save the backup for repairing these issues so you may find it easily when you need it in the future.</li>
</ol>
<hr />
<a name="settings:hijack" id="settings:hijack">
<ol><u><b>Settings for Hijack This 1.99.1</b></u></ol>
</a>
<ol type="1">
<li>Click &quot;Do not show this frame again when I start HijackThis&quot; at the bottom.</li>
<li>Click the &quot;Scan&quot; button.</li>
<li>Click the &quot;Save Log&quot; button.</li>
<li>Name your log with your screen name and add .txt to the end. (Example: Tarun-Hijack.txt) </li>
</ol>
?>
</body>
</html>


Any help? Heres what it comes up as.

http://www.mastainc.com/cleaning.php

Nightfire
09-14-2005, 12:31 AM
Look around where the error is. Says there a < where it shouldn't be. Reason? You've not closed your php off :)

<?php
{
$cwshred = "2.15";
$spywareblast = "304";
$microsoft = " 1.0.615";
$adware = "1.06";
$spybot = "1.4";
}
?>

-MA TriX0978-
09-14-2005, 12:43 AM
Ok i ended its. That fixed the error but now it wont show the values of the varibles. just shows the varibles.

JamieR
09-14-2005, 12:51 AM
Haven't you got to echo the variables out? i.e. echo $microsoft etc otherwise it'd just think that the variable name is text.

Tynan
09-14-2005, 01:35 PM
and tag it as php

yikes



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum