<!doctype html>
<html data-n-head-ssr>
<head >
<meta data-n-head="ssr" charset="utf-8"><meta data-n-head="ssr" name="viewport" content="width=device-width, initial-scale=1"><meta data-n-head="ssr" property="twitter:title" content="How to rotate a image and save in folder in php?"><meta data-n-head="ssr" property="twitter:description" content="How to rotate a image and save in folder in php?"><meta data-n-head="ssr" property="og:title" content="How to rotate a image and save in folder in php?"><meta data-n-head="ssr" property="og:url" content="https://forum.phparea.com/thread/how-to-rotate-a-image-and-save-in-folder-in-php"><meta data-n-head="ssr" property="og:description" content="How to rotate a image and save in folder in php?"><meta data-n-head="ssr" property="og:site_name" content="PHP Developers Community"><meta data-n-head="ssr" data-hid="description" name="description" content="How to rotate a image and save in folder in php?"><title>How to rotate a image and save in folder in php?</title><link data-n-head="ssr" rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto"><link data-n-head="ssr" rel="stylesheet" href="https://forum-static.fra1.cdn.digitaloceanspaces.com/css/2fe5b8c0-2cde-4171-9f29-c802ff745139/custom.css"><link data-n-head="ssr" rel="icon" type="image/png" href="https://forum-static.fra1.cdn.digitaloceanspaces.com/images/2fe5b8c0-2cde-4171-9f29-c802ff745139/favicon.png"><link data-n-head="ssr" data-hid="i18n-can" rel="canonical" href="https://forum.phparea.com/thread/how-to-rotate-a-image-and-save-in-folder-in-php"><style data-n-head="vuetify" type="text/css" id="vuetify-theme-stylesheet" nonce="undefined">.v-application a { color: #8190cc; }
.v-application .primary {
background-color: #8190cc !important;
border-color: #8190cc !important;
}
.v-application .primary--text {
color: #8190cc !important;
caret-color: #8190cc !important;
}
.v-application .primary.lighten-5 {
background-color: #ffffff !important;
border-color: #ffffff !important;
}
.v-application .primary--text.text--lighten-5 {
color: #ffffff !important;
caret-color: #ffffff !important;
}
.v-application .primary.lighten-4 {
background-color: #f1feff !important;
border-color: #f1feff !important;
}
.v-application .primary--text.text--lighten-4 {
color: #f1feff !important;
caret-color: #f1feff !important;
}
.v-application .primary.lighten-3 {
background-color: #d4e2ff !important;
border-color: #d4e2ff !important;
}
.v-application .primary--text.text--lighten-3 {
color: #d4e2ff !important;
caret-color: #d4e2ff !important;
}
.v-application .primary.lighten-2 {
background-color: #b8c6ff !important;
border-color: #b8c6ff !important;
}
.v-application .primary--text.text--lighten-2 {
color: #b8c6ff !important;
caret-color: #b8c6ff !important;
}
.v-application .primary.lighten-1 {
background-color: #9caae8 !important;
border-color: #9caae8 !important;
}
.v-application .primary--text.text--lighten-1 {
color: #9caae8 !important;
caret-color: #9caae8 !important;
}
.v-application .primary.darken-1 {
background-color: #6676b0 !important;
border-color: #6676b0 !important;
}
.v-application .primary--text.text--darken-1 {
color: #6676b0 !important;
caret-color: #6676b0 !important;
}
.v-application .primary.darken-2 {
background-color: #4c5e96 !important;
border-color: #4c5e96 !important;
}
.v-application .primary--text.text--darken-2 {
color: #4c5e96 !important;
caret-color: #4c5e96 !important;
}
.v-application .primary.darken-3 {
background-color: #32467b !important;
border-color: #32467b !important;
}
.v-application .primary--text.text--darken-3 {
color: #32467b !important;
caret-color: #32467b !important;
}
.v-application .primary.darken-4 {
background-color: #153062 !important;
border-color: #153062 !important;
}
.v-application .primary--text.text--darken-4 {
color: #153062 !important;
caret-color: #153062 !important;
}
.v-application .secondary {
background-color: #424242 !important;
border-color: #424242 !important;
}
.v-application .secondary--text {
color: #424242 !important;
caret-color: #424242 !important;
}
.v-application .secondary.lighten-5 {
background-color: #c1c1c1 !important;
border-color: #c1c1c1 !important;
}
.v-application .secondary--text.text--lighten-5 {
color: #c1c1c1 !important;
caret-color: #c1c1c1 !important;
}
.v-application .secondary.lighten-4 {
background-color: #a6a6a6 !important;
border-color: #a6a6a6 !important;
}
.v-application .secondary--text.text--lighten-4 {
color: #a6a6a6 !important;
caret-color: #a6a6a6 !important;
}
.v-application .secondary.lighten-3 {
background-color: #8b8b8b !important;
border-color: #8b8b8b !important;
}
.v-application .secondary--text.text--lighten-3 {
color: #8b8b8b !important;
caret-color: #8b8b8b !important;
}
.v-application .secondary.lighten-2 {
background-color: #727272 !important;
border-color: #727272 !important;
}
.v-application .secondary--text.text--lighten-2 {
color: #727272 !important;
caret-color: #727272 !important;
}
.v-application .secondary.lighten-1 {
background-color: #595959 !important;
border-color: #595959 !important;
}
.v-application .secondary--text.text--lighten-1 {
color: #595959 !important;
caret-color: #595959 !important;
}
.v-application .secondary.darken-1 {
background-color: #2c2c2c !important;
border-color: #2c2c2c !important;
}
.v-application .secondary--text.text--darken-1 {
color: #2c2c2c !important;
caret-color: #2c2c2c !important;
}
.v-application .secondary.darken-2 {
background-color: #171717 !important;
border-color: #171717 !important;
}
.v-application .secondary--text.text--darken-2 {
color: #171717 !important;
caret-color: #171717 !important;
}
.v-application .secondary.darken-3 {
background-color: #000000 !important;
border-color: #000000 !important;
}
.v-application .secondary--text.text--darken-3 {
color: #000000 !important;
caret-color: #000000 !important;
}
.v-application .secondary.darken-4 {
background-color: #000000 !important;
border-color: #000000 !important;
}
.v-application .secondary--text.text--darken-4 {
color: #000000 !important;
caret-color: #000000 !important;
}
.v-application .accent {
background-color: #8190cc !important;
border-color: #8190cc !important;
}
.v-application .accent--text {
color: #8190cc !important;
caret-color: #8190cc !important;
}
.v-application .accent.lighten-5 {
background-color: #ffffff !important;
border-color: #ffffff !important;
}
.v-application .accent--text.text--lighten-5 {
color: #ffffff !important;
caret-color: #ffffff !important;
}
.v-application .accent.lighten-4 {
background-color: #f1feff !important;
border-color: #f1feff !important;
}
.v-application .accent--text.text--lighten-4 {
color: #f1feff !important;
caret-color: #f1feff !important;
}
.v-application .accent.lighten-3 {
background-color: #d4e2ff !important;
border-color: #d4e2ff !important;
}
.v-application .accent--text.text--lighten-3 {
color: #d4e2ff !important;
caret-color: #d4e2ff !important;
}
.v-application .accent.lighten-2 {
background-color: #b8c6ff !important;
border-color: #b8c6ff !important;
}
.v-application .accent--text.text--lighten-2 {
color: #b8c6ff !important;
caret-color: #b8c6ff !important;
}
.v-application .accent.lighten-1 {
background-color: #9caae8 !important;
border-color: #9caae8 !important;
}
.v-application .accent--text.text--lighten-1 {
color: #9caae8 !important;
caret-color: #9caae8 !important;
}
.v-application .accent.darken-1 {
background-color: #6676b0 !important;
border-color: #6676b0 !important;
}
.v-application .accent--text.text--darken-1 {
color: #6676b0 !important;
caret-color: #6676b0 !important;
}
.v-application .accent.darken-2 {
background-color: #4c5e96 !important;
border-color: #4c5e96 !important;
}
.v-application .accent--text.text--darken-2 {
color: #4c5e96 !important;
caret-color: #4c5e96 !important;
}
.v-application .accent.darken-3 {
background-color: #32467b !important;
border-color: #32467b !important;
}
.v-application .accent--text.text--darken-3 {
color: #32467b !important;
caret-color: #32467b !important;
}
.v-application .accent.darken-4 {
background-color: #153062 !important;
border-color: #153062 !important;
}
.v-application .accent--text.text--darken-4 {
color: #153062 !important;
caret-color: #153062 !important;
}
.v-application .error {
background-color: #8190cc !important;
border-color: #8190cc !important;
}
.v-application .error--text {
color: #8190cc !important;
caret-color: #8190cc !important;
}
.v-application .error.lighten-5 {
background-color: #ffffff !important;
border-color: #ffffff !important;
}
.v-application .error--text.text--lighten-5 {
color: #ffffff !important;
caret-color: #ffffff !important;
}
.v-application .error.lighten-4 {
background-color: #f1feff !important;
border-color: #f1feff !important;
}
.v-application .error--text.text--lighten-4 {
color: #f1feff !important;
caret-color: #f1feff !important;
}
.v-application .error.lighten-3 {
background-color: #d4e2ff !important;
border-color: #d4e2ff !important;
}
.v-application .error--text.text--lighten-3 {
color: #d4e2ff !important;
caret-color: #d4e2ff !important;
}
.v-application .error.lighten-2 {
background-color: #b8c6ff !important;
border-color: #b8c6ff !important;
}
.v-application .error--text.text--lighten-2 {
color: #b8c6ff !important;
caret-color: #b8c6ff !important;
}
.v-application .error.lighten-1 {
background-color: #9caae8 !important;
border-color: #9caae8 !important;
}
.v-application .error--text.text--lighten-1 {
color: #9caae8 !important;
caret-color: #9caae8 !important;
}
.v-application .error.darken-1 {
background-color: #6676b0 !important;
border-color: #6676b0 !important;
}
.v-application .error--text.text--darken-1 {
color: #6676b0 !important;
caret-color: #6676b0 !important;
}
.v-application .error.darken-2 {
background-color: #4c5e96 !important;
border-color: #4c5e96 !important;
}
.v-application .error--text.text--darken-2 {
color: #4c5e96 !important;
caret-color: #4c5e96 !important;
}
.v-application .error.darken-3 {
background-color: #32467b !important;
border-color: #32467b !important;
}
.v-application .error--text.text--darken-3 {
color: #32467b !important;
caret-color: #32467b !important;
}
.v-application .error.darken-4 {
background-color: #153062 !important;
border-color: #153062 !important;
}
.v-application .error--text.text--darken-4 {
color: #153062 !important;
caret-color: #153062 !important;
}
.v-application .info {
background-color: #8190cc !important;
border-color: #8190cc !important;
}
.v-application .info--text {
color: #8190cc !important;
caret-color: #8190cc !important;
}
.v-application .info.lighten-5 {
background-color: #ffffff !important;
border-color: #ffffff !important;
}
.v-application .info--text.text--lighten-5 {
color: #ffffff !important;
caret-color: #ffffff !important;
}
.v-application .info.lighten-4 {
background-color: #f1feff !important;
border-color: #f1feff !important;
}
.v-application .info--text.text--lighten-4 {
color: #f1feff !important;
caret-color: #f1feff !important;
}
.v-application .info.lighten-3 {
background-color: #d4e2ff !important;
border-color: #d4e2ff !important;
}
.v-application .info--text.text--lighten-3 {
color: #d4e2ff !important;
caret-color: #d4e2ff !important;
}
.v-application .info.lighten-2 {
background-color: #b8c6ff !important;
border-color: #b8c6ff !important;
}
.v-application .info--text.text--lighten-2 {
color: #b8c6ff !important;
caret-color: #b8c6ff !important;
}
.v-application .info.lighten-1 {
background-color: #9caae8 !important;
border-color: #9caae8 !important;
}
.v-application .info--text.text--lighten-1 {
color: #9caae8 !important;
caret-color: #9caae8 !important;
}
.v-application .info.darken-1 {
background-color: #6676b0 !important;
border-color: #6676b0 !important;
}
.v-application .info--text.text--darken-1 {
color: #6676b0 !important;
caret-color: #6676b0 !important;
}
.v-application .info.darken-2 {
background-color: #4c5e96 !important;
border-color: #4c5e96 !important;
}
.v-application .info--text.text--darken-2 {
color: #4c5e96 !important;
caret-color: #4c5e96 !important;
}
.v-application .info.darken-3 {
background-color: #32467b !important;
border-color: #32467b !important;
}
.v-application .info--text.text--darken-3 {
color: #32467b !important;
caret-color: #32467b !important;
}
.v-application .info.darken-4 {
background-color: #153062 !important;
border-color: #153062 !important;
}
.v-application .info--text.text--darken-4 {
color: #153062 !important;
caret-color: #153062 !important;
}
.v-application .success {
background-color: #8190cc !important;
border-color: #8190cc !important;
}
.v-application .success--text {
color: #8190cc !important;
caret-color: #8190cc !important;
}
.v-application .success.lighten-5 {
background-color: #ffffff !important;
border-color: #ffffff !important;
}
.v-application .success--text.text--lighten-5 {
color: #ffffff !important;
caret-color: #ffffff !important;
}
.v-application .success.lighten-4 {
background-color: #f1feff !important;
border-color: #f1feff !important;
}
.v-application .success--text.text--lighten-4 {
color: #f1feff !important;
caret-color: #f1feff !important;
}
.v-application .success.lighten-3 {
background-color: #d4e2ff !important;
border-color: #d4e2ff !important;
}
.v-application .success--text.text--lighten-3 {
color: #d4e2ff !important;
caret-color: #d4e2ff !important;
}
.v-application .success.lighten-2 {
background-color: #b8c6ff !important;
border-color: #b8c6ff !important;
}
.v-application .success--text.text--lighten-2 {
color: #b8c6ff !important;
caret-color: #b8c6ff !important;
}
.v-application .success.lighten-1 {
background-color: #9caae8 !important;
border-color: #9caae8 !important;
}
.v-application .success--text.text--lighten-1 {
color: #9caae8 !important;
caret-color: #9caae8 !important;
}
.v-application .success.darken-1 {
background-color: #6676b0 !important;
border-color: #6676b0 !important;
}
.v-application .success--text.text--darken-1 {
color: #6676b0 !important;
caret-color: #6676b0 !important;
}
.v-application .success.darken-2 {
background-color: #4c5e96 !important;
border-color: #4c5e96 !important;
}
.v-application .success--text.text--darken-2 {
color: #4c5e96 !important;
caret-color: #4c5e96 !important;
}
.v-application .success.darken-3 {
background-color: #32467b !important;
border-color: #32467b !important;
}
.v-application .success--text.text--darken-3 {
color: #32467b !important;
caret-color: #32467b !important;
}
.v-application .success.darken-4 {
background-color: #153062 !important;
border-color: #153062 !important;
}
.v-application .success--text.text--darken-4 {
color: #153062 !important;
caret-color: #153062 !important;
}
.v-application .warning {
background-color: #8190cc !important;
border-color: #8190cc !important;
}
.v-application .warning--text {
color: #8190cc !important;
caret-color: #8190cc !important;
}
.v-application .warning.lighten-5 {
background-color: #ffffff !important;
border-color: #ffffff !important;
}
.v-application .warning--text.text--lighten-5 {
color: #ffffff !important;
caret-color: #ffffff !important;
}
.v-application .warning.lighten-4 {
background-color: #f1feff !important;
border-color: #f1feff !important;
}
.v-application .warning--text.text--lighten-4 {
color: #f1feff !important;
caret-color: #f1feff !important;
}
.v-application .warning.lighten-3 {
background-color: #d4e2ff !important;
border-color: #d4e2ff !important;
}
.v-application .warning--text.text--lighten-3 {
color: #d4e2ff !important;
caret-color: #d4e2ff !important;
}
.v-application .warning.lighten-2 {
background-color: #b8c6ff !important;
border-color: #b8c6ff !important;
}
.v-application .warning--text.text--lighten-2 {
color: #b8c6ff !important;
caret-color: #b8c6ff !important;
}
.v-application .warning.lighten-1 {
background-color: #9caae8 !important;
border-color: #9caae8 !important;
}
.v-application .warning--text.text--lighten-1 {
color: #9caae8 !important;
caret-color: #9caae8 !important;
}
.v-application .warning.darken-1 {
background-color: #6676b0 !important;
border-color: #6676b0 !important;
}
.v-application .warning--text.text--darken-1 {
color: #6676b0 !important;
caret-color: #6676b0 !important;
}
.v-application .warning.darken-2 {
background-color: #4c5e96 !important;
border-color: #4c5e96 !important;
}
.v-application .warning--text.text--darken-2 {
color: #4c5e96 !important;
caret-color: #4c5e96 !important;
}
.v-application .warning.darken-3 {
background-color: #32467b !important;
border-color: #32467b !important;
}
.v-application .warning--text.text--darken-3 {
color: #32467b !important;
caret-color: #32467b !important;
}
.v-application .warning.darken-4 {
background-color: #153062 !important;
border-color: #153062 !important;
}
.v-application .warning--text.text--darken-4 {
color: #153062 !important;
caret-color: #153062 !important;
}</style><link rel="preload" href="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/7b8ec9d.js" as="script"><link rel="preload" href="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/25edc65.js" as="script"><link rel="preload" href="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/css/1b7ab17.css" as="style"><link rel="preload" href="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/863688a.js" as="script"><link rel="preload" href="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/css/87b7056.css" as="style"><link rel="preload" href="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/cb42003.js" as="script"><link rel="stylesheet" href="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/css/1b7ab17.css"><link rel="stylesheet" href="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/css/87b7056.css">
</head>
<body >
<div data-server-rendered="true" id="__nuxt"><!----><div id="__layout"><div data-app="true" id="app" class="v-application v-application--is-ltr theme--light" style="font-family:Roboto;"><div class="v-application--wrap"><div tabindex="0" aria-label="Loading" class="vld-overlay is-active is-full-page" style="z-index:999;display:none;"><div class="vld-background" style="background:#fff;opacity:0.5;"></div><div class="vld-icon"><svg viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" width="65" height="65" stroke="#1976d2"><g fill="none" fill-rule="evenodd"><g transform="translate(1 1)" stroke-width="2"><circle stroke-opacity=".25" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="0.8s" repeatCount="indefinite"></animateTransform></path></g></g></svg></div></div> <!----> <div class="header-section"><header class="v-sheet theme--light elevation-3 v-toolbar v-app-bar v-app-bar--fixed" style="height:56px;margin-top:0px;transform:translateY(0px);left:0px;right:0px;"><div class="v-toolbar__content" style="height:56px;"><div class="row main-menu"><div role="dialog" class="v-dialog__container"><!----></div> <div role="dialog" class="v-dialog__container"><!----></div> <div class="d-none d-lg-flex d-xl-flex d-md-flex justify-space-between pb-5 col col-12"><div class="d-flex align-center col-md-2 col-lg-1 offset-lg-1 col-4"><a href="/" class="d-flex w-100 nuxt-link-active"><div class="logo d-flex w-100"><div aria-label="PHP Developers Community" role="img" class="v-image v-responsive theme--light" style="max-height:50px;"><div class="v-image__image v-image__image--preload v-image__image--contain" style="background-image:;background-position:center center;"></div><div class="v-responsive__content"></div></div></div></a></div> <!----> <div class="col-md-5 col-lg-5 offset-lg-1 col-4"><button type="button" class="v-btn v-btn--flat v-btn--icon v-btn--round theme--dark v-size--default primary--text"><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate mdi mdi-magnify theme--dark"></i></span></button> <a href="/login" class="v-btn v-btn--contained v-btn--router theme--light v-size--default success"><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate v-icon--left mdi mdi-message-question-outline theme--light"></i> <span class="d-none d-lg-flex d-xl-flex">Ask Question</span></span></a> <a href="/login" class="v-btn v-btn--depressed v-btn--flat v-btn--outlined v-btn--router theme--light v-size--default success--text"><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate v-icon--left mdi mdi-login theme--light"></i><span class="d-none d-lg-flex d-xl-flex">Sign In</span></span></a> <a href="/register" class="v-btn v-btn--depressed v-btn--flat v-btn--outlined v-btn--router theme--light v-size--default info--text"><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate v-icon--left mdi mdi-account-plus-outline theme--light"></i><span class="d-none d-lg-flex d-xl-flex">Sign Up</span></span></a></div></div> <nav class="hidden-md-and-up v-navigation-drawer v-navigation-drawer--close v-navigation-drawer--fixed v-navigation-drawer--is-mobile v-navigation-drawer--temporary theme--light" style="height:100vh;top:0px;transform:translateX(-100%);width:256px;"><div class="v-navigation-drawer__content"><div class="v-list v-sheet theme--light"><a href="/" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__content"><div class="v-list-item__title">Home</div></div></a> <!----> <!----> <!----> <!----> <a href="/login" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__content"><div class="v-list-item__title">Sign In</div></div></a> <a href="/register" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__content"><div class="v-list-item__title">Sign Up</div></div></a> <!----></div></div><div class="v-navigation-drawer__border"></div></nav> <header class="hidden-md-and-up v-sheet theme--light v-toolbar v-app-bar v-app-bar--fixed" style="height:56px;margin-top:0px;transform:translateY(0px);left:0px;right:0px;"><div class="v-toolbar__content" style="height:56px;"><div class="row align-center"><button type="button" class="v-app-bar__nav-icon v-btn v-btn--flat v-btn--icon v-btn--round theme--light v-size--default"><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate mdi mdi-menu theme--light"></i></span></button> <div class="d-flex col-10 pr-0 align-center justify-end"><button type="button" class="v-btn v-btn--flat v-btn--icon v-btn--round theme--dark v-size--default primary--text"><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate mdi mdi-magnify theme--dark"></i></span></button> <a href="/login" class="v-btn v-btn--flat v-btn--icon v-btn--round v-btn--router theme--light v-size--default success--text"><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate mdi mdi-message-question-outline theme--light"></i></span></a> <div class="col-sm-3 col-md-3 col-4"><a href="/" class="nuxt-link-active"><div class="logo d-flex w-100"><div aria-label="PHP Developers Community" role="img" class="v-image v-responsive theme--light" style="max-height:50px;"><div class="v-responsive__sizer" style="padding-bottom:100%;"></div><div class="v-image__image v-image__image--preload v-image__image--contain" style="background-image:;background-position:center center;"></div><div class="v-responsive__content"></div></div></div></a></div></div></div></div></header></div></div></header></div> <div class="container"><!----> <div class="flex"><ul itemscope="itemscope" itemtype="http://schema.org/BreadcrumbList" class="v-breadcrumbs v-breadcrumbs--large theme--light"><li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem"><a href="/" itemprop="item" class="v-breadcrumbs__item nuxt-link-active"><span itemprop="name">Home</span></a> <meta content="1" itemprop="position"></li><li class="v-breadcrumbs__divider">></li><li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem"><a href="/forum/php-general" itemprop="item" class="v-breadcrumbs__item"><span itemprop="name">PHP General</span></a> <meta content="2" itemprop="position"></li><li class="v-breadcrumbs__divider">></li><li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem"><a href="#" itemprop="item" class="v-breadcrumbs__item v-breadcrumbs__item--disabled"><span itemprop="name">How to rotate a image and save in folder in php?</span></a> <meta content="3" itemprop="position"></li></ul></div> <div class="row mx-0 mt-1"><div class="flex md4 lg3 xl2"><div><div class="row d-md-none justify-space-around"><div class="py-0 col-sm-10 col-md-8 col-12"><div class="px-1 transparent v-sheet theme--light"><div class="v-item-group theme--light v-slide-group v-chip-group"><div class="v-slide-group__prev v-slide-group__prev--disabled"><!----></div><div class="v-slide-group__wrapper"><div class="v-slide-group__content"><a href="/forum/php-general" tabindex="0" draggable="false" router="" class="v-chip v-chip--clickable v-chip--link v-chip--no-color theme--light v-size--default primary--text"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i>
PHP General
</span></a><a href="/forum/php-frameworks" tabindex="0" draggable="false" router="" class="v-chip v-chip--clickable v-chip--link v-chip--no-color theme--light v-size--default"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i>
PHP Frameworks
</span></a><a href="/forum/php-databases" tabindex="0" draggable="false" router="" class="v-chip v-chip--clickable v-chip--link v-chip--no-color theme--light v-size--default"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i>
PHP Databases
</span></a><a href="/forum/php-security" tabindex="0" draggable="false" router="" class="v-chip v-chip--clickable v-chip--link v-chip--no-color theme--light v-size--default"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i>
PHP Security
</span></a><a href="/forum/third-party-scripts" tabindex="0" draggable="false" router="" class="v-chip v-chip--clickable v-chip--link v-chip--no-color theme--light v-size--default"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i>
Third Party Scripts
</span></a><a href="/forum/php-cms" tabindex="0" draggable="false" router="" class="v-chip v-chip--clickable v-chip--link v-chip--no-color theme--light v-size--default"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i>
PHP CMS
</span></a><a href="/forum/javascript" tabindex="0" draggable="false" router="" class="v-chip v-chip--clickable v-chip--link v-chip--no-color theme--light v-size--default"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i>
Javascript
</span></a><a href="/forum/mysql" tabindex="0" draggable="false" router="" class="v-chip v-chip--clickable v-chip--link v-chip--no-color theme--light v-size--default"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i>
MySQL
</span></a><a href="/forum/html-and-css" tabindex="0" draggable="false" router="" class="v-chip v-chip--clickable v-chip--link v-chip--no-color theme--light v-size--default"><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i>
HTML & CSS
</span></a></div></div><div class="v-slide-group__next v-slide-group__next--disabled"><!----></div></div></div></div></div> <div class="row d-none d-lg-flex d-xl-flex d-md-flex pr-3"><div class="w-100 v-card v-sheet theme--light"><header class="v-sheet theme--dark v-toolbar info" style="height:56px;"><div class="v-toolbar__content" style="height:56px;"><div class="v-toolbar__title">Category</div></div></header> <div style="max-height:800px;overflow-y:auto;"><div><a href="/forum/php-general" tabindex="0" router="" class="word-break v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i></div> <div class="v-list-item__title">
PHP General
</div></a></div><div><a href="/forum/php-frameworks" tabindex="0" router="" class="word-break v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i></div> <div class="v-list-item__title">
PHP Frameworks
</div></a></div><div><a href="/forum/php-databases" tabindex="0" router="" class="word-break v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i></div> <div class="v-list-item__title">
PHP Databases
</div></a></div><div><a href="/forum/php-security" tabindex="0" router="" class="word-break v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i></div> <div class="v-list-item__title">
PHP Security
</div></a></div><div><a href="/forum/third-party-scripts" tabindex="0" router="" class="word-break v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i></div> <div class="v-list-item__title">
Third Party Scripts
</div></a></div><div><a href="/forum/php-cms" tabindex="0" router="" class="word-break v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i></div> <div class="v-list-item__title">
PHP CMS
</div></a></div><div><a href="/forum/javascript" tabindex="0" router="" class="word-break v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i></div> <div class="v-list-item__title">
Javascript
</div></a></div><div><a href="/forum/mysql" tabindex="0" router="" class="word-break v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i></div> <div class="v-list-item__title">
MySQL
</div></a></div><div><a href="/forum/html-and-css" tabindex="0" router="" class="word-break v-list-item v-list-item--link theme--light"><div class="v-list-item__icon"><i aria-hidden="true" class="v-icon notranslate mr-1 mdi mdi-comment-multiple-outline theme--light"></i></div> <div class="v-list-item__title">
HTML & CSS
</div></a></div></div></div> <!----></div></div></div> <div class="flex pl-lg-4 pl-md-4 pl-xl-4 md8 lg9 xl10"><div class="flex"><div itemscope="itemscope" itemtype="http://schema.org/DiscussionForumPosting" class="row"><div class="col-sm-12 col-md-8 col-lg-8 col-12"><h1 itemprop="headline">How to rotate a image and save in folder in php?</h1></div> <div class="text-md-right text-center col-sm-12 col-md-4 col-lg-4 col-12"><!----> <!----> <button type="button" class="v-btn v-btn--contained theme--dark v-size--default primary"><span class="v-btn__content">New message
</span></button></div></div> <div role="dialog" class="v-dialog__container"><!----></div> <div class="row"><div class="col col-12"><div class="v-card v-sheet theme--light"><div role="list" class="v-list v-sheet theme--light"><div tabindex="-1" role="listitem" class="v-list-item theme--light"><div class="row thread-row" data-v-3262fcae><!----> <!----> <!----> <!----> <!----> <div class="row mx-3" data-v-3262fcae data-v-3262fcae><div class="col-sm-3 col-md-3 col-lg-2 col-xl-1 col-12" data-v-3262fcae data-v-3262fcae><div itemscope="itemscope" itemtype="http://schema.org/Person" class="avatar text-center" data-v-3262fcae><div><div class="v-avatar" style="height:50px;min-width:50px;width:50px;"><div aria-label="aniya.jaskolski" role="img" class="v-image v-responsive theme--light"><div class="v-image__image v-image__image--preload v-image__image--cover" style="background-image:;background-position:center center;"></div><div class="v-responsive__content"></div></div></div></div> <p class="my-0 caption">Member</p> <div><a href="/profile/aniya.jaskolski" class="d-inline-flex"><p itemprop="name" class="subtitle-2 mb-0">
aniya.jaskolski
</p></a></div> <!----></div></div> <div class="py-0 col-sm-9 col-md-9 col-lg-10 col-xl-11 col-12" data-v-3262fcae data-v-3262fcae><!----> <div class="py-0 col col-12" data-v-3262fcae data-v-3262fcae><span class="caption" data-v-3262fcae>by
<a href="/profile/aniya.jaskolski" class="d-inline-flex caption" data-v-3262fcae>
aniya.jaskolski
</a></span>, <span class="caption" data-v-3262fcae>in category: </span> <span class="caption" data-v-3262fcae><a href="/forum/php-general" class="d-inline-flex caption" data-v-3262fcae>
PHP General
</a></span>,
<span class="caption" data-v-3262fcae>10 months ago</span></div> <!----> <!----></div> <div class="col col-12" data-v-3262fcae data-v-3262fcae><div class="forum-text ql-viewer" data-v-3262fcae><p>How to rotate a image and save in folder in php?</p></div> <div class="d-flex justify-start flex-wrap flex-lg-nowrap flex-md-nowrap flex-xl-nowrap flex-sm-nowrap" data-v-3262fcae><div class="text-center text-lg-left text-md-left text-xl-left text-sm-left col-sm-5 col-md-4 col-lg-2 col-xl-2 col-12" data-v-3262fcae data-v-3262fcae><div class="like-dislike-buttons pt-3" data-v-0348114a data-v-3262fcae><span class="v-badge v-badge--overlap theme--light" data-v-0348114a><span draggable="false" class="v-chip v-chip--outlined theme--light v-size--default info info--text" data-v-0348114a><span class="v-chip__content"><div class="d-flex justify-center" style="--primary-color:#8190CC;" data-v-0348114a><a href="#" class="like-dislike-buttons__btn" data-v-0348114a><i aria-hidden="true" class="v-icon notranslate mdi mdi-thumb-up theme--light" data-v-0348114a></i> <small title="16 likes" class="like-dislike-buttons__count" data-v-0348114a>16</small></a> <span class="separator" data-v-0348114a>|</span> <a href="#" class="like-dislike-buttons__btn" data-v-0348114a><i aria-hidden="true" class="v-icon notranslate mdi mdi-thumb-down theme--light" data-v-0348114a></i> <small title="no dislikes" class="like-dislike-buttons__count" data-v-0348114a>0</small></a></div></span></span><span class="v-badge__wrapper"><span aria-atomic="true" aria-label="Badge" aria-live="polite" role="status" class="v-badge__badge error" style="bottom:calc(100% - 12px);left:calc(100% - 12px);right:auto;top:auto;">16</span></span></span></div></div> <div class="col-sm-7 col-md-8 col-lg-10 col-xl-10 col-12" data-v-3262fcae data-v-3262fcae><div class="justify-center icons d-flex col col-12" data-v-11d4c0a4 data-v-11d4c0a4 data-v-3262fcae><a href="https://www.facebook.com/sharer.php?src=sp&u=https%3A%2F%2Fforum.phparea.com%2Fthread%2Fhow-to-rotate-a-image-and-save-in-folder-in-php&quote=How%20to%20rotate%20a%20image%20and%20save%20in%20folder%20in%20php%3F&hashtag=%23mywebforum" rel="nofollow noopener" target="_blank" title="Facebook" data-v-11d4c0a4><img src="https://forum-static.fra1.cdn.digitaloceanspaces.com/assets/images/icons/32/fb.png" width="32" height="32" alt="Facebook" data-v-11d4c0a4></a> <!----> <!----> <a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fforum.phparea.com%2Fthread%2Fhow-to-rotate-a-image-and-save-in-folder-in-php&text=How%20to%20rotate%20a%20image%20and%20save%20in%20folder%20in%20php%3F&hashtags=mywebforum" rel="nofollow noopener" target="_blank" title="Twitter" data-v-11d4c0a4><img src="https://forum-static.fra1.cdn.digitaloceanspaces.com/assets/images/icons/32/twitter.png" width="32" height="32" alt="Twitter" data-v-11d4c0a4></a> <a href="https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fforum.phparea.com%2Fthread%2Fhow-to-rotate-a-image-and-save-in-folder-in-php" rel="nofollow noopener" target="_blank" title="LinkedIn" data-v-11d4c0a4><img src="https://forum-static.fra1.cdn.digitaloceanspaces.com/assets/images/icons/32/linkedin.png" width="32" height="32" alt="LinkedIn" data-v-11d4c0a4></a> <a href="https://telegram.me/share/url?url=https%3A%2F%2Fforum.phparea.com%2Fthread%2Fhow-to-rotate-a-image-and-save-in-folder-in-php" rel="nofollow noopener" target="_blank" title="Telegram" data-v-11d4c0a4><img src="https://forum-static.fra1.cdn.digitaloceanspaces.com/assets/images/icons/32/telegram.png" width="32" height="32" alt="Telegram" data-v-11d4c0a4></a> <a href="https://api.whatsapp.com/send?text=https%3A%2F%2Fforum.phparea.com%2Fthread%2Fhow-to-rotate-a-image-and-save-in-folder-in-php" rel="nofollow noopener" target="_blank" title="Whatsapp" data-v-11d4c0a4><img src="https://forum-static.fra1.cdn.digitaloceanspaces.com/assets/images/icons/32/whatsapp.png" width="32" height="32" alt="Whatsapp" data-v-11d4c0a4></a> <!----></div></div></div> <!----></div></div> <!----> <!----></div></div> <hr role="separator" aria-orientation="horizontal" class="v-divider theme--light"> <h4 class="my-4 pl-4 text-capitalize">
1 answer
</h4> <hr role="separator" aria-orientation="horizontal" class="v-divider theme--light"> <div tabindex="-1" role="listitem" class="v-list-item theme--light"><!----> <div class="row post-row" data-v-145a8bfc data-v-145a8bfc><div class="py-0 col col-12" data-v-145a8bfc data-v-145a8bfc><div data-v-145a8bfc><!----></div></div> <!----> <!----> <!----> <!----> <div class="col-sm-3 col-md-2 col-lg-1 col-12" data-v-145a8bfc data-v-145a8bfc><div itemscope="itemscope" itemtype="http://schema.org/Person" class="avatar text-center" data-v-145a8bfc><div><div class="v-avatar" style="height:50px;min-width:50px;width:50px;"><div aria-label="dana" role="img" class="v-image v-responsive theme--light"><div class="v-image__image v-image__image--preload v-image__image--cover" style="background-image:;background-position:center center;"></div><div class="v-responsive__content"></div></div></div></div> <p class="my-0 caption">Member</p> <div><a href="/profile/dana" class="d-inline-flex"><p itemprop="name" class="subtitle-2 mb-0">
dana
</p></a></div> <!----></div></div> <div class="col-sm-9 col-md-10 col-lg-11 col-12" data-v-145a8bfc data-v-145a8bfc><div class="pt-0 col col-12" data-v-145a8bfc data-v-145a8bfc><span class="caption" data-v-145a8bfc>by
<a href="/profile/dana" class="d-inline-flex caption" data-v-145a8bfc>
dana </a></span>,
<span class="caption" data-v-145a8bfc>10 months ago</span></div> <div class="forum-text ql-viewer" data-v-145a8bfc><p><span class="mention"><span><span><span class="mention"><span><span><span class="ql-mention-denotation-char">@</span>aniya.jaskolski</span></span></span> </span> </span></span></p><p>To rotate an image and save it to a folder using PHP, you can use the GD library. The following example demonstrates how to do this:</p><div style="color:#f8f8f2;background-color:#272822;">
<table style="border-spacing:0;padding:0;margin:0;border:0;"><tbody><tr><td style="vertical-align:top;padding:0;margin:0;border:0;">
<pre tabindex="0" style="color:#f8f8f2;background-color:#272822;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">14
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">15
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">16
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">17
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">18
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">19
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">20
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">21
</span><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">22
</span></pre></td>
<td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%">
<pre tabindex="0" style="color:#f8f8f2;background-color:#272822;">// Path to the image file
$imagePath = 'path/to/image.jpg';
// Load the image
$image = imagecreatefromjpeg($imagePath);
// Rotate the image by a specified angle (in degrees)
$angle = 90; // Set the angle here
$rotatedImage = imagerotate($image, $angle, 0);
// Path to the folder where the rotated image will be saved
$saveFolderPath = 'path/to/save/folder/';
// Generate a new file name for the rotated image
$rotatedImageName = basename($imagePath, '.jpg') . '_rotated.jpg'; // Change the extension if needed
// Save the rotated image to the specified folder
imagejpeg($rotatedImage, $saveFolderPath . $rotatedImageName);
// Free up memory by destroying the images
imagedestroy($image);
imagedestroy($rotatedImage);
</pre></td></tr></tbody></table>
</div>
<p><br/></p><p>Make sure you have the GD library enabled in your PHP configuration (<code>php.ini</code>) and the appropriate permissions to read/write files and folders. Additionally, change the file path, folder path, and file extensions as per your requirements.</p></div></div> <!----> <div class="text-center text-lg-left text-md-left text-xl-left text-sm-left col-sm-5 col-md-4 col-lg-2 col-xl-2 col-12" data-v-145a8bfc data-v-145a8bfc><div class="like-dislike-buttons pt-3" data-v-0348114a data-v-145a8bfc><span class="v-badge v-badge--overlap theme--light" data-v-0348114a><span draggable="false" class="v-chip v-chip--outlined theme--light v-size--default info info--text" data-v-0348114a><span class="v-chip__content"><div class="d-flex justify-center" style="--primary-color:#8190CC;" data-v-0348114a><a href="#" class="like-dislike-buttons__btn" data-v-0348114a><i aria-hidden="true" class="v-icon notranslate mdi mdi-thumb-up theme--light" data-v-0348114a></i> <small title="no likes" class="like-dislike-buttons__count" data-v-0348114a>0</small></a> <span class="separator" data-v-0348114a>|</span> <a href="#" class="like-dislike-buttons__btn" data-v-0348114a><i aria-hidden="true" class="v-icon notranslate mdi mdi-thumb-down theme--light" data-v-0348114a></i> <small title="no dislikes" class="like-dislike-buttons__count" data-v-0348114a>0</small></a></div></span></span><span class="v-badge__wrapper"><span aria-atomic="true" aria-label="Badge" aria-live="polite" role="status" class="v-badge__badge error" style="bottom:calc(100% - 12px);left:calc(100% - 12px);right:auto;top:auto;">0</span></span></span></div></div> <!----> <div class="col col-12" data-v-145a8bfc data-v-145a8bfc><!----></div></div></div> <div class="mugen-scroll"></div></div></div></div></div> <!----> <div class="row mt-2"><div class="col col-12"><h2 class="display-1">Related Threads:</h2></div> <div class="col col-12"><div class="mx-auto v-card v-sheet theme--light"><div role="list" class="v-list v-sheet theme--light v-list--two-line"><!----> <a href="/thread/how-to-save-an-image-to-a-server-folder-in-php" tabindex="0" role="listitem" class="v-list-item v-list-item--link theme--light"><div class="v-avatar v-list-item__avatar v-list-item__avatar--horizontal rounded-0 v-avatar--tile" style="height:90px;min-width:90px;width:90px;"></div> <div class="v-list-item__content"><div class="v-list-item__title">How to save an image to a server folder in php?</div></div></a><hr role="separator" aria-orientation="horizontal" class="v-divider theme--light"> <a href="/thread/how-to-upload-flutter-image-in-folder-with-php" tabindex="0" role="listitem" class="v-list-item v-list-item--link theme--light"><div class="v-avatar v-list-item__avatar v-list-item__avatar--horizontal rounded-0 v-avatar--tile" style="height:90px;min-width:90px;width:90px;"></div> <div class="v-list-item__content"><div class="v-list-item__title">How to upload flutter image in folder with php?</div></div></a><hr role="separator" aria-orientation="horizontal" class="v-divider theme--light"> <a href="/thread/how-to-rotate-the-canvas-image" tabindex="0" role="listitem" class="v-list-item v-list-item--link theme--light"><div class="v-avatar v-list-item__avatar v-list-item__avatar--horizontal rounded-0 v-avatar--tile" style="height:90px;min-width:90px;width:90px;"></div> <div class="v-list-item__content"><div class="v-list-item__title">How to rotate the canvas image?</div></div></a><hr role="separator" aria-orientation="horizontal" class="v-divider theme--light"> <a href="/thread/how-to-rotate-an-image-in-canvas" tabindex="0" role="listitem" class="v-list-item v-list-item--link theme--light"><div class="v-avatar v-list-item__avatar v-list-item__avatar--horizontal rounded-0 v-avatar--tile" style="height:90px;min-width:90px;width:90px;"></div> <div class="v-list-item__content"><div class="v-list-item__title">How to rotate an image in canvas?</div></div></a><hr role="separator" aria-orientation="horizontal" class="v-divider theme--light"> <a href="/thread/how-to-rotate-image-in-p5-js" tabindex="0" role="listitem" class="v-list-item v-list-item--link theme--light"><div class="v-avatar v-list-item__avatar v-list-item__avatar--horizontal rounded-0 v-avatar--tile" style="height:90px;min-width:90px;width:90px;"></div> <div class="v-list-item__content"><div class="v-list-item__title">How to rotate image in p5.js?</div></div></a><hr role="separator" aria-orientation="horizontal" class="v-divider theme--light"> <a href="/thread/how-to-save-download-zip-to-public-folder-in-laravel" tabindex="0" role="listitem" class="v-list-item v-list-item--link theme--light"><div class="v-avatar v-list-item__avatar v-list-item__avatar--horizontal rounded-0 v-avatar--tile" style="height:90px;min-width:90px;width:90px;"></div> <div class="v-list-item__content"><div class="v-list-item__title">How to save download zip to public folder in laravel?</div></div></a></div></div></div></div></div></div></div></div> <div pages="" class="footer" data-v-600bef70><!----> <footer class="v-footer footer mt-4 v-sheet theme--light" data-v-600bef70><!----> <!----> <div class="flex xs12 sm12 md6 lg4" data-v-600bef70><div class="about-section white-text mx-auto" data-v-600bef70><h4 class="title text-center" data-v-600bef70>About us</h4> <ul class="text-center pr-6" data-v-600bef70><li data-v-600bef70><a href="/contact" rel="nofollow" data-v-600bef70>Contact us</a></li></ul></div></div> <div class="flex xs12 text-center mt-2" data-v-600bef70><span data-v-600bef70>© 2024 Copyright: forum.phparea.com
</span> <p class="mb-0" data-v-600bef70>
This Site is Created By
<a href="https://mywebforum.com" target="_blank" data-v-600bef70>mywebforum.com</a></p> <p data-v-600bef70>
Get Your Own
<a href="https://mywebforum.com" target="_blank" data-v-600bef70>Questions & Answers platform</a></p></div></footer> <!----> <!----></div> <!----> <div class="js-scripts"></div></div></div></div></div><script>window.__NUXT__=(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,_,$,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,aA,aB,aC,aD,aE,aF,aG,aH,aI,aJ,aK,aL,aM,aN,aO,aP,aQ,aR,aS,aT,aU,aV,aW,aX,aY,aZ,a_,a$,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu){ap.id=R;ap.name=i;ap.messages=784;ap.threads=646;ap.meta_title=i;ap.meta_description=i;ap.children=e;ap.icon=b;ap.is_public=c;ap.last_post={id:252374,message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Efiliberto\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003ETo load a base64 image over an HTTPS connection, you can follow these steps:\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003E\u003Cstrong\u003EConvert the image to a base64 string\u003C\u002Fstrong\u003E: First, convert the image to a base64 string using a tool or code snippet. Make sure to encode the image using base64 encoding.\n\u003C\u002Fli\u003E\u003Cli\u003E\u003Cstrong\u003EEmbed the base64 image in your HTML\u002FCSS\u003C\u002Fstrong\u003E: After converting the image to a base64 string, you can embed the image directly in your HTML or CSS code using the following format:\n\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-6gy62rh\"\u003E<img src="data:image\u002Fpng;base64, [base64 string here]" alt="image">\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EMake sure to replace \u003Ccode\u003E[base64 string here]\u003C\u002Fcode\u003E with the actual base64 string of your image.\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003E\u003Cstrong\u003EServe your website over HTTPS\u003C\u002Fstrong\u003E: Ensure that your website is served over HTTPS to securely load the base64 image. You will need an SSL certificate installed on your server to serve your website over HTTPS.\n\u003C\u002Fli\u003E\u003Cli\u003E\u003Cstrong\u003ETest the image loading\u003C\u002Fstrong\u003E: Finally, test the image loading by loading your website in a web browser. The base64 image should be displayed without any issues over the HTTPS connection.\n\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EBy following these steps, you can securely load a base64 image over an HTTPS connection.\u003C\u002Fp\u003E",is_moderated:d,username:aq,user_active:a,created:"2024-10-14T08:56:23Z"};ap.order=a;ap.description=i;ap.slug=ad;ar.id=46310;ar.name=as;ar.messages=1474;ar.threads=1318;ar.meta_title=as;ar.meta_description=at;ar.children=e;ar.icon=b;ar.is_public=c;ar.last_post={id:252684,message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Egiovanny.lueilwitz\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003ETo prevent a user from going back to the login page after they have already logged in, you can implement a redirect in the login controller. Here's how you can do it in CodeIgniter:\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003EIn your login controller, after the user has successfully logged in, check if they are already logged in using the logged_in() function of CodeIgniter's session library. If the user is logged in, redirect them to a different page.\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-7lxutzu\"\u003Epublic function login() {\n \u002F\u002F Check if user is already logged in\n if ($this->session->logged_in) {\n redirect('dashboard'); \u002F\u002F Redirect to dashboard or any other page\n }\n\n \u002F\u002F Process login logic here\n\n \u002F\u002F If login is successful, set session variable\n $this->session->set_userdata('logged_in', true);\n\n \u002F\u002F Redirect to dashboard after successful login\n redirect('dashboard');\n}\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003EMake sure to load the session library in your controller constructor to make use of CodeIgniter's session functions.\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-9stgivk\"\u003Epublic function __construct() {\n parent::__construct();\n $this->load->library('session');\n}\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EBy implementing this redirect logic in your login controller, the user will be redirected to a different page if they try to access the login page after they have already logged in.\u003C\u002Fp\u003E",is_moderated:d,username:"darrion.kuhn",user_active:a,created:"2024-10-17T04:18:34Z"};ar.order=a;ar.description=at;ar.slug="php-frameworks";au.id=46311;au.name=av;au.messages=175;au.threads=102;au.meta_title=av;au.meta_description=aw;au.children=e;au.icon=b;au.is_public=c;au.last_post={id:195274,message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Ewilmer.lemke\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003EIf you want to store a date without the time in a PostgreSQL table, you can use the date data type. When inserting data into the table, you can use the current_date function to get the current date without the time. For example:\u003C\u002Fp\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003E1\u003C\u002Fp\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EINSERT INTO table_name (date_column) VALUES (current_date);\u003C\u002Fp\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EThis will insert the current date into the 'date_column' of the table, without the time component.\u003C\u002Fp\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EAlternatively, you can use the to_char function to format a date or timestamp column as a string without the time. For example:\u003C\u002Fp\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003E1\u003C\u002Fp\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003ESELECT to_char(date_column, 'YYYY-MM-DD') FROM table_name;\u003C\u002Fp\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EThis will return the 'date_column' values in the format 'YYYY-MM-DD', without the time component.\u003C\u002Fp\u003E",is_moderated:d,username:"kadin",user_active:a,created:"2023-11-13T06:42:02Z"};au.order=a;au.description=aw;au.slug="php-databases";ax.id=46312;ax.name=u;ax.messages=43;ax.threads=34;ax.meta_title=u;ax.meta_description=u;ax.children=e;ax.icon=b;ax.is_public=c;ax.last_post={id:168943,message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Eadan\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003ETo prevent cross-site scripting (XSS) in PHP, you can implement the following measures:\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003EInput Validation:\nAlways validate and sanitize user input to ensure it matches the expected type, format, or range before using it.\nUse PHP functions like filter_input() or htmlspecialchars() to sanitize user input to prevent malicious code execution.\u003C\u002Fli\u003E\u003Cli\u003EOutput Encoding:\nWhenever outputting user-generated data back to the browser, make sure to properly encode it to prevent any potential XSS attacks.\nUse PHP functions like htmlspecialchars() or htmlentities() to encode user-generated content before displaying it in HTML context.\u003C\u002Fli\u003E\u003Cli\u003EUse Prepared Statements or Parameterized Queries:\nWhen dealing with SQL queries, avoid direct concatenation of user inputs into the query strings.\nInstead, use prepared statements or parameterized queries with placeholders to ensure automatic escaping and safer execution of SQL queries.\u003C\u002Fli\u003E\u003Cli\u003ESet HTTP-only Cookie Flag:\nWhen setting cookies, always include the HTTP-only flag to prevent JavaScript access to cookies.\nThis ensures that session cookies cannot be accessed or stolen through XSS vulnerabilities.\u003C\u002Fli\u003E\u003Cli\u003EEnable Content Security Policy (CSP):\nImplement and enforce a Content Security Policy header that limits the execution of scripts, stylesheets, and other resources to only trusted sources.\nFor example, you can restrict the execution of JavaScript code only from your own domain or trusted sources.\u003C\u002Fli\u003E\u003Cli\u003ERegularly Update PHP and Libraries:\nStay up to date with the latest PHP version and regularly update the PHP frameworks and libraries you are using.\nUpdates often include security patches that help prevent XSS attacks.\u003C\u002Fli\u003E\u003Cli\u003ESecurity Headers:\nImplement security headers like X-XSS-Protection, X-Content-Type-Options, Strict-Transport-Security (HSTS), X-Frame-Options, etc., to enhance the security of your PHP application.\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003ERemember, XSS prevention should be implemented at all layers of your application, including the front-end, back-end, and any user-generated content that you output.\u003C\u002Fp\u003E",is_moderated:d,username:"tressie.damore",user_active:a,created:"2023-07-02T15:23:52Z"};ax.order=a;ax.description=u;ax.slug="php-security";ay.id=46313;ay.name=v;ay.messages=1197;ay.threads=1210;ay.meta_title=v;ay.meta_description=v;ay.children=e;ay.icon=b;ay.is_public=c;ay.last_post={id:256273,message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Ekadin\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003ETo filter DBpedia results in SPARQL, you can use the FILTER keyword followed by a condition that specifies the criteria you want to apply to the results. Here is an example of how to filter DBpedia results in SPARQL:\u003C\u002Fp\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-gzvkvvg\"\u003EPREFIX dbo: <http:\u002F\u002Fdbpedia.org\u002Fontology\u002F>\n\nSELECT ?person ?birthDate\nWHERE {\n ?person a dbo:Person ;\n dbo:birthDate ?birthDate .\n FILTER (xsd:dateTime(?birthDate) > "1900-01-01T00:00:00Z"^^xsd:dateTime)\n}\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EIn this example, we are selecting all persons and their birth dates from DBpedia, and then applying a filter to only include results where the birth date is after January 1, 1900.\u003C\u002Fp\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EYou can customize the FILTER condition to suit your specific filtering criteria, such as filtering by specific properties, values, or date ranges. Make sure to use appropriate data types and functions (such as xsd:dateTime) when comparing values in the FILTER condition.\u003C\u002Fp\u003E",is_moderated:d,username:"herminia_bruen",user_active:a,created:"2024-11-20T10:21:36Z"};ay.order=a;ay.description=v;ay.slug="third-party-scripts";az.id=46401;az.name=V;az.messages=597;az.threads=aA;az.meta_title=b;az.meta_description=V;az.children=e;az.icon=b;az.is_public=c;az.last_post={id:252795,message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Edarrion.kuhn\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003ETo use navigation in Elementor, follow these steps:\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003EOpen the Elementor editor by selecting the page you want to edit and clicking on the "Edit with Elementor" button.\n\u003C\u002Fli\u003E\u003Cli\u003EDrag and drop the Navigation widget from the Elementor panel on the left side of the screen to where you want it to appear on your page.\n\u003C\u002Fli\u003E\u003Cli\u003ECustomize the navigation widget by adjusting the settings in the Elementor panel on the left side of the screen. You can change the layout, style, typography, colors, and more to match the design of your website.\n\u003C\u002Fli\u003E\u003Cli\u003EAdd links to the navigation menu by clicking on the "Edit Section" button and then selecting the "Edit Navigation Menu" option. Here, you can add, remove, and re-order menu items as needed.\n\u003C\u002Fli\u003E\u003Cli\u003EOnce you have finished customizing the navigation widget, click the "Update" button to save your changes.\n\u003C\u002Fli\u003E\u003Cli\u003EPreview your page to see how the navigation menu looks and functions. Make any additional adjustments as needed.\n\u003C\u002Fli\u003E\u003Cli\u003EOnce you are satisfied with your navigation menu, click the "Publish" button to make your changes live on your website.\n\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EThat's it! You have now successfully added and customized a navigation menu in Elementor.\u003C\u002Fp\u003E",is_moderated:d,username:"shyann",user_active:a,created:"2024-10-18T04:35:30Z"};az.order=a;az.description=V;az.slug="php-cms";aB.id=74741;aB.name=w;aB.messages=2059;aB.threads=2037;aB.meta_title=w;aB.meta_description=w;aB.children=e;aB.icon=b;aB.is_public=c;aB.last_post={id:253203,message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Emac\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003ETo get HTML from JSON data using Mustache, you need to use a template that defines the structure of the HTML output you want to generate.\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003EFirst, create your JSON data that contains the necessary information. For example:\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-cmxbhp7\"\u003E{\n "name": "John Doe",\n "age": 30,\n "email": "johndoe@example.com"\n}\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003ENext, create a Mustache template that defines the HTML structure. For example:\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-tbz8euc\"\u003E<p>Name: {{name}}<\u002Fp>\n<p>Age: {{age}}<\u002Fp>\n<p>Email: {{email}}<\u002Fp>\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003EUse a Mustache library to render the template with the JSON data. Here's an example using the mustache.js library:\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-olilkpm\"\u003Evar data = {\n "name": "John Doe",\n "age": 30,\n "email": "johndoe@example.com"\n};\n\nvar template = "<p>Name: {{name}}<\u002Fp><p>Age: {{age}}<\u002Fp><p>Email: {{email}}<\u002Fp>";\n\nvar html = Mustache.render(template, data);\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Col\u003E\u003Cli\u003EThe html variable will now contain the generated HTML based on the JSON data and the Mustache template.\u003C\u002Fli\u003E\u003C\u002Fol\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EYou can then insert this HTML into your webpage or use it in any other way you need.\u003C\u002Fp\u003E",is_moderated:d,username:aq,user_active:a,created:"2024-10-21T11:53:32Z"};aB.order=a;aB.description=w;aB.slug="javascript";aC.id=75576;aC.name=aD;aC.messages=aA;aC.threads=601;aC.meta_title=aD;aC.meta_description=b;aC.children=e;aC.icon=b;aC.is_public=c;aC.last_post={id:202506,message:"\u003Cp\u003EHow to find leaf nodes in the graph using sparql?\u003C\u002Fp\u003E",is_moderated:d,username:"filiberto",user_active:a,created:"2024-11-21T12:22:44Z"};aC.order=a;aC.description=b;aC.slug="mysql";aE.id=77212;aE.name=aF;aE.messages=aG;aE.threads=aG;aE.meta_title=aF;aE.meta_description=b;aE.children=e;aE.icon=b;aE.is_public=c;aE.last_post={id:253120,message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Edaisha\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003ETo delete scrollbars on an iframe, you can add the following CSS code to your webpage:\u003C\u002Fp\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-o9jtpws\"\u003Eiframe {\n overflow: hidden;\n}\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EThis will hide the scrollbars on the iframe element. You can also set the \u003Ccode\u003Escrolling\u003C\u002Fcode\u003E attribute of the iframe to "no" to prevent scrollbars from appearing:\u003C\u002Fp\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-8f81ixi\"\u003E<iframe src="https:\u002F\u002Fwww.example.com" scrolling="no"><\u002Fiframe>\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EBy using one of these methods, you can remove the scrollbars from the iframe on your webpage.\u003C\u002Fp\u003E",is_moderated:d,username:"scotty_walker",user_active:a,created:"2024-10-20T20:53:32Z"};aE.order=a;aE.description=b;aE.slug="html-and-css";return {layout:ac,data:[{sanitizedMessage:j,thread:{id:172706,name:j,message:"\u003Cp\u003EHow to rotate a image and save in folder in php?\u003C\u002Fp\u003E",formatted_message:b,tags:["mywebforum"],category:{id:R,name:i,messages:a,threads:a,meta_title:b,meta_description:b,children:e,icon:b,is_public:c,order:a,description:i,slug:ad},category_id:R,slug:ae,likes:16,dislikes:a,is_closed:c,is_pinned:c,is_moderated:d,username:"aniya.jaskolski",user_active:f,role:g,user_avatar:"avatar\u002Faniya.jaskolski\u002F445117988.jpg",created:"2024-01-23T16:12:59Z"},relatedThreads:[{id:176366,title:af,text:af,avatar:ag,role:g,slug:"how-to-save-an-image-to-a-server-folder-in-php",username:ah,created:"2024-03-01T11:19:30Z"},{id:173355,title:ai,text:ai,avatar:ag,role:g,slug:"how-to-upload-flutter-image-in-folder-with-php",username:ah,created:"2024-01-30T08:54:31Z"},{id:193613,title:aj,text:aj,avatar:"avatar\u002Fdalton_moen\u002F1500.jpg",role:g,slug:"how-to-rotate-the-canvas-image",username:"dalton_moen",created:"2024-08-17T14:36:19Z"},{id:190422,title:ak,text:ak,avatar:"avatar\u002Farnoldo.moen\u002Favatar-55-s.jpg",role:g,slug:"how-to-rotate-an-image-in-canvas",username:"arnoldo.moen",created:"2024-07-17T02:00:35Z"},{id:195757,title:al,text:al,avatar:"avatar\u002Frollin\u002F2249.jpg",role:g,slug:"how-to-rotate-image-in-p5-js",username:"rollin",created:"2024-09-17T13:28:24Z"},{id:187120,title:am,text:am,avatar:"avatar\u002Fmuriel.schmidt\u002F1051.jpg",role:g,slug:"how-to-save-download-zip-to-public-folder-in-laravel",username:"muriel.schmidt",created:"2024-06-18T03:57:35Z"}],socialSettings:{id:2028,size:a,facebook:d,vk:c,ok:c,linkedin:d,telegram:d,whatsapp:d,pocket:c,twitter:d,active:d},page:f,totals:f,postsTotal:f,posts:[{id:211066,message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Eaniya.jaskolski\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003ETo rotate an image and save it to a folder using PHP, you can use the GD library. The following example demonstrates how to do this:\u003C\u002Fp\u003E\u003Cpre class=\"code-block ql-syntax\" id=\"code-dqj0c46\"\u003E\u002F\u002F Path to the image file\n$imagePath = 'path\u002Fto\u002Fimage.jpg';\n\n\u002F\u002F Load the image\n$image = imagecreatefromjpeg($imagePath);\n\n\u002F\u002F Rotate the image by a specified angle (in degrees)\n$angle = 90; \u002F\u002F Set the angle here\n$rotatedImage = imagerotate($image, $angle, 0);\n\n\u002F\u002F Path to the folder where the rotated image will be saved\n$saveFolderPath = 'path\u002Fto\u002Fsave\u002Ffolder\u002F';\n\n\u002F\u002F Generate a new file name for the rotated image\n$rotatedImageName = basename($imagePath, '.jpg') . '_rotated.jpg'; \u002F\u002F Change the extension if needed\n\n\u002F\u002F Save the rotated image to the specified folder\nimagejpeg($rotatedImage, $saveFolderPath . $rotatedImageName);\n\n\u002F\u002F Free up memory by destroying the images\nimagedestroy($image);\nimagedestroy($rotatedImage);\n\u003C\u002Fpre\u003E\u003Cp\u003E\u003Cbr\u003E\u003C\u002Fp\u003E\u003Cp\u003EMake sure you have the GD library enabled in your PHP configuration (\u003Ccode\u003Ephp.ini\u003C\u002Fcode\u003E) and the appropriate permissions to read\u002Fwrite files and folders. Additionally, change the file path, folder path, and file extensions as per your requirements.\u003C\u002Fp\u003E",formatted_message:"\u003Cp\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"mention\"\u003E\u003Cspan\u003E\u003Cspan\u003E\u003Cspan class=\"ql-mention-denotation-char\"\u003E@\u003C\u002Fspan\u003Eaniya.jaskolski\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E \u003C\u002Fspan\u003E \u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fp\u003E\u003Cp\u003ETo rotate an image and save it to a folder using PHP, you can use the GD library. The following example demonstrates how to do this:\u003C\u002Fp\u003E\u003Cdiv style=\"color:#f8f8f2;background-color:#272822;\"\u003E\n\u003Ctable style=\"border-spacing:0;padding:0;margin:0;border:0;\"\u003E\u003Ctbody\u003E\u003Ctr\u003E\u003Ctd style=\"vertical-align:top;padding:0;margin:0;border:0;\"\u003E\n\u003Cpre tabindex=\"0\" style=\"color:#f8f8f2;background-color:#272822;\"\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E 1\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E 2\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E 3\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E 4\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E 5\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E 6\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E 7\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E 8\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E 9\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E10\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E11\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E12\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E13\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E14\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E15\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E16\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E17\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E18\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E19\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E20\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E21\n\u003C\u002Fspan\u003E\u003Cspan style=\"white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\"\u003E22\n\u003C\u002Fspan\u003E\u003C\u002Fpre\u003E\u003C\u002Ftd\u003E\n\u003Ctd style=\"vertical-align:top;padding:0;margin:0;border:0;;width:100%\"\u003E\n\u003Cpre tabindex=\"0\" style=\"color:#f8f8f2;background-color:#272822;\"\u003E\u002F\u002F Path to the image file\n$imagePath = 'path\u002Fto\u002Fimage.jpg';\n\n\u002F\u002F Load the image\n$image = imagecreatefromjpeg($imagePath);\n\n\u002F\u002F Rotate the image by a specified angle (in degrees)\n$angle = 90; \u002F\u002F Set the angle here\n$rotatedImage = imagerotate($image, $angle, 0);\n\n\u002F\u002F Path to the folder where the rotated image will be saved\n$saveFolderPath = 'path\u002Fto\u002Fsave\u002Ffolder\u002F';\n\n\u002F\u002F Generate a new file name for the rotated image\n$rotatedImageName = basename($imagePath, '.jpg') . '_rotated.jpg'; \u002F\u002F Change the extension if needed\n\n\u002F\u002F Save the rotated image to the specified folder\nimagejpeg($rotatedImage, $saveFolderPath . $rotatedImageName);\n\n\u002F\u002F Free up memory by destroying the images\nimagedestroy($image);\nimagedestroy($rotatedImage);\n\u003C\u002Fpre\u003E\u003C\u002Ftd\u003E\u003C\u002Ftr\u003E\u003C\u002Ftbody\u003E\u003C\u002Ftable\u003E\n\u003C\u002Fdiv\u003E\n\u003Cp\u003E\u003Cbr\u002F\u003E\u003C\u002Fp\u003E\u003Cp\u003EMake sure you have the GD library enabled in your PHP configuration (\u003Ccode\u003Ephp.ini\u003C\u002Fcode\u003E) and the appropriate permissions to read\u002Fwrite files and folders. Additionally, change the file path, folder path, and file extensions as per your requirements.\u003C\u002Fp\u003E",is_moderated:d,likes:a,dislikes:a,thread_title:j,thread_slug:ae,username:"dana",user_avatar:"avatar\u002Fdana\u002F110481341.jpg",user_active:f,role:g,role_logo:b,created:"2024-01-24T03:37:55Z"}]}],fetch:{},error:e,state:{loading:a,settings:{id:9222,name:S,domain:"forum.phparea.com",port:80,plan:f,plan_name:"free",footer_code:b,robots_txt:"User-agent: *\nDisallow: \u002Fsearch\nDisallow: \u002Fadmin\nDisallow: \u002Fprofile\nDisallow: \u002Flogin\nDisallow: \u002Fregister\n\nSitemap: https:\u002F\u002Fforum.phparea.com\u002Fsitemap.xml",locale:"en",add_source:a,allow_likes:f,add_watermark:f,add_watermark_position:3,hash:"2fe5b8c0-2cde-4171-9f29-c802ff745139",default_role:an,allow_hash_tags:a,add_source_text:b,scrollable_pagination:f,meta_title:S,blog_active:c,favicon_png:"\u002Ffavicon.png",favicon_ico:b,custom_css:".forum-text.ql-viewer div{\n border-radius: 5px;\n}\n\n.amzn-native-container {\n display: block !important;\n margin: 0 auto !important;\n}",meta_description:ao,description:ao,logo:"logo\u002Fphp2.png",is_related_thread:f,related_thread:6,notify_on_moderation:d,activation:"email"},layout:{id:9343,is_dark:a,name:ac,background_full:c,code_theme:"monokai",page_transition:"fadeRight",background:b,background_color:b,text_color:b,text_font_family:"Roboto",primary_color:k,secondary_color:"#424242",accent_color:k,info_color:k,success_color:k,error_color:k,warning_color:k},social_providers:{google:d,facebook:d,github:d},menus:[],showAd:c,darkMode:c,isFooterVisible:c,cdnUrl:"https:\u002F\u002Fforum-static.fra1.cdn.digitaloceanspaces.com",metaOg:{title:j,url:"https:\u002F\u002Fforum.phparea.com\u002Fthread\u002Fhow-to-rotate-a-image-and-save-in-folder-in-php",type:b,image:b,description:j,site_name:S},itemsPerPage:15,ad:[{id:23,name:"Own domain footer",css_selector:b,position:2,one_time:c,show_every:a,code:"\u003Cdiv class=\"flex\"\u003E\n\u003Ca href=\"https:\u002F\u002Fgosrc.cc\u002Fgo\u002FoJqr0c6SR\" target=\"_blank\"\u003E\u003Cimg src=\"https:\u002F\u002Fblogweb-static.fra1.cdn.digitaloceanspaces.com\u002Fpromo\u002Fbanner.png\" style=\"max-height:200px; max-width:100%;\" \u002F\u003E\u003C\u002Fa\u003E\n\u003Cdiv\u003E",active:d,free:d},{id:704,name:"between posts",css_selector:b,position:7,one_time:d,show_every:4,code:"\u003Cdiv class=\"d-flex justify-center\"\u003E\n\u003Ca target=\"_blank\" href=\"https:\u002F\u002Fwww.digitalocean.com\u002F?refcode=b66c8b09b611&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge\"\u003E\u003Cimg src=\"https:\u002F\u002Fweb-platforms.sfo2.cdn.digitaloceanspaces.com\u002FWWW\u002FBadge%201.svg\" alt=\"DigitalOcean Referral Badge\" \u002F\u003E\u003C\u002Fa\u003E\u003C\u002Fdiv\u003E",active:d,free:c},{id:705,name:"posts",css_selector:b,position:8,one_time:d,show_every:a,code:"\u003Ciframe src=\"https:\u002F\u002Fmangools.com\u002Faffil-banners\u002Fsiteprofiler-ad.html?title=default&theme=default&size=930x180#a62ac14e5feebf87c75cc5019\" width=\"300\" height=\"250\" style=\"border: 0;\"\u003E\u003C\u002Fiframe\u003E",active:d,free:c},{id:706,name:"left",css_selector:b,position:11,one_time:c,show_every:a,code:"\u003Ca target=\"_blank\" href=\"https:\u002F\u002Fwww.digitalocean.com\u002F?refcode=b66c8b09b611&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge\"\u003E\u003Cimg src=\"https:\u002F\u002Fweb-platforms.sfo2.cdn.digitaloceanspaces.com\u002FWWW\u002FBadge%201.svg\" alt=\"DigitalOcean Referral Badge\" \u002F\u003E\u003C\u002Fa\u003E",active:d,free:c}],profileStats:{fetched:c,personalMessages:a},stats:{fetched:c,threads:a,posts:a},breadcrumbs:[{text:T,disabled:c,href:U},{text:i,disabled:c,href:"\u002Fforum\u002Fphp-general"},{text:j,disabled:d}],categories:[ap,ar,au,ax,ay,az,aB,aC,aE],categoriesWithChildren:[ap,ar,au,ax,ay,az,aB,aC,aE],roles:[{code:an,logo:b,name:g},{code:"ROLE_MODERATOR",logo:b,name:aH},{code:"ROLE_ADMIN",logo:b,name:"Administrator"}],i18n:{routeParams:{}},auth:{user:e,loggedIn:c,strategy:"local"}},serverRendered:d,routePath:"\u002Fthread\u002Fhow-to-rotate-a-image-and-save-in-folder-in-php",config:{_app:{basePath:U,assetsPath:U,cdnURL:"https:\u002F\u002Fpub-1e27250373774d6ca37239bbf5810b5c.r2.dev\u002Fassets\u002F0.3\u002F"}},__i18n:{langs:{en:{common:{common_badge_blog:"blog",common_badge_post:"forum",common_badge_page:"page",answers:"no answers | 1 answer | {count} answers",likes:"no likes | 1 like | {count} likes",dislikes:"no dislikes | 1 dislike | {count} dislikes",show_more:aI,show_less:"Show Less",go_back:"Go Back",go_home_page:"Go Home Page",max_tag_reached:"Max Count of Tags Reached",in_category:"in category: ",our_privacy:"See our Privacy Policy",count_best_answers:aJ,search_ask_question:"Do you want to create a thread?",check_internet_connection:"You are offline! Check your internet connection.",by:"by",cookie_text:"This site uses cookies to ensure you get the best experience. By clicking \"Got it\" or continuing to browse the website, you are agreeing to our use of cookies.",got_it:"Got it",signature:aK,author_marked_as_best:aL,no_transition:"No Transition",mail_services:"Mail Services",free_files:"The current plan has a limit 10 files",user_not_active:"Deleted user",confirm_email_text:"We just sent an email to you with the confirmation code. Please put the confirmation code in field below.",main_top_ad:"Ad in all pages on the top",main_bottom_ad:"Ad in all pages on the bottom",blog_in_category_ad:"Ad in blog category",blog_post_top_ad:"Ad in blog post on the top",blog_post_bottom_ad:"Ad in blog post on the bottom",blog_in_post_ad:"Ad in blog post",forum_in_thread_ad:"Ad in forum thread",forum_in_post_ad:"Ad in forum post",sliding_ad:"Sliding Ad on all pages",page_ad:"Ad on the page",sidebar_under_menu:"Left sidebar under menu",site_is_not_ready:"You site is not ready yet",thanks_choosing_us:"Thank you for giving us the opportunity to serve you",register_site_first:"You need register your site first at",create_forum:"create a forum",create_forum_free:"free forum",create_forum_free_text:aM,create_qa_free_text:aM,create_qa_free:"Questions & Answers platform",support_text:"support forum",post_subject:aN,how_to_create_text:"If you have any question about our platform - you can easily ask us. We are always ready to help you by contact form or by our",subcategory:"Subcategories",category:aO,main_page:"Main Page",banned:"Banned User",no_banned:"Not Banned User",new_message:"New",not_read:"Not Read",spam:"Spam",trusted:aP,no_trusted:"Common User",security_questions:"Registration Questions",nice_to_see_you:"Nice to see you again",records_not_found:"No records found",not_found:"There were no results for your search.",member_from:"Member from",last_seen:"Last seen",not_authorized:"Sign in to your account",account:"Account",last_message:" Last Reply ",from:" from ",thanks_confirming:"Thank you for using our service. Account successfully confirmed!",thanks_confirming_details:"You can use your credentials to login into system",mail_settings_valid:"Congratulations! Mail Settings verified successfully and ready to use",terms:"Terms & Conditions",privacy:aQ,accept_terms:"I Agree to the Terms and Conditions",need_accept_terms:"You must agree to the Terms and Conditions in order to register",copyright_text:"This Site is Created By",security_messages:"Secure messages",na:"N\u002FA",active:aR,no_active:"Inactive",attention:"Attention!",count_topics:aS,need_moderation:"Approve message",no_data:"No data",no_files:"No files",no_records:"No records",no_messages:"No messages",count_messages:x,menu:l,search:y,action:"Action",pin_topic:"Pin topic",unpin_topic:"Unpin topic",existing_client:"Existing user? Sign In",close_topic:"Close topic",open_topic:"Open topic",rows_per_page:"Rows per page",top_menu:"Top menu",bottom_menu:"Bottom menu",waiting_approval:"Waiting approval",second:"Second",minute:"Minute",hour:"Hour",message:x,messages:x,topic_closed:"Topic closed",important_topic:"Important topic",threads:aT},animation:{default_fade:"Default Fade",fade_up:"Fade Up",fade_right:"Fade Right",fade_down:"Fade Down",fade_left:"Fade Left",rotate:"Rotate",rotate_down_left:"Rotate Down Left",rotate_down_right:"Rotate Down Right",rotate_up_left:"Rotate Up Left",rotate_up_right:"Rotate Up Right",slide_down:"Slide Down",slide_left:"Slide Left",slide_right:"Slide Right",slide_up:"Slide Up",flip:"Flip",flip_x:"Flip X",flip_y:"Flip Y",zoom:"Zoom",zoom_down:"Zoom Down",zoom_left:"Zoom Left",zoom_right:"Zoom Right",zoom_up:"Zoom Up",light_speed:"Light Speed",bounce:"Bounce",bounce_down:"Bounce Down",bounce_left:"Bounce Left",bounce_right:"Bounce Right",bounce_up:"Bounce Up"},tabs:{delete_forum:m,translation_settings:aU,inbox_pm:"Inbox",sent_pm:"Sent",moderator_main:"Statistic",moderator_threads:aV,role_settings:z,hash_tags_settings:n,moderator_users:A,export_settings:o,moderator_posts:B,blog_settings:C,privacy_settings:D,badge_settings:E,ad_settings:F,file_settings:p,my_profile_stat:"My Statistics",main_settings:"General Settings",mail_settings:G,layout_settings:H,forum_settings:"Categories",member_settings:aW,social_providers:I,page_settings:J,menu_settings:"Menu Settings",social_settings:K,security_settings:L,profile:aX,messages:x,redirect_settings:W,topics:aS},modals:{delete_forum:"I understand that the forum and all data will be permanently removed.",delete_tag:"Are you sure you want to delete this hash tag?",delete_tag_confirm:"Please confirm that you want to delete this hash tag",delete_badge:"Are you sure you want to delete this badge?",delete_badge_confirm:"Please confirm that you want to delete this badge",new_pm:"Compose Message",delete_role:"Are you sure you want to delete this role?",delete_role_confirm:"Please confirm that you want to delete this role",delete_user:"Are you sure you want to delete this user?",delete_file:"Are you sure you want to delete this file?",delete_file_confirm:"Please confirm that you want to delete this file",delete_user_confirm:"Please confirm that you want to delete this user",delete_thread:"Are you sure you want to delete this thread?",delete_thread_confirm:"Please confirm that you want to delete this thread",delete_ad:"Are you sure you want to delete this Ad?",delete_ad_confirm:"Please confirm that you want to delete this Ad",delete_blog_content:"Are you sure you want to delete this post?",delete_blog_content_confirm:"Please confirm that you want to delete this post",delete_blog_category:aY,delete_blog_category_confirm:"Please confirm that you want to delete this category and related subcategories, posts.",delete_redirect:"Are you sure you want to delete this redirect?",delete_redirect_confirm:"Please confirm that you want to delete this redirect link.",delete_category:aY,delete_category_confirm:"Please confirm that you want to delete this category and related subcategories, threads, posts.",delete_menu:"Are you sure you want to delete this menu link?",delete_menu_confirm:"Please confirm that you want to delete this menu link.",delete_page:"Are you sure you want to delete this page?",delete_page_confirm:"Please confirm that you want to delete this page.",delete_message:"Are you sure you want to delete this message?",delete_message_confirm:"Please confirm that you want to delete this message.",delete_topic:"Are you sure you want to delete this topic?",delete_topic_confirm:"Please confirm that you want to delete this topic and related posts.",delete_all_topic_message:"Are you sure you want to delete all messages?",delete_all_topic_message_confirm:"Please confirm that you want to delete all messages",delete_all_topic_text:"Are you sure you want to delete all topics?",delete_all_topic_text_confirm:"Please confirm that you want to delete all topics"},errors:{page_not_found:"Page not found",other_error:"Error happened"},toasts:{voted:"Your vote is counted",email_sent:"Confirmation Code Sent to Email",logout:"You successfully logged out",category_created:"Category successfully created!",category_updated:"Category successfully updated!",ad_created:"Ad successfully created!",ad_updated:"Ad successfully updated!",menu_created:"Menu link successfully created!",menu_updated:"Menu link successfully updated!",page_created:"Page successfully created!",page_updated:"Page successfully updated!",register_successfully:"You have successfully registered",confirm_email:"Please confirm your email address",posts_waiting_approval:"Posts waiting approval:",users_waiting_approval:"Users waiting approval:",threads_waiting_approval:"Threads waiting approval:",favicon_updated:"Favicon successfully updated",background_updated:"Background successfully updated",select_logo:"Please select logo",select_favicon:"Please select favicon",logo_updated:"Logo successfully updated",logo_deleted:"Logo successfully deleted",profile_updated:"Profile successfully updated",avatar_updated:"Avatar successfully updated",select_avatar:"Please select image file",select_background:"Please select background image file",auth_success:"Logged in successfully",settings_success:"Settings successfully updated",terms_success:"Terms successfully updated",message_send:"Message has been sent",created:X,updated:"Updated",password_changed:"Password changed successfully",record_created:X,deleted:"Deleted",success:"Success",error:"Error happened."},titles:{upgrade_pro:Y,admin_delete:m,translation_settings:aZ,hash_tag_settings:n,badge_settings:E,roles:z,search:y,social_providers:I,confirm_account:a_,how_to_create:"How To Create Your Own Free Forum",category_settings:a$,edit_member:Z,export_settings:o,file_settings:p,blog_settings:C,ad_settings:F,blog_content:M,blog_category:q,blog:N,my_pm:r,view_pm:_,members:ba,redirects:W,menu:l,pages:J,layout_settings:H,social_settings:K,security_settings:L,terms_settings:D,mail_settings:G,admin_index:O,moderator_index:P,moderator_threads:bb,moderator_users:A,moderator_posts:B,change_password:s,view_profile:"user profile",my_profile:$,register:bc,login:h,restore_password:t,contact_us:Q},descriptions:{upgrade_pro:Y,admin_delete:m,translation_settings:aZ,hash_tag_settings:n,badge_settings:E,roles:z,social_providers:I,confirm_account:a_,how_to_create:"How To Create Your Own Free Forum. If you need a free modern forum - you can create it right now.",category_settings:a$,export_settings:o,edit_member:Z,moderator_index:P,file_settings:p,moderator_threads:bb,moderator_users:A,moderator_posts:B,ad_settings:F,blog_settings:C,my_pm:r,view_pm:_,blog:N,blog_category:q,blog_content:M,members:ba,redirects:W,menu:l,terms_settings:D,layout_settings:H,pages:J,social_settings:K,security_settings:L,admin_index:O,mail_settings:G,change_password:s,view_profile:"user profile. Contacts, messages, topics.",my_profile:$,register:bc,login:h,restore_password:t,contact_us:"You can always send us message and we always ready to help. "},mail:{other:"Other",gmail:"Gmail",yandex:"Yandex",yahoo:"Yahoo",mail:"Mail.ru",rambler:"Rambler",bing:"Bing",outlook:"Outlook",aol:"AOL"},activations:{email:"Email confirmation required",manually:"Manually by admin\u002Fmoderator",automatically:"Automatically, after registration"},toc:{disabled:"No Active",top:"Top",bottom:"Bottom"},export:{yes:"Yes",no:"No",blog_category:q,blog:"Blog Posts",forum:"Forum",profile:"Profiles"},watermark:{center:"Center",top_left:"Top-Left Corner",top_right:"Top-Right Corner",bottom_left:"Bottom-Left Corner",bottom_right:"Bottom-Right Corner"},conditions:{threads:aT,posts:"Posts",best_answers:aJ},forms:{default_role:"Default role for new users",hash_tag:"Hash Tag",hash_tags:"Tags (not required)",meta_title:"Meta Title",meta_description:"Meta Description",value:"Value",condition:"Condition",allow_hash_tags:"Enable Hash Tags",access_pm:r,create_post:"Create Post",edit_own_post:"Edit Own Post",edit_any_post:"Edit Any Post",moderate_data:"Moderate Posts\u002FThreads etc...",access_to_admin_tool:"Access to Admin Tool",register_limit:"Registration limit",permissions:"Permissions",created:X,scrollable_pagination:"Scrollable pagination",is_public_category:"Access to everyone",roles:"Only roles have access",add_source:"Add Source Whenever Copy Text?",allow_likes:"Allow to user likes posts and threads?",add_watermark:"Add Watermark to Images?",add_watermark_position:"Watermark Position",messages_before_auto_approved:"How many posts approve manually for the new users?",add_source_text:"Text:",move_to_category:"Move Threads and Messages to Category",blog_move_to_category:"Move Content to Category",default_add_source_text:"Read more at:",category:"Category:",code_theme:"Code Editor Theme:",user_link_type:"Type:",user_link:"Link:",is_profile_public:"Make Profile Public:",add_social_link:"Add Social Link",confirm_your_email:"Confirm your email",background_full:"Full Screen Image",notifications:"Notifications",to_username:"To",page_transition:"Page Transition",subject:"Subject",signature:aK,no_ad:"No Ad in this post",max_length:"Max XX characters",custom_css:"Custom CSS",security_question_question:bd,is_related_post:"Enable Related Posts",related_post:"Count of Related Posts",is_related_thread:"Enable Related Threads",related_thread:"Count of Related Threads",from_name:"From:",to_name:"To:",role:be,created_date:"Created at",status:"Status",export_data:"export data",export_data_deleted:"Unfortunately export deleted because we store it just in 3 days. If you need fresh data please create a new request.",export_data_deleted_short:"Unfortunately export deleted",export_settings:"Export Settings",security_question_answer:"Answer","messages_before_au to_approved":"How many approved messages for new clients",mark_uncertain_messages:"Moderate manually uncertain messages",thread_limit:"Thread limit",directory_name:"Directory name",nofollow:"Add for links rel=nofollow",blog_social_sizes:"Icon Size",notify_on_moderation:"Notify me about messages\u002Fthreads on moderation",directory:"Directory",summary:"Summary",badge_name:"Badge Name",badge_description:bf,badge_icon:"Icon",banned:"Banned",robots_txt:"Robots.txt",toc:aN,one_time:"Show one time",show_every:"Show every",show_after:"Show after",css_selector:"CSS selector",code:"Code",file:"File",question:bd,answer:"You answer",thread_limit_type:"Thread limit by",register_limit_type:"Register limit",trusted:aP,edit_profile:bg,post_limit:"Post limit",post_limit_type:"Post limit by",category_name:"Category name",category_description:"Category Description",blog_category:aO,text_font_family:"Font Family",add_in_menu:"Add In Menu",avatar:"Avatar",template:"Template",old_url:"Old URL",new_url:"New URL",image:bh,is_dark:"Dark Mode",logo:"Logo",topic_name:bi,open_new_tab:"Open in new tab",no_index:"Noindex page by google, bing, yahoo etc...",text_link:"Link text",select_page:"Select page",select_manually:"Manually",parent_category:"Parent Category",link:"Link",name:aa,encryption:"Encryption",host:"Host",port:"Port",user:bj,page:"Page",position:"Position",type_background:"Background",no_background:"None",background_color:"Color",background_image:bh,activation:"Activate new members",password:"Password",new_password:"New password",confirm_password:"Confirm password",username:bj,firstname:"First name",favicon:"Favicon",favicon_png:"Favicon PNG",forum_name:aa,active:aR,page_name:aa,forum_description:bf,footer_code:"Footer custom code (ex. google analytics code)",lastname:"Last name",update:bk,email:"Email",company:"Company",message:"Message",text:"Text"},social_size:{small:"Small",medium:"Medium",large:"Large"},buttons:{upgrade_pro:Y,delete_forum:m,buy_now:"Get Started",make_default_role:"Set role as the default for new users",edit_hash_tag:"Edit Hash Tag",new_hash_tag:"Add Hash Tag",new_badge:"Add Badge",edit_badge:"Edit Badge",add_role:bl,edit_role_link:"Edit Role",add_role_link:bl,login_google:h,login_facebook:h,login_github:h,cancel:"Cancel",delete_and_keep_messages:"Delete (keep messages\u002Fthreads)",login_google_tooltip:"Login with Google",login_facebook_tooltip:"Login with Facebook",login_github_tooltip:"Login with Github",moderate:aH,best_answer:aL,answer:bm,my_profile:aX,ask_question:"Ask Question",add_redirect:"New Redirect",edit_redirect:"Edit Redirect",search_more:"Search More",resend_code:"Resend Code",confirm_email:"Confirm Email",show_more:aI,add_ad:bn,edit_ad:"Edit Ad",new_ad:bn,new_file:"New File",deactivate:"Deactivate",activate:"Activate",unbanned:"Unbanned",bann:bo,new_pm:"Compose",spam:"Mark As Spam",blog_social_share:"Social Share Buttons",new_export:bp,export_data:bp,new_directory:"New Directory",upload_file:"Upload File",upload_directory:"Create folder",edit_category:bq,edit_thread:"Edit Thread",add_category:br,add_menu_link:bs,blog_category:q,blog_content:M,edit_menu_link:"Edit link",new_menu:bs,validate_mail_settings:"Validate",new_page:"New Page",read:"Read More",new_blog_category:br,edit_blog_category:bq,new_blog_content:"New Post",edit_blog_content:"Edit Post",edit_page:"Edit Page",upload_avatar:"Upload avatar",upload_logo:"Upload Logo",delete_logo:"Remove Logo",upload_favicon:"Upload Favicon",upload_favicon_png:"Upload Favicon PNG",topic_name:bi,contact_us:Q,home:T,upload_background:"Upload background image",ban:bo,unban:"Unban",delete_all_topic:"Delete all topics",delete_all_messages:"Delete all messages",admin:"Admin Dashboard",profile:bt,signin:"Sign In",register:ab,change_password:s,role:be,logout:"Logout",reply:"Reply to this topic",reply_pm:bm,edit_post:"Edit post",new_post:"Add message",save:"Save",edit:"Edit",new_message:"New message",restore_password:t,remove:"Remove",login:h,close:"Close",add:"Add",update:bk,delete:"Delete",reset:"Reset Color Schema",send:"Send",clear:"Clear"},headers:{admin_hash_tags:n,admin_badges:E,roles:z,search:y,related_post:"Related Posts",related_thread:"Related Threads",edit_profile:bg,admin_members:"Users",export_settings:o,select_export:"Please select export settings",posts_on_moderation:"Posts on moderation",threads_on_moderation:"Threads on moderation",users_on_moderation:"Users on moderation",moderator_home:P,my_pm:r,moderator_index:"Statistics",admin_home:O,blog:N,change_password:s,admin_redirects:"List of Redirect",admin_ad:"List of Ads",file_settings:p,view_profile:"User profile",color_settings:"Theme Color Settings",primary_color:"Primary Color",secondary_color:"Secondary Color",accent_color:"Accent Color",info_color:"Info Color",success_color:"Success Color",error_color:"Error Color",warning_color:"Warning Color",my_profile:$,register:ab,menu:l,follow_us:"Follow us",about_us:"About us",login:h,restore_password:t,contact_us:Q},breadcrumbs:{pro:"PRO status",admin_delete:m,translation:aU,privacy:aQ,hash_tag_settings:n,badge_settings:"Badge",menu_home:l,social_providers:I,search:y,export_settings:o,confirm_account:"Account confirmation",blog_home:N,pm:r,view_pm:_,blog_content:M,blog_settings:C,ad_settings:F,file_settings:p,privacy_settings:D,forum_settings:"Category Settings",mail_settings:G,layout_settings:H,redirects:"Redirects",blog_categories:q,edit_member:Z,members:aW,pages:J,social_settings:K,security_settings:L,admin_index:O,moderator_threads:aV,moderator_posts:B,moderator_users:A,moderator_index:P,change_password:s,home:T,view_profile:"User Profile",my_profile:bt,login:h,register:ab,contact_us:Q,restore_password:t},plan:{success:"Payment Successful!",success_detail:"Your payment was successfully processed. Thank you for your purchase!",failed:"Payment Failed",failed_detail:"We're sorry, but your payment could not be processed.",failed_detail_line_2:"Please check your payment details and try again.",free:"Free",free_price:"$0\u002Fmo",free_description:"Great for starters",pro:"Pro",pro_price:"$9.99\u002Fmo",pro_description:"Most popular",enterprise:bu,enterprise_price:bu,custom_price:"Custom",feature:{unlimited_posts:"Unlimited Posts",unlimited_threads:"Unlimited Threads",unlimited_category:"Unlimited Category",unlimited_users:"Unlimited Users",ssl:"Free SSL",use_own_domain:"Use your own domain",spam_protection:"Spam Protection",ad_free:"AD Free",no_copyright:"No Copyright in the Footer",dedicated_server:"Dedicated Server"}}}}}}}(0,"",false,true,null,1,"Member","Login","PHP General","How to rotate a image and save in folder in php?","#8190CC","Menu","Delete Forum","Hash Tags","Export","File Settings","Blog Category","Personal Messages","Change password","Restore password","PHP Security","Third Party Scripts","Javascript","Messages","Search","Roles","Moderate Users","Moderate Posts","Blog Settings","Privacy Settings","Badges","Ad Settings","Mail Settings","Layout Settings","Social Logins","Pages","Social Settings","Security Settings","Blog Content","Blog","Admin dashboard","Moderator dashboard","Contact us",46309,"PHP Developers Community","Home","\u002F","PHP CMS","Redirect","Created","Upgrade to PRO","Edit User Details","View Message","My Profile","Name","Sign Up","qa","php-general","how-to-rotate-a-image-and-save-in-folder-in-php","How to save an image to a server folder in php?","avatar\u002Fryleigh\u002F3318.jpg","ryleigh","How to upload flutter image in folder with php?","How to rotate the canvas image?","How to rotate an image in canvas?","How to rotate image in p5.js?","How to save download zip to public folder in laravel?","ROLE_CLIENT","PHP Software Developers Community to ask any related PHP programming questions.",{},"lew",{},"PHP Frameworks","PHP Frameworks like: Laravel, Symfony, Codeigniter, CakePHP etc...",{},"PHP Databases","PHP Databases: MySQL, Oracle, MongoDB, MSSQL, PostgreSQL etc...",{},{},{},540,{},{},"MySQL",{},"HTML & CSS",314,"Moderator","Show More","Best Answers","Signature","Best Answer","Get Your Own","Table of Contents","Category","Trusted User","Privacy Policy","Active","Topics","Threads","Translation","Moderate Threads","Members","Profile","Are you sure you want to delete this category?","Translation Settings","Your account was successfully confirmed","Forum Category Settings","List Users","Moderate Thread","Register for the forum","Question","Role","Description","Edit Profile","Image","Title","Username","Update","Add Role","Reply","New Ad","Ban","Export Data","Edit Category","New Category","Add a new menu link","My profile","Enterprise"));</script><script src="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/7b8ec9d.js" defer></script><script src="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/25edc65.js" defer></script><script src="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/863688a.js" defer></script><script src="https://pub-1e27250373774d6ca37239bbf5810b5c.r2.dev/assets/0.3/cb42003.js" defer></script>
</body>
</html>