rch1231 169 Posting Shark

Windows server gives you a single server running Microsoft Windows that you can run multiple web sites on with IIS or other applications. Windows Azure gives you a host server that allows you to run virtual Windows systems each of which can host multiple sites. You might consider it to be like comparing a single Linux installation on a server to running VMware (or Xen or Oracle Virtual Box) and running multiple virtual operating systems under one of them.
For Windows Server you only need a couple of processors and around 8GB of memory however with a host system you will need something with multiple processors (at least on physical processor for each virtual host) and enough memory for each of the hosts you will be running to have at least 4GB of memory.

rch1231 169 Posting Shark

Hello,

Try restarting the computer with the HDMI connected and the flatscreen running. Some times the OS wants all the screens connected when it starts. If it is Windows the right click on the screen and select displays and see if you can see both displays connected. But first try the power it on with the HDMI connected.

rch1231 169 Posting Shark

The values you need are km per mi and gl per lt not lt per gl
1mi=1.609km
1lt=0.264172gl

lt/km = (mi/gl) * (km/mi) * (gl/lt)
lt/km = (given) * 1.609 * 0.264
lt/km = (given) * 0.425

Hope that helps.

rch1231 169 Posting Shark

Why don't you simply use wordpress or drupal they are both free and manage the web site and handle postings also. Why re-invent the code when someone has already written it and it is easy to use....

rch1231 169 Posting Shark

Thank you for the information it was interesting reading. It is nice to have someone validate what has been said by those of us who have been promoting the security of Linux based systems for years (and I include you in that number Jim).

You might note that although they evaulated at two versions of The Andriod OS, two blackberry, two Apple OS and three Windows based the only version of Linux they reviewed was Ubuntu. It is possible that this is the only linux distro besides Fedora, that specifically has a version to run on mobile devices. And that Fedora 20 was just recently released probably too late to be considered.

rch1231 169 Posting Shark

Hello,

Here is a link to a site that provides multiple examples of importing CSV files into MySQL using PHP. It even has a script for an import page.

http://www.phpclasses.org/blog/post/89-Quickly-importing-data-from-CSV-file-into-PHP-applications.html

rch1231 169 Posting Shark

Truecrypt works with Windows, MAC and Linux

rch1231 169 Posting Shark

Hello

What you are looking for is to show the record for the most recent date that a product review was completed. The trick for doing this is grouping. You could use this:

SELECT product, Client_ID, MAX(ReviewDate) 
FROM tablename
group by product, Client_ID;
rch1231 169 Posting Shark

If you hit <F8> while booting and get to the Windows boot menu (Boot in safe mode, etc) there is an option to turn off automatic restart. This will let you see the message and blue screen.

rch1231 169 Posting Shark

There is a version of magic disk 2.7 called build 106 and the setupfile is called setup_magicdisc106.exe and it will load in windows 7. It does warn you the driver is not signed but I have been using it on Windows 7 both 32 and 64 bit for over a year (on at least 50 different systems) and it works every time.

rch1231 169 Posting Shark

Take a look at Editrocket. Runs on windows, Linux or MAC and supports backups of code as well as HTML, CSS, Perl, PHP, SQL, Python, and many more. Price was not bad at $49.95 and the license is good for all three versions and it has the same look an feel in all three which helps if you have Windows on one system and Linux on another.

http://www.editrocket.com/

From their page on setting up code backups:

EditRocket gives users the ability to automatically backup files that are being edited any time the file is saved. This can be used to create a history of changes to a file.

To enable file backups, launch the EditRocket preferences window, and select the "Backups" tab. Select the "Backup on Save" checkbox, and enter the maximum number of backups to keep.

To save backups in a specific directory, browse to a location in the "Backup Directory" field. If there is a value in this field, all backups will be saved to that directory. If there is no value, backups will be saved to the directory where the file that is being edited is located.

rch1231 169 Posting Shark

Hello,

The way I read your question I am not sure if you have a web site on your laptop you are trying to access or if you are just trying to get to any site on the internet.

1.) When you say you use the public IP address are you referring to the address given by the laptop on your local network or you actual external IP address. Try going to the following website to find out what address the internet sees you at:

What is my Ip address

2.) Apache should be running on port 80 so that you don't have to add the port to your browser and port 80 would be open on your Windows firewall if if you can get through to the site at localhost. If you are trying to connect to your site on your laptop.

3.) What do you mean by the statement "I can access localhost locally but when I type the public IP address then it doesn't work." Are you referring to typring that in to your browser or a command line or what. Are you able to get to the internet at all or is that what you are trying to configure?

