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...
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...
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.
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...
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...
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.
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.