웹 프론트엔드 JS 튜토리얼 js 파일에서 jquery.js를 원격으로 호출하면 ie8_javascript 기술에서 이상한 문제가 발생합니다.

js 파일에서 jquery.js를 원격으로 호출하면 ie8_javascript 기술에서 이상한 문제가 발생합니다.

May 16, 2016 pm 06:15 PM
원격 통화

코드 복사 코드는 다음과 같습니다.

function include(path){
var a= document.createElement("script");
a.type = "text/javascript";
a.src=path;
var head=document.getElementsByTagName("head")[0]; 🎜>head .appendChild(a);
}
include("http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js")

이렇게 IE8에서 스크립트를 호출하면 IE8 주소 표시줄에서 Enter를 누른 후 jquery 개체, 메소드 등을 호출하는 데 문제가 없지만 새로 고침 후에 문제가 발생합니다. 새로고침한 후에는 무슨 일이 있어도 주소 표시줄에서 Enter 키를 눌러야 합니다.
Firefox에서는 문제가 없습니다. 첨부된 window.name의 html 스크립트는 테스트할 수 있습니다.

코드 복사 코드는 다음과 같습니다.



Demo:Cross-domain</title> ; <BR>< ;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <br><script> 함수 include(경로){ <br>var a=document .createElement("script"); <br>a.type = "text/javascript"; <br>a.src=path <br>//if (a.readStatus == 200) <br>var head =document.getElementsByTagName("head")[0]; <br>head.appendChild(a) <br>//} <br>} <br>include("http://jqueryjs. googlecode.com/files /jquery-1.3.2.min.js") <br></script> <br><script> <br>$(function(){ <br>function sendData(url, 콜백 ){ <br> if(!url || typeof url !== 'string'){ <br>return; <br>} <br>url = (url.indexOf('?') > 0 ? '& ' : '?' ) 'windowname=true'; <br>var 프레임 = $('<iframe style="display:none;"></iframe>').appendTo("body") <br>var state = 0; <br>varclear = function(){ <br>try{ <br>frame[0].contentWindow.document.write('');//iframe 내용 지우기 <br> frame[0].contentWindow .close();//iframe 메모리 누수 방지<br>frame.remove();//iframe 삭제 <br>}catch(e){} <br>} <br>var getData = function(){ <br>try{ <br>var data = 프레임[0].contentWindow.name <br>}catch(e){} <br>clear() <br>if(callback && typeof; 콜백 === '함수'){ <br>콜백(데이터); <br>} <br>} <br>frame.bind('load', function(){ <br>if(state === 1){ <br> getData(); <br>} else if(state === 0){ <br>state = 1; <br>frame[0].contentWindow.location = "none.html"; 🎜>} <br> }); <br>frame[0].src = url <br>} <br>//애플리케이션: <br>var testurl = 'http://www.jb51.cn/test .html'; <br>$("button").click(function(){ <br>sendData( testurl ,function(result){ <br>var fishDiv = $("#oldFish"); <br>fishDiv .html( "데이터는 다음과 같습니다. " 결과 ) <br>}) <br>}) <br></script> <br></head> body> <br>< ;button>원격으로 데이터 로드</button> <br><div id="oldFish"></div> <br><p style="font-size:12px;" >개발자 < ;a href="http://www.jb51.cn" >자료 다운로드</a> & Hua</p><br><p style="font-size:12px;" >참조 :<a href="http://www.jb51.net" >스크립트 홈</a></p> <br></body> 🎜 ><br> </div> </div> </div> <div class="wzconShengming_sp"> <div class="bzsmdiv_sp">본 웹사이트의 성명</div> <div>본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.</div> </div> </div> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5902227090019525" data-ad-slot="2507867629"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <div class="AI_ToolDetails_main4sR"> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-5902227090019525" data-ad-slot="3653428331" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <!-- <div class="phpgenera_Details_mainR4"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hotarticle2.png" alt="" /> <h2>인기 기사</h2> </div> <div class="phpgenera_Details_mainR4_bottom"> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796785841.html" title="어 ass 신 크리드 그림자 : 조개 수수께끼 솔루션" class="phpgenera_Details_mainR4_bottom_title">어 ass 신 크리드 그림자 : 조개 수수께끼 솔루션</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796789525.html" title="Windows 11 KB5054979의 새로운 기능 및 업데이트 문제를 해결하는 방법" class="phpgenera_Details_mainR4_bottom_title">Windows 11 KB5054979의 새로운 기능 및 업데이트 문제를 해결하는 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>2 몇 주 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796785857.html" title="Atomfall에서 크레인 제어 키 카드를 찾을 수 있습니다" class="phpgenera_Details_mainR4_bottom_title">Atomfall에서 크레인 제어 키 카드를 찾을 수 있습니다</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796783009.html" title="어 ass 신 크리드 섀도우 - 대장장이를 찾고 무기 및 갑옷 커스터마 화 잠금 해제 방법" class="phpgenera_Details_mainR4_bottom_title">어 ass 신 크리드 섀도우 - 대장장이를 찾고 무기 및 갑옷 커스터마 화 잠금 해제 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>1 몇 달 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796784440.html" title="<s> : 데드 레일 - 모든 도전을 완료하는 방법" class="phpgenera_Details_mainR4_bottom_title"><s> : 데드 레일 - 모든 도전을 완료하는 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By DDD</span> </div> </div> </div> <div class="phpgenera_Details_mainR3_more"> <a href="https://www.php.cn/ko/article.html">더보기</a> </div> </div> </div> --> <div class="phpgenera_Details_mainR3"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hottools2.png" alt="" /> <h2>핫 AI 도구</h2> </div> <div class="phpgenera_Details_mainR3_bottom"> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411540686492.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undresser.AI Undress" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title"> <h3>Undresser.AI Undress</h3> </a> <p>사실적인 누드 사진을 만들기 위한 AI 기반 앱</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411552797167.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="AI Clothes Remover" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_title"> <h3>AI Clothes Remover</h3> </a> <p>사진에서 옷을 제거하는 온라인 AI 도구입니다.</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/ai_manual/001/246/273/173410641626608.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undress AI Tool" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title"> <h3>Undress AI Tool</h3> </a> <p>무료로 이미지를 벗다</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411529149311.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Clothoff.io" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_title"> <h3>Clothoff.io</h3> </a> <p>AI 옷 제거제</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/ai_manual/001/246/273/173414504068133.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Video Face Swap" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title"> <h3>Video Face Swap</h3> </a> <p>완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!</p> </div> </div> </div> <div class="phpgenera_Details_mainR3_more"> <a href="https://www.php.cn/ko/ai">더보기</a> </div> </div> </div> <script src="https://sw.php.cn/hezuo/cac1399ab368127f9b113b14eb3316d0.js" type="text/javascript"></script> <div class="phpgenera_Details_mainR4"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hotarticle2.png" alt="" /> <h2>인기 기사</h2> </div> <div class="phpgenera_Details_mainR4_bottom"> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796785841.html" title="어 ass 신 크리드 그림자 : 조개 수수께끼 솔루션" class="phpgenera_Details_mainR4_bottom_title">어 ass 신 크리드 그림자 : 조개 수수께끼 솔루션</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796789525.html" title="Windows 11 KB5054979의 새로운 기능 및 업데이트 문제를 해결하는 방법" class="phpgenera_Details_mainR4_bottom_title">Windows 11 KB5054979의 새로운 기능 및 업데이트 문제를 해결하는 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>2 몇 주 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796785857.html" title="Atomfall에서 크레인 제어 키 카드를 찾을 수 있습니다" class="phpgenera_Details_mainR4_bottom_title">Atomfall에서 크레인 제어 키 카드를 찾을 수 있습니다</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796783009.html" title="어 ass 신 크리드 섀도우 - 대장장이를 찾고 무기 및 갑옷 커스터마 화 잠금 해제 방법" class="phpgenera_Details_mainR4_bottom_title">어 ass 신 크리드 섀도우 - 대장장이를 찾고 무기 및 갑옷 커스터마 화 잠금 해제 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>1 몇 달 전</span> <span>By DDD</span> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/1796784440.html" title="<s> : 데드 레일 - 모든 도전을 완료하는 방법" class="phpgenera_Details_mainR4_bottom_title"><s> : 데드 레일 - 모든 도전을 완료하는 방법</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <span>3 몇 주 전</span> <span>By DDD</span> </div> </div> </div> <div class="phpgenera_Details_mainR3_more"> <a href="https://www.php.cn/ko/article.html">더보기</a> </div> </div> </div> <div class="phpgenera_Details_mainR3"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hottools2.png" alt="" /> <h2>뜨거운 도구</h2> </div> <div class="phpgenera_Details_mainR3_bottom"> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/92" title="메모장++7.3.1" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58ab96f0f39f7357.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="메모장++7.3.1" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/92" title="메모장++7.3.1" class="phpmain_tab2_mids_title"> <h3>메모장++7.3.1</h3> </a> <p>사용하기 쉬운 무료 코드 편집기</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/93" title="SublimeText3 중국어 버전" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58ab97a3baad9677.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 중국어 버전" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/93" title="SublimeText3 중국어 버전" class="phpmain_tab2_mids_title"> <h3>SublimeText3 중국어 버전</h3> </a> <p>중국어 버전, 사용하기 매우 쉽습니다.</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/121" title="스튜디오 13.0.1 보내기" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58ab97ecd1ab2670.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="스튜디오 13.0.1 보내기" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/121" title="스튜디오 13.0.1 보내기" class="phpmain_tab2_mids_title"> <h3>스튜디오 13.0.1 보내기</h3> </a> <p>강력한 PHP 통합 개발 환경</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/469" title="드림위버 CS6" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58d0e0fc74683535.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="드림위버 CS6" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/469" title="드림위버 CS6" class="phpmain_tab2_mids_title"> <h3>드림위버 CS6</h3> </a> <p>시각적 웹 개발 도구</p> </div> </div> <div class="phpmain_tab2_mids_top"> <a href="https://www.php.cn/ko/toolset/development-tools/500" title="SublimeText3 Mac 버전" class="phpmain_tab2_mids_top_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" class="lazy" data-src="https://img.php.cn/upload/manual/000/000/001/58d34035e2757995.png?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Mac 버전" /> </a> <div class="phpmain_tab2_mids_info"> <a href="https://www.php.cn/ko/toolset/development-tools/500" title="SublimeText3 Mac 버전" class="phpmain_tab2_mids_title"> <h3>SublimeText3 Mac 버전</h3> </a> <p>신 수준의 코드 편집 소프트웨어(SublimeText3)</p> </div> </div> </div> <div class="phpgenera_Details_mainR3_more"> <a href="https://www.php.cn/ko/ai">더보기</a> </div> </div> </div> <div class="phpgenera_Details_mainR4"> <div class="phpmain1_4R_readrank"> <div class="phpmain1_4R_readrank_top"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/hotarticle2.png" alt="" /> <h2>뜨거운 주제</h2> </div> <div class="phpgenera_Details_mainR4_bottom"> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/gmailyxdlrkzn" title="Gmail 이메일의 로그인 입구는 어디에 있나요?" class="phpgenera_Details_mainR4_bottom_title">Gmail 이메일의 로그인 입구는 어디에 있나요?</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>7621</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>15</span> </div> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/cakephp-tutor" title="Cakephp 튜토리얼" class="phpgenera_Details_mainR4_bottom_title">Cakephp 튜토리얼</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>1389</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>52</span> </div> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/steamdzhmcssmgs" title="Steam의 계정 이름 형식은 무엇입니까?" class="phpgenera_Details_mainR4_bottom_title">Steam의 계정 이름 형식은 무엇입니까?</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>89</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>11</span> </div> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/winactivationkeyper" title="Win11 활성화 키 영구" class="phpgenera_Details_mainR4_bottom_title">Win11 활성화 키 영구</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>70</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>19</span> </div> </div> </div> <div class="phpgenera_Details_mainR4_bottoms"> <a href="https://www.php.cn/ko/faq/newyorktimesdailybrief" title="NYT 연결 힌트와 답변" class="phpgenera_Details_mainR4_bottom_title">NYT 연결 힌트와 답변</a> <div class="phpgenera_Details_mainR4_bottoms_info"> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/eyess.png" alt="" /> <span>31</span> </div> <div class="phpgenera_Details_mainR4_bottoms_infos"> <img src="/static/imghw/tiezi.png" alt="" /> <span>136</span> </div> </div> </div> </div> <div class="phpgenera_Details_mainR3_more"> <a href="https://www.php.cn/ko/faq/zt">더보기</a> </div> </div> </div> </div> </div> <div class="Article_Details_main2"> <div class="phpgenera_Details_mainL4"> <div class="phpmain1_2_top"> <a href="javascript:void(0);" class="phpmain1_2_top_title">Related knowledge<img src="/static/imghw/index2_title2.png" alt="" /></a> </div> <div class="phpgenera_Details_mainL4_info"> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/617153.html" title="C# 개발에서 원격 호출 및 원격 프로시저 호출을 처리하는 방법" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/465/014/169681542896516.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="C# 개발에서 원격 호출 및 원격 프로시저 호출을 처리하는 방법" /> </a> <a href="https://www.php.cn/ko/faq/617153.html" title="C# 개발에서 원격 호출 및 원격 프로시저 호출을 처리하는 방법" class="phphistorical_Version2_mids_title">C# 개발에서 원격 호출 및 원격 프로시저 호출을 처리하는 방법</a> <span class="Articlelist_txts_time">Oct 09, 2023 am 09:37 AM</span> <p class="Articlelist_txts_p">C# 개발에서 원격 호출 및 원격 프로시저 호출을 처리하려면 특정 코드 예제가 필요합니다. 소개: 클라우드 컴퓨팅 및 분산 시스템의 급속한 발전으로 인해 원격 호출 및 원격 프로시저 호출(RemoteProcedureCall, 줄여서 RPC)이 점점 더 중요해지고 있습니다. 소프트웨어 개발이 더 중요합니다. 강력한 프로그래밍 언어인 C#은 원격 호출 및 RPC를 처리하기 위한 몇 가지 강력한 도구와 프레임워크도 제공합니다. 이 기사에서는 원격 호출 및 RPC를 처리하는 방법에 대한 몇 가지 실용적인 코드 예제를 제공합니다. 1. 원격 통화</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/536735.html" title="PHP에서 RPC 원격 호출을 구현하는 방법은 무엇입니까?" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/202305/11/2023051123511545765.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP에서 RPC 원격 호출을 구현하는 방법은 무엇입니까?" /> </a> <a href="https://www.php.cn/ko/faq/536735.html" title="PHP에서 RPC 원격 호출을 구현하는 방법은 무엇입니까?" class="phphistorical_Version2_mids_title">PHP에서 RPC 원격 호출을 구현하는 방법은 무엇입니까?</a> <span class="Articlelist_txts_time">May 11, 2023 pm 11:51 PM</span> <p class="Articlelist_txts_p">인터넷의 급속한 발전과 클라우드 컴퓨팅 기술의 광범위한 적용으로 인해 분산 시스템과 마이크로서비스 아키텍처가 점점 더 보편화되고 있습니다. 이러한 맥락에서 원격 프로시저 호출(RPC)은 일반적인 기술 수단이 되었습니다. RPC를 사용하면 네트워크에서 원격으로 다양한 서비스를 호출할 수 있으므로 다양한 서비스 간의 상호 연결 작업을 실현하고 코드 재사용성과 확장성을 향상시킬 수 있습니다. 널리 사용되는 웹 개발 언어인 PHP는 다양한 분산 시스템 개발에도 흔히 사용됩니다. 그렇다면 PHP에서 RPC 원격 디버깅을 구현하는 방법은 무엇입니까?</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/586982.html" title="MySQL에서 데이터의 원격 호출 및 대화형 작업을 구현하는 방법은 무엇입니까?" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/887/227/169095171530725.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="MySQL에서 데이터의 원격 호출 및 대화형 작업을 구현하는 방법은 무엇입니까?" /> </a> <a href="https://www.php.cn/ko/faq/586982.html" title="MySQL에서 데이터의 원격 호출 및 대화형 작업을 구현하는 방법은 무엇입니까?" class="phphistorical_Version2_mids_title">MySQL에서 데이터의 원격 호출 및 대화형 작업을 구현하는 방법은 무엇입니까?</a> <span class="Articlelist_txts_time">Aug 02, 2023 pm 12:48 PM</span> <p class="Articlelist_txts_p">MySQL은 다양한 소프트웨어 개발 및 데이터 관리 시나리오에서 널리 사용되는 관계형 데이터베이스 관리 시스템입니다. 중요한 기능 중 하나는 원격 호출 및 데이터의 대화형 작업을 실현할 수 있다는 것입니다. 이 기사에서는 MySQL에서 이 기능을 구현하는 방법을 소개하고 해당 코드 예제를 제공합니다. MySQL은 서로 다른 시스템 간에 데이터를 교환할 수 있는 MySQL 원격 연결이라는 기능을 제공합니다. 원격 연결을 달성하려면 다음 단계를 수행해야 합니다. MySQL 서버 구성 먼저 다음을 확인해야 합니다.</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/567067.html" title="Thrift를 사용하여 PHP에서 언어 간 원격 프로시저 호출 및 통신 구현" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/465/014/168768233274511.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Thrift를 사용하여 PHP에서 언어 간 원격 프로시저 호출 및 통신 구현" /> </a> <a href="https://www.php.cn/ko/faq/567067.html" title="Thrift를 사용하여 PHP에서 언어 간 원격 프로시저 호출 및 통신 구현" class="phphistorical_Version2_mids_title">Thrift를 사용하여 PHP에서 언어 간 원격 프로시저 호출 및 통신 구현</a> <span class="Articlelist_txts_time">Jun 25, 2023 pm 04:38 PM</span> <p class="Articlelist_txts_p">애플리케이션이 더욱 복잡해지고 분산됨에 따라 언어 간 원격 프로시저 호출(RPC) 및 통신이 점점 더 중요해지고 있습니다. 소프트웨어 개발에서 RPC는 서로 다른 프로그램이나 프로세스가 네트워크를 통해 서로 통신할 수 있도록 하는 기술을 의미합니다. Thrift는 효율적인 언어 간 RPC 서비스를 신속하게 개발하는 데 도움이 되는 간단하고 사용하기 쉬운 RPC 프레임워크입니다. Thrift는 Facebook에서 개발한 효율적인 원격 서비스 호출 프로토콜입니다. PHP, Java, Python을 포함한 여러 언어를 지원합니다.</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/548988.html" title="PHP의 RPC" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/202305/26/2023052609033523376.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP의 RPC" /> </a> <a href="https://www.php.cn/ko/faq/548988.html" title="PHP의 RPC" class="phphistorical_Version2_mids_title">PHP의 RPC</a> <span class="Articlelist_txts_time">May 26, 2023 am 09:03 AM</span> <p class="Articlelist_txts_p">최근 인터넷 기술의 급속한 발전으로 인해 분산 시스템은 점차 인터넷 응용 분야에서 없어서는 안될 부분이 되었습니다. 분산 시스템의 RPC 기술은 다양한 프로세스와 기계 간의 통신을 달성하는 중요한 수단 중 하나입니다. 그 중 PHP의 RPC 기술은 점차 주요 인터넷 기업들 사이에서 가장 널리 사용되는 기술 중 하나로 자리 잡았습니다. RPC(RemoteProcedureCall)는 다른 프로세스나 다른 시스템에서 원격 호출을 통해 구현되는 원격 프로시저 호출을 의미합니다.</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/544713.html" title="PHP에서 원격 호출 및 모듈 확장을 수행하는 방법은 무엇입니까?" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/202305/20/2023052013410933551.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP에서 원격 호출 및 모듈 확장을 수행하는 방법은 무엇입니까?" /> </a> <a href="https://www.php.cn/ko/faq/544713.html" title="PHP에서 원격 호출 및 모듈 확장을 수행하는 방법은 무엇입니까?" class="phphistorical_Version2_mids_title">PHP에서 원격 호출 및 모듈 확장을 수행하는 방법은 무엇입니까?</a> <span class="Articlelist_txts_time">May 20, 2023 pm 01:40 PM</span> <p class="Articlelist_txts_p">PHP는 웹 개발에 널리 사용되는 스크립팅 언어로, 거대한 커뮤니티와 풍부한 리소스를 갖추고 있으며 동적 웹 페이지 개발 및 데이터 상호 작용을 쉽게 실현할 수 있습니다. 그러나 실제 개발에서는 더 많은 기능과 성능 최적화를 달성하기 위해 원격으로 다른 서비스를 호출하거나 PHP 모듈을 확장해야 할 수도 있습니다. 이 기사에서는 PHP에서 원격 호출 및 모듈 확장을 수행하는 방법을 소개합니다. 1. PHP 원격 호출 실제 개발에서는 다른 웹 서비스의 API 호출, 원격 호출 등 다른 서비스에 대한 원격 호출이 필요할 수 있습니다.</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/622882.html" title="Python에서 간단한 RPC 원격 프로시저 호출 프레임워크를 구현하는 방법" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/000/887/227/169837187650194.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Python에서 간단한 RPC 원격 프로시저 호출 프레임워크를 구현하는 방법" /> </a> <a href="https://www.php.cn/ko/faq/622882.html" title="Python에서 간단한 RPC 원격 프로시저 호출 프레임워크를 구현하는 방법" class="phphistorical_Version2_mids_title">Python에서 간단한 RPC 원격 프로시저 호출 프레임워크를 구현하는 방법</a> <span class="Articlelist_txts_time">Oct 27, 2023 am 09:57 AM</span> <p class="Articlelist_txts_p">Python에서 간단한 RPC 원격 프로시저 호출 프레임워크를 구현하는 방법 분산 시스템에서 일반적인 통신 메커니즘은 RPC(RemoteProcedureCall, 원격 프로시저 호출)를 통해 서로 다른 프로세스 간의 함수 호출을 구현하는 것입니다. RPC를 사용하면 개발자가 로컬 함수를 호출하는 것처럼 원격 함수를 호출할 수 있으므로 분산 시스템 개발이 더욱 편리해집니다. 이 기사에서는 Python을 사용하여 간단한 RPC 프레임워크를 구현하는 방법을 소개하고 자세한 코드 예제를 제공합니다. 1. RPC 정의</p> </div> <div class="phphistorical_Version2_mids"> <a href="https://www.php.cn/ko/faq/549761.html" title="PHP7.0에서 원격 호출을 구현하는 방법은 무엇입니까?" class="phphistorical_Version2_mids_img"> <img onerror="this.onerror=''; this.src='/static/imghw/default1.png'" src="/static/imghw/default1.png" class="lazy" data-src="https://img.php.cn/upload/article/202305/26/2023052620013654603.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP7.0에서 원격 호출을 구현하는 방법은 무엇입니까?" /> </a> <a href="https://www.php.cn/ko/faq/549761.html" title="PHP7.0에서 원격 호출을 구현하는 방법은 무엇입니까?" class="phphistorical_Version2_mids_title">PHP7.0에서 원격 호출을 구현하는 방법은 무엇입니까?</a> <span class="Articlelist_txts_time">May 26, 2023 pm 08:01 PM</span> <p class="Articlelist_txts_p">PHP7.0에서 원격 호출을 구현하는 방법은 무엇입니까? 원격 호출은 한 컴퓨터 시스템에서 다른 컴퓨터 시스템의 프로그램이나 서비스를 호출하여 이러한 시스템이 투명하게 상호 작용하고 협업할 수 있도록 하는 것을 의미합니다. 웹 애플리케이션이나 분산 시스템에서 원격 호출은 가장 일반적인 기술 수단 중 하나입니다. 원격 호출을 통해 다양한 시스템을 쉽게 통합하여 더욱 복잡한 애플리케이션 기능을 구현할 수 있습니다. PHP7.0에서는 원격 호출을 구현하는 방법이 다양합니다. 다음은 몇 가지 일반적인 구현 방법을 간략하게 소개합니다.</p> </div> </div> <a href="https://www.php.cn/ko/web-designer.html" class="phpgenera_Details_mainL4_botton"> <span>See all articles</span> <img src="/static/imghw/down_right.png" alt="" /> </a> </div> </div> </div> </main> <footer> <div class="footer"> <div class="footertop"> <img src="/static/imghw/logo.png" alt=""> <p>공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!</p> </div> <div class="footermid"> <a href="https://www.php.cn/ko/about/us.html">회사 소개</a> <a href="https://www.php.cn/ko/about/disclaimer.html">부인 성명</a> <a href="https://www.php.cn/ko/update/article_0_1.html">Sitemap</a> </div> <div class="footerbottom"> <p> © php.cn All rights reserved </p> </div> </div> </footer> <input type="hidden" id="verifycode" value="/captcha.html"> <script>layui.use(['element', 'carousel'], function () {var element = layui.element;$ = layui.jquery;var carousel = layui.carousel;carousel.render({elem: '#test1', width: '100%', height: '330px', arrow: 'always'});$.getScript('/static/js/jquery.lazyload.min.js', function () {$("img").lazyload({placeholder: "/static/images/load.jpg", effect: "fadeIn", threshold: 200, skip_invisible: false});});});</script> <script src="/static/js/common_new.js"></script> <script type="text/javascript" src="/static/js/jquery.cookie.js?1745232131"></script> <script src="https://vdse.bdstatic.com//search-video.v1.min.js"></script> <link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css?2' type='text/css' media='all' /> <script type='text/javascript' src='/static/js/viewer.min.js?1'></script> <script type='text/javascript' src='/static/js/jquery-viewer.min.js'></script> <script type="text/javascript" src="/static/js/global.min.js?5.5.53"></script> <script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function () { var u = "https://tongji.php.cn/"; _paq.push(['setTrackerUrl', u + 'matomo.php']); _paq.push(['setSiteId', '9']); var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0]; g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s); })(); </script> <script> // top layui.use(function () { var util = layui.util; util.fixbar({ on: { mouseenter: function (type) { layer.tips(type, this, { tips: 4, fixed: true, }); }, mouseleave: function (type) { layer.closeAll("tips"); }, }, }); }); document.addEventListener("DOMContentLoaded", (event) => { // 定义一个函数来处理滚动链接的点击事件 function setupScrollLink(scrollLinkId, targetElementId) { const scrollLink = document.getElementById(scrollLinkId); const targetElement = document.getElementById(targetElementId); if (scrollLink && targetElement) { scrollLink.addEventListener("click", (e) => { e.preventDefault(); // 阻止默认链接行为 targetElement.scrollIntoView({ behavior: "smooth" }); // 平滑滚动到目标元素 }); } else { console.warn( `Either scroll link with ID '${scrollLinkId}' or target element with ID '${targetElementId}' not found.` ); } } // 使用该函数设置多个滚动链接 setupScrollLink("Article_Details_main1L2s_1", "article_main_title1"); setupScrollLink("Article_Details_main1L2s_2", "article_main_title2"); setupScrollLink("Article_Details_main1L2s_3", "article_main_title3"); setupScrollLink("Article_Details_main1L2s_4", "article_main_title4"); setupScrollLink("Article_Details_main1L2s_5", "article_main_title5"); setupScrollLink("Article_Details_main1L2s_6", "article_main_title6"); // 可以继续添加更多的滚动链接设置 }); window.addEventListener("scroll", function () { var fixedElement = document.getElementById("Article_Details_main1Lmain"); var scrollTop = window.scrollY || document.documentElement.scrollTop; // 兼容不同浏览器 var clientHeight = window.innerHeight || document.documentElement.clientHeight; // 视口高度 var scrollHeight = document.documentElement.scrollHeight; // 页面总高度 // 计算距离底部的距离 var distanceToBottom = scrollHeight - scrollTop - clientHeight; // 当距离底部小于或等于300px时,取消固定定位 if (distanceToBottom <= 980) { fixedElement.classList.remove("Article_Details_main1Lmain"); fixedElement.classList.add("Article_Details_main1Lmain_relative"); } else { // 否则,保持固定定位 fixedElement.classList.remove("Article_Details_main1Lmain_relative"); fixedElement.classList.add("Article_Details_main1Lmain"); } }); </script> </body> </html>