Your Ad Here

Thursday, March 26, 2009

Question about how PHP treats things fetched via MySQL

Code:
---------
$sql = "SELECT * FROM `table` WHERE `XXX` = '$YYY'";
$result = mysql_query($sql);
$info = mysql_fetch_assoc($result);
---------
I've got this part down, and it works well enough, where I'm confused, however, is how PHP handles it if MySQL sends back more than one row. Does it create a multi-dimensional array (e.g. $info[1][id], $info[2][id]), or does it treat it some other way? How can I pick through the results sent back from MySQL to find the specific row I want at the moment without modifying the initial call?

Read More...
Your Ad Here

Drupal - Contact Node Author

I'm working with a custom content type using CCK, and I am trying to have a link to contact the Node Author. It would be excellent to use the user-user contact form enabled through the core module, 'Contact'.

I noticed on Mike's blog that he was familiar with Drupal, so I thought I might throw this question out there.

Thanks, you guys are amazing!

Read More...
Your Ad Here

Recovery issues

Long story short:

Decided to scrap a table in my DB, hit the drop button, PHPmyadmin decided to delete the whole DB without confirmation instead of confirming I wanted to delete the table. Fortunately, I synced my local copy with the one on my site's server this morning, so I've only lost a day's worth of data (theoretically).

That said...

I've tried doing an SQL dump to import from the server to my laptop directly. It says I hit my memory limit, and nothing worth bothering with shows up. I tried downloading it as an .sql file, all of 844kb, and it bombs on me in spite of the fact that it says the max size is 2,048 KiB. Trying to do an SQL dump of one table at a time isn't having any more success; I ended up getting just 2/3 of the first table before it decided it hit its memory limit.

So, what is there that I can do, that doesn't involve putting all the data in manually? If I need to change any configuration files, I'm running OS X on my laptop.

Read More...
Your Ad Here

When echoing a variable it displays literally

Code:
---------
echo '

