rch1231 169 Posting Shark

I am not sure how you are setting the password but I think the problem is that you are not encrypting it when you do. When I select user, host, password from mysql it shows like this:

mysql> select user, host, password from user;
+----------+-------------------+-------------------------------------------+
| user     | host              | password                                  |
+----------+-------------------+-------------------------------------------+
| root     | localhost         | *C76723A25A4C3CBCB1ABE27DF249CB2FE5D93C6D |
| root     | lptp1.txlinux.com | *C76723A25A4C3CBCB1ABE27DF249CB2FE5D93C6D |
| root     | 127.0.0.1         | *C76723A25A4C3CBCB1ABE27DF249CB2FE5D93C6D |
|          | localhost         |                                           |
|          | lptp1.txlinux.com |                                           |
| vpopmail | localhost         | *A455CE2217E33E0F6BBFF1CC93FEEADD81E612D4 |
| walkindb | localhost         | *2717916A73F7E5F932F40E12B46963B6F60BB3D3 |
| sitdb    | localhost         | *CFA0B33EE5F4E9CC9B19807BE646CADA177B04FD |
+----------+-------------------+-------------------------------------------+
8 rows in set (0.01 sec)

Try using the following to reset the root password when in safe mode:

UPDATE mysql.user SET Password=PASSWORD('root123') WHERE User='root';
FLUSH PRIVILEGES;
rch1231 169 Posting Shark

Try this on line 64:

$qry = "SELECT * FROM members WHERE login='$login'" or ( email is not null and email = '$email' )";