rch1231 169 Posting Shark

Hello,

The PHP CLI as its called ( php for the Command Line Interface ) is called php.exe It lives in c:\wamp\bin\php\php5.x.y\php.exe ( where x and y are the version numbers of php that you have installed )When you know the path you could add an entry in the Task Scheduler and use the following as the command line to call the php program. Before you add it to the scheduler try it from the command line and make sure that it works.

For the example lets say that php.exe is in c:\wamp\bin\php\php5.3.1\php.exe and the php script you want to run is called c:\users\myuser\Documents\myscript.php then your command in the task scheduler should look like:

c:\wamp\bin\php\php5.3.1\php.exe c:\users\myuser\Document\myscript.php

rch1231 169 Posting Shark

Hello,

There is an update for Vista out there that sets your network connection to Local Only. If you open Network and Sharing center and look at the connection check to see if it says Local Only Nettwork right above the connection.

If so the link below is to ATT suport page tha tells you how to fix it.

http://www.att.com/esupport/article.jsp?sid=KB92052&cv=820#fbid=2TNIBlRlPEX

rch1231 169 Posting Shark

Hello,

You could always try nmap to see what ports are open on the router. Netgears usually have a built in web server for configuration and you just put the IP address of the router in your browser.

rch1231 169 Posting Shark

Hello,

Depending on what desktop manager you are running you should have an application called Disks under the System heading which will let you see the parttitions. During the install you have the option of using the entire disk or installing on part of the disk. It is one of the first options after you choose the language and keyboard. Ubunto uses the standard partition scheme of one (or two) primary partition(s) and an extended partition that can be sub divided into additional partitions. In Linux drives are just another device and the first SATA (or scsi) hard drive is normally /dev/sda the second drive /dev/sdb and so on. The 1st partition on the first drive is /dev/sda1 and the 5th partition on the third sata (or scsi) drive attached to the system would be /dev/sdc5. Windows does something along these lines designating based on the controller they are connected to [Location 0 (Channel 0, Target 0, Lun 0)] is the first SATA drive according to my Windows 7 OS.

Can I ask why you are planning on partitioning the drive that way? If you are thinking about putting Windows on one of the partitions then you need to read up on dual boot systems and the two OS's you are considering. Personally I prefer to run either Linux or Windows on the entire drive and then use something like Oracle Virtual Box to create Virtual systems for other Operating Systems but that is up to you.

rch1231 169 Posting Shark

Ewald has a good idea and TrueCrypt will encrypt you whole drive and can be set so that the computer will not boot with out the password. Or as a separate option you could carry a USB drive that was encrypted with encryption software but people get lazy about having to put in a USB drive and the password before they save a document to doing the whole drive is safest.

Ewald Horn commented: Encrypted USB drive - good idea! +2
rch1231 169 Posting Shark

Hello,

Without writing the code for you basically what you need to do is add a section of code that looks for a record with the image name. If it returns a row then there is an image and show error if not continue processing.

$unique_id = $dbh->quote($_GET['unique_id']);
$sth = $dbh->query("SELECT * FROM database WHERE unique_id = $unique_id");
if ($sth->numRows( )) {
// already submitted, throw an error
} else {
// act upon the data
}
rch1231 169 Posting Shark

Hello,

It sounds like it is not recognising the SSD drive initally during the boot. Check in your bios and see if there is an option to add a delay during the boot (usually something about F9 delay if I remember correctly) and add in a 5 sec delay to give your system a chance to see the drive is present. SSD are fast and some motherboards don't know how to handle the fast response. Make sure that you have the SSD on a 6GB SATA if you have one. The only other thing I can think of is SSD's like clean power at the proper voltage. If you have anything else on the same power connector cable try moving them off and putting the SSD at the end of the cable.

rch1231 169 Posting Shark

Hello what you are missing is the Chipset driver (motherboard Intel or AMD based). Without it the OS cannot talk properly to the system bus, memory controllers and devices built into the mother board. Once you install it you need may need to reinstall network and audio devices but you will see that it starts to recognise all the other devices after the chipset driver is installed.

rch1231 169 Posting Shark

Hello,

The only thing I can think of is to make sure that the Windows print spooler is loaded on Windows 7 and make sure that it is set to spool instead of print sraight to the device. Without the spooler it would send straight to the printer and possibly overload the printers memory.

rch1231 169 Posting Shark

Hello,

I am fuessing that you are running Windows, so based on that would check your windows installation files by using your installation DVD and letting it check the system. You said you changed mother boards if I am reading it correctly so I would go to device manager and look for failed devices and I would install the chipset drivers for the new board you installed.

