Killer_Typo 82 Master Poster

i just finished upgrading my php to php5 because i wanted to see the changes, but now my code doesnt do anything at all. like the one to connect to a database. it just gives me a blank white screen so when i went to check phpmyadmin to see if it was even submitting anything i got this error.'


"cannot load MySQL extension, please check PHP Configuration"

im pretty sure that i have installed PHP right. Does php my admin just not work with it, or is there somthing i need to do with mySQL to get it to work with php5. Thanks in advanced for any help that anyone has to offer.

Killer_Typo 82 Master Poster

universiy -> UofA

Killer_Typo 82 Master Poster
Killer_Typo 82 Master Poster

i dont think you should/can do repair work to a motherboard, if somthings visually burnt out that means somewhere else there are probably problems with the board. I mean for somthing to burn out and be visable, then there are probably other invisible problems you cant see.

Killer_Typo 82 Master Poster

you could probably get more performance by getting more RAM into that computer and purchasing a new CPU celerons are incredibly slow, a 1.8Ghz celereon is like 800Mhz p4

ajelliott commented: Thank you for your suggestions and support. +4
Killer_Typo 82 Master Poster

you should probably go the manufacturere's website and look for replacement drivers if you cant find the CD anymore.

and i believe these are the drivers you need for the burner

http://www.liteonit.com/ODD/WebFW/LTR-48246S/R48SS0E.zip

if that link does not work you can navigate there by going here.

http://www.liteonamericas.com/us/download_cdrw.htm

Killer_Typo 82 Master Poster

open up the machine, there should be an FCC ID that tells you the make model and what it is.

Post the ID number and ill look for the driver or you can look here. https://gullfoss2.fcc.gov/prod/oet/cf/eas/reports/GenericSearch.cfm


also if you open up the machine, you could probably just look at the NIC card and see the make/model printed right on the card.

Killer_Typo 82 Master Poster

there should be a default account on the machine called administrator try logging off as you and then relogging on as just administrator dont type a password in, because i believe default there is no password.

Killer_Typo 82 Master Poster

millenium -> 2001

Killer_Typo 82 Master Poster

and btw, on a personal note, trash winME and get a real OS... :mrgreen: winME gives you nothing but headaches...

