rch1231 169 Posting Shark

Hello,

The answer to your question is partially based on the operating system you are using and the method used to initially format your hard drive. However, basically the OS informs the hard drive that the space used by your file is again available to have new files written to it. The data does not go anywhere and is normally left intact on the drive until something is written over the old information. There are several data recovery programs that can attempt to un-delete the data and some are very successful and can even recover files that have been written over. Most operating systems now a days include a Recycle Bin or Trash which holds on to the location of files you delete for a specific time, or until the space is needed or until you "Empty the Recycle Bin" and at that time they make the space available for new data to be written to.

As proof of the ability for hard drives to retain the data there are several applications available that will manually "Wipe" your data from the drive by writing over it several times to make the data inaccessible. There are even standards for what is referred to as Government level data erasure.

I hope this answers your question. If not Google it and you will get better information from real experts.

rch1231 169 Posting Shark

Nothing is wrong your code says to output the conversion rate then the data:

<div align="center"><strong>$<?=$rate;?>, <?=$amount;?> <?=$from_text;?> = $<?=$total;?> <?=$to_text;?></strong>. </div></td>
rch1231 169 Posting Shark

Take the RAM back it is either the wrong speed or bad.

rch1231 169 Posting Shark

Your script should work if you remove the quote marks. However may I suggest something like this. For your crontab entry (assuming your shell script file is in /root/bin and called getpic.sh) use:

00,30 * * * *  /root/bin/getpic.sh <Site URL of file to get> <filename>

For your script use:

#!/bin/bash
cd <path to where you want to store files> 
/usr/bin/wget $1/$2 
mv $2 $2.`date +%s`

Now you have a script you can use on multiple sites with multiple files. The date +%s inside the grave marks (to the left of the 1 below the tilde on most keyboards) will execute the date command and return a large integer and the actual file should show the date created.

%s     seconds since 1970-01-01 00:00:00 UTC

Then you don't have to worry about them being in the correct order in your directory listing or trying to figure out what year, month, day or time they were created. Hope that makes sense and works ok.

rch1231 169 Posting Shark

Hello,

If this is only for the one other desktop then add an entry to the etc/hosts file on the workstation that points www.site1.com to 192.168.31.28.

192.168.31.28 www.site1.com

If it is a linux system then the file is /etc/hosts
If it is a Windows system the file should be in \windows\system32\drivers\etc\hosts

Or check the following site for any OS http://en.wikipedia.org/wiki/Hosts_%28file%29

rch1231 169 Posting Shark

Hello,

You really need to talk to your network admin and see what they recommend or have setup first. VPN is the way to go but you are not going to be able to use it without their approval/assistance.

rch1231 169 Posting Shark

Hello,

First you have to figure out what the IP address of your router is and/or what the internet sees your address as. Go to one of the reporting pages like http://whatismyipaddress.com to find out. Once you have that address (which may change if your router is using DHCP on the WAN) go to your registrar and point your domain to that IP address. OR use the site that rje7 listed (which is really the way to go) and follow the instructions on setting up the registrar information.

Check on your router and make sure that you either allow port 80 through to the internal IP address of your Ubuntu server or many routers have an option for setting up a DMZ host IP which again would be the server IP (192.168.100.158).

Then call a friend and have them ping (or use nslookup ) your domain name

ping <yourdomainname.com>     pings your domain
nslookup <yourdomainname.com>     asks your local DNS for the info
nslookup <yourdomainname.com> <specificnameserver.com>     asks the specific nameserver for the info

and see what they get. Remember it can take 24 hours for DNS information to update accross the net. ping or nslookup will work from either Windows command prompt or Linux shell.

rch1231 169 Posting Shark

Hello,

Actually I use a domains.conf file in the /etc/http/conf directory and have this at the bottom of the httpd.conf file so I dont have to view or edit the original file:

Include /etc/httpd/conf/domains.conf

rch1231 169 Posting Shark

