Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. shaggy56

    Object keeps containing the same data on output

    I figured it out......it had nothing to do with the main function. it was all those "static" vars I have in the Record class.
  2. shaggy56

    Object keeps containing the same data on output

    The reason for the String temp = s.returnLine(); for(int i = 0; i < linesRead;i++) { temp = s.returnLine(); } is so it doesn't assign the first line which is SSN username Assigmnet1 Quiz1 Test1 if I didn't have that line it would put that in the array. but on the variable naming I see...
  3. shaggy56

    Object keeps containing the same data on output

    the problem I am having is when the second forloop runs instead of giving me say SSN USERNAME A1 Q1 T1 ------------------------------- 600-22-1040 ZV102 64 24 35 600-22-1060 ZV103 35 50 13 it gives SSN USERNAME A1 Q1 T1 ------------------------------- 600-22-1040 ZV102...
  4. shaggy56

    Object keeps containing the same data on output

    Yeah I just had to trow that man func in so that it could run. I didn't want to put the whole program on this. Any way the first main you have won't output the right data inside the Record, but the second one will.
  5. shaggy56

    Object keeps containing the same data on output

    When I run this code it gives me the same output for each Record. there are 390 different lines in the text file that is being read. each line is then parsed and put into the record. I have tested when the object is first created and everything is entered the data is fine. On the second call (in...
  6. shaggy56

    mail funtion problem

    I have a page that mails information in a form to my Comcast email address, though I am not on the Comcast internet network. The code used to work up until last night. Now for some reason I get thing error “Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Relaying not allowed...
  7. shaggy56

    $_SESSION help

    no it works perfectly when the PHP file is in the same dir as the file that is linked to it. but when I move that file into a folder and set up the index.php to link to that file it gives me that error.
  8. shaggy56

    $_SESSION help

    I am running it on a Win2k server, with IIS, version of php is 4.1.3.
  9. shaggy56

    $_SESSION help

    ok so I have the $_POST var being passed to the $_SESSION var on my index page. Then when you click it link it does this session_register('username'); $_SESSION['username'] = $username; session_register('password'); $_SESSION['password'] = $password; Now that seems to...
  10. shaggy56

    passing a value to another page

    thank you all very much for you help. I am still trying to get the hang of php.
  11. shaggy56

    passing a value to another page

    I am using mysql to check the username and passwords. Basically when I try to go to the link it says that the username and password when checked against the database are blank.
  12. shaggy56

    passing a value to another page

    I am having a hard time trying to get a good user authentication page to work. The authentication works for the one page but if I try to pass the value of the variable to the link it won't work (because I have no clue how to). I need to be able to block the linked page too unless the user logs...

Part and Inventory Search

Back
Top