i happen to like win ME :P, never had any problems with it!!!! though i must say i liked Windows 2k the most. (over all the OS's ive used 2k was my fav, then XP, then ME, LinuxFedora, 98,95)

Killer_Typo 82 Master Poster

if you want to erase your hard drive its format C: fdisk is for management of partitions i believe.

Killer_Typo 82 Master Poster

sounds like the file on disk is corrupted, make sure the disk is clean and free from scratches. just last weekend i had to ME on a friends computer because his XP disc was so messed up it wouldnt install anymore.

Killer_Typo 82 Master Poster

heres the error i get

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM reg_info WHERE usr_name = 'michael'' at line 1

and heres the code that gives it.

mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable to connect to database"); //connecting to the database using the variable set
	 @mysql_select_db("$DBName") or die("Unable to select database $DBName");		 //at connection to the databse select DBNAME (phpforms) or tell that it couldnt connect
	 $sqlquery = "SELECT COUNT(usr_name) as FROM $Table WHERE usr_name = '$usr_name'";
	 if (!$sqlquery)
	 {
		echo(mysql_error());
	 }
	 else
	 {
	 $results = mysql_query($sqlquery);
	 if (!$results)
	 {
		echo(mysql_error());
	 }
	 else
	 {
	 $user_count = mysql_fetch_assoc($results);
	 if (!$user_count)
		{
		 echo(mysql_error());
		}
	 else
	 {
	 echo "current user name " . $_POST['usr_name'] . "<br />";
	 echo "query returned " . $sqlquery . "<br />";
	 echo "query returned " . $results . "<br />";
	 echo "array returned " . $user_count . "<br />";
	 }
	 }
	 }

i think my main problem is that im new to php and mysql, and i dont quite no all of the syntax.


sort ($user_count)
foreach ($user_count as $array)

if ($array >= 1)

stop

else

continue.

Killer_Typo 82 Master Poster

you might just have to format the machine, make sure to get backups of all your data that you want to keep, make sure you have all the drivers and such. start up with a boot disk and type

format C:

say yes, let it format, when it asks for a volume lable just press enter for none, then type

D:
to change the directory to drive D: (most likely the default cd drive when booted from disk)

and type

setup

and it should take you through the setup. If setup doesnt work, type dir to see a listing of all the files on the cd and look for one named setup/install or a folder called 98se and type cd 98se and look for a setup/install in there (i know on my 98se disk i have to navigate for the setup)

Killer_Typo 82 Master Poster

if you reinstalled windows ME, did you make sure to do a format? by just installing over the top you could have made things worse or caused the problem to stay around.

Killer_Typo 82 Master Poster

from my experienc with a wired router connected to a wireless router, its a bad idea we had so many problems it became a hassle and every half hour or so we had to reset the routers so that we could get back online. we finaly changed the wireless router for a wireless access point and we had no problems untill we had to swap out the wired router for a netgear one. so i would suggest a wired router with a wireless access point. not another wireless router (mucho problemo with them being set up as both routers, from my exp at least)

Killer_Typo 82 Master Poster

wow i really like that site, though the colors are geard more towards home and design, its a good basis for choosing colors that will help, ive already started one site with a color plate chosen from that site and it looks really good.

Killer_Typo 82 Master Poster

try and get into your control panel and go into folder options, and then go into file types and see if anything is associated with anything. but if you ask me, this sounds almost like a virus. you can try doing a repair install of windows to see if that works. it might fix any lost or bad files (IE boot from the disk and select repair, but not recovery console you want to do a repair install)

Killer_Typo 82 Master Poster

did this happen after you upgraded (ie just added the card) or after an upgrade of the driver? if so you could have remenants of the old driver left over and could be recieving conflicts.

try this

http://www.majorgeeks.com/download.php?det=3233

its a tool that scans the system for all files related to drivers (ati, nvidia, creative...etc) and presents the user with a list of them..you can read more at the site.

Killer_Typo 82 Master Poster

what generated that error? was it partition magic ie pointing out that error? if so maybe there is some help documentation that will tell you exactly what is going on and how to address it.

here we go, i did a search and found you your answer

Solution: Error 993 Partition contains open files. Use the operating system check utility.

To fix this error:

1. Disable any antivirus programs on your system.

2. For Windows 9x systems: Run ScanDisk.
For Windows 2000/XP systems: Run CHKDSK.

To run ScanDisk:

1. Boot the computer from a Windows Startup diskette.

2. At the A:\ prompt, type: SCANDISK

3. Once the basic scan is complete, choose to run the thorough scan as well.


To run CHKDSK:

1. Boot from your Windows 2000 or XP installation CD.

2. Select the Repair option.

3. Select the Recovery Console option.

4. If you have a Windows 2000 system, type the following at the command prompt: CHKDSK /F
If you have a Windows XP system, type the following at the command prompt: CHKDSK /P

5. Once the disk check has completed, type the following at the command prompt: CHKDSK /R


Problem Description:
Error 993 Partition contains open files. Use the operating system check utility.
Error 993
Partition contains open files
Problem Environment
PartitionMagic
PartitionMagic Pro
Drive Image
Drive Image Pro

Killer_Typo 82 Master Poster

hosts file is located at (win xp that is)

C:\windows\system32\drivers\etc\

look for a file called host and open with notepad, make sure the only entry not commented (comments are lines started with a # symbol) is

127.0.0.1 localhost

if there is anything else, delete it.

Killer_Typo 82 Master Poster

yeah it should be right next to semicolon(;) ie ' " see their on the same key!

umm have you tried making sure that you dont have numlock on, i know for some keyboard the keypad is integrated directly onto the keys. so the key would list two to three function. IE the key may have 0 ) and 9 all on one key.

also some laptops have buttons on them for accessing other keys. and last but not least, do you even see a picture for the key that should have ' printed on it? or are some of the keys rubbed out?

Killer_Typo 82 Master Poster
mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable to connect to database");  //connecting to the database using the variable set
	 @mysql_select_db("$DBName") or die("Unable to select database $DBName");		 //at connection to the databse select DBNAME (phpforms) or tell that it couldnt connect
	 //$sqlquery = "SELECT usr_name FROM $Table WHERE usr_name = '$_POST[usr_name]'";
	 $sqlquery = "SELECT COUNT(usr_name) FROM $Table WHERE usr_name = '$usr_name'";
	 $results = mysql_query($sqlquery);
	 echo "current user name " . $_POST[usr_name] . "<br />";
	 echo "query returned " . $sqlquery . "<br />";
	 echo "query returned " . $results . "<br />";

i added the lines query returned .$sqlquery and query returned $results to see exactly what it was spewing out.

and heres the output of it now

current user name michael
query returned SELECT COUNT(usr_name) FROM reg_info WHERE usr_name = 'michael'
query returned Resource id #3
sorry that user name has been taken! please use your browsers back button and try a different one!

what in the world is Resouce id #3??

also i believe using mysql_query is the wrong command, so i tried mysql_field_count() in its place, but it gave me an error saying that i used the wrong syntax within the () fields. I am determined to figure this out!...but it seems to be more advanced than i thought it to be when i first set out on this task to create a login. cuz after i figure this out, im creating a login/logout and a cookie which will automaticly log a user back …

Killer_Typo 82 Master Poster

No, that means I didn't look at it because you didn't post the errors.

thats where it came from, from not even taking the time to look over it, even if it was just a breif code a simple, no thats not right, but post your code. at that point i wasnt looking for errors, i was looking for direction.

Killer_Typo 82 Master Poster

another problem solved, thank sir!

NOOOOO spoke too soon. now it submits it, even if the name is in there twice. maybe my SQL formatting is off? maybe?

lol i do have an error in my syntax, now its about finding what it is and the correct syntax to use. to the mysql manual!

Killer_Typo 82 Master Poster

lol meant to say wasnt asking for you to look for errors, but ill post the code in a minute when i get back up to my computer (downstairs right now). im sorry if i have to double post, but it wont let me edit my posts after i finish posting them.

EDIT:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Register!</title>
</head>
<body>
<table bordercolor="000000" border="1" cellpadding="0" cellspacing="0">
 <tr bgcolor="#C8D6E0">
  <td colspan="2" align="center" height="180">
  This will be the location of any banners and such
  </td>
 </tr>
 <tr>
  <td  height="800" width="150"  bgcolor="C8D6E0">
  This will Contain Information pertaining to the site (IE SITE NAV)
  </td>
  <td valign="top" width="800" bgcolor="#70899f">
  <form method="post" action="new_user.php">
  <input type="hidden"  name="id" id="id" value="null">
   <table width="800" border="0" cellpadding="0" cellspacing="0">
	<tr>
	 <td colspan="2" align="center" bgcolor="#535d6f">
	  <font size="+1" color="ffffff">
	   <p align="left"><b>Registration Info:</b>
	  <font size="-">
	   &nbsp;&nbsp;All feilds required except those marked with an *
	  </font></p>
	  </font>
	 </td>
	</tr>
	<tr>
	 <td align="left" bgcolor="70899f">
	  <font color="#ffffff">
	   <p><b>User Name:</b></p>
	  </font>
	 </td>
	 <td align="left" bgcolor="70889f">
	  <input type="text" name="usr_name" id="usr_name">
	 </td>
	</tr>
	<tr>
	 <td align="left" bgcolor="70899f">
	  <font color="ffffff">
		<b>Password:</b>
	   </font>
	  <font size="-1" color="ffffff">passwords are case sensative:</font>
	 </td>
	 <td align="left" bgcolor="70889f">
	  <input type ="password" name="usr_pass" id="usr_pass">
	 </td>
	</tr>
	<tr> 
	 <td align="left" bgcolor="70899f">
	  <font color="ffffff">
		<b>Confirm Password:</b>
	  <font size="-1" color="ffffff">passwords are case sensative:</font>
	  </font>
	 </td>
	 <td align="left" bgcolor="70889f">
	  <input type ="password" name="con_usr_pass" id="con_usr_pass">
	 </td>
	</tr>
	<tr>
	 <td align="left" bgcolor="70899f">
	  <font color="#ffffff">
	   <p><b>E-Mail:</b></p>
	  </font>
	 </td>
	 <td align="left" bgcolor="70889f">
	  <input type="text" name="email" id="email">
	 </td>
	</tr>
	<tr>
	 <td align="left" bgcolor="70899f">
	  <font color="#ffffff"> …
Killer_Typo 82 Master Poster

i need to know the format to search for a user name in the database, im using PHP to submit the data

so far this is what ive got

@mysql_select_db("$DBName") or die("Unable to select
database $DBName");

$sqlquery = "INSERT INTO $table
VALUES('$id','$name','$email','$opinion')";

$results = mysql_query($sqlquery);

mysql_close();

im using that to insert the data into the database, but i need to know the format to search the database to make sure that the username isnt already in use.

$sqlquery = "SEARCH * FROM table WHERE name =(username user wants)";

but i dont know how to tell it to output if the user name has infact been found or if it has not and the user name is good. any help would be greatly appreciated.

Killer_Typo 82 Master Poster

i was asking for you to look for errors, i wanted to know if that was on the right track.

Killer_Typo 82 Master Poster

so does that mean that im heading in the right direction with my code?

Killer_Typo 82 Master Poster

ive been working on my login script, and ive come to a halt. i need some help with writing somthing that will check if the name has already been used

like

if ( $current_Username = $Database_username)
echo "sorry user name taken";

else
{
continue with rest of functions
}

where current_username = $_POST[username] (from the form)
and
Database_username = "SELECT * FROM reg_info WHERE name = '$current_Username')

ive tried things along those lines, but i always get errors. Does anyone know how to correctly do it??

thanks for any help that anyone can offer :)

Killer_Typo 82 Master Poster

Hello,

I hope you created a second user, and am not running around as root doing everything. If you are, it is time to slow down, and start using a normal user account instead of the God account.

If you were to catch a bug, or malicious program, and you are running root, you can torpedo your box. One of the big features of Linux security is NOT to run normal programs as root.

IN the windows world, you almost always need to be a member of the Administrators group in order to do things. Not the case in Linux.

Christian

first thing i did was create an account so that im not the root user, i have to enter a password to change anything associated with that stuff.

Killer_Typo 82 Master Poster

i dont plan on dual booting any time so i should be good for now. but if i ever plan on putting it on my main machine ill make sure to check those other ones out.

Killer_Typo 82 Master Poster

what are you talking about? just go to daniweb.com/techtalkforums/ and search for what you need from there??

Killer_Typo 82 Master Poster

Sounds like your jumpers are screwy for some reason. Sure they're correct?

And you don't write zeros to a drive.

And tell me why you would ever want a 200GB unit to house an OS. That's what a smaller, more replaceable drive is for. :)

actually the maxtor tool claims that it writes zeros to the drive, instead of the usual format that just allocates the clusters for use again (says its ok to write data here and there). umm make sure that you use the software that came with your harddrive (i have maxtore 160GB drive) boot from the cd that came with it, and use the ghosting tool, or boot it alone as a master and install an OS that way.

Killer_Typo 82 Master Poster

ur comps ip address

open up command prompt

START>Program Files/All Programs (depending on OS)>Accessories>Command Prompt

type

ipconfig /all

or just

ipconfig

or

http://www.whatismyip.com/

Killer_Typo 82 Master Poster

$results = mysql_query($sqlquer y); //Query the results

if(!$results){
echo(mysql_error());
}

thank you thank you thank you.

here are the results.

Column count doesn't match value count at row 1

(heres a screenshot of what the database looks like)

thank you thank you thank you.

here are the results.

Column count doesn't match value count at row 1

(heres a screenshot of what the database looks like)

srry for the double post, but i figured it out, i had accidently included $email twice, once removing the second $email it all worked out. thanks arizona web for the help, i wouldnt have thought to double check that if i hadnt seen the error that i got.

Killer_Typo 82 Master Poster
<?
$DBhost = "localhost";//location of mySQL on server/site
$DBuser = "michael";//User name for logging onto mySQL
$DBpass = "";//Password for logging onto mySQL
$DBName = "user_login_info";//Name of the databse for logging into
$table = "login_info";//Name of the Table to be used steps to create are included
$name = "$_POST[name]";//Name that the person gave on the form
$email = "$_POST[email]";//Email that person gave on the form
$con_email = "$_POST[confirm_email]";//confirm their email is correct
$sex = "$_POST[sex]";//sex of the person
$month = "$_POST[month]";//month person was born
$day = "$_POST[day]";//day person was born
$year = "$_POST[year]";//year person was born

  
  if ($email != $con_email)
	{
	 echo "sorry the emails you provided do not match!<br />";
	 echo "Please use the back button to correct this error and resubmit<br />";
	}
  else
	{ 
	 mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable to connect to database");  //connecting to the database using the variable set
	 @mysql_select_db("$DBName") or die("Unable to select database $DBName");		 //at connection to the databse select DBNAME (phpforms) or tell that it couldnt connect
	 $sqlquery = "INSERT INTO $table VALUES('$id','$name','$email','$email','$con_email','$sex','$month','$day','$year')"; //Telling the mySQL to insert the values from the form into the databse coresponding with the form
   
	 $results = mysql_query($sqlquery);  //Query the results
   
	 mysql_close();  
   
	  echo "   
	   <html>
	   <head>
		<title> Registerd Data </title>
	   </head>
	   <body>
		<center>
		  <table border='0' width='500'>
		   <tr>";
   
	  echo "	 <td>
			 <font face='verdana' size='+0'> 
			 <center>
			  <p>You Just Entered This Information Into the Database</p>
			 </center>";
			  //display the information that user submitted in the previous form
	  echo "	   <blockquote>
			  <center>
			   <p>
			   Name : $name 
			   </p> 
			   <p>
			   E-Mail : $email 
			   </p> 
			   <p>
			   Sex …
Killer_Typo 82 Master Poster

i dont follow you. do you mean like a barcode generator?

like this?

http://www.barcodesinc.com/generator/index.php

Killer_Typo 82 Master Poster

open your machine up, ive hear of people sending their stuff to tech repair places and getting it back with less ram, Different CPU's, wrong parts and such. make sure you have the right ammount in your machine. or your memory could have gone bad, and now its not being read.

Killer_Typo 82 Master Poster

use http://localhost/ instead of the exact IP, its always better to be able to use a name over a set of numbers.


also if you plan on doing anything productive with php your going to want to download and install mySQL on your machine so you can work with databases and such.

Killer_Typo 82 Master Poster

Thanks for the response Killer_Typo I very much appreciate it and going to try it out

:-)

Ok, I just tried this code out and it shows the code up on the page and no message on a right click to give message..

what am I doing wrong? I placed the code into a blank Frontpage in html mode and viewed it both in preview and browser..

Maybe I should be on a beginners page some place.. sorry but sometimes it just needs a small chunk of the puzzle to get the bigger picture done..

Would appreciate your comment again please.. I do appreciate it..

post your question in a new thread, that way we dont take over the current one.

Killer_Typo 82 Master Poster

Heres a zip file with the code. (had to fix the code, previous version had sensative information in it ;))

