-
Posts
774 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by smiles
-
-
Simple Login
in PHP
well friend, here is my forum http://myloves124.ifastnet.com/main_forum.php and I use Session as my friends had guided above, so when you click to another link at top, you will be asked for password ...Is that safe enough what I have to do for more protecting ?thanks !!!
-
your doing similar to disabling View Source that is impossiblehtml.php still contain html code in View Source
-
uhm ... so strange, last week I check a simplemail.php , it say I should check out parameter in php.ini includes SMPT and SMPT_port, they get right value. Today, I check the SMPT connection by using Run -> Typing telnet localhost 25 -> It say failed connection ; after that I try to use Outlook Express to send mail and it runs well and now, back to simplemail.php it says the new error Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in ... line ..
<?php$To = "b@yahoo.com";$Text = "This is a test.";$Html = "<H1>This is a test.</H1>";$Subject = "PHP Mail Test";$message = "";$headers = "From: a@mail.com\n";$headers .= "X-Mailer: PHP4\n";$headers .= "X-Priority: 3\n";$headers .= "MIME-Version: 1.0\n";$headers .= "Content-Type: multipart/alternative;boundary=\"==MIME_BOUNDRY_alt_main_message\"\n\n";$headers .= "This part of the E-mail should never be seen. If you arereading this, consider upgrading your e-mail client to a MIME-compatibleclient.";$message .= "--==MIME_BOUNDRY_alt_main_message\n";$message .= "Content-Type: text/plain; charset=ISO-8859-1\n";$message .= "Content-Transfer-Encoding: 7bit\n\n";$message .= $Text . "\n\n";$message .= "--==MIME_BOUNDRY_alt_main_message\n";$message .= "Content-Type: text/html; charset=ISO-8859-1\n";$message .= "Content-Transfer-Encoding: 7bit\n\n";$message .= "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0Transitional//EN\">\n";$message .= "<HTML><BODY>\n";$message .= $Html . "\n";$message .= "</BODY></HTML>\n\n";$message .= "--==MIME_BOUNDRY_alt_main_message--\n";mail($To, $Subject, $message, $headers); ?>// get this code from PHP Bugs
-
it hurts my brainits for a 360Degrees picture, when it gets to last frame it needs to jump to the first and when it gets to the first it needs to jump to the last. -
small question : did you get no problem with testing sending email in Xampp ?If yes please guide me a way, I always get warning error with php.ini but when I check that file, every parameter is okay ???uhm but when I check SMPT server connection, it says connection failed, does this mean I can't send email by anyway ?why ISP still gave me a mail address ?
-
thanks you very much !!! I will do research on it
-
hi I have just solved it <script type="text/javascript">function emoticon(theSmilie){ window.opener.document.myForm.theText.value += theSmilie;}</script>
-
hi ! In case I click smiley symbol from smiley popup window, how can I add it to textarea ?need server script ?
-
sorry but i have no idea about how to do something with it, this string looks strange to memaybe you have a course's link for me thanks !!!
-
<script type="text/javascript"></script> --> not blank screen
-
the coordinate of mouse in comparison with which one ?what I want to do is when mousex + then go nextFramewhen mousex - go prevFrameanyone know ? -
codes in this post is very useful for me, but I want to ask more about link typing your BBcode used
[url]http://.....[/url]
for link like below
...$patterns[] = '@\[url\](.*)\[/url\]@'; // Matches [url]URL[/url]$replaces[] = '<a href="$1" target="_blank">$1</a>'; ...$a_answer = preg_replace( $patterns, $replaces, $a_answer);
how can I just typing the url address and it appears as link without using
[url] ... [/url]
thanks !
-
uhm ... http://invite.tubely.com for e.g
-
my friend send me an invitation from a site, this site suggest me to fill my email and password, I fill exactly my email address but fill another password like 123456 but that site tell me that is wrong password, after check this site carefully, I fill my password and it accepted, that password is belong to Yahoo site's possesion , why another site can check right or wrong password ???thanks !!!
-
you see nothing, at least it must has the last sentence ???seem that you have to change elseif (isset($_REQUEST['Email'])) to else (isset($_REQUEST['Email']))and this for sure...else (isset($_REQUEST['Email'])){...if(mail( "****@tsrealms.com", "$Email","$Subject", "From: $Email" ) &&mail( "$Email", "A copy of your Application", "$Subject", "From: The Shattered Realms" )){echo "Sent";}else{echo "Can't send";}...}
-
do you mean a flash variable interact with html textarea
-
the desk is good but strange, this one must rotate 180 degrees working between papers and computers
-
Maybe you just install new bad software that make conflicting with .dll in system32
-
Exactly !!! Thanks so muchtextarea { font-family: verdana, arial, "lucida console", sans-serif; }
-
I am using http://www.ifastnet.com
-
my page follow the style sheet having the main font is Verdana, Tahoma, Arial, san-serifbut when I typing text in textarea, I bet that it is Times font and serif one, anyone know how to change the font in textarea to Verdana also ?thanks !!!
-
-
Well, I found some in php.net, I see that I can resized image to smaller one
<?php// File and new size$filename = 'file.jpg';$percent = 0.2;// Content typeheader('Content-type: image/jpeg');// Get new sizeslist($width, $height) = getimagesize($filename);$newwidth = $width * $percent;$newheight = $height * $percent;// Load$thumb = imagecreatetruecolor($newwidth, $newheight);$source = imagecreatefromjpeg($filename);// Resizeimagecopyresampled($thumb, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);// Outputimagejpeg($thumb); ?>
everything is all right but when I try to put something at the bottom of the code
.....// Outputimagejpeg($thumb); echo "Hello World";?>
resized image appear but the text doesn't appear
-
I know in Flash has Pop up term, but as far as I know, it doesn't like a web page having in Pop up If using getURL the "a certain size and no scroll bar or tool bar or navigation bar" is impossibleMaybe you should back to Javascript for it
-Get URL- Button Problem
in FLASH
Posted
could you say more about your process !!!