User Profile

Collapse

Profile Sidebar

Collapse
paitoon
paitoon
Last Activity: Feb 15 '08, 10:09 PM
Joined: Aug 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • But it ok....i give up
    thank you so much
    Alex
    See more | Go to post

    Leave a comment:


  • So you means in javascript ?'

    xmlHttp.setRequ estHeader('Cont ent-Type', 'application/x-www-form-urlencoded');

    i did it but it make email not work.

    xmlHttp.setRequ estHeader('Cont ent-Type', 'application/x-www-form-uutf-8');
    See more | Go to post

    Leave a comment:


  • eventually i got it,
    1. the reason that email not encoded in POP3 program that because i have to set the default encoded in the program to be UTF-8 (before it's western europe)
    2. the reason that it's not encoded in web-mail (they use squrrel mail) because they just told me that they are not support asian langage.

    Well, i got stress but got much more experiance. And i hope it will be the useful for other people also....
    See more | Go to post

    Leave a comment:


  • paitoon
    replied to How to use anchor tag in ajax ?
    thank you so much and i will try this...:-)
    Alex
    See more | Go to post

    Leave a comment:


  • Actually yes, But I just want to know if it's possible or what is this problem etc..
    Because it's work fine on normail mail but why it doesn't work with web-mail or pop3 ?
    actually i was happy after i made everything hard finish and i use the time for this for a month (so hard) but a few days ago i opened it in web-mail and POP3 program it's disappoint me in the end my problem is not really gone...:-/

    ...
    See more | Go to post

    Leave a comment:


  • this is some part in my AJAX:
    [code=javascript]

    var params = "sender=" + encodeURICompon ent(document.if orm.sender.valu e)+
    "&email=" + encodeURICompon ent(document.if orm.email.value )+
    "&subject=" + encodeURICompon ent(document.if orm.subject.val ue)+
    "&text=" + encodeURICompon ent(document.if orm.text.value) ;


    xmlHttp=GetXmlH ttpObject()...
    See more | Go to post
    Last edited by acoder; Jan 24 '08, 11:05 AM. Reason: fixed code tags

    Leave a comment:


  • paitoon
    replied to How to use anchor tag in ajax ?
    I forget to tell you...i know the function scroll to but how to make it work with this ?i means scroll to whereever i want proerly?
    thanks again
    Alex
    See more | Go to post

    Leave a comment:


  • paitoon
    started a topic setRequestHeader method doesn't work with POP3

    setRequestHeader method doesn't work with POP3

    Hello
    Refer to the thread that i have posted before: http://www.thescripts. com/forum/thread755824.ht ml

    On that time i got problem about encode ajax to send email...everyth ing worked find after i use setRequestHeade r and encodeURICompon ent...but
    then i test it with POP3 mail everything is not encoded...why ? And is it has some way to fix this ?
    thank you so much
    Paitoon
    See more | Go to post

  • paitoon
    replied to How to use anchor tag in ajax ?
    Ohh..sound great !! Do you have some example ? i really interested in what u will say..
    See more | Go to post

    Leave a comment:


  • paitoon
    replied to How to use anchor tag in ajax ?
    My problem is I want to load that page and then i want window scroll down to the topic that i want to show it first..forexamp le in that page that i call consist of 3 topic

    test.html

    topic1......... .......
    bla
    bla
    bla bla bla

    topic2
    bla bla bla

    topic3
    bla
    bla
    bla bla

    i want window scroll to the topic3 after the page is loaded..is...
    See more | Go to post

    Leave a comment:


  • paitoon
    replied to How to use anchor tag in ajax ?
    Hmm maybe i wrote wrong..
    Ok..we talk about anormal page now..when u put the anchor tag to a page and u will get that page which specified area with forexample :
    <a href ="example.php#h ello">clickhere </a>

    can we use this with ajax ?
    See more | Go to post

    Leave a comment:


  • paitoon
    started a topic How to use anchor tag in ajax ?

    How to use anchor tag in ajax ?

    Hello ,
    My questionis short but i think many people got the same problem with me..
    Is it possible to use the anchor tag in ajax ? I want the ajax load the page with specified area by using anchor tag...if yes how ?
    thank you so muc
    Alexander
    See more | Go to post

  • paitoon
    started a topic .htaccess doesn't protect my folder

    .htaccess doesn't protect my folder

    Helle
    I have problem about .htaccess in my site. My purpose is i want to protect a folder name's IMAGES in my site then i put .htaccess into that folder. But instead of the IMAGES folder will be protected but i could not open my site at all.seems like it not only protect the IMAGES folder but it protects to open my site also.
    what should i do ? and what is the actually syntext to do this?
    I use this systext;...
    See more | Go to post

  • yesssssssssssss ssss!! i got it
    all is because i did not put the $params = $_POST['params']; in PHP
    But now everything is work great :-)

    thank you everybody here
    Alex
    See more | Go to post

    Leave a comment:


  • I did everything but alll is does not help
    i think i have to do something with php..
    i send variable params from javascrip which contents

    var params = "$sender=" + encodeURICompon ent(document.if orm.sender.valu e)+
    "&$email=" + encodeURICompon ent(document.if orm.email.value )+
    "&$subject= " + encodeURICompon ent(document.if orm.subject.val ue)+
    "&$text="...
    See more | Go to post

    Leave a comment:


  • [QUOTE=paitoon]Actually it's not so hard to change method from GET to be POST in ajax file...
    But how about PHP? i see it not work at all...
    could u please give me a example easiest php send mail which get from POST ajax in this cast ?

    Thank you so much
    Alex


    here is what i do but i did not get any mail at all.
    <?php
    $params = $_POST[params];
    $recipient =...
    See more | Go to post

    Leave a comment:


  • yes..i check it and everything is work good if i use GET method..
    But i need to use POST method but it not work here.
    Here is additional thing that i want to tell you

    var params = "$sender=" + encodeURICompon ent(document.if orm.sender.valu e)+
    "&$email=" + encodeURICompon ent(document.if orm.email.value )+
    "&$subject= " + encodeURICompon ent(document.if orm.subject.val ue)+...
    See more | Go to post

    Leave a comment:


  • Actually it's not so hard to change method from GET to be POST in ajax file...
    But how about PHP? i see it not work at all...
    could u please give me a example easiest php send mail which get from POST ajax in this cast ?

    Thank you so much
    Alex


    here is what i do but i did not get any mail at all.
    [php]<?php

    $recipient = 'mymail@hotmail .com';
    $subject =...
    See more | Go to post
    Last edited by acoder; Jan 18 '08, 08:56 PM. Reason: Added code tags

    Leave a comment:


  • Thak you so much i will try..:-)
    See more | Go to post

    Leave a comment:


  • paitoon
    started a topic Ajax POST and GET which one i should use.

    Ajax POST and GET which one i should use.

    Hi,
    I have problem about ajax GET method.
    I use ajax to send mail and i use method GET.
    when i send alittle bit data it's work good but once i
    type so much in the form and send...i don't get any mail .
    i tried many time but it did not help except i will not type so much
    then main will be sent...why ?

    do i haver to change methos to POST?
    what is different and how ?

    ...
    See more | Go to post
No activity results to display
Show More
Working...