Jump to content
xisto Community

Cena_54

Members
  • Content Count

    49
  • Joined

  • Last visited

Posts posted by Cena_54


  1. i looked up in the sky at a cracking noise only to notice that a pine tree was falling down and i was like cool. Then my eyes were following its falling motion then BAM!!! it landed on two cars completley ripping through the top of one and coming through the windsheild of another and i was like SWEET!! i felt bad for the ppl though. But it looked awsome the front back and side windows total shattered and flew off the cars and a limb stabbed into one of the cars airbags. Then i looked inside the car only to notice that a limb went through the hood and came in the car through the cd player. SWEET!!!!


    Sure man!! Pine Trees fall from the sky!!

  2. Posted Image

     

    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!

  3. 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!


  4. 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.

  5. 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:

    FlashFXP v3.3.5 build 1110 [bETA RELEASE]Support Forums at http://forums.xisto.com/no_longer_exists/

    WinSock 2.0
    [R] Connecting to ftp.attitudewrestling.co.uk -> DNS=ftp.attitudewrestling.co.uk IP=64.69.46.210 PORT=21
    [R] Connection failed (Connection refused)
    [R] Delaying for 120 seconds before reconnect attempt #1
    [R] Retry attempt Aborted

    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


  6. 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.


  7. 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.


  8. 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


  9. Yup, there is a lot and I mean a lot of jackasses out there in the big wide world, just ignore them, all they are after is attention, and if they realise that they aren't getting that attention, they'll just stop doing that jackass behaviour of theirs and maybe once in their lifes try to act normal.


  10. Now I know that some of you here will think im talking complete and utter rubbish, but my dreams do come true, however, I don't remember them at all until they happen. Pretty wierd you may say so. However, I have little tiny dreams which just are images of something, a scene from high school, college, an image of whats on my computer screen. Yes it seems silly, but I dream about these and when they come true, I only realize at that moment because I think, whoa, I've dreamt about that lol. I don't really know how to explain it. So yes, I believe in dreams as quite a lot of them come true.


  11. Apparently, attitudewrestling.co.uk has resolved, my mate can see the new website, which is the host17 front page or something, but im still seeing a cpanel message from the old host. Why is this. I have refreshed, cleared the cookies, and the cache, and tried viewing in IE rather than Firefox. Any ideas?Thanks a lot in advance.

    Notice from jlhaslip:
    As per Avalon's reply, please be more descriptive in choosing the Topic Title and Description.Read the Xisto readme and Help files for more information. Thanks.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.