Jump to content
xisto Community

adly3000

Members
  • Content Count

    59
  • Joined

  • Last visited

About adly3000

  • Rank
    Member [Level 1]
  • Birthday 11/24/1982

Contact Methods

  • Website URL
    http://adly3000.trap17.com
  1. sorry for the broken url, but ihavenot space on my site now to upload those pics.PSP stands for printshop pro.
  2. I've finally made the tutorial my both of my current signature images! I made a poll to see if people wanted me to make it, and seven people said yes, so here you go: Important Note! The outcome of the image depends on the number of lens flares and the positions of them in steps 4 and 5! Ambience: 1. Open Photoshop and creat a new document. Make sure that it is square. Mine is 300x300. 2. Press ctrl + a to select all of the canvas, then right click on it and press fill. Chose black or another dark colour to fill it with, then press ctrl + d to deselect the canvas. 3. Click on Filter -> Render -> Lens Flare and keep the setting default (50-300mm Zoom, Brightness 100%) 4. Place the lens flare in the middle at the top of your image.Posted: Thu Feb 17, 2005 1:06 pm Post subject: My signature tutorials - Ambience and Abstract! 5. Repeat step 3 however many times you like until you end up.You can just use that image if you want to. 6. Press ctrl + u and set the Saturation down to -100 to greyscale the image. 7. Click on Filter -> Pixelate -> Mezzotint and choose Medium Strokes. 8. Then go to Filter -> Blur -> Radial Blur and select Zoom, Best quality and Amount 100. 9. Press ctrl + f twice to repear step 8 twice. 10. Press ctrl + u and tick the box that says Colorize. 11. Choose the settings you want. This changes the colour of the image. I chose Hue 200, Saturation 100 and Lightness 0. 13. Press ctrl + j to copy the layer. 12. Make sure you are on the top layer, then click on Filter -> Distort -> Twirl and set the Angle to 100. 13. Press ctrl + j again to copy the layer we are on. 14. Set the blending mode on the top layer to Lighten. 15. Go to Filter -> Distort -> Twirl and set the angle to -50 this time. There you have it! That is how I made my Ambience signature. All I did was to make a new image that was 300x100 and I copied the 300x300 image onto it and moved it around until I got what I liked! Something Fishy Studios: This just continues from Ambience. 16. Click on the bottom layer then press ctrl + j twice to copy it twice. Make sure that they are all set to Lighten. 17. Click on Filter -> Distort -> Shear and make it look like S letter.Remember to have Repeat Edge Pixels selected. 18. Press ctrl + j do copy the layer, then press Edit -> Transform -> Flip Horizontal. 19. Press ctrl + e to merge the two layers together. 20. Click on Image -> Rotate Canvas -> 90 CCW. 21. Repeat steps 16 -> 19. 22. Go to Image -> Rotate Canvas -> 90 CW. 23. Enjoy!Important Note! The outcome of the image depends on the number of lens flares and the positions of them in steps 4 and 5! If you have any comments or questions about either of the tutorials then please post them here. It took me ages to write these!
  3. Hmm. I wrote this for a thread, but I decided to submit it here too. First you need to download or make the patterns. I have some ready made patterns here: http://lygo.com/ly/sitemissing.html.You have to save each image in that directory, and place them into your Patterns folder (C:\Program Files\Jasc Software Inc\Paint Shop Pro 7\Patterns). I made this mini-tutorial in PSP 7, but I don't think it's hard to figure out how to do this in other programs. After you have downloaded the patterns. ^ Find that in PSP and click the Pattern option. ^ When you click on the pattern, you'll see this small window pop up. Find the pattern you want to use. ^ Then click on the Flood Fill tool. ^ Then press the letter "O" on your keyboard to see the Options window popup. Change the opacity to 10(press enter after you type in a new number). You can change the opacity level as you see fit. Then click anywhere on the image. Make sure the pattern is at the top. ^ Remember, by changing the opacity level you can make the stripes more or less visible.
  4. hmm.. i have one question is Invision Power Board better than phpBB2?and what's the difference between them?!i used phpBB2 but i never see Invision Power Board before.
  5. thanks no9t9; if ($_GET['date'] == 'asc') { $i = 0; $j = $total }else if ($_GET['date'] == 'desc') {$i = -$total; $j = $0 }for ($x=$i;$x<$j;$x++) { do stuff } this helps alot, that is the the same as: $start = 0;$end = $total;$step = 1;if (isset($_GET{"date"}) && $_GET{"date"} == "desc") { $start = $total; $end = 0; $step = -1;}for ($x = $start; $x <= $end; $x += $step) {// something}
  6. i agree with OpaQue: just cahnge the ($HTTP_*_VARS arrays i.e. $HTTP_POST_VARS) to ($_* i.e. $_POST) i also agree with Spectre: using isset in trhe if statement is better than just if: if (isset($_POST['addr']) && $_POST['addr'] != '' ) { $searchable = $_POST['addr']; echo 'searchable = '.var_dump($searchable).'</br>'; $stack=array(); ...extra code }... the above code better than the following one: if ($_POST['addr']) { $searchable = $_POST['addr']; echo "searchable = ".var_dump($searchable)."</br>"; $stack=array(); ...extra code }
  7. i'd like to make for loop which dependes on a $_GET variable: here is my tries: if (isset($_GET['date']){switch($_GET['date']) { case 'asc':$exp1 = "$x>0";$exp2 = "$x=$total"; $condition = '$x++'; break; case 'desc';$exp1 = "$x=$total";$exp2 = "$x>0"; $condition = '$x--'; break; }} then for($exp1; $exp2; $condition){//** do something **//} that is what i want to do, sure this code is wrong so what is the valid code?!!
  8. thanks all.that is helping me to the right way thanks.
  9. thanks all.Spectre, I think your code is more simple so i used it and it works thatnks again
  10. Hello, I get the following error: Parse error: syntax error, unexpected T_STRING in /usr/local/psa/home/vhosts/club-amigos.co.uk/httpdocs/contact.php on line 44 when l run the following script: Any help would be appreciated. <?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://adly3000.trap17.com/contact_test.html";// chamge "Your--domain" to your domain $valid_ref2="http://adly3000.trap17.com/contact_test.html";// chamge "Your--domain" to your domain $replyemail="EMAIL REMOVED - Send PM to This User Instead";//change to your email address // ------------------------------------------------------------ //clean input in case of header injection attempts! function clean_input_4email($value, $check_all_patterns = true) { $patterns[0] = '/content-type:/'; $patterns[1] = '/to:/'; $patterns[2] = '/cc:/'; $patterns[3] = '/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='{ print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">"; } // email variable not set - load $valid_ref1 page if (!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"; [code]<?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://forums.xisto.com/no_longer_exists/ chamge "Your--domain" to your domain $valid_ref2="http://forums.xisto.com/no_longer_exists/ chamge "Your--domain" to your domain $replyemail="EMAIL REMOVED - Send PM to This User Instead";//change to your email address // ------------------------------------------------------------ //clean input in case of header injection attempts! function clean_input_4email($value, $check_all_patterns = true) { $patterns[0] = '/content-type:/'; $patterns[1] = '/to:/'; $patterns[2] = '/cc:/'; $patterns[3] = '/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='{ print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">"; } // email variable not set - load $valid_ref1 page if (!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: $email\nReply-To: $email"); mail("$email", "Receipt: $thesubject", "$replymessage", "From: $replyemail\nReply-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/ */ ?>
  11. I would like to add one day to date.Doesn't any one have a simple code that I can have. or mabe a link. date("Y-m-d H:i:s") + (1800 * 24);//this doesnt work ;/ but i need to have 24 hours after date for a check. Thanks for taking the time i hope some one can help me out. Dont warry about it if you dont have some thing already made.
  12. i solved the problem and here's the code: <?function fn_flagmsgs($flagedmsgs, $flagtypeis){ global $dmsg; global $flagtype; //-- open imap connection --// $mboxflag = @imap_open("{mail.adly3000.trap17.com:143}", "".$_SESSION['SESSION_USER_NAME']."+".$_SESSION['SESSION_MAIL_HOST']."", $_SESSION['SESSION_USER_PASS']) or header("Location: error.php?ec=3"); //-- set flags for the specified message numbers --// reset($flagedmsgs); while (list($key, $val) = each($flagedmsgs)) { $flagedmsgs2[$key] = imap_uid($mboxflag, $val); } switch ($flagtypeis) { case "Seen": imap_setflag_full($mboxflag, implode(',', $flagedmsgs2), '\\Seen', ST_UID); break; case "Unseen": imap_clearflag_full($mboxflag, implode(',', $flagedmsgs2), '\\Seen', ST_UID); break; } //-- close imap connection page --// imap_close($mboxflag);}?> the i call that function to set any flag.
  13. i'd like to set or clear the seen flag to any selected message: if (isset($_GET['hmark']) && isset($_GET['dmsg']) && isset($_GET['fresh'])){ $dmsg = $_GET['dmsg']; $flagtype = $_GET['hmark']; $fresh = $_GET['fresh']; $used = isset($_SESSION['used']) ? $_SESSION['used'] : array(); if (!isset($used[$fresh])) { if ($flagtype=='Seen') { include("functions/flagmsg.php"); fnflagmsgs($dmsg, $flagtype); } elseif ($flagtype=='UnSeen') { list($un, $flagtype) = explode("Un",$flagtype); include("functions/unflagmsg.php"); fnunflagmsgs($dmsg, $flagtype); } $used[$fresh] = TRUE; $_SESSION['used'] = $used; }}1- 'hmark' is a select in the form whic will pass 'Seen'.2- 'dmsg' is checkboxes. 3- 'fresh' is a hidden field to prevent repeatation on refreash. the flagmsg.php contains: function fnflagmsgs($flagedmsgs, $flagtypeis){ global $dmsg; global $flagtype; //-- open imap connection --// $mboxflag = @imap_open("{mail.adly3000.trap17.com:143}", "".$_SESSION['SESSION_USER_NAME']."+".$_SESSION['SESSION_MAIL_HOST']."", $_SESSION['SESSION_USER_PASS']) or header("Location: error.php?ec=3"); //-- delete specified message numbers --// for ($x=0; $x<sizeof($flagedmsgs); $x++) { imap_setflag_full($mboxflag,imap_uid($mboxflag,$flagedmsgs[$x]),'\\\\".$flagtypeis."',ST_UID); } //-- close imap connection page --// imap_close($mboxflag);}so it doesnot set or even clear the flags, why i don't know?!hmmmm.... the greatest is that my view page set the seen flag as desired?! lol plz plz plz help me!!! :help:
  14. problem in IE6 with overlib i am using the following codes in my html and page is generating dynamically <div id="overDiv" style="position:absolute; visibility:hide; z-index:1000;"></div> and <a href="mailto:snsanju@gmail.com" onMouseOver="window.status='User Details'; overlib('email: snsanju@gmail.com',RIGHT, ABOVE, HAUTO, VAUTO); return true;" onMouseOut="window.status=''; nd(); return true;"></a> it shows the popup fine at correct position if less records(only one page), now consider if there are more records say greater than 100, and i scroll down then instead showing the popup at correct position it is displaying at top which is not visible by us. other than this IE6 its ok. whats wrong with this.
  15. i wrote a funtion to list the imap mailboxes and then write the usneen messages besides to thier relative mail boxes: 1- it will search the mail boxes and display the inbox at the top then it will display the remaining mailboxes. everything working great, but always showing me unseen=0????!! i don't know why?! <?session_start();$mboxrit = @imap_open("{mail.adly3000.trap17.com:143}", "".$_SESSION['SESSION_USER_NAME']."+".$_SESSION['SESSION_MAIL_HOST']."", $_SESSION['SESSION_USER_PASS'],OP_HALFOPEN) or header("Location: error.php?ec=3");$list = imap_list($mboxrit,"{mail.adly3000.trap17.com:143}","*");function cmp ($desired_mailbox_name, $b){ if (strcasecmp($desired_mailbox_name, 'INBOX') == 0) { return -1; } elseif (strcasecmp($b, 'INBOX') == 0) { return 1; }}if (is_array($list)){ reset($list); while(list($key, $val) = each($list)) { $mailbox_name = imap_utf7_decode($val); list($undesired_mailbox_name[$key], $desired_mailbox_name[$key]) = explode("}", $mailbox_name); } usort($desired_mailbox_name, 'cmp'); while(list($key, $val) = each($desired_mailbox_name)) { if ($val != ".mailboxlist") { $mailbox_status = imap_status($mboxrit,"{mail.adly3000.trap17.com:143}".$val."",SA_UNSEEN); if (isset($mailbox_status)) $unseen = $mailbox_status->unseen; if (strstr($val, ".")) { list($inbox,$boxname) = explode(".", $val); } $val = ((isset($boxname)) ? $boxname : $val); $mailboxes = (isset($mailboxes) ? $mailboxes."<tr>" : "<tr>"); $mailboxes .= "<td>".$val; if ($unseen > 0) $mailboxes .= " (".$unseen.")"; $mailboxes .= "</td>"; $mailboxes .= "</tr>"; } }}imap_close($mboxrit);?><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><table width="100%" border="0" cellspacing="0" cellpadding="0"> <? echo $mailboxes; ?></table></body></html>
×
×
  • 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.