Killer_Typo 82 Master Poster

its not working because its all inside of a comment. remove the <!-- and --> from it. so it looks just like this

<xmp>
   <script language="JavaScript">
	 function click()
	 {if (event.button==2){alert('This is my Script')}}document.onmousedown=click//
   </script>
</xmp>

also, remember good formatting of the code will be your best freind later on down the line when you write very long and coplex scripts.

Killer_Typo 82 Master Poster

Intro

Before we start need to create a databse to work in (i will assume you are using phpadmin to do this) just go to (databases)... and in the blank textbar create a new database, and call it phpforms

then open up your command prompt and enter your mysql shell
(for me it was C:\mysql\bin\mysql -u michael -p)

and enter these lines

mysql> CREATE TABLE information (
> id INT NOT NULL AUTO_INCREMENT,
> name VARCHAR (50),
> email VARCHAR (50),
> opinion VARCHAR (30),
> PRIMARY KEY (id)
);


Getting started

OK now we're ready to work. First you need a way to access your database so you can see what people think of your site/forums or whatever you plan on using this for.

We use this script:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title> How to Grab Data from a MySQL database!</title>
</head>
<body>
<table border="1" cellspacing="2" cellpadding="1" height="800"><caption>How people felt about my site!</caption>
<tr>
<td valign="top" bgcolor="#CCCCCC">
<?php 
 
 
// prints out at top of page, so that poeple know what they are looking at//
echo "poeple that found site to be horrible:<hr /><br /><br />";
 
 
/* declar some relevant variables */
 