rch1231 169 Posting Shark

I suggest that you go ahead and let it get an address from the dhcp server on your system and confirm the subnet your router/dhcp server is using with ifconfig. What you are probably running into is that the dhcp server gives addresses based on the first number in the range which is probably 192.168.1.2. You could try putting the address out beyond what you think the system is using such as 192.168.1.55.

rch1231 169 Posting Shark

Hello,

Pritaeas is correct about the index and you will need to change the insert statement and add IGNORE to cause mysql to ignore the errors when the insert fails due to duplicates.

INSERT IGNORE INTO person_tbl(person_name,person_status,creation_time,modified_time) VALUES ('$person',$status,$ctime,$mtime)

rch1231 169 Posting Shark

Yes 1-31/4 would run on the 1st and every 4 days after that (so it would run the 1st, 5th, 9th, 13th, etc.)

rch1231 169 Posting Shark

JorgeM is correct that you need to look at the network. You need to look at the speed of the NIC Cards in your computers and the speed of the hubs, switches and routers on your network. Also look at the quality of the cable you are using (if your using mostly wireless network devices then you need to move to a wired network for at least the server.) Also how are you assigning IP addresses (is the domian controller handeling it?).

rch1231 169 Posting Shark

Hello,

That is a pretty tough one to diagnose. Have you tried Malwarebytes scan on one of the systems that is giving you the errors? You mentioned it is showing up on clients even after they have been reloaded, I am assuming that the systems have been added to the domain. If that is so and this is occuring after they are added to the domain, I would take a look at the group policy settings in the server to see if there is something being passed to the clients that is causing the change to the system. If you have applied the latest updates to the OS then I think I would also suggest that you run something like CCleaner to remove old registry entries that are not longer needed.

rch1231 169 Posting Shark

Hello,

OK time for some basic trouble shooting. Open a command prompt (start, accessories, command prompt).

At the prompt type:
ping 4.2.2.2

If you get a response back then you are connected to the internet ok. If not then you probably have a firewall or router issue. Try re-booting your internet modem/router.

If you got to 4.2.2.2 ok then see if you can resolve domain names:
ping google.com
if you get a response back then you are able to resolve names and you need to look into your browser having a strange route set as your home page. SO what is the error you get from either IE or chrome?

rch1231 169 Posting Shark

You would have to log in to the server via ssh and issue the command as the mysql root user. I would contact the hosting company and tell them you are getting the error and have them look into it.

rch1231 169 Posting Shark

Hello,

Google HP Support and look for a web site that actually points to hp. From there you can put in the information about the printer and will be prompted for the version of Windows on your computer.

http://www8.hp.com/us/en/drivers.html

rch1231 169 Posting Shark

Hello,

It depends some laptops will not run without the battery. Have you checked to see if the charging light comes on with the battery in the laptop and plugged in? One of the easiest areas to damage on a laptop is where the power adapter is connected to the laptop. If the charging light is not coming on then check for a repair shop in your area that repairs the power ports.

I understand how you feel about not wanting Windows 8 and many of the laptops that are available will run windows 7 and you just have to find someone who can do the installtion for you.

rch1231 169 Posting Shark

Hello,

Which version of windows and do you have either your install CD/DVD?

rch1231 169 Posting Shark

Not much you can do if it is out of warranty but they are available on ebay for around $30-$40.

rch1231 169 Posting Shark

What OS are you running? Is the adapter set in the bios to use the built in adapter or an add on in a specific port?

rch1231 169 Posting Shark

If you set the printer up wireless then if will have an ipaddress on your network and your laptop should see it on the network. You do not need the USB cable. That is only if you don't use the network connection.

rch1231 169 Posting Shark

Hello,

A lot is going to depend on what OS you are going too run the interface on. Is it supposed to run from a browser, or as an appon a windows workstation or what?

rch1231 169 Posting Shark

Hello,

You have to treat them as two separate conditions and you need to code for capitalization like this:

WHERE StudentNames LIKE 'joh%' and (StudentNames LIKE '%smi%' or StudentNames LIKE '%Smi%')

rch1231 169 Posting Shark

A couple of things you have to determine first such as how far down the tree are you going to go. Meaning Is there a maximun munber of reporting levels that you intend to display in the result (such as up to 5 levels deep or 18 reports to 22 reports to 55 reports to 77 reports to 14 and you will not show anybody reporting to 18) other wise you are going to have a lot of coding.

rch1231 169 Posting Shark

Hello,

