why does it need to refresh though Isnt it just a send since you dont need-care about the response Oh can you
HTTP… http://www.site.com/action?param1=something¶m2=somethingelse
?
server-side, use your languages HTTP library, create a url, and post the request (like they said, I'm guessing this is what curl is)
i cant have the url in that format as it doesnt work
http://www.site.com/file.aspx and i post to that address
http://www.nndb.com/people/973/000047832/ Curl
perhaps somthing like http://pastie.caboo.se/76825 would work for u
ok so that there, page is loaded, form is submitted and then 10 seconds later the page is reloaded am i right?
./somescript www.site.com/file.aspx?howeveryouhavetopost=data
yes
ok. Where does that be placed in my page?
just in the header?
with script tags above and below your code?
in the iframes head tags within script tags
virtual pc says "you are not using a supported OS" then proceeds to install ….
gotta love msft
What can I do to prevent javascript from being cached by browsers? (I've tried a meta pragma, I've also tried adding a ?buildtime= as recommended by a site. Neither was effective.)
that was curl? was that an example? because I certainly don't see any documentation
uthat was curl? was that an example? because I certainly don't see any documentation /u
wanderingii hows that working
well, it's starting to get light here, so I'm going to bed. Adios guys and thanks for the help
uwell, it's starting to get light here, so I'm going to bed. Adios guys and thanks for the help /u
*sigh*
]abbr curl
;define curl
curl: form a curl, curve, or kink; "the cigar smoke curled up at the ceiling" curl up: shape one's body into a curl; "She curled farther down under the covers"; "She fell and drew in" coil: a round shape formed by a series of concentric circles (as formed by leaves or flower petals) coil: wind
around something in coils or loops American chemist who with Richard Smalley and Harold Krot…
;define php curl
I haven't learned that word in school yet.
;learn php curl
Gotcha! php is "curl".
lol crap
hehe
didnt think learn was actually a command
;define ajax
ajax: The holdem starting hand Ace-Jack (AJ). Also known as Blackjack and "The (Aussie) Jewel".
…
;define xmlhttprequest
xmlhttprequest: XMLHTTP is a set of APIs that can be used by JavaScript, JScript, VBScript and other web browser scripting languages to transfer XML or other data to and from a web server using HTTP. The biggest advantage of XMLHTTP is the ability to dynamically update a webpage without
reloading the entire webpage or using software plugins. It is used by many websites to implement responsiv…
_Byron, im not sure what you mean in the iframes head tags? http://pastie.caboo.se/76826 how would you code fit in with a page in that format
..
you need to point the iframe to a page iframe src="…" /
hehe
isnt the form supposed to be in the iframe?
no its submitting to the iframe as it returns something which i dont want and if im running the page www.mysite.com/page.php i dont want the browser going to www.site.com/file.aspx as i want my page to keep resubmitting
where i can found more in depth info. about XMLHTTP
http://developer.mozilla.org/en/docs/XMLHttpRequest
thx, here i go
im not sure i know what your trying to do
oh wait, just put that js in your head tag
ok if you look at what i have in that pastebin, i have that form empcodes, which is filled with details that the php in the header file gets and then i need it to submit and the target is the iframe and then i want the page to reload
http://pastie.caboo.se/76827 ?
*refresh*
doesnt resfresh, im gettin an uncaught exception error
in the firefox error console
i just update the pastie
document.empcodes.submit()
yea i changed that myself and it stil doesnt work
what lines it breaking on?
the submit?
yes, at the end of the error message, it says http://www.site.com/file.php