$Host = "locationofmysql"; //location of mySQL on server
$User = "yourlogin"; //my username
$Pass = "yourpass"; //my password
$Name = "phpforms"; //name of the database to be used
$Table = "nameoftable"; …
Killer_Typo 82 Master Poster

thank you for all your help, you can mark this as solved, you were able to help him fix all of his problems. :)

Killer_Typo 82 Master Poster

now im very happy! i have a submit form which writes to a database, a submitted form which displays what has just been submitted, and a database forms which displays all information that has been submitted.

i plan on posting it in the snipits area.

Killer_Typo 82 Master Poster

OK, heres the new log and the info he gave me

Still having the same problem. I updated windows. I had 3 uninstalls for the Newdotnet and uninstalled them yet the uninstallation file is still in my windows folder. When opening Windows Media Player the error actually showed it's face and said "An internal application error has occurred" This all started with my problems.


Logfile of HijackThis v1.97.7
Scan saved at 11:30:45 PM, on 6/12/2004
Platform: Windows XP SP1 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\System32\svchost.exe
C:\Program Files\TGTSoft\StyleXP\StyleXPService.exe
C:\WINDOWS\system32\spoolsv.exe
C:\WINDOWS\Explorer.EXE
C:\PROGRA~1\Grisoft\AVG6\avgserv.exe
C:\WINDOWS\system32\drivers\KodakCCS.exe
C:\WINDOWS\System32\nvsvc32.exe
C:\windows\system\hpsysdrv.exe
C:\HP\KBD\KBD.EXE
C:\Program Files\Microsoft IntelliPoint\point32.exe
C:\Program Files\Microsoft IntelliType Pro\type32.exe
C:\PROGRA~1\LEXMAR~1\ACMonitor_X83.exe
C:\PROGRA~1\LEXMAR~1\AcBtnMgr_X83.exe
C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\printray.exe
C:\Program Files\D-Tools\daemon.exe
C:\Program Files\AIM\aim.exe
C:\program files\steam\steam.exe
C:\WINDOWS\System32\RUNDLL32.EXE
C:\WINDOWS\System32\ScsiAccess.EXE
C:\Program Files\Kodak\Kodak EasyShare software\bin\EasyShare.exe
C:\Program Files\Kodak\KODAK Software Updater\7288971\Program\backWeb-7288971.exe
C:\WINDOWS\System32\rundll32.exe
C:\WINDOWS\System32\devldr32.exe
C:\Program Files\Internet Explorer\iexplore.exe
C:\Documents and Settings\James\Desktop\HijackThis.exe

