HighDots Forums  

HOW TO: Submit a form to PHP with no return?

Javascript JavaScript language (comp.lang.javascript)


Discuss HOW TO: Submit a form to PHP with no return? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
gsb
 
Posts: n/a

Default Re: HOW TO: Submit a form to PHP with no return? - 05-04-2004 , 05:39 PM






Matt Kruse,

Thanks again, but never mind my last post.
I should take tom eto research first, then respond.

If you haven't used, HTTP Response 204 can be very convenient. 204 tells the
server to immediately termiante this request. This is helpful if you want a
javascript (or similar) client-side function to execute a server-side
function without refreshing or changing the current webpage. Great for
updating database, setting global variables, etc.
header("status: 204"); (or the other call)
header("HTTP/1.0 204 No Response");

gsb



Reply With Quote
  #12  
Old   
gsb
 
Posts: n/a

Default Footnote: Works well, see example. - 05-06-2004 , 12:11 AM






Footnote:

204 works well.

Send me an email if interested and I'll send you a link of the example.
Bare with my proactive "junk-mail" buster.

gsb

gsb (AT) qwest (DOT) net




Reply With Quote
  #13  
Old   
Randy Webb
 
Posts: n/a

Default Re: Footnote: Works well, see example. - 05-06-2004 , 01:47 AM



gsb wrote:
Quote:
Footnote:

204 works well.

Send me an email if interested and I'll send you a link of the example.
Bare with my proactive "junk-mail" buster.
Why do you pro-actively use a "junk-mail" buster and then asked to be
emailed? Seems counter-intuitive. And, why not just post the link/URL here?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/


Reply With Quote
  #14  
Old   
gsb
 
Posts: n/a

Default Re: Footnote: Works well, see example. - 05-06-2004 , 11:47 AM



The junk mail buster simply challenges each unknown address with an email
asking the sender to confirm that their email is not junk.
Click on link or simply reply as is. This is a one time only challenge.
Then the email is added to the approved list and the original is forwarded
to my real inbox.
Pending mail is held 72 hours for a response and then deleted if none.

Most spammers have no real return address and therefore get deleted after 72
hours without ever reaching my real inbox.
Those that do get through, I can manually ban by address or server, so it is
a one time annoyance only.

I get 30-50 junk mails a day.
This system usually works well, although my email server is down today. LOL

gsb



Reply With Quote
  #15  
Old   
Richard Cornford
 
Posts: n/a

Default Re: Footnote: Works well, see example. - 05-06-2004 , 07:42 PM



gsb wrote:
Quote:
The junk mail buster simply challenges each unknown address with an
email asking the sender to confirm that their email is not junk.
Click on link or simply reply as is. This is a one time only
challenge. Then the email is added to the approved list and the
original is forwarded to my real inbox.
Pending mail is held 72 hours for a response and then deleted if none.

Most spammers have no real return address and therefore get deleted
after 72 hours without ever reaching my real inbox.
Those that do get through, I can manually ban by address or server,
so it is a one time annoyance only.
snip

One practice of spammes is to use a forged return address that is
genuine in the sense that it belongs to someone else, sometimes culled
from Usenet. Leaving your anti spam technique sending requests for
confirmation to real addresses belonging to people who have never sent
you any email. Those people will see your requests for confirmation as
spam and will not respond to it, leaving you black-listing real e-mail
addresses belonging to people who have never sent you any e-mail (up to
that point).

Richard.




Reply With Quote
  #16  
Old   
gsb
 
Posts: n/a

Default Re: Footnote: Works well, see example. - 05-06-2004 , 10:58 PM



Richard,

Quote:
...leaving you black-listing real e-mail
addresses belonging to people who have never sent you any e-mail
No. A misunderstanding. The buster does not ban anyone, just me manually.
If no response as per your scenario, the buster simply deletes the pending
email after 72-hours.
Not ban also, so subsequent emails are bran new to the process.

gsb





Reply With Quote
  #17  
Old   
Randy Webb
 
Posts: n/a

Default Re: Footnote: Works well, see example. - 05-06-2004 , 11:27 PM



Richard Cornford wrote:

Quote:
gsb wrote:


One practice of spammes is to use a forged return address that is
genuine in the sense that it belongs to someone else, sometimes culled
from Usenet. Leaving your anti spam technique sending requests for
confirmation to real addresses belonging to people who have never sent
you any email. Those people will see your requests for confirmation as
spam and will not respond to it, leaving you black-listing real e-mail
addresses belonging to people who have never sent you any e-mail (up to
that point).

Another is spammers sending mail, with a forged from: field, in the
hopes that it goes through, thereby "validating" - in a sense - the
email address, and then it adds it to a spam list.

That was the consequences that occurred to me when I emailed you and
asked if I missed something. Remember that?


--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/


Reply With Quote
  #18  
Old   
Richard Cornford
 
Posts: n/a

Default Re: Footnote: Works well, see example. - 05-07-2004 , 12:28 AM



Randy Webb wrote:
<snip>
Quote:
That was the consequences that occurred to me when I emailed
you and asked if I missed something. Remember that?
Yes I remember that. The best clue as to whether a dubious e-mail is
really from me remains being aware that I am capable of composing a
meaningful subject line. (Apart from checking that the originating
server belongs to my ISP)

Richard.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.