I am just mentioning this in case you have not done so but you would also need to register your domain name with a registrar like godaddy or networksolutions or one of the many other registrars so your domainname belongs to you and cannot be redirected somewhere else.

rch1231 169 Posting Shark

Hello,

Your missing the port I believe. Here is my httpd.conf entries for a couple of sites on same server.

NameVirtualHost *:80

#<VirtualHost *:80>
#    	ServerAdmin webmaster@chartwriter.com
#    	DocumentRoot /var/www/html/default
#    	ServerName chartwriter.com
#    	ErrorLog logs/chartwriter.com-error_log
#    	CustomLog logs/chartwriter.com-access_log common
#</VirtualHost>

<VirtualHost *:80>
    	ServerAdmin webmaster@chartwriter.com
    	DocumentRoot /var/www/html/chartwriter.com
    	ServerName chartwriter.com
    	ServerAlias www.chartwriter.com
    	ErrorLog logs/chartwriter.com-error_log
    	CustomLog logs/chartwriter.com-access_log common
</VirtualHost>

<VirtualHost *:80>
    	ServerAdmin webmaster@txlinux.com
    	DocumentRoot /var/www/html/txlinux.com
    	ServerName txlinux.com
    	ServerAlias www.txlinux.com
    	ErrorLog logs/txlinux.com-error_log
    	CustomLog logs/txlinux.com-access_log common
</VirtualHost>

The NameVirtualHost entry at the top makes the system use the first host as the default if someone just goes to the IP address.

rch1231 169 Posting Shark

Try turning on boot logging instead of safe mode and the system will create a log as it loads drivers and you will be able to see where it is crashing. Or second try VGA mode and see if it is something to do with the resolution. Third, get ahold of UBCD4Windows CD and use the system restore utilities to go back before you messed with the hive files and then use the password crackers to properly edit the registry.

For khakilang, the passwords are there to keep the honest people honest. It takes less than 2 minutes for me to crack any windows, linux or MAC OS provided I can get to the physical system. Passwords really work to keep people out of your system when they are working from a distance. But if you can get to the box it boots the way you tell it to.

rch1231 169 Posting Shark

You might have better luck with one of the older releases like Fedora 12 or 13 as they have had time to correct any bugs in the code and get all of the drivers working properly.

rch1231 169 Posting Shark

Have you tried unplugging the system and pulling the CMOS battery?

rch1231 169 Posting Shark

Hello,

The / in front of the path and filename is based on your DocumentRoot for the site in question. I would check the httpd.conf for the reference and see where it points.

#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
rch1231 169 Posting Shark