This will eliminate the empty email addresses (since you don't test for it being filled in) and return a result if login or email match. You will need to change your message to reflect email or login already used.

rch1231 169 Posting Shark

Joining the domain is not an issue since you do not have a domain or domain controller setup so Vista home will work fine.
Concerning the users on the XP systems it depends on if the users are all going to access the same set of folders or not. If they are then just set up one user on the Vista system and in the options for mapping the network drive use the option to access the folder using a different user name. If they are going to access different folders you will need a user with the permissions for each of the folders.

rch1231 169 Posting Shark

Your problem is comming from the test where it is comparing [1.0 -le 3.0]

Instead of looping from 1.0 to 3.0 how about using a for loop like this:

for x in 1.0 1.5 2.0 2.5 3.0
do
echo $x
done

rch1231 169 Posting Shark

I realize this does not exactly answer your question but why in the world would you need this. Almost all shells store the commands issued in an individual user history file. (ie /home/bob/.bash_history stores the last 1000 of Bob's commands ). When logged in as bob typing history at the prompt will show all his history.

If you are trying to track users use of the root user to make changes I suggest you take a look at sudo. Sudo allows you to give users the ability to execute commands as if they were root and track every command by the user issuing it. For example if the user bob wanted to issue the command 'ls -la /root' he would type the following at the command line and it would prompt him for his password:

<< bob@server ~>>$ sudo ls -la /root

The /etc/sudoers file tracks which commands can be issued by whom.

This way you do not give the root password to anyone and can limit the commands they can issue.

rch1231 169 Posting Shark

Try this. Reboot and when the system BIOS screen clears (or just before it clears ) start hitting the <F8> key till you get the Windows Boot Options menu. Select SAFE mode to make sure that widows is working correctly or try VGA mode to check to see if it is a Video Display problem. VGA Mode will come up at 640X820 and you can change it once you get up and running to a mode supported by your Video card and Monitor.

rch1231 169 Posting Shark

Based on your post I would be willing to bet that the NETBIOS protocol is not loaded on the XP system network card. Open the network card properties and look in the list if you don't see NETBIOS IPX/SPX then you are missing the protocol that windows systems use to identify each other. Click <Install> just below the box and then select protocol from the Dialog box. Then install NETBIOS IPX/SPX from the list. Once complete it is usually best to re-boot even if it does not prompt you to.

rch1231 169 Posting Shark

Any CD/DVD that will work with Windows will work with Linux. They are generic like hard drives and use the BIOS for communications standards.

rch1231 169 Posting Shark

If I am understanding you correctly you want a specific user on the XP systems to be able to access certain shared directories on the Vista system. In order to do that you will need to create a user on the Vista system(I would suggest a limited user) with the same name and password as the user on the XP system you want to access the files.

rch1231 169 Posting Shark

Depending on the type of hard drives involved and how they are configured there are easier ways. Windows simply uses the order the drives are referenced by the BIOS or the boot order they are configured for by the BIOS to determine which drive is C: and Which is D:.

Since you referenced a 40GB HD I am willing to bet they are 40 pin ribbon cable PATA (or IDE) hard drives. Standard BIOS setup for the system will give you a Primary and Secondary IDE Controller with two drives on each. The BIOS looks for Actual HArd drives and puts them first then CD ROM etc. If your system is like this and the drives are set for cable select simply swap positions and the system will swap drive letters. IF you drives are configured as Master and Slave on the cable then you will need to change jumpers to make your old D: the MAster and theirfore C: instead.

Hope that helps.

rch1231 169 Posting Shark

can you connect from the command line with ftp?

rch1231 169 Posting Shark

I would need to see the actual table layouts for that one and need to find out what you need in the output.

rch1231 169 Posting Shark

I have worked on a few of these in the past and there are several things that you have to consider when setting this up. Like how many people can be sponsored by one individual, what do you do if the sponsor leaves, etc. Usually what I do is set up a separate table to track the 2 sponsors above a member.
Record_ID int 11
Member_ID int 11
Sponsor_ID int 11
SSponsor_ID int 11

Then when I need the data I join to the member table for actual names and other info.

rch1231 169 Posting Shark

Try CNET's download site and you will find some excellent options that are both free and paid along with reviews by editors and users.

http://download.cnet.com/

rch1231 169 Posting Shark

Have you checked the Windows (or your installed) firewall to make sure there is an exception for Dreamweaver?

rch1231 169 Posting Shark

How do you know it is broke and not running? have you tried adding pause statements to the bat file to force it to show the command line results. which version of windows??

rch1231 169 Posting Shark

so can you post your full command line and the response and I may have a few ideas.

rch1231 169 Posting Shark

sudo uses your user password to give you access to root. So how would knoppix help?

rch1231 169 Posting Shark

I am confused as to why you would believe that either a PHP page or ASP page would not be web based... PHPMaker generates the PHP pages that allow you to access several different types of database on a web server (MySQL, MS SQL, etc.) and one of the options for the list page is Grid edit.

From their features page:
Optional Grid-Add, Grid-Edit, Inline-Add, Inline-Copy, Inline-Delete, Inline-Edit right in the List page.

It is really pretty slick giving you drop-down lists, radio buttons and table lookups within the grid edit section that you have on the individual add pages.

All you have to supply is the database and a server running PHP that is accessible to the web.

rch1231 169 Posting Shark

Well it is a Hypertext Preprocessor however it originally stood for "Personal Home Page"
http://en.wikipedia.org/wiki/PHP

rch1231 169 Posting Shark

You need to go into the old router and get the login settings for connecting to the modem. It is probably set for PPOE connection but you need to get the login info so you can set it in the new router.

rch1231 169 Posting Shark

I take it you have tried this as a user with root privileges:

mount -t iso9660 -o ro /dev/cdrom /mnt

If so can you post the error?

rch1231 169 Posting Shark

Use one of the remote connect tools like LOGMEIN, GoToMyPC, or my personal favorite Teamviewer. You run the main application on a work PC connected to the domain and then access it through your web browser.

rch1231 169 Posting Shark

phpmaker and aspmaker both have multiline edit options and demos available from the web site. You can also download it and run it for 30 days trial.

http://www.hkvstore.com/phpmaker/

rch1231 169 Posting Shark

You mean like this:

Select 
tableb.stuff, tablea.stuff 
from tableb
join tablea on tableb.z = concat(tablea.x, tablea.y)

This would give you the stuff fields from both tables.

rch1231 169 Posting Shark

Normally the lease on the DHCP address is for a week or longer and when you stay active at that address they usually don't change it. Only if disconnect from the network will your DHCP address get grabbed by another system and used. Make sure your modem or router that connects to the ISP is set to maintain the connection and you should be able to keep the address for weeks if not longer. I have been using the same address from my provider now for almost three months and it only changed then when The power was off for a few hours and my UPS ran out of juice.

rch1231 169 Posting Shark

But the poster referred to running this on a laptop and unless you move up to something like ESXi from VMware (which is a Linux based OS) I am not aware of another method to allow you to run some of the older OS's that he mentioned. I run Fedora Core 14 which is primarily designed for Laptops and their various wireless adapters. The installation of the OS from the distribution DVD is easy and has drivers for almost everything built in. I have even removed the SATA laptop drive from my AMD 1.9GHz Athlon x2 based laptop and plugged it into my Intel P4 - 3.6GHZ Desktop and booted the system without any errors or prompts for drivers. Then moved it back without any hitches either.

The virtual OS's run just a hair slower than the real thing on the laptop and having more than one running at a time would not be a great idea. If you would like to give it a try and have any questions I have set this u a couple times for some of our developers and would be happy to assist.

Jlego - Unless you have another idea of a method to accomplish this based on the parameters he supplied then I think this is his best bet. Installing Linux is easier than installing Windows, runs faster, crashes less, has the OS versions he needs available virtually and has practically no Viruses plus it is FREE. Don't knock it till …

rch1231 169 Posting Shark

TySkby - On the count issue my point is really that there is nothing in the registration age code to prevent a user from submitting the same name and password more than one time (refreshing the page a couple of times) or a unique index on the user name field (no ignore on the insert statement) to prevent the same user name being submitted twice. Your statement is correct they shouldn't occur but they are possible and if there is a way then there is a user out there somewhere that will find it.

rch1231 169 Posting Shark

Well now I am confused.ISP's normally provide the IP address for the local DNS (Domain Name System) which is the address for the Name server to query to resolve Domain names into IP addresses.

On Windows Server Systems, a Domain Controller (DC) is a server that responds to security authentication requests (logging in, checking permissions, etc.) within the Windows Server domain. At least one Domain Controller normally runs a DNS service in an Active Directory Environment to resolve names for systems connect to the Domain.

The Domain Name System (DNS) associates various information with domain names; most importantly, it serves as the "phone book" for the Internet by translating human-readable computer hostnames, e.g. www.example.com, into IP addresses, e.g. 208.77.188.166, which networking equipment needs to deliver information. It also stores other information such as the list of mail servers that accept email for a given domain. In providing a worldwide keyword-based redirection service, the Domain Name System is an essential component of contemporary Internet use.

Basically one authorizes users access to computer resources in A Windows environment while the other turns a human understandable domain name ( www.yahoo.com ) into a computer usable IP address ( 69.147.76.15 ), So whaich one are you trying to change?

rch1231 169 Posting Shark

Does it do any good to replace $tbl_name with members in the following code? I don't see you setting the variable anywhere...

$sql="SELECT * FROM $tbl_name WHERE email='$myusername' and password='$cleanpwd'";

and what happens if you get multiple rows?

try

if($count > 0){
setcookie('username', '$myusername');
rch1231 169 Posting Shark

It depends on what you mean by increment the table row. If you are referring to incrementing it for insert then simply create the field as an auto-increment in MySQL and the database will auto-increment the field for you.

If you are simply trying to get to the next record in the table then post the current record_ID into a new field and add one to it. Then select the record where the record_id equals the new variable.

rch1231 169 Posting Shark

I don't now the name of the field containing your image but try something like this:

SELECT *
FROM cuvideos
WHERE cuvimg = colname 
AND cuimgfield is not null
AND cuimgfield <> ''
ORDER BY RAND() LIMIT 1

This will also exempt empty string as well as NULL.

rch1231 169 Posting Shark

Unless I an mistaken the questions you have to answer first are what script determines that an alarm condition exists and where does the alarm out put go (if the user is no longer accessing the page for example)? Personally I would generate and email from a script running in cron (every 2 minutes or so) and send the email to the user or whom ever is supposed to get the notice.

rch1231 169 Posting Shark

Probably going to a resolution that the particular monitor or flat screen cannot display. Reboot and the millisecond the BIOS message clears start hitting the <F8> key and keep hitting it till you get the "Windows Advanced Options Menu". Then select Enable VGA Mode and the system will start with standard low resolution VGA driver. Once the system is up you can go in and change the display properties to something that works with your monitor and reboot and it should be fine.

rch1231 169 Posting Shark

You either need to used fixed addresses (not really an option using dynamic DNS) or to set up virtual hosting in Apache. Below are the first three domains on one of my servers running as virtual domains on the same IP address. The lines starting with # are comments and I use them to remind me of what is needed. The singel NameVirtualHost *:80 tells the server to use the next entry as the default for the IP address or unspecified domain.

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>

<VirtualHost *:80>
    	ServerAdmin webmaster@fortworthjazz.com
    	DocumentRoot /var/www/html/fortworthjazz.com
    	ServerName fortworthjazz.com
    	ServerAlias www.fortworthjazz.com
    	ServerAlias www.dfwjazzfestival.com
    	ServerAlias dfwjazzfestival.com
    	ErrorLog logs/fortworthjazz.com-error_log
    	CustomLog logs/fortworthjazz.com-access_log common
</VirtualHost>
rch1231 169 Posting Shark

There is an operating system on the router however it is normally chip based and not easy to hack. Try this site for a discussion on the CISCO-IOS used on CISCO routers and listing of links to other OS's used.

http://en.wikipedia.org/wiki/Cisco_IOS

rch1231 169 Posting Shark

As an idea you could install Linux on the system and then put the old os in a virtual application (Oracle VirtualBox works well) and there are several emulators like dosbox for Linux that give you a virtual system with simulated Floppy disk drives etc.

http://en.wikipedia.org/wiki/DOSBox

The Oracle VirtualBox supports the following per their documentation:

Windows NT 4.0
All versions, editions and service packs are fully supported; however, there are some issues with older service packs. We recommend to install service pack 6a. Guest Additions are available with a limited feature set.

Windows 2000 / XP / Server 2003 / Vista / Server 2008 / Windows 7
All versions, editions and service packs are fully supported (including 64-bit versions, under the preconditions listed below). Guest Additions are available.

DOS / Windows 3.x / 95 / 98 / ME
Limited testing has been performed. Use beyond legacy installation mechanisms not recommended. No Guest Additions available.

rch1231 169 Posting Shark

Depends on the BIOS version but I believe you will find that it is a memory error. You have to have some memory in the system for it to work so try one stick at a time and see if you can figure out which one has gone bad.

rch1231 169 Posting Shark

Not sure if you have solved this yet but I may not have made it clear that the entry for the etc/hosts file goes on the PC that you are trying to access the site from as opposed to the server. That way when you enter the domain-name on the Workstation it pulls the IP address from etc hosts instead of looking the address up via DNS. Hope that helps.

rch1231 169 Posting Shark

There are several options out there and here is a link to a site that will let you set it up for free:
http://www.dyndns.com/services/dns/dyndns/

rch1231 169 Posting Shark

That is basically it. You should have an installation CD for each of the printers and it will configure the IP address for you and set up the drivers on your computer.

rch1231 169 Posting Shark

It is not easy to tell what is wrong with out the information on the table you are pulling from however your query shows a field called BLLinehaul but you don't reference one called BLLinehaulEntered

rch1231 169 Posting Shark

Hello,

I am feeling much better thank you for asking...

Quick question. Do you have anything plugged in to the home router or connecting to it via wireless? IF so may be an IP conflict which is why I was suggesting 192.168.1.200 as the IP for the Belkin. Normally your DHCP addresses start at .100 and go up from there for 50 or 100 addresses. If you manually set the Belkin to .100 then try changing it.

If not then the next two questions are what are the results from traceroute

traceroute 4.2.2.2

and see how far it gets from your computer. Next If I remember correctly the belkin has options in the menus for ping and traceroute or name server resolution. Can you ping the home hub from any of those?

rch1231 169 Posting Shark

if it is on linux system and you are referring to the active connections to the server use the following:

netstat -a

to list a count of all of the UDP entries use:
netstat -a | grep udp | wc

rch1231 169 Posting Shark

Hello,

Sorry did not respond sooner been down with the flu...
looks correct so lets start with the basics and find the problem.

1. Check all of the cables and make sure you have a link light at both ends.
2. From your computer ping your local port to make sure it is responding correctly.

ping 192.168.2.2

3. If that works ok then try to ping the router/gateway

ping 192.168.2.253

4. If that works ping the wan port on the router

ping 192.168.1.100

and keep going till something fails.

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

Have you looked at gallery2 which uses php and mysql to setup and maintain a picture gallery?

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

Check the manual for the switch. Only supposed to blink during diagnostic or if there is a short of connection problem.
http://www.dlink.com/products/?tab=3&pid=DGS-1016D&rev=DGS-1016D

rch1231 169 Posting Shark

Your password for sudo us your user password....