Jump to content

smiles

Members
  • Posts

    774
  • Joined

  • Last visited

Everything posted by smiles

  1. I am using free host service of Awardspace (http://myloves124.awardspace.com)Recently (from 26th Aug), connection to the site becomes very weak, just good when I wake up early at 5am.I ask my friend living in USA, France, Korea ... they say the connection still be good.At the same time, in my country, there is a big domain attacking (victim is the biggest hosting provider) that make many sites corrupt (they maybe not accessible, or be put frame tag to redirect to another site) So is there any relation between weak connection to my site and that event ???Thanks so much
  2. I have a job now and must pay more attentions to it so not always visit this forum like before, but I will remember here when I free or get any web problem :)

  3. could you say more about your process !!!
  4. smiles

    Simple Login

    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 !!!
  5. smiles

    CSS in PHP file

    your doing similar to disabling View Source that is impossiblehtml.php still contain html code in View Source
  6. 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
  7. 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 ?
  8. thanks you very much !!! I will do research on it
  9. hi I have just solved it <script type="text/javascript">function emoticon(theSmilie){ window.opener.document.myForm.theText.value += theSmilie;}</script>
  10. hi ! In case I click smiley symbol from smiley popup window, how can I add it to textarea ?need server script ?
  11. 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 !!!
  12. smiles

    Not sure

    <script type="text/javascript"></script> --> not blank screen
  13. the coordinate of mouse in comparison with which one ?
  14. 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 !
  15. uhm ... http://invite.tubely.com for e.g
  16. 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 !!!
  17. 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";}...}
  18. do you mean a flash variable interact with html textarea
  19. smiles

    Computer Desk

    the desk is good but strange, this one must rotate 180 degrees working between papers and computers
  20. smiles

    Windows Problem

    Maybe you just install new bad software that make conflicting with .dll in system32
  21. Exactly !!! Thanks so much
  22. I am using http://www.ifastnet.com
  23. 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 !!!
  24. smiles

    thumbnail

    so at one time, we just output either text or imageanyway, I had finished the thumbnail problem lastnight :)imagejpeg($thumb,"path to save copied image",100); thanks you, all of you
×
×
  • Create New...