R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Bar =
R0 - HKLM\Software\Microsoft\Internet Explorer\Search,SearchAssistant = about:blank
R1 - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings,ProxyOverride = localhost
R0 - HKCU\Software\Microsoft\Internet Explorer\Toolbar,LinksFolderName =
O2 - BHO: (no name) - {06849E9F-C8D7-4D59-B87D-784B7D6BE0B3} - C:\Program Files\Adobe\Acrobat 5.0\Reader\ActiveX\AcroIEHelper.ocx
O2 - BHO: . - {D34F08C5-4F18-477c-86CB-1A9BEECFE37B} - C:\Documents and Settings\James\Application Data\sysxl\sysxl32.dll
O3 - Toolbar: &Radio - {8E718888-423F-11D2-876E-00A0C9082467} - C:\WINDOWS\System32\msdxm.ocx
O4 - HKLM\..\Run: [hpsysdrv] c:\windows\system\hpsysdrv.exe
O4 - HKLM\..\Run: [KBD] …

Killer_Typo 82 Master Poster

heres the code to send the info

<html>
<HEAD>
<title> form Handling with PHP </title>
</head>
<body bgcolor="#FFFFFF">
<center>
<form method=post action="submittedinfo.php">
<input type="hidden" name="id" value="NULL">
<table>
	<tr>
	 <td colspan="2"><font SIZE="+0" face="verdana">
	 Lets see if we cant get this form to work!
	 </td>
	</tr>
	<tr>
	 <td>
	 </td>
	</tr>
	<tr>
	 <td align="left"><font SIZE="+0" face="verdana">
	 <b>Your name <br \>Your E-Mail Address</b>
	 </td>
	 <td>
	 <input type="text" name="name" id="name">
	 <br />
	 <input type="text" name="email" id="email">
	 </td>
	</tr>
	<tr>
	 <td colspan="2"><center>
	 <SELECT name="opinion" id="opinion">
	 <option value="is great">I like your site</option>
	 <option value="is OK">Your Site is OK</option>
	 <option value="is horrible">Your Site is horrible</option>
	 </SELECT><p><input type="submit" value="Tell us!">
	 </td>
	</tr>
