Cena_54
Members-
Content Count
49 -
Joined
-
Last visited
About Cena_54
-
Rank
Newbie [Level 3]
-
lol. Maybe it can be a virtual college, including hundreds of students which go there, both male and female, and can have mnay problems and opportunites such as troublemakers in the class, and fit girls which you concentrate on lol
-
I Saw 2 Cars Get Totald At Once it was sweet
Cena_54 replied to L3athle's topic in General Discussion
Sure man!! Pine Trees fall from the sky!! -
has anyone read the hackers handbook, because that's supposed to be a really good book, and it's supposed to be really gooad at helping you realise if you're being hacked, anyone hee read it? Is it anygood?
-
As you can see from this image, I have a listbox which loads in the usernames from a .DAT file, which has been encrypted and decrypted using the parsestring function. However, I cannot get the type of user (e.g. Administrator, Supervisor, Guest) to load into the Combobox below, and the password of the user selected to load into the password Textbox. I have a procedure called: [b]procedure[/b] LoadPasswordFile; and in this code there is a procedure called: [b]procedure[/b] DisplayRecord;and the code for that is as follows: // Display the record. FrmOptions.LstUsers.ItemIndex := StrToInt (s_user[i_currrec]); FrmOptions.CmbLoginType.ItemIndex := StrToInt (s_type[i_currrec]); FrmOptions.TxtPassword.Text := s_password[i_currrec]; The code for loading the password file is below also if that helps: / Start to read the records into the arrays. while not eof(f_handle) do begin Readln(f_handle, s_inputtext); // Check that the line contains data. if s_inputtext > '' then begin parsestring(s_inputtext, temp_string); s_user[i_norecords] := decrypt(temp_string, length(temp_string)); FrmOptions.LstUsers.Items.Add(s_user[i_norecords]); parsestring(s_inputtext, temp_string); s_type[i_norecords] := decrypt(temp_string, length(temp_string)); s_password[i_norecords] := Decrypt(Copy(s_inputtext, 2, Length(s_inputtext) - 2), Length(Copy(s_inputtext, 2, Length(s_inputtext) - 2))); end; Thanks a lot if anyone can help me!
-
Right, first off, I have three forms, FrmSplash = Splash Screen, FrmPassword = Username/Log-In Screen and FrmMain = The main form. On all three of those forms I have the colour of the forms set to clBlack. on FrmMain, I have input many panels which contain text, and I have set a few of them to clBlack with a border around, and the rest of those, to clGrey with borders around also. In design view, the form looks perfectly ok, however, when I run the program, the panels which are grey, actually turn out to be black. I have tried changing the panels to red, blue, green, yellow etc, but at runtime they stay black. I have tried putting the panels in different colours on the other forms also, but on runtime they stay black. However, if I create a new application, I do the same with the panles and change the colour, and at runtime they are the colour specified, red, blue etc rather than black. there must be something in my code or whatever which is preventing the colours being shown at runtime. Please help me, this is a real problem which I need solving. Thanks a lot in advance. Edit: Cleared it up, found out that using XPManifest the panel colours just don't appear, anyone have any ideas of why this happens. Thanks!
-
I have this followowing code stored in my /contact/index.php webpage: <html><head><title>PHP Form Mailer - phpFormMailer (easy to use and more secure than many cgi formmailers)</title><style>BODY{color:#000000; font-size: 8pt; font-family: Verdana}.button {background-color: rgb(128,128,128); color:#ffffff; font-size: 8pt;}.inputc {font-size: 8pt;}</style></head><body><form name="phpformmailer" action="contact.php" align="center" method="post"> <div align="center"><center><table bgcolor="#F2F2F2" width="528" cellspacing="6"> <tr> <td width="159"><strong>Contact Us</strong></td> <td width="349"><a href="http://thedemosite.co.uk/phpformmailer/source_code_php_form_mailer_more_secure_than_cgi_form_mailers.php"><small>PHP Form Mailer - phpFormMailer <strong>- Source code</strong></small></a></td> </tr> <tr> <td align="right" width="159"><small>Your name:</small></td> <td width="349"><font face="Arial"><input class="inputc" size="29" name="name"></font></td> </tr> <tr> <td align="right" width="159"><font color="#000080" size="1">*</font><small> Your email address:</small></td> <td align="left" width="349"><font face="Arial"><input class="inputc" size="29" name="email"></font></td> </tr> <tr align="middle"> <td align="right" width="159"><font color="#000080" size="1">*</font><small> Confirm email address:</small></td> <td width="349" align="left"><font face="Arial"><input class="inputc" size="29" name="email2"></font></td> </tr> <tr> <td align="right" width="159"><font color="#000080" size="1">*</font><small> Subject:</small></td> <td width="349"><font face="Arial"><input class="inputc" size="29" name="thesubject"></font></td> </tr> <tr> <td align="right" width="159"> <p><font color="#000080" size="1">*</font><small> Your request or query:</small></td> <td width="349"><textarea style="FONT-SIZE: 10pt" name="themessage" rows="7" cols="27"></textarea></td> </tr> <tr> <td width="159"></td> <td width="349"><script language="JavaScript"><!--function validateForm() { var okSoFar=true with (document.phpformmailer) { var foundAt = email.value.indexOf("@",0) if (foundAt < 1 && okSoFar) { okSoFar = false alert ("Please enter a valid email address.") email.focus() } var e1 = email.value var e2 = email2.value if (!(e1==e2) && okSoFar) { okSoFar = false alert ("Email addresses you entered do not match. Please re-enter.") email.focus() } if (thesubject.value=="" && okSoFar) { okSoFar=false alert("Please enter the subject.") thesubject.focus() } if (themessage.value=="" && okSoFar) { okSoFar=false alert("Please enter the details for your enquiry.") themessage.focus() } if (okSoFar==true) submit(); }}// --></script><input type="button" class="button" value="Send" name="B1" ONCLICK="java script:validateForm()"><small> <small>You must fill in the fields marked with a *</small></small></td> </tr> </table> </center></div></form></body></html> and the following code stored in my /contact.php webpage obviously with the appropriate variables and text changed though: <?php/* PHP Form Mailer - phpFormMailer v2.1, last updated 30th Nov 2005 - check back often for updates! (easy to use and more secure than many cgi form mailers) FREE from: http://www.thedemosite.co.uk/ Should work fine on most Unix/Linux platforms */// ------- three variables you MUST change below -------------------------------------------------------$valid_ref1="http://Your--domain/contact.html";// chamge "Your--domain" to your domain$valid_ref2="http://forums.xisto.com/no_longer_exists/ chamge "Your--domain" to your domain$replyemail="YOU@Your--domain";//change to your email address// ------------------------------------------------------------//clean input in case of header injection attempts!function clean_input_4email($value, $check_all_patterns = true){ $patterns[0] = '/(anti-spam-content-type:)/'; $patterns[1] = '/to:/'; $patterns[2] = '/cc:/'; $patterns[3] = '/(anti-spam-bcc:)/'; if ($check_all_patterns) { $patterns[4] = '/r/'; $patterns[5] = '/n/'; $patterns[6] = '/%0a/'; $patterns[7] = '/%0d/'; } //NOTE: can use str_ireplace as this is case insensitive but only available on PHP version 5.0. return preg_replace($patterns, "", strtolower($value));}$name = clean_input_4email($_POST["name"]);$email = clean_input_4email($_POST["email"]);$thesubject = clean_input_4email($_POST["thesubject"]);$themessage = clean_input_4email($_POST["themessage"], false);$error_msg='ERROR - not sent. Try again.';$success_sent_msg='<p align="center"><strong> </strong></p> <p align="center"><strong>Your message has been successfully sent to us<br> </strong> and we will reply as soon as possible.</p> <p align="center">A copy of your query has been sent to you.</p> <p align="center">Thank you for contacting us.</p>';$replymessage = "Hi $nameThank you for your email.We will endeavour to reply to you shortly.Please DO NOT reply to this email.Below is a copy of the message you submitted:--------------------------------------------------Subject: $thesubjectQuery:$themessage--------------------------------------------------Thank you";// email variable not set - load $valid_ref1 pageif (!isset($_POST['email'])){ echo "<script language="JavaScript"><!--n "; echo "top.location.href = "$valid_ref1"; n// --></script>"; exit;}$ref_page=$_SERVER["HTTP_REFERER"];$valid_referrer=0;if($ref_page==$valid_ref1) $valid_referrer=1;elseif($ref_page==$valid_ref2) $valid_referrer=1;if(!$valid_referrer){ echo "<script language="JavaScript"><!--n alert("$error_msg");n"; echo "top.location.href = "$valid_ref1"; n// --></script>"; exit;}$themessage = "name: $name nQuery: $themessage";mail("$replyemail", "$thesubject", "$themessage", "From: $emailnReply-To: $email");mail("$email", "Receipt: $thesubject", "$replymessage", "From: $replyemailnReply-To: $replyemail");echo $success_sent_msg;/* PHP Form Mailer - phpFormMailer (easy to use and more secure than many cgi form mailers) FREE from: http://www.thedemosite.co.uk/ */?> However, what my problem is, is when I click on the send/submit button nothing happens. Please help. Thanks a lot in advance.
-
As of just now, I just tried to log onto my website via the FTP, however, when I click connect, I just get the following message: Please Help!! I could connect yesterday!! I could even connect at about 4.00AM this morning! Notice from rejected: Please quote material that is not yours
-
Well basically, I'm trying to create a table for my website using Macromedia Dreamweaver 8, with 1 column and ten rows, in which I will place the top ten recent news items, however, the table produced by Macromedia Dreamwevaer 8 is a very simple one, I'm looking for a more professional designed table. Does anyone know the code for one, or know where I can get one for free.Thanks a lot in advance.
-
Windows Vista Beta Testing What you think about it
Cena_54 replied to sader's topic in Operating Systems
I think that Windows Vista is going to be quite good when ti comes out, obviously as long as you've got all of the recources to run it though lol -
My Review Of Megaupload.com File Sharing Service
Cena_54 replied to icemarle's topic in General Discussion
Yup, I hate megaupload, it really annoys me when people upload on there when they no its one of the most rubbish file hosts in the world, as the download speeds are really really slow. I don't know about the upload speed because ive never tried that bit myself i dont think anyway lol. But yup, megaupload has one of the slowest download speeds of any file host i have ever visited, they should just stop what they are doing now because they are never going to beat rapidshare as they have the right idea in what they are doing and they are doing it all right. -
Ok, first Google Earth, I have no idea what Google moon is and now this Google mars, they aint gonna stop aint they, soone or later they're gonna end up having satellite footage of the whole universe for everyone to look through, from the milky way to the moons of pluto, it that one has moons like lol.
-
Well basically anything and everything contains bugs don't it, but it will most probably fixed in some time so as not to let these bugs be used by hackers new or experienced for them to gain access to peoples gmail inbox.
-
I used to think that filefront was good, but not anymore because the download speeds which you get are quite low, and then the files are easily removed by the hosts themselves, so if I was you I would use another file host, one of the best out there is rapidshare. Most definitely the best free one click file hoster in the world. lol
-
Which Color Of Jeans Do You Like Best ur fav color
Cena_54 replied to hulunes's topic in General Discussion
Well I just think that the blue jeans are getting a bit boring now, the plain types of blue jeans that is, jeans should be able to come in any colour now because it makes the choice a more wide and varied choice, and it alse enabled you to have different designs and patterns on them which is happening like every week now, you see all these new designs everywhere lol.