CURL_EXEC
Perform a cURL session
SYNTAX
curl_exec ( resource $ch ) : mixed
PARAMETERS
ch
A cURL handle returned by curl_init().
RETURN
Returns TRUE on success or FALSE on failure. However, if the CURLOPT_RETURNTRANSFER option is set, it will return the result on success, FALSE on failure.
EXAMPLES
1
<!doctype html>
<html>
<head>
<title>osbo.com</title>
<link href="/assets/css/" rel="stylesheet">
<link href="/assets/ico/" rel="icon">
<script src="/assets/js/"></script>
</head>
<body>
<header>
<a href="/"><img alt="Home" id="header-logo" src="/assets/svg/Logo.svg" title="Home"></a>
<img alt="Menu" id="header-menu" onclick="menu()" src="/assets/svg/Menu.svg" title="Menu">
<form action="/search/">
<input id="header-search" name="header-search" title="Search" type="search">
</form>
<a href="https://rivchurch.com/" target="_blank"><img alt="Riverview Church" id="header-banner" src="/assets/svg/RiverviewChurch.svg" title="Riverview Church"></a>
</header>
<nav>
<h1>OSBO.COM</h1>
<h2 id="bible">BIBLE</h2>
<section>
<a href="/Jesus/">Jesus</a>
<a href="/Bible/">Bible</a>
</section>
<h2 id="web">WEB</h2>
<section>
<a href="/html/">HTML</a>
<a href="/css/">CSS</a>
<a href="/js/">JS</a>
<a href="/php/">PHP</a>
<a href="/svg/">SVG</a>
</section>
<h2 id="other-web">OTHER WEB</h2>
<section>
<a href="/htaccess/">.htaccess</a>
<a href="/acme.sh/">acme.sh</a>
<a href="/favicon/">Favicon</a>
</section>
<h2 id="applications">APPLICATIONS</h2>
<section>
<a href="/applications/">Applications</a>
<a href="/lego/">LEGO</a>
</section>
<h2 id="software">SOFTWARE</h2>
<section>
<a href="/flash/">Flash</a>
<a href="/sketchup/">SketchUp</a>
<a href="/unity/">Unity</a>
<a href="/xcode/">Xcode</a>
</section>
<h2 id="boilerplate">BOILERPLATE</h2>
<section>
<a href="/about/">About</a>
<a href="/terms/">Terms</a>
</section>
<section>
<p>© 2021 Osbo Design</p>
</section>
</nav>
<main id="nav">
<h1>LEGO</h1>
<section>
<a href="/lego/lego-cannonball-bingo/"><img alt="LEGO Cannonball Bingo" src="/assets/svg/LEGOCannonballBingo.svg" title="LEGO Cannonball Bingo"></a>
</section>
<h1>HTML</h1>
<section>
<form>
<textarea id="textarea1" onkeyup="editorUpdate('iframe1', 'textarea1')">
<!doctype html>
<html>
<head>
<title>Title</title>
</head>
<body>
<p>HTML</p>
</body>
</html></textarea>
<input onclick="reset();editorUpdate('iframe1', 'textarea1')" type="button" value="↻">
<input onclick="editorOpen('textarea1')" type="button" value="→">
</form>
<iframe id="iframe1"></iframe>
<iframe onload="editorUpdate('iframe1', 'textarea1')"></iframe>
</section>
<h1>CSS</h1>
<section>
<form>
<textarea id="textarea2" onkeyup="editorUpdate('iframe2', 'textarea2')">
<!doctype html>
<html>
<head>
<title>Title</title>
<style>
body {
background-color: black;
}
p {
color: white;
}
</style>
</head>
<body>
<p>CSS</p>
</body>
</html></textarea>
<input onclick="reset();editorUpdate('iframe2', 'textarea2')" type="button" value="↻">
<input onclick="editorOpen('textarea2')" type="button" value="→">
</form>
<iframe id="iframe2"></iframe>
<iframe onload="editorUpdate('iframe2', 'textarea2')"></iframe>
</section>
<h1>JS</h1>
<section>
<form>
<textarea id="textarea3" onkeyup="editorUpdate('iframe3', 'textarea3')">
<!doctype html>
<html>
<head>
<title>Title</title>
<style>
body {
background-color: black;
}
p {
color: white;
margin: 0;
position: absolute;
}
</style>
<script>
onload = function() {
var element = document.getElementsByTagName("p")[0];
element.style.left = random(0, window.innerWidth - element.offsetWidth) + "px";
element.style.top = random(0, window.innerHeight - element.offsetHeight) + "px";
setTimeout(onload, 1000);
}
function random(min, max) {
return Math.random() * (max - min) + min;
}
</script>
</head>
<body>
<p>JS</p>
</body>
</html></textarea>
<input onclick="reset();editorUpdate('iframe3', 'textarea3')" type="button" value="↻">
<input onclick="editorOpen('textarea3')" type="button" value="→">
</form>
<iframe id="iframe3"></iframe>
<iframe onload="editorUpdate('iframe3', 'textarea3')"></iframe>
</section>
<h1>PHP</h1>
<section>
<noscript><p><a href="/js/enable/">JavaScript</a> is not enabled.</p></noscript>
</section>
<section>
<form style="width:33.33%">
<textarea id="textarea4" style="height:100%;width:100%" disabled>
<?
echo '<!doctype html>
<html>
<head>
<title>Title</title>
<style>
body {
background-color: black;
}
p {
color: white;
margin: 0;
position: absolute;
}
</style>
<script>
onload = function() {
var element = document.getElementsByTagName("p")[0];
element.style.left = random(0, window.innerWidth - element.offsetWidth) + "px";
element.style.top = random(0, window.innerHeight - element.offsetHeight) + "px";
setTimeout(onload, 1000);
}
function random(min, max) {
return Math.random() * (max - min) + min;
}
</script>
</head>
<body>
<p>PHP</p>
</body>
</html>';
?></textarea>
</form>
<code style="background-color:rgba(255, 255, 255, 0.45);width:33.33%">
<!doctype html>
<br>
<html>
<br>
<head>
<br>
<title>Title</title>
<br>
<style>
<br>
body {
<br>
background-color: black;
<br>
}
<br>
p {
<br>
color: white;
<br>
margin: 0;
<br>
position: absolute;
<br>
}
<br>
</style>
<br>
<script>
<br>
onload = function() {
<br>
var element = document.getElementsByTagName("p")[0];
<br>
element.style.left = random(0, window.innerWidth - element.offsetWidth) + "px";
<br>
element.style.top = random(0, window.innerHeight - element.offsetHeight) + "px";
<br>
setTimeout(onload, 1000);
<br>
}
<br>
function random(min, max) {
<br>
return Math.random() * (max - min) + min;
<br>
}
<br>
</script>
<br>
</head>
<br>
<body>
<br>
<p>PHP</p>
<br>
</body>
<br>
</html><br>
</code>
<iframe id="iframe4" srcdoc="<!doctype html>
<html>
<head>
<title>Title</title>
<style>
body {
background-color: black;
}
p {
color: white;
margin: 0;
position: absolute;
}
</style>
<script>
onload = function() {
var element = document.getElementsByTagName("p")[0];
element.style.left = random(0, window.innerWidth - element.offsetWidth) + "px";
element.style.top = random(0, window.innerHeight - element.offsetHeight) + "px";
setTimeout(onload, 1000);
}
function random(min, max) {
return Math.random() * (max - min) + min;
}
</script>
</head>
<body>
<p>PHP</p>
</body>
</html>" style="width:33.33%"></iframe>
<iframe onload=""></iframe>
</section>
</main>
<footer>
<a href="#"><img alt="Top" id="footer-top" src="/assets/svg/Top.svg" title="Top"></a>
</footer>
</body>
</html>
2
<!doctype html>
<html>
<head>
<title>osbo.com</title>
<link href="/assets/css/" rel="stylesheet">
<link href="/assets/ico/" rel="icon">
<script src="/assets/js/"></script>
</head>
<body>
<header>
<a href="/"><img alt="Home" id="header-logo" src="/assets/svg/Logo.svg" title="Home"></a>
<img alt="Menu" id="header-menu" onclick="menu()" src="/assets/svg/Menu.svg" title="Menu">
<form action="/search/">
<input id="header-search" name="header-search" title="Search" type="search">
</form>
<a href="https://samaritanspurse.org/" target="_blank"><img alt="Samaritan's Purse" id="header-banner" src="/assets/svg/SamaritansPurse.svg" title="Samaritan's Purse"></a>
</header>
<nav>
<h1>OSBO.COM</h1>
<h2 id="bible">BIBLE</h2>
<section>
<a href="/Jesus/">Jesus</a>
<a href="/Bible/">Bible</a>
</section>
<h2 id="web">WEB</h2>
<section>
<a href="/html/">HTML</a>
<a href="/css/">CSS</a>
<a href="/js/">JS</a>
<a href="/php/">PHP</a>
<a href="/svg/">SVG</a>
</section>
<h2 id="other-web">OTHER WEB</h2>
<section>
<a href="/htaccess/">.htaccess</a>
<a href="/acme.sh/">acme.sh</a>
<a href="/favicon/">Favicon</a>
</section>
<h2 id="applications">APPLICATIONS</h2>
<section>
<a href="/applications/">Applications</a>
<a href="/lego/">LEGO</a>
</section>
<h2 id="software">SOFTWARE</h2>
<section>
<a href="/flash/">Flash</a>
<a href="/sketchup/">SketchUp</a>
<a href="/unity/">Unity</a>
<a href="/xcode/">Xcode</a>
</section>
<h2 id="boilerplate">BOILERPLATE</h2>
<section>
<a href="/about/">About</a>
<a href="/terms/">Terms</a>
</section>
<section>
<p>© 2021 Osbo Design</p>
</section>
</nav>
<main id="nav">
<h1>LEGO</h1>
<section>
<a href="/lego/lego-the-machine/"><img alt="LEGO The Machine" src="/assets/svg/LEGOTheMachine.svg" title="LEGO The Machine"></a>
</section>
<h1>HTML</h1>
<section>
<form>
<textarea id="textarea1" onkeyup="editorUpdate('iframe1', 'textarea1')">
<!doctype html>
<html>
<head>
<title>Title</title>
</head>
<body>
<p>HTML</p>
</body>
</html></textarea>
<input onclick="reset();editorUpdate('iframe1', 'textarea1')" type="button" value="↻">
<input onclick="editorOpen('textarea1')" type="button" value="→">
</form>
<iframe id="iframe1"></iframe>
<iframe onload="editorUpdate('iframe1', 'textarea1')"></iframe>
</section>
<h1>CSS</h1>
<section>
<form>
<textarea id="textarea2" onkeyup="editorUpdate('iframe2', 'textarea2')">
<!doctype html>
<html>
<head>
<title>Title</title>
<style>
body {
background-color: black;
}
p {
color: white;
}
</style>
</head>
<body>
<p>CSS</p>
</body>
</html></textarea>
<input onclick="reset();editorUpdate('iframe2', 'textarea2')" type="button" value="↻">
<input onclick="editorOpen('textarea2')" type="button" value="→">
</form>
<iframe id="iframe2"></iframe>
<iframe onload="editorUpdate('iframe2', 'textarea2')"></iframe>
</section>
<h1>JS</h1>
<section>
<form>
<textarea id="textarea3" onkeyup="editorUpdate('iframe3', 'textarea3')">
<!doctype html>
<html>
<head>
<title>Title</title>
<style>
body {
background-color: black;
}
p {
color: white;
margin: 0;
position: absolute;
}
</style>
<script>
onload = function() {
var element = document.getElementsByTagName("p")[0];
element.style.left = random(0, window.innerWidth - element.offsetWidth) + "px";
element.style.top = random(0, window.innerHeight - element.offsetHeight) + "px";
setTimeout(onload, 1000);
}
function random(min, max) {
return Math.random() * (max - min) + min;
}
</script>
</head>
<body>
<p>JS</p>
</body>
</html></textarea>
<input onclick="reset();editorUpdate('iframe3', 'textarea3')" type="button" value="↻">
<input onclick="editorOpen('textarea3')" type="button" value="→">
</form>
<iframe id="iframe3"></iframe>
<iframe onload="editorUpdate('iframe3', 'textarea3')"></iframe>
</section>
<h1>PHP</h1>
<section>
<noscript><p><a href="/js/enable/">JavaScript</a> is not enabled.</p></noscript>
</section>
<section>
<form style="width:33.33%">
<textarea id="textarea4" style="height:100%;width:100%" disabled>
<?
echo '<!doctype html>
<html>
<head>
<title>Title</title>
<style>
body {
background-color: black;
}
p {
color: white;
margin: 0;
position: absolute;
}
</style>
<script>
onload = function() {
var element = document.getElementsByTagName("p")[0];
element.style.left = random(0, window.innerWidth - element.offsetWidth) + "px";
element.style.top = random(0, window.innerHeight - element.offsetHeight) + "px";
setTimeout(onload, 1000);
}
function random(min, max) {
return Math.random() * (max - min) + min;
}
</script>
</head>
<body>
<p>PHP</p>
</body>
</html>';
?></textarea>
</form>
<code style="background-color:rgba(255, 255, 255, 0.45);width:33.33%">
<!doctype html>
<br>
<html>
<br>
<head>
<br>
<title>Title</title>
<br>
<style>
<br>
body {
<br>
background-color: black;
<br>
}
<br>
p {
<br>
color: white;
<br>
margin: 0;
<br>
position: absolute;
<br>
}
<br>
</style>
<br>
<script>
<br>
onload = function() {
<br>
var element = document.getElementsByTagName("p")[0];
<br>
element.style.left = random(0, window.innerWidth - element.offsetWidth) + "px";
<br>
element.style.top = random(0, window.innerHeight - element.offsetHeight) + "px";
<br>
setTimeout(onload, 1000);
<br>
}
<br>
function random(min, max) {
<br>
return Math.random() * (max - min) + min;
<br>
}
<br>
</script>
<br>
</head>
<br>
<body>
<br>
<p>PHP</p>
<br>
</body>
<br>
</html><br>
</code>
<iframe id="iframe4" srcdoc="<!doctype html>
<html>
<head>
<title>Title</title>
<style>
body {
background-color: black;
}
p {
color: white;
margin: 0;
position: absolute;
}
</style>
<script>
onload = function() {
var element = document.getElementsByTagName("p")[0];
element.style.left = random(0, window.innerWidth - element.offsetWidth) + "px";
element.style.top = random(0, window.innerHeight - element.offsetHeight) + "px";
setTimeout(onload, 1000);
}
function random(min, max) {
return Math.random() * (max - min) + min;
}
</script>
</head>
<body>
<p>PHP</p>
</body>
</html>" style="width:33.33%"></iframe>
<iframe onload=""></iframe>
</section>
</main>
<footer>
<a href="#"><img alt="Top" id="footer-top" src="/assets/svg/Top.svg" title="Top"></a>
</footer>
</body>
</html>