darkfreaks Posted February 18, 2010 Share Posted February 18, 2010 im not sure what my form is doing but i get LOTCC.bcp(); $username on my form it didnt do it before, what might cause this Link to comment https://forums.phpfreaks.com/topic/192525-form-trouble/ Share on other sites More sharing options...
darkfreaks Posted February 18, 2010 Author Share Posted February 18, 2010 looking at what the file() function is retrieving off vampirefreaks.com it is pulling a javascript code with that function in it. but it didnt before weird $user = $_POST['user']; $submit = isset($_POST['submit']) ? $_POST['submit'] : false; if ($submit) { $url = 'http://vampirefreaks.com/profile.php?user='; $user = $_POST['user']; $file = file("$url$user"); foreach ($file as $lines) { $line = strip_tags($lines); $line = trim("$line"); if ($line != '') { $line = preg_replace('/\s+/', ' ', $line); $line = preg_replace('/\s+$/', ' ', $line); $reason = 'THIS USER HAS BEEN DELETED BY VF ADMIN Reason for Deletion:'; if ($line == 'THIS USER DOES NOT EXIST' || $line == 'Error Retreiving user info') { $message = "this user is dead<br />"; } if ($line == $reason) { $message = "$line $user"; } if ($line == '' . $reason . ' Picture Theft') { $message = "$line $user"; } if ($line == 'This User Has Been Suspended') { $by = $reason = next($file); $reason = next($file); $message = "$user Has Been Suspended By VF Admin For:$by$reason$form"; } } if ($message) { echo "<font color=red>$message</font>"; } if (!$message) { echo $form; } } Link to comment https://forums.phpfreaks.com/topic/192525-form-trouble/#findComment-1014373 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.