</table>
</form>
</body>
</html>

and here is the code to show the information entered by the user

<?
$DBhost = "localhost";
$DBuser = "michael";
$DBpass = "koolaide";
$DBName = "phpforms";
$table = "information";
 
 
mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable to connect to database");
@mysql_select_db("$DBName") or die("Unable to select database $DBName");
$sqlquery = "INSERT INTO $table VALUES('$id','$name','$email','$opinion')";
$results = mysql_query($sqlquery);
mysql_close();
echo "
	<html>
	<head>
	 <title> PHP and MySQL </title>
	</head>
	<body>
	 <center>
	 <table border='0' width='500'>
		<tr>";
echo "	 <td>
		 <font face='verdana' size='+0'> 
		 <center>
		 <p>You Just Entered This Information Into the Database</p>
		 </center>";
 
echo "	 <blockquote>
		 <center>
			<p>
			Name :<p> $name E-Mail :</p> $email <p>Opinion :</p> $opinion
			</p>
		 </center>
		 </blockquote>
		 </td>
		</tr>
	 </table> 
		 </center>
	 </body>
	 </html>";
?>

heres the problem, when i run the HTML on the first page and fill out the form, i press send the info, it should bring up another page saying You entered so and so …

Killer_Typo 82 Master Poster

Well, I can't seem to view anything with windows media player, my internet is slow, and my hompage is always some weird website.

