Title: Safe PHP Code Widget
Author: k0tik
Published: <strong>9. januar 2019</strong>
Last modified: 9. januar 2019

---

Søk gjennom innstikk

![](https://ps.w.org/safe-php-code-widget/assets/banner-772x250.png?rev=2008798)

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://ps.w.org/safe-php-code-widget/assets/icon-256x256.png?rev=2008818)

# Safe PHP Code Widget

 Av [k0tik](https://profiles.wordpress.org/k0tik/)

[Last ned](https://downloads.wordpress.org/plugin/safe-php-code-widget.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/safe-php-code-widget/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/safe-php-code-widget/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/safe-php-code-widget/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/safe-php-code-widget/#developers)

 [Hjelp](https://wordpress.org/support/plugin/safe-php-code-widget/)

## Skildring

The usual Text widget allows you to insert arbitrary Text and/or HTML code. This
allows that too, but also parses any PHP or JavaScript code in the text widget and
executes it.

This plugin is based on «PHP Code Widget», but now available for use by site administrators
ONLY, which makes it more secure.

All PHP code must be enclosed in the standard php opening and closing tags ( `<?
php` and `?>` ) for it to be recognized and executed. Also JavaScript code must 
be enclosed in the `<script>` and `</script>` tags, as usual.

## Skjermbilete

 * [[
 * The widgets screen showing a Safe PHP Code Widget in use.
 * [[
 * The output of the widget on the site.

## Installasjon

 1. Upload `safe-php-code-widget` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the «Plugins» menu in WordPress.

## Vanlege spm.

No questions yet – no answers yet.

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“Safe PHP Code Widget” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ k0tik ](https://profiles.wordpress.org/k0tik/)

[Omset “Safe PHP Code Widget” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/safe-php-code-widget)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/safe-php-code-widget/),
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/safe-php-code-widget/) eller
abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/safe-php-code-widget/)
med [RSS](https://plugins.trac.wordpress.org/log/safe-php-code-widget/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

 * First version in the repository

## Om

 *  Version **1.0**
 *  Last updated **7 år sidan**
 *  Active installations **70+**
 *  WordPress version ** 2.8 eller nyare **
 *  Tested up to **5.0.25**
 *  Language
 * [English (US)](https://wordpress.org/plugins/safe-php-code-widget/)
 * Tags
 * [code](https://nn.wordpress.org/plugins/tags/code/)[html](https://nn.wordpress.org/plugins/tags/html/)
   [javascript](https://nn.wordpress.org/plugins/tags/javascript/)[php](https://nn.wordpress.org/plugins/tags/php/)
   [widget](https://nn.wordpress.org/plugins/tags/widget/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/safe-php-code-widget/advanced/)

## Vurderingar

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/safe-php-code-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/safe-php-code-widget/reviews/)

## Contributors

 *   [ k0tik ](https://profiles.wordpress.org/k0tik/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/safe-php-code-widget/)