I happen to be a big fan of SQL's capability to do a auery within a query (somtimes called sub-queries). This give you the ability to generate a sub set of data and then query it, Kind of like generating a temp table but for small sets of data. I have spaced it out a bit so you can see your original query geneerating the data1 set of data and the pulling and ordering the data from there. I hope this helps with what you want to do. Try something like this for your query:

select data1.PREFIX, 
data1.SUFFIX, 
data1.INGREDIANT
from 
(
SELECT LEFT(ITEM_A, 4) AS "PREFIX",
SUBSTRING(RIGHT(ITEM_A, 12), 5, 2) AS "SUFFIX",
RIGHT(ITEM_A, 16) AS "INGREDIENT"
FROM THE_TABLE
WHERE ITEM_B = 'VAL1'
AND ITEM_C = 'VAL2' 
) data1
Order by data1.PREFIX,
 data1.SUFFIX
rch1231 169 Posting Shark

Hello,

Sounds like standard US 101 keyboard. The box should give you some data on the keyboard type. What makes you think it is not working?

rch1231 169 Posting Shark

php is designed for what you are trying to do and works well with mysql and there are multiple examples and applications to help with the design.

rch1231 169 Posting Shark

SO quick question can you ping the NIC in your computer from your computer or from other computers around you? You should be able to ping 192.168.0.11 from the computer its self. And you should be able to ping from other computers on the same subnet. Can you?

rch1231 169 Posting Shark

Hello,

I would say check your charger or if anybody you know has a gateway with the same charger try it on your laptop. Most chargers have a light on the charger that shows they are working and a light on the laptop that shows they are charging. If the charger is on and someone elses charger will not charge your laptop then you will need to take it in and have the charger port checked. They get broken a lot when people hit the plug in the side of the computer when they are plugged in.

rch1231 169 Posting Shark

Here is a package that I use for tracking service tickets and services that I have found to be pretty good and it is free under the GNU license. SIT or Support Incident Tracker. Has the ability to setup most if not all of what you are asking for and runs in php and mysql. Has different levels of support techs with different levels of data access.
Billable and non-billable time tracking.

http://sitracker.org/

SiT (Support Incident Tracker) - Support call tracking system
Copyright (C) 2010 The Support Incident Tracker Project
Copyright (C) 2000-2009 Salford Software Ltd. and Contributors

rch1231 169 Posting Shark

Hello,

if you have access to all of the systems with a domain login it is really easy.

Windows OS
You can use powershell to get systems information from other Windows systems. This will depend on what OS is on the systems and can be tricky.

This is what I use: There is a utility called psinfo from sysinternals that is part of the sysinternals free software package. It is also listed now as a microsoft tool and can be downloaded as part of pstools from their web site. It will pull OS info including Service Packs and patches installed and even list applications installed and is very detailed.

Linux OS
If you are dealing with Linux systems then you will need a script to pull the data via ssh or rsh from each of the servers.

All pf these methods are free and use software under public license.

rch1231 169 Posting Shark

Those are back ticks not single quotes to denote a variable name.

rch1231 169 Posting Shark

I would check and see if you can see the partitions.

fdisk -l
and if you are running adaptec cotrollers your should be able to query the controller for information:

/usr/Storman/arcconf getconfig 1

rch1231 169 Posting Shark

Hello,

The quote mark around value is the wrong type of qoute. The instructions say for every entry in the fruit table which means that you should run the query from the fruit table and lookup data from the inventory table. And since you are using a join it is normally a good idea to include the table names as part of the field name.

SELECT fruit.name, 
inventory.quantity, 
fruit.price,  
fruit.price * inventory.quantity AS `Value`
FROM fruit
LEFT JOIN fruit ON inventory.fruitID = fruit.fruitID
ORDER BY fruit.name;
rch1231 169 Posting Shark

Hello,

The easiest method is to enclose what you are looking for in quotes and the only charactor you have to escape is the backslash (because of the history command). For example you could run the following which would find all of the files in the /bin directory that use #!/bin/bash:

[root@lptp2 ~]# grep "#\!/bin/bash" /bin/*
/bin/abrt-action-save-kernel-data:#!/bin/bash
/bin/alsa-info:#!/bin/bash
/bin/alsa-info.sh:#!/bin/bash
/bin/animal-sniffer:#!/bin/bash
/bin/auto-br:#!/bin/bash -
/bin/auto-br-rpmbuild:#!/bin/bash -
/bin/blueproximity:#!/bin/bash
.
.
rch1231 169 Posting Shark

Clife,

Below is a link to a sight that explains why Ubuntu changed the default shell from bash to dash.
https://wiki.ubuntu.com/DashAsBinSh