Saturday, April 10, 2004
Installing windows 98 on Virtual PC 2004
Google Groups: View Thread "Installing windows 98 on Virtual PC 2004"
Here is a good help about how you have to format and partition your virtual hardrive in order to get win 98 to install on Virtual PC 2004.
Here is a good help about how you have to format and partition your virtual hardrive in order to get win 98 to install on Virtual PC 2004.
Friday, April 09, 2004
To change boot logger in windows XP
If you forgot the root password for mysql, here is how to change it with out knowing it.
MySQL root password
- If you never set roots password then its blank, to set it you can
use mysqladmin like this:
shell> mysqladmin -uroot password NewPassword
- If you forgot the root password, here is a way to fix it
shutdown mysqld, kill it if you have to.
start it up with the additional option -Sg or --skip-grant-tables
shell> mysql
mysql> use mysql;
mysql> update user set Password=PASSWORD('NewPass') WHERE User='root';
mysql> quit
- If you never set roots password then its blank, to set it you can
use mysqladmin like this:
shell> mysqladmin -uroot password NewPassword
- If you forgot the root password, here is a way to fix it
shutdown mysqld, kill it if you have to.
start it up with the additional option -Sg or --skip-grant-tables
shell> mysql
mysql> use mysql;
mysql> update user set Password=PASSWORD('NewPass') WHERE User='root';
mysql> quit
Thursday, April 08, 2004
Forms - Html tags
Webmonkey | Reference: HTML Cheatsheet
Forms
For functional forms, you'll have to run a CGI script. The HTML just creates the appearance of a form.
Creates all forms
Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll.
Forms
For functional forms, you'll have to run a CGI script. The HTML just creates the appearance of a form.
Creates all forms
Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll.
Accessing files outside the web root - It works!!!
Here is the script that I got from Dr. Liddle. It was so exciting when I finally got this to work.
header("Content-type: application/pdf\n");
header("Content-length: 97198\n");
$fp = fopen("C:\FoxServ\downloads\Spencer_Pope_Resume.pdf", "rb");
while (!feof($fp)) {
$buffer = fread($fp, 16384);
print $buffer;
}
fclose($fp);
?>
header("Content-type: application/pdf\n");
header("Content-length: 97198\n");
$fp = fopen("C:\FoxServ\downloads\Spencer_Pope_Resume.pdf", "rb");
while (!feof($fp)) {
$buffer = fread($fp, 16384);
print $buffer;
}
fclose($fp);
?>
How To Download Files Located Outside Web Directory
PHPBuilder.com - How To Download Files Located Outside Web Directory
Hopefully this will finally tell me how to access files located outside the web root.
Hopefully this will finally tell me how to access files located outside the web root.
Secure Programming for Linux and Unix HOWTO
Secure Programming for Linux and Unix HOWTO
This is a web book that I should read. It will give me understanding on how to better program securely.
This is a web book that I should read. It will give me understanding on how to better program securely.
Wednesday, April 07, 2004
Notes for 655
Tuesday, April 06, 2004
CSS Box Properties/Div Properties
Monday, April 05, 2004
I Sys 411 Final Test Notes
Chapter 11-12 – GRASP Principles
• Iterator – a pattern to iterate through a list
• Factory – Uses to create other objects. A single place to control certain types of objects.
• Abstract Factory – When you have a need for several factoryies that do very similar things. Also called TookKit.
• Façade – decouples. Simplifies. Provides a common access point into a sub-system.
• Command – Undos and Redos. Stack of Command objects. You encapsulate a command/method into an object
• Decorator –
• Stategy – to use different algorithms. They all have the same api
• Composite strategy – a strategy is made up of other more detailed strategies
• Front Control –
• Thread – a process that can be dispatched. Independently dispatchable.
• Producer consumer – Common Resource. Take Turns. Wait() Notify()
• Iterator – a pattern to iterate through a list
• Factory – Uses to create other objects. A single place to control certain types of objects.
• Abstract Factory – When you have a need for several factoryies that do very similar things. Also called TookKit.
• Façade – decouples. Simplifies. Provides a common access point into a sub-system.
• Command – Undos and Redos. Stack of Command objects. You encapsulate a command/method into an object
• Decorator –
• Stategy – to use different algorithms. They all have the same api
• Composite strategy – a strategy is made up of other more detailed strategies
• Front Control –
• Thread – a process that can be dispatched. Independently dispatchable.
• Producer consumer – Common Resource. Take Turns. Wait() Notify()
Blobbing Data With PHP and MySQL
Blobbing Data With PHP and MySQL
This article supposidly tell you how to store files, such as .doc, .pdf, images.....in a mysql database using php.
4-8-2004 This is a very good article showing you how to upload files from a client computer and to store those files in a mysql database. The one bad thing about it is that it requires that you have register_globals turned on. I don't want to do that, so I am going to have to work on finding a way around it.
This article supposidly tell you how to store files, such as .doc, .pdf, images.....in a mysql database using php.
4-8-2004 This is a very good article showing you how to upload files from a client computer and to store those files in a mysql database. The one bad thing about it is that it requires that you have register_globals turned on. I don't want to do that, so I am going to have to work on finding a way around it.