the back ticks (`) imply run the command inside and put the results here and the $ implies the next thing is a variable.

rch1231 169 Posting Shark

he computer.

To change the virtual memory file size use the following:

  1. Right Click My Computer and select Properties from the list.
  2. Click the tab at the top labeled Advanced and the dialog box will change to show three groups.
  3. Click the settings button under performance
  4. Select the tab at the top labeled Advanced and you should see a group called Virtual Memeorn at the bottom of the dialog box
  5. Click Change and a new window will open with options for the location and size of the paging file.
  6. The size of your virtual memory shuld be at least 1024MB no matter how much memory you have and no more than 3072MB as a max. This is my personal opinion and not a microsoft or standard setting.
  7. Change the setting and select ok to each of the dialog boxes as you go out. then reboot.
rch1231 169 Posting Shark

I would try setting the wireless router over to gateway mode and let everything get their IP addresses from the 192.168.1.X network. That way every thing will be on the sam e subnet.

rch1231 169 Posting Shark

A lot of this depends on what IP addresses are being used by the wired and wireless networks. If the wireless router is using dhcp and your wired network is also using dhcp then you could logically turn off the DHCP on the wireless system and have the computers obtain an address from your network.
If not send more information on your configuration and we can provide more information or guidance.

rch1231 169 Posting Shark

Hello,

From what I see in the documentation you can treat the GROUP_CONCAT(itemname) as a list to test against.

select ContainerName, ContentType, and GROUP_CONCAT(ItemName) as itemnamelist
where "Apple" in GROUP_CONCAT(ItemName)
group by ContainerName

At least that is the way I read it. I would like to know if it works...

rch1231 169 Posting Shark

You have to open the case and look.

rch1231 169 Posting Shark

Hello,

The only thing I have ever notice is that when you query a view from another view is that it can be slower if the first view creates a large amount of output. You might want to simply add the query as an outer select to the syntax for the first view.

rch1231 169 Posting Shark

Hello,

Here is something from the reference I use:

<p>
Search the online resources database:<br />
<form action="fulltextsearch.php" method="post">
    Keywords:<br />
    <input type="text" name="keywords" size="20" maxlength="40" value="" /><br />
    <input type="submit" value="Search!" />
</form>
</p>
<?php
    // If the form has been submitted with supplied keywords
    if (isset($_POST['keywords'])) {
       // Connect to server and select database
       $mysqldb = new mysqli("localhost","websiteuser","secret","corporate");
       // Retrieve the search keyword string
       $keywords = $mysqldb->mysqli_real_escape_string($_POST['keywords']);
       // Create the query
       $result = $mysqldb->query("SELECT name, url FROM bookmarks
                              WHERE MATCH(description) AGAINST('$keywords')");
          // Output retrieved rows or display appropriate message
          if ($result->num_rows > 0) {
             while ($row = $result->fetch_object())
                echo "<a href=\"$row->url\">$row->name</a><br />";
          } else {
             echo "No results found.";
          }
       }
    ?>
rch1231 169 Posting Shark

It might be easier to use this sort them with the highest contact number and then just get one record.

SELECT 
contacts.forenames, contacts.surname, communications.number, contacts.contact_number
FROM
contacts 
LEFT JOIN communications
ON contacts.contact_number=communications.contact_number
WHERE
  contacts.surname='$sn' AND contacts.forenames='$fn' AND communications.number='$em' 
ORDER BY contacts.contact_number DESC
LIMIT 1
rch1231 169 Posting Shark

I believe you need an ODBC connection (available from mysql) to the MySQL server in order to make the connection.

rch1231 169 Posting Shark

Hello,

Off the top of my head how about if you sum the availability status and select only those where the sum is 0.

rch1231 169 Posting Shark

Hello,

If your system is running linux you can install lynx which is a text based web browser.

rch1231 169 Posting Shark
rch1231 169 Posting Shark

Replace the chips. You probably only need to replace one and It will most likely be in the highest numbered slot (DIMM 4 or 3)

rch1231 169 Posting Shark

Hello,

You have a bad memory chip. What is happening is it is in the upper memory and you are not using that register till after you have been running a bit.

rch1231 169 Posting Shark

Is there a floppy disk in the drive and have your gone into the CMOS and verified the system sees the disks and the order they are booting?

rch1231 169 Posting Shark

Because it is not sql code but a command line executable. Run it from the command prompt.

rch1231 169 Posting Shark

Hello,

There is a cool tool called jdiskreport which will show you where all of your disk space is being used. You can download it through download.com by CNET.

rch1231 169 Posting Shark

Hello,

Try:

mysqldump -u root -p DBase > outfile.sql

it will prompt you for the root password and create a file in the current directory called outfile.sql

rch1231 169 Posting Shark

Hello,

What you need to do is to select your records and do the join with the C_ID and Inst_No and then use the WHERE to select a subset of the data where the fields are not equal. Something like:

SELECT Table_1.C_ID, 
Table_1.Inst_No,  
Table_1.Paid_Dt, 
Table_2.C_ID 
Table_2.Inst_No 
Table_2.Today_Dt
From Table_1 Inner Join Table_2 on Table_1.C_ID = Table_2.C_ID 
AND
Table_1.Inst_No = Table_2.Inst_No
WHERE 
Table_1.Paid_Dt <> Table_2.Today_Dt
rch1231 169 Posting Shark

Msasif is correct about the query time being reduced. One other thing are you storing the date as a date only or a datetime. If it is a date time that would cause it to take a long time because every record would have a unique datetime and you would have very few exact matches but still some.

rch1231 169 Posting Shark

Hello

Try
sudo chmod 755 /var/www

Your problem is the third permission which is for every one else. First is the owner, second is the groups permissions and third is everyone else in the world. 755 will set it to rwxr-xr-x (r=4 w=2 and x=1 ) you add them to set each group of permissions.

ls -la /var/www/
total 32
drwxr-xr-x.  8 root      root 4096 2010-04-10 10:22 .
drwxr-xr-x. 27 root      root 4096 2010-08-12 00:28 ..
drwxr-xr-x.  2 root      root 4096 2010-04-10 10:22 cgi-bin
drwxr-xr-x.  3 root      root 4096 2010-07-12 07:15 error
drwxr-xr-x.  7 root      root 4096 2010-08-16 13:50 html
drwxr-xr-x.  3 root      root 4096 2010-07-12 07:15 icons
drwxr-xr-x. 14 root      root 4096 2010-07-12 07:25 manual
drwxr-xr-x.  2 webalizer root 4096 2010-08-08 03:11 usage

It is the next directory down (html) that should be set for apache to read:

ls -la /var/www/html
total 28
drwxr-xr-x.  7 root   root   4096 2010-08-16 13:50 .
drwxr-xr-x.  8 root   root   4096 2010-04-10 10:22 ..
drwxr-xr-x   2 apache apache 4096 2010-07-28 23:27 default.com
drwxr-xr-x  13 rod    apache 4096 2010-08-11 16:20 SmokeDepot
drwxr-xr-x   8 rod    apache 4096 2010-08-21 02:41 smokeshop
rch1231 169 Posting Shark

Hello,

Ok the problem is that your where clause is true for every record. If I understand you want only records where the count of the number of records on any specific date is 2 or greater. If that is so what you would need to do is create a sub query to determine which records you want and then generate the output using those records. The way I do this is a three step process. First create the query to get the dates with count of how many on each date.

SELECT record_date, count(*)  
from TIME_TABLE 
group by record_date

Verify your data and then limit the selection to only records where the count on that day is > 1

SELECT record_date 
from TIME_TABLE 
group by record_date 
HAVING count(*) > 1

Finally get your records based on the dates you determined.

SELECT * FROM TIME_TABLE
WHERE record_date in (SELECT record_date 
from TIME_TABLE 
group by record_date 
HAVING count(*) > 1) 
order by record_date
rch1231 169 Posting Shark

If this is XP go to Tools, Folder Options and then click the View tab. At the bottom of the list is an option called "Use Simple File Sharing (Recommended)" Uncheck this and you will get a new tab at the top called "Security" where you can take control of any file and change it's attributes as an administrator.

rch1231 169 Posting Shark

Have you tried sysinternals autoruns.exe ? They have a great set of tools if you can still find them. Microsoft bought them a few years ago and renamed it wininternals. If you can't find the tools there is a copy on my server at:

http://txlinux.com/Sysinternals.rar

rch1231 169 Posting Shark

There are several free stats apps out there that you can download and install. Awstats is a good place to start.

rch1231 169 Posting Shark

Download and run MalwareBytes and you will know for sure.

http://www.malwarebytes.org/mbam.php

rch1231 169 Posting Shark

Hello,

Yes it is possible and OK to do. The only things you will have to be aware of is that you cannot address memory over 4GB. Just run the install like normal.

rch1231 169 Posting Shark

Have you tried adding the new field first then coming back and creating the foreign keys? Do any foreign keys exist now?

rch1231 169 Posting Shark

It may be your dns has not been properly reset on the router. But lets start at the beginning and work our way through it....

What does IP config tell you the IP, netmask, and gateway of your computer are?
(Should be something like 192.168.1.X 255.255.255.0 192.168.1.1 if not and you know the IP of the router then give your system a fixed IP in the subnet 192.168.1.2-192.168.1.255 and see if you can connect.)

Can you ping the router from the computer?
(ping 192.168.1.1)

If not verify the router IP or reset it to factory settings by holding reset switch in for 30 sec.

If you can ping router can you ping beyond the router?
(ping 4.2.2.2)

If not then check your gateway settings and log into router and see if it can ping out.

If so you can ping 4.2.2.2 can you ping a domain name?
(ping google.com)

If not check what your nameserver is set to and try setting it to 4.2.2.2 and see if you can ping google then.

Tell me what happens and we will go from there....

rch1231 169 Posting Shark

Take a look at the "find" command and also TEST when used with "if [ ] then"
For example the following find command will generate a list of files starting in the directory name provided as the first parameter and include the backslash to escape characters in the name:

#!/bin/bash
find $1 -type f -ls | awk '{ print $11 }'
#!/bin/bash
for x in `find . -type f -ls | awk '{ print $11 }'`
do
if [ -s $x ] then
echo "Found file $x "
if
done

from a command line do:
man find
man if
man test

for some help.

rch1231 169 Posting Shark

Ok well in that case try this instead.

#!/bin/sh
HOST='ftp.users.qwest.net'
USER='yourid'
PASSWD='yourpw'
FILE='file.txt'

ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE
quit
END_SCRIPT
exit 0
rch1231 169 Posting Shark

Yes to both questions. The Tution64 is in the same class processors as the Athlon64 and is able to run 64bit OS. Linux wise you can run it using i386, i586, i686, x86_64. Windows you can run either the 32bit or 64bit OS versions however there are applications that do not run properly under windows XP64 or Vista64 or require a different version. Windows 7 has a specific WindowsXP32 compatibility mode to address these issues.

rch1231 169 Posting Shark

Is there a reason to use ftp specifically?

Linux has scp (Secure Copy) which like ssh uses encrypted traffic to move files between servers. The following web site has a great explanation of using scp and tells you how to set up the servers with rsa keys so that no password is needed for a specific user on each system to be able to transfer files and even gives sample shell scripts.

http://www.linuxjournal.com/article/8600

rch1231 169 Posting Shark

ok so run it again

rch1231 169 Posting Shark

Found this excellent description on another site:

http://www.linuxforums.org/forum/linux-newbie/28214-rpm-differences-i386-i586-i686-x86_64-ppc-etc-etc.html

Originally Posted by techieMoe
To give a little more information on that, the X86 processors started with the Intel 8086 processor way back in 1978. They were incrementally improved (80186, 80286) and then Intel released the Intel 386 (i386) in 1980. That was then followed by he 486 (i486), the Pentium (i586), and the Pentium 3/4 (i686) and AMD's Athlon/Duron/T-bird (also i686).

Since all these processors were based on the same architecture (basically they read/wrote 1's and 0's in the same way), and their names all contained "86", the whole family was collectively called "X86". All the X86 processors were 32-bit.

The recent trend has been to move toward 64-bit processors, and several different architectures popped up. DEC's Alpha and Motorola's PPC chips have been 64-bit for a while, but Intel's Itanium and Xeon and AMD's Athlon64 are the new kids on the block.

The difference between the Itanium and PPC versus the Athlon64 is that the Itanium and PPC have completely different architectures (they speak different 1 and 0 languages), whereas the Athlon64 speaks the same language as the 32-bit X86 processors, but adds 64-bit registers. Therefore the name of the Athlon64 in generic terms is "X86_64".

Intel, not to be outdone, has since redesigned its 64-bit Xeon processors to use the same kind of architecture as the Athlon64, calling it "Intel 64-bit with Extended Memory Technoloty". Basically they couldn't say they …