Logfile of HijackThis v1.97.7
Scan saved at 6:44:00 PM, on 6/12/2004
Platform: Windows XP SP1 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\System32\svchost.exe
C:\Program Files\TGTSoft\StyleXP\StyleXPService.exe
C:\WINDOWS\system32\spoolsv.exe
C:\PROGRA~1\Grisoft\AVG6\avgserv.exe
C:\WINDOWS\system32\drivers\KodakCCS.exe
C:\WINDOWS\System32\nvsvc32.exe
C:\WINDOWS\System32\ScsiAccess.EXE
C:\WINDOWS\Explorer.EXE
C:\windows\system\hpsysdrv.exe
C:\HP\KBD\KBD.EXE
C:\Program Files\Microsoft IntelliPoint\point32.exe
C:\Program Files\Microsoft IntelliType Pro\type32.exe
C:\PROGRA~1\LEXMAR~1\ACMonitor_X83.exe
C:\PROGRA~1\LEXMAR~1\AcBtnMgr_X83.exe
C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\printray.exe
C:\Program Files\D-Tools\daemon.exe
C:\WINDOWS\System32\rundll32.exe
C:\Program Files\AIM\aim.exe
C:\program files\steam\steam.exe
C:\Program Files\Kodak\Kodak EasyShare software\bin\EasyShare.exe
C:\Program Files\Kodak\KODAK Software Updater\7288971\Program\backWeb-7288971.exe
C:\WINDOWS\System32\devldr32.exe
C:\Program Files\Internet Explorer\iexplore.exe
C:\Program Files\Internet Explorer\iexplore.exe
C:\Documents and Settings\James\Local Settings\Temporary Internet Files\Content.IE5\0LODEN0X\HijackThis[1].exe

R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Page = res://mshp.dll/sp.html#37049
R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = res://mshp.dll/index.html#37049
R0 - HKLM\Software\Microsoft\Internet Explorer\Main,Start Page = res://mshp.dll/index.html#37049
R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Bar =
R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Page = res://mshp.dll/sp.html#37049
R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Page_URL = res://mshp.dll/index.html#37049
R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Search_URL = res://mshp.dll/sp.html#37049
R0 - HKLM\Software\Microsoft\Internet Explorer\Search,SearchAssistant = about:blank
R1 - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings,ProxyOverride = localhost
R0 - HKCU\Software\Microsoft\Internet Explorer\Toolbar,LinksFolderName =
O2 - BHO: (no name) - {06849E9F-C8D7-4D59-B87D-784B7D6BE0B3} - C:\Program Files\Adobe\Acrobat 5.0\Reader\ActiveX\AcroIEHelper.ocx
O2 - BHO: (no name) - {2E9CAFF6-30C7-4208-8807-E79D4EC6F806} - C:\Program Files\Submit\submithook.dll
O2 - BHO: . - {D34F08C5-4F18-477c-86CB-1A9BEECFE37B} - C:\Documents and Settings\James\Application Data\sysxl\sysxl32.dll
O2 - …

Killer_Typo 82 Master Poster

i didnt have any break points, the code up there is exactly what i compiled and ran, and it worked great. are you running this from the command prompt? or macs version of it at least? i use windows so im not sure what your problem with it is. maybe someone with a mac can help you better.