$title
';
---------
When I use this bit of code it displays the title as literally "$title" which is obviously not what I'm trying to do. I would like it to display the variable of the title. Here's the code that I'm working with in it's entirety [Note - I'm working with Magpie RSS]:


Code:
---------
$rss = fetch_rss('http://sports.espn.go.com/espn/rss/news');

$items = array_slice($rss->items, 0, 5);
foreach ($items as $item) {
$href = $item['link'];
$title = $item['title'];
$desc = $item['description'];
echo '

$title
';
if($desc) echo $desc;
}?>
---------


Read More...

Your Ad Here

Multiple Processes

Hi there. I just had a quick question about some of the processes my computer has been running. For example, I have two csrss.exe files, and something like 12 svchost.exe files running. Is this normal or should I be worried?

Read More...
Your Ad Here

Router problem

Im not able to get into my routers interface. I changed my IP of my router to 192.168.1.100 a long time back because im using a modem whose ip is 192.168.1.1 so for portforwarding they both had to be in the same address like 192.168.1.xxx . Anyway, Right now my Routers Wireless is not working plus when i try to login to the router the login page just doesnt open. I tried 192.168.1.100 and i also tried 192.168.0.1 which was the default address of the router. After everything failed i resetted the router using the button at the back and even that did not help. So can you guys help me out here ? :roll:

Read More...
Your Ad Here

Random Character String Form

I'm trying to build an HTML form that has a simple textarea that is submitted. However, once that form is submitted I am trying to display a random character string that is linked to a newly created dynamic page, specifically for that new string.

I am integrating this with Twitter so the string will be a hashtag, which in turn will then be able to look at any Tweets with this hashtag. I'm guessing to write a php script to create the random string and have it displayed. Not quite sure on how to link it.

I think altering this code:


Code:
---------



/**

* The letter l (lowercase L) and the number 1

* have been removed, as they can be mistaken

* for each other.

*/



function createRandomPassword() {



$chars = "abcdefghijkmnopqrstuvwxyz023456789";

srand((double)microtime()*1000000);

$i = 0;

$pass = '' ;



while ($i <= 7) {

$num = rand() % 33;

$tmp = substr($chars, $num, 1);

$pass = $pass . $tmp;

$i++;

}



return $pass;



}



// Usage

$password = createRandomPassword();

echo "Your random password is: $password";



?>
---------
Should suffice to create the random string. Any ideas?

Read More...
Your Ad Here

See You at EclipseCon!


I have the very great honor of speaking at this year's EclipseCon with one of my heroes, Clay Shirky.


eclipsecon logo


The theme of this year's EclipseCon is collaboration -- so all the talks are presented by two speakers. Our talk, The Social Mind: Designing Like Groups Matter, will alternate between the theory (Clay) and practice (Jeff) of online community. Hopefully in a coherent way.


This is an easy talk for me to deliver, because I quite literally used Clay Shirky's book, Here Comes Everybody: The Power of Organizing Without Organizations, as a blueprint for building Stack Overflow.


Here Comes Everybody: The Power of Organizing Without Organizations


I wasn't kidding when I said It's Clay Shirky's Internet, We Just Live In It.


I can't emphasize enough how deeply I respect Clay. I've read everything he's written to a degree that you might even say I studied it. Clay continues to be one of the most perceptive and insightful technical writers in the world on the topic of internet culture and community. His latest missive on the demise of newspapers is not to be missed. It's thrilling to have this opportunity to speak side by side with such a vital, important figure in internet history.


It is also extremely gratifying to me that I am giving this talk to a group of non Windows-centric developers. Despite my personal background, we always intended Stack Overflow to be a tribute to the greater craft of programming, a place where you could rub shoulders with fellow programmers from all sorts of different backgrounds and professional interests -- a bit like the old, classic computer programming magazines like Byte and Dr. Dobb's Journal.








old-byte-magazine.png

old-dr-dobbs-magazine.png


It pains me to see developers who let themselves get locked into some particular toolchain ghetto, without at least peripheral awareness of what else is going on in the programming world around them.


Good programmers are interested in everything -- and that's exactly the kind of talk Clay and I intend to deliver.





[advertisement] Improve Your Source Code Management using Atlassian Fisheye - Monitor. Search. Share. Analyze. Try it for free!



Read More...

Your Ad Here

Live Messenger Load Error..!

Hi,

I have windows vista ultimate edition and few hours ago it is working fine.Today i installed latest version of the live messenger and when it starts my pc gets stuck and now time to time it shows error messages of reading registry and memory as well.

I tried to un-install and do the re-install the live messenger as well.but no luck so far.Any help..you guys can offer? please dont say to format my PC because of this error in live messenger.I hope i can get a better help than that.

Read More...
Your Ad Here

RSS Feed into MySQL Database

Alright, I'm not sure if this question is within the scope of this forum. But I would like to:

Grab an RSS feed -> Each entry in the feed goes into the database

I then want to grab this information in the database and be able to search the database.

I found this bit of code to help out:


Code:
---------
/*
RSS import for WordPress
by Andrew Shearer (awshearer@shearersoftware.com)

For current version and more info, see:
http://www.shearersoftware.com/software/web-tools/wordpress-rss-import/

This script is currently intended to be run from the command line or from the
web after it has been configured by editing variables in the first few lines
of the script.

To use it, first set the $path variable below to a path to an RSS file or
directory containing a blogBrowser archive (one folder per year, one RSS file
per month.) Then run this script from the command line (php import-rss.php).

Examples:

Import an rss.xml file in this directory:
$path = dirname(__FILE__).'/rss.xml';

Import an rss.xml file with a full path specified (Mac OS X full path):
$path = '/Users/testuser/Sites/mysite/rss.xml';

Import a blogBrowser archive in a folder named C:/documents/weblog,
including monthly RSS files such as weblog/2003/12.xml (Windows full path):
$path = 'C:/documents/weblog';

Future improvements: make this runnable from a web browser. Single RSS files
could be handled through uploads, and multi-file blogBrowser archives could be
specified by base URL.

Revision history:

2003-12-26 ashearer Improved date conflict resolution with $kUpdatePostsAlways
and $kUpdatePostsIfNewer options; added $kTakeNoAction;
added more comments
2003-12-22 ashearer Added blogBrowser archive support; optional mod. dates;
mod. date column autocreation
2003-12-21 ashearer RSS import, initial version


*/

//$path = dirname(__FILE__).'/../archivedir';
//$path = dirname(__FILE__).'/rss.xml';
$path = 'http://www.example.com/rss.xml';

$kCreateModDateField = false; // autocreate post_modified field?
$kSetModDateField = true; // import post_modified field from RSS file?
$kUpdatePostsAlways = true; // true to import RSS version even if it replaces current version
$kUpdatePostsIfNewer = false; // if true, in case of conflict, use newer version; requires post_modified field
$kTakeNoAction = false; // like -n flag; report actions but don't actually change DB

error_reporting(E_ALL);

class post {
var $title;
var $content;
var $createDate;
var $modDate;
var $guid;
var $categories;
var $postTitle;
}

$kExcludeCategories = array('Testing' => '');

$currentPost = null;
$currentText = '';

function parseDateISO8601($input) {
// returns the date in SQL (MySQL, at least)-compatible text format
return substr($input, 0, 10) . ' ' . substr($input, 11, 8);
}

function parseDateRFC822($input) {
// returns the date in SQL (MySQL, at least)-compatible text format
return strftime('%Y-%m-%d %H:%I:%S', strtotime($input));
}

function startElement($parser, $name, $attrs) {
global $currentPost, $currentText, $currentGuidAttrs;
if ($name == 'item') {
$currentPost = new post();
$currentPost->categories = array();
}
elseif ($name == 'guid') {
$currentGuidAttrs = $attrs;
}
$currentText = '';
}

function endElement($parser, $name) {
global $currentPost, $currentText;

switch ($name) {
case 'title': case 'http://www.w3.org/1999/02/22-rdf-syntax-ns# title':
$currentPost->title = $currentText;
break;

case 'content:encoded': case 'http://purl.org/rss/1.0/modules/content/ encoded':
$currentPost->content = $currentText;
break;

case 'description': case 'http://www.w3.org/1999/02/22-rdf-syntax-ns# description':
// content:encoded trumps description, so only save the description
// if there's no content already
if (!isset($currentPost->content) || !strlen($currentPost->content)) {
$currentPost->content = $currentText;
}
break;

case 'pubDate':
$currentPost->createDate = parseDateRFC822($currentText);
break;

case 'dc:date': case 'http://purl.org/dc/elements/1.1/ date':
$currentPost->createDate = parseDateISO8601($currentText);
break;

case 'dcterms:modified': case 'http://purl.org/dc/terms/ modified':
$currentPost->modDate = parseDateISO8601($currentText);
break;

case 'category': case 'dc:subject': case 'http://purl.org/dc/elements/1.1/ subject':
$currentPost->categories[] = $currentText;
break;

case 'guid':
if (isset($currentGuidAttrs['isPermaLink']) && $currentGuidAttrs['isPermaLink'] == 'true') {
$currentPost->permalink = $currentText;
}
$currentPost->guid = $currentText;
break;

case 'item': case 'http://www.w3.org/1999/02/22-rdf-syntax-ns# item':
processPost($currentPost);
$currentPost = null;
break;
}

$currentText = '';
}

function characterData($parser, $data) {
global $currentText;
$currentText .= $data;
}



// WordPress-specific code


$post_author = 'admin';

require_once('../wp-config.php');
require_once(ABSPATH.WPINC.'/template-functions.php');
require_once(ABSPATH.WPINC.'/functions.php');
require_once(ABSPATH.WPINC.'/vars.php');

if ($kCreateModDateField && !$kTakeNoAction) {
require_once(ABSPATH.'/wp-admin/install-helper.php');
$res = '';
$tablename = $tableposts;
$ddl = "ALTER TABLE $tableposts ADD COLUMN post_modified datetime";
maybe_add_column($tablename, 'post_modified', $ddl);
if (check_column($tablename, 'post_modified', 'datetime')) {
$res .= $tablename . ' - ok
'."\n";
} else {
$res .= 'There was a problem with ' . $tablename . '
'."\n";
//++$error_count;
}
echo $res;
}


function processPost(&$post) {
global $kSetModDateField, $kUpdatePostsAlways, $kUpdatePostsIfNewer, $kTakeNoAction;

//print_r($post);

// Filter out (ignore) posts having categories that are all listed as "excluded"
// If a post has no categories, or at least one non-excluded category, it is still
// included.
if (sizeof($post->categories)) {
$gotIncludedCategory = false;
foreach ($post->categories as $categoryName) {
if (!isset($kExcludedCategories[$categoryName])) {
$gotIncludedCategory = true;
break;
}
}
if (!$gotIncludedCategory) {
return;
}
}

global $post_author, $kExcludeCategories;
global $wpdb;
global $tableusers, $tableposts, $tablepost2cat, $tablecategories;

$post_author_ID = $wpdb->get_var("SELECT ID FROM $tableusers WHERE user_login = '$post_author'");

$post_content = $post->content;
$post_content = str_replace('
', '
', $post_content); // XHTMLify
tags

/* Un-word-wrap the content, because
tags will be added at display time
for line breaks, and RSS feeds are often already soft-wrapped. Replace \n and \r
with spaces.

However, we don't want to remove word wrapping inside
 tags. Stopping short

of a full HTML parser, we only un-wrap those sections not inside
 tag pairs.

(This code could be misled by things that look like
 tags wrapped in HTML comments,

but oh well.)
*/
/*$pos = $lastpos = 0;
while ($lastpos !== false && ($pos = strpos($post_content, '
', $lastpos)) !== false) {

$post_content = substr($post_content, 0, $lastpos)
. str_replace("\n", ' ', str_replace("\r", ' ', substr($post_content, $lastpos, $pos - $lastpos)))
. substr($post_content, $pos);
$lastpos = strpos($post_content, '
', $pos);
}
if ($lastpos !== false) {
$post_content = substr($post_content, 0, $lastpos)
. str_replace("\n", ' ', str_replace("\r", ' ', substr($post_content, $lastpos)));
}
*/

$post_content = addslashes($post_content);

#$post_content = str_replace("\r", ' ', $post_content);
#$post_content = str_replace("\n", ' ', $post_content);
$post_date = addslashes($post->createDate);
$post_title = addslashes($post->title);
$post_modified = $kSetModDateField ? addslashes($post->modDate) : '';
$post_name = '';
if (isset($post->permalink) && strlen($post->permalink)) {
$matches = array();
if (preg_match('|/[0-9]{4}/[0-9]{2}/[0-9]{2}/([A-Za-z0-9_-]*)/?|', $post->permalink, $matches)) {
$post_name = $matches[1];
$post_name = mysql_escape_string($post_name);
}
}


$categoryIDList = array();
foreach ($post->categories as $categoryName) {
if (isset($kExcludedCategories[$categoryName])) {
continue;
}
$categoryID = $wpdb->get_var("SELECT cat_ID FROM $tablecategories WHERE cat_name = '".mysql_escape_string($categoryName)."'");
if (!$categoryID) {
if ($kTakeNoAction) {
echo "Would have inserted new category '$categoryName'.";
$categoryID = 0;
}
else {
$categoryNiceName = sanitize_title($categoryName);
$wpdb->query("INSERT INTO $tablecategories
(cat_name, category_nicename)
VALUES
('".mysql_escape_string($categoryName)."','".mysql_escape_string($categoryNiceName)."')");
$categoryID = $wpdb->get_var("SELECT LAST_INSERT_ID()");
}
}
else {
// category already exists; could update its nicename here if it tended not to be correct already.
//$wpdb->query("UPDATE $tablecategories SET category_nicename = '".mysql_escape_string(sanitize_title($categoryName))."' WHERE cat_ID = ".intval($categoryID));
}
$categoryIDList[] = $categoryID;
}


// Quick-n-dirty check for dups:
if ($kUpdatePostsIfNewer) {
$dupcheck = $wpdb->get_results("SELECT ID,post_date,post_title,post_modified FROM $tableposts WHERE post_date='$post_date' AND post_title='$post_title' LIMIT 1",ARRAY_A);
}
else {
$dupcheck = $wpdb->get_results("SELECT ID,post_date,post_title FROM $tableposts WHERE post_date='$post_date' AND post_title='$post_title' LIMIT 1",ARRAY_A);
}
if ($dupcheck[0]['ID']) {
// post already exists
if ($kUpdatePostsAlways || ($kUpdatePostsIfNewer && $kSetModDateField && $dupcheck[0]['post_modified'] < $post_modified)) {
print "
\n\nUpdating post, ID = '" . $dupcheck[0]['ID'] . "'
\n";
print "Timestamp: " . $post_date . "
\n";
print "Post Title: '" . stripslashes($post_title) . "'
\n";
if (!$kTakeNoAction) {
$postID = $dupcheck[0]['ID'];
$result = $wpdb->query("
UPDATE $tableposts
SET post_author = '$post_author_ID', post_date = '$post_date',
".($kSetModDateField ? "post_modified = '$post_modified', " : "")."
post_content='$post_content',
post_title = '$post_title', post_name = '$post_name' WHERE ID = ".intval($postID));
//echo "DELETE FROM $tablepost2cat WHERE post_id = ".intval($postID);
$result = $wpdb->query("DELETE FROM $tablepost2cat WHERE post_id = ".intval($postID));
foreach ($categoryIDList as $categoryID) {
$result = $wpdb->query("
INSERT INTO $tablepost2cat
(post_id, category_id)
VALUES
(".intval($postID).",".intval($categoryID).")
");
}
}
}
else {
print "
\n\nSkipping duplicate post, ID = '" . $dupcheck[0]['ID'] . "'
\n";
print "Timestamp: " . $post_date . "
\n";
print "Post Title: '" . stripslashes($post_title) . "'
\n";
}
}
else {
print "
\nInserting new post.
\n";
print "Timestamp: " . $post_date . "
\n";
print "Post Title: '" . stripslashes($post_title) . "'
\n";
if (!$kTakeNoAction) {
$result = $wpdb->query("
INSERT INTO $tableposts
(post_author,post_date,post_content,post_title,post_name,post_category".($post_modified ? ",post_modified" : "").")
VALUES
('$post_author_ID','$post_date','$post_content','$post_title','$post_name','1'".($post_modified ? ",'$post_modified'" : "").")
");
$postID = $wpdb->get_var("SELECT LAST_INSERT_ID();");
if ($postID) {
foreach ($categoryIDList as $categoryID) {
$result = $wpdb->query("
INSERT INTO $tablepost2cat
(post_id, category_id)
VALUES
(".intval($postID).",".intval($categoryID).")
");
}
}
}
}
}

// XML parsing code
function importRSSFile($filePath) {
if (function_exists('xml_parser_create_ns')) {
$xml_parser = xml_parser_create_ns('iso-8859-1',' '); // space sep for namespace URI
}
else {
$xml_parser = xml_parser_create();
}
// make sure to turn off case-folding; XML 1.0 is case-sensitive
xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, false);
xml_set_element_handler($xml_parser, "startElement", "endElement");
xml_set_character_data_handler($xml_parser, "characterData");
if (!($fp = fopen($filePath, "r"))) {
die("could not open XML input");
}

while ($data = fread($fp, 4096)) {
if (!xml_parse($xml_parser, $data, feof($fp))) {
die(sprintf("XML error: %s at line %d",
xml_error_string(xml_get_error_code($xml_parser)),
xml_get_current_line_number($xml_parser)));
}
}
xml_parser_free($xml_parser);
fclose($fp);
}

function importBlogArchive($dirPath) {
$startYear = 1980;
$endYear = intval(strftime('%Y'));
for ($testYear = $startYear; $testYear <= $endYear; $testYear++) {
for ($testMonth = 1; $testMonth <= 12; $testMonth++) {
$rssFilePath = $dirPath.'/'.$testYear.'/'.($testMonth < 10 ? '0' : '').$testMonth.'.xml';
if (is_file($rssFilePath)) {
importRSSFile($rssFilePath);
}
}
}
}


if (is_dir($path)) {
importBlogArchive($path);
}
else {
importRSSFile($path);
}

/*echo '
';

print_r($EZSQL_ERROR);
echo '
';
*/

?>
---------
I want to do this with certain feeds through Twitter. What I am foreseeing is a possible ridiculous sized database, but the feed that I will be grabbing will be a specific hashtag. This should keep the database size reasonable.

Read More...
Your Ad Here

Windows XP Professional Edition reinstallation CD

I have a Dell computer with Windows XP home edition. We got a virus (es) (its happened before) and we were going to reformat the hard drive but for some reason, the computer thinks we have Windows XP professional and wont let us use the resinstallation CD that came with the computer. Should I buy one from someone off Amazon.com or does anyone have another solution? Thanks

Read More...
Your Ad Here

need help with php previw and summit form

Hello everyone! This is regarding HTML forms, PHP .

My Question:

How do you create an html formor php form that goes to a preview screen and then allows the user to move back to the form if they made any errors and corrections are needed or click the send button to submit the form. The form's contents are to be send to an email address

Read More...
Your Ad Here

Registry closes after 10 seconds

Hello Ozzu,

I have a problem with a Windows XP SP2 system that has demonstrated several irregularities. Regedit will open and after 10 seconds it would close automatically. Additionally, after doing a Google search, I would click on a link and end up going to a random website. It doesnt happen everytime but enough to get my attention. Additionally, chkdsk doesnt run after rebooting. I ran Spyware Doctor in Safe Mode and all the problems mentioned happened in Safe Mode as well.

Ive run the following programs in order to try and find a virus, adware or spyware:

Spyware Doctor 6.0.0.386
http://www.trendmicro.com/housecall
EZTrust 7.0 Virus Scan
sfc /scannow
Advanced System Care 3

Ive also followed the directions from your "Steps to Take Before Posting":

I went to Add/Remove Programs and did not find any of the listed applications. I also went through and removed any programs that seemed out of place
Ran Spybot - Search and Destroy in Safe Mode - found a few things but all were cookies
Rebooted to Safe Mode
Ran Ad-Aware and only found one cookie
Rebooted to Desktop
Ran Regedit again and window closed after 10 seconds

Here is the HiJackThis log file:

Logfile of Trend Micro HijackThis v2.0.2
Scan saved at 1:08:00 PM, on 3/25/2009
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)
Boot mode: Normal

Running processes:
C:WINDOWSSystem32smss.exe
C:WINDOWSsystem32winlogon.exe
C:WINDOWSsystem32services.exe
C:WINDOWSsystem32lsass.exe
C:WINDOWSsystem32Ati2evxx.exe
C:WINDOWSsystem32svchost.exe
C:WINDOWSSystem32svchost.exe
C:WINDOWSsystem32spoolsv.exe
C:WINDOWSSystem32cisvc.exe
D:Program FilesDiskeeper CorporationDiskeeperDkService.exe
C:WINDOWSSystem32svchost.exe
C:Program FilesCAeTrust AntivirusInoRpc.exe
C:Program FilesCAeTrust AntivirusInoRT.exe
C:Program FilesCAeTrust AntivirusInoTask.exe
C:Program FilesCommon FilesMicrosoft SharedVS7DEBUGMDM.EXE
C:Program FilesReflectionrtsserv.exe
C:WINDOWSsystem32r_server.exe
C:WINDOWSProPatchesSchedulerstSchedEx.exe
C:WINDOWSSystem32svchost.exe
C:Program FilesRealVNCVNC4WinVNC4.exe
C:WINDOWSsystem32MsPMSPSv.exe
C:WINDOWSsystem32Ati2evxx.exe
C:WINDOWSExplorer.EXE
C:Program FilesCommon FilesMicrosoft SharedWorks SharedWkUFind.exe
C:Program FilesHewlett-PackardPhotoSmartPhoto ImagingHpi_Monitor.exe
C:Program FilesJavajre1.6.0_01binjusched.exe
C:WINDOWSsystem32ctfmon.exe
C:Program FilesAdobeAcrobat 6.0Distillracrotray.exe
C:Program FilesJavajre1.6.0_01binjucheck.exe
C:WINDOWSsystem32cidaemon.exe
C:Documents and Settingsitadmin.bhtnDesktopHiJackThis.exe

R0 - HKCUSoftwareMicrosoftInternet ExplorerMain,Start Page =
R0 - HKCUSoftwareMicrosoftInternet ExplorerMain,Local Page =
R0 - HKCUSoftwareMicrosoftInternet ExplorerToolbar,LinksFolderName =
R3 - Default URLSearchHook is missing
O2 - BHO: SSVHelper Class - {761497BB-D6F0-462C-B6EB-D4DAF1D92D43} - C:Program FilesJavajre1.6.0_01binssv.dll
O4 - HKLM..Run: [Logitech Hardware Abstraction Layer] KHALMNPR.EXE
O4 - HKLM..Run: [Microsoft Works Update Detection] C:Program FilesCommon FilesMicrosoft SharedWorks SharedWkUFind.exe
O4 - HKLM..Run: [CXMon] "C:Program FilesHewlett-PackardPhotoSmartPhoto ImagingHpi_Monitor.exe"
O4 - HKLM..Run: [SunJavaUpdateSched] "C:Program FilesJavajre1.6.0_01binjusched.exe"
O4 - HKLM..Run: [Ad-Watch] C:Program FilesLavasoftAd-AwareAAWTray.exe
O4 - HKCU..Run: [Advanced SystemCare 3] "C:Program FilesIObitAdvanced SystemCare 3AWC.exe" /startup
O4 - HKCU..Run: [ctfmon.exe] C:WINDOWSsystem32ctfmon.exe
O4 - HKUSS-1-5-18..RunOnce: [RunNarrator] Narrator.exe (User SYSTEM)
O4 - HKUSS-1-5-18..RunOnce: [TSClientMSIUninstaller] cmd.exe /C "cscript %systemroot%InstallerTSClientMsiTranstscuinst.vbs" (User SYSTEM)
O4 - HKUSS-1-5-18..RunOnce: [] (User SYSTEM)
O4 - HKUS.DEFAULT..RunOnce: [RunNarrator] Narrator.exe (User Default user)
O4 - Global Startup: Acrobat Assistant.lnk = C:Program FilesAdobeAcrobat 6.0Distillracrotray.exe
O4 - Global Startup: Adobe Reader Speed Launch.lnk = C:Program FilesAdobeAcrobat 7.0Readerreader_sl.exe
O9 - Extra button: (no name) - {08B0E5C0-4FCB-11CF-AAA5-00401C608501} - C:Program FilesJavajre1.6.0_01binssv.dll
O9 - Extra Tools menuitem: Sun Java Console - {08B0E5C0-4FCB-11CF-AAA5-00401C608501} - C:Program FilesJavajre1.6.0_01binssv.dll
O9 - Extra button: Research - {92780B25-18CC-41C8-B9BE-3C9C571A8263} - C:PROGRA~1MICROS~2OFFICE11REFIEBAR.DLL
O9 - Extra button: Messenger - {FB5F1910-F110-11d2-BB9E-00C04F795683} - C:Program FilesMessengermsmsgs.exe
O9 - Extra Tools menuitem: Windows Messenger - {FB5F1910-F110-11d2-BB9E-00C04F795683} - C:Program FilesMessengermsmsgs.exe
O16 - DPF: {17492023-C23A-453E-A040-C7C580BBF700} (Windows Genuine Advantage Validation Tool) - http://go.microsoft.com/fwlink/?linkid=39204
O16 - DPF: {1ED48504-8834-11D5-AC75-0008C73FD642} (ProductView Express) - file://D:ptcproei486_ntobjpvx_install.exe
O16 - DPF: {215B8138-A3CF-44C5-803F-8226143CFC0A} (Trend Micro ActiveX Scan Agent 6.6) - http://ushousecall02.trendmicro.com/hou ... hcImpl.cab
O16 - DPF: {44C7F862-906C-11D3-A8ED-0008C75B3588} (IEPAPI Class) - http://docs1/CyberDOCS/Plugins/papibrdg.cab
O16 - DPF: {6414512B-B978-451D-A0D8-FCFDF33E833C} (WUWebControl Class) - http://update.microsoft.com/windowsupda ... 1182576871
O16 - DPF: {6B75345B-AA36-438A-BBE6-4078B4C6984D} (HpProductDetection Class) - http://h20270.www2.hp.com/ediags/gmn2/i ... ection.cab
O16 - DPF: {6E32070A-766D-4EE6-879C-DC1FA91D2FC3} (MUWebControl Class) - http://update.microsoft.com/microsoftup ... 1186971069
O16 - DPF: {72C23FEC-3AF9-48FC-9597-241A8EBDFE0A} (InstallShield International Setup Player) - http://docs1/CyberDOCS/Plugins/isetupml.cab
O16 - DPF: {78AF2F24-A9C3-11D3-BF8C-0060B0FCC122} (AcDcToday Control) - file://C:Program FilesAcadm 6AcDcToday.ocx
O16 - DPF: {AE563720-B4F5-11D4-A415-00108302FDFD} (NOXLATE-BANR) - file://C:Program FilesAcadm 6InstBanr.ocx
O16 - DPF: {C6637286-300D-11D4-AE0A-0010830243BD} (InstaFred) - file://C:Program FilesAcadm 6InstFred.ocx
O16 - DPF: {F281A59C-7B65-11D3-8617-0010830243BD} (AcPreview Control) - file://C:Program FilesAcadm 6AcPreview.ocx
O16 - DPF: {F694EA1F-2EC1-445D-8988-1862AD0CC4C8} (pvvercheck_ie Control) - http://31s004.bushhog.local/Windchill/w ... eck_ie.cab
O17 - HKLMSystemCCSServicesTcpipParameters: Domain = BHTN.local
O17 - HKLMSoftware..Telephony: DomainName = bhtn.local
O17 - HKLMSystemCS1ServicesTcpipParameters: Domain = BHTN.local
O17 - HKLMSystemCS1ServicesTcpipParameters: SearchList = bhtn.local,bushhog.local
O17 - HKLMSystemCS2ServicesTcpipParameters: Domain = BHTN.local
O17 - HKLMSystemCS2ServicesTcpipParameters: SearchList = bhtn.local,bushhog.local
O17 - HKLMSystemCCSServicesTcpipParameters: SearchList = bhtn.local,bushhog.local
O23 - Service: Ati HotKey Poller - ATI Technologies Inc. - C:WINDOWSsystem32Ati2evxx.exe
O23 - Service: Diskeeper - Diskeeper Corporation - D:Program FilesDiskeeper CorporationDiskeeperDkService.exe
O23 - Service: eTrust Antivirus RPC Server (InoRPC) - Computer Associates International, Inc. - C:Program FilesCAeTrust AntivirusInoRpc.exe
O23 - Service: eTrust Antivirus Realtime Server (InoRT) - Computer Associates International, Inc. - C:Program FilesCAeTrust AntivirusInoRT.exe
O23 - Service: eTrust Antivirus Job Server (InoTask) - Computer Associates International, Inc. - C:Program FilesCAeTrust AntivirusInoTask.exe
O23 - Service: Lavasoft Ad-Aware Service - Lavasoft - C:Program FilesLavasoftAd-AwareAAWService.exe
O23 - Service: Reflection TimeSync - WRQ, Inc. - C:Program FilesReflectionrtsserv.exe
O23 - Service: Remote Administrator Service (r_server) - Unknown owner - C:WINDOWSsystem32r_server.exe
O23 - Service: PC Tools Auxiliary Service (sdAuxService) - PC Tools - C:Program FilesSpyware DoctorpctsAuxs.exe
O23 - Service: PC Tools Security Service (sdCoreService) - PC Tools - C:Program FilesSpyware DoctorpctsSvc.exe
O23 - Service: Shavlik Remote Scheduler Service (Shavlik Scheduler) - Shavlik Technologies - C:WINDOWSProPatchesSchedulerstSchedEx.exe
O23 - Service: VNC Server Version 4 (WinVNC4) - RealVNC Ltd. - C:Program FilesRealVNCVNC4WinVNC4.exe

--
End of file - 7548 bytes

Any help would be greatly appreciated - of course :)

Read More...
Your Ad Here

Windows xp boot cd freezes

hi

am having problems with the windows xp boot cd . here is how it all started

I had three partitions in my hard disk

1.ubuntu hardy in ext2
2.windows xp in ntfs
3.ntfs data

i made an attempt to format the hardy partition and installed fedora 10 from my usb drive which went successful. but after my installation i was unable to boot into the windows os which gave me the error

"system32/hall.dll corrupt or missing"

to solve this i am now tryin to boot from my xp boot cd , which freezes at the step "detecting hardware config of ur system"

can anyone please suggest me how to solve this problem? am pretty sure that my cd drive is fine and so is my xp disk!!

thanks in advance

Read More...
Your Ad Here