Overview

Packages

  • admin
    • development
  • classes
  • CodeIgniter
    • Libraries
  • comment-form
  • core
  • elfinder
  • functions
  • JSMin
  • None
  • PHP
  • PHPMailer
  • plugins
    • admin-approval
    • auto-backup
    • bxslider-thumb-nav
    • cachemanager
    • check-for-update
    • class-anyfile
    • class-textobject
    • class-video
    • class-webdocs
    • clonezenphoto
    • colorbox-js
    • comment-form
    • contact-form
    • cookieconsent
    • crop-image
    • defaultcodeblocks
    • deprecated-functions
    • downloadlist
    • dynamic-locale
    • elfinder
    • email-newuser
    • examplemacros
    • favoriteshandler
    • flag-thumbnail
    • galleryarticles
    • googlemap
    • hitcounter
    • html-meta-tags
    • image-album-statistiscs
    • ipblocker
    • jplayer
    • macrolist
    • markrelease
    • Matomo
    • menu-manager
    • mergedrss
    • mobiletheme
    • multiple-layouts
    • openstreetmap
    • paged-thumbs-nav
    • phpmailer
    • print-album-menu
    • publishcontent
    • quota-manager
    • rating
    • recaptcha
    • register-user
    • related-items
    • rewriterules
    • rewritetokens
    • rss
    • scriptless-socialsharing
    • search-statistics
    • security-logger
    • seo-cleanup
    • seo-locale
    • seo-null
    • seo-zenphoto
    • show-not-logged-in
    • simplespam
    • site-upgrade
    • sitemap-extended
    • slideshow2
    • static-html-cache
    • tag-extras
    • tag-suggest
    • themeswitcher
    • tinymce4
    • trivialspam
    • uploader-http
    • uploader-jquery
    • user-expiry
    • user-groups
    • user-login-out
    • user-mailing-list
    • xmpmetadata
    • zenpage
    • zenphoto-news
    • zenphoto-sendmail
    • zenphotodonate
  • Services
    • JSON

Classes

  • AMFReader
  • AMFStream
  • AVCSequenceParameterSetReader
  • elFinderConnector
  • elFinderVolumeDriver
  • elFinderVolumeDropbox
  • elFinderVolumeFTP
  • elFinderVolumeFTPIIS
  • elFinderVolumeLocalFileSystem
  • elFinderVolumeMySQL
  • elFinderVolumeS3
  • fieldExtender
  • getID3
  • getid3_aac
  • getid3_apetag
  • getid3_flv
  • getid3_handler
  • getid3_id3v1
  • getid3_id3v2
  • getid3_lib
  • getid3_lyrics3
  • getid3_mp3
  • getid3_mpeg
  • getid3_quicktime
  • getid3_swf
  • OAuthConsumer
  • OAuthDataStore
  • OAuthRequest
  • OAuthServer
  • OAuthSignatureMethod
  • OAuthSignatureMethod_HMAC_SHA1
  • OAuthSignatureMethod_PLAINTEXT
  • OAuthSignatureMethod_RSA_SHA1
  • OAuthToken
  • OAuthUtil
  • PclZip
  • RecursiveCallbackFilterIterator
  • rewriteRules
  • S3SoapClient
  • Services_JSON_Error
  • tinyURL
  • UploadHandler
  • userAddressFields
  • userDataExport
  • ZipStream

Exceptions

  • getid3_exception
  • JSMin_UnterminatedCommentException
  • JSMin_UnterminatedRegExpException
  • JSMin_UnterminatedStringException
  • OAuthExcept

Functions

  • access
  • accessAlbums
  • accessImage
  • checkAlbumForImages
  • db_affected_rows
  • db_close
  • db_collation
  • db_connect
  • db_create
  • db_create_table
  • db_error
  • db_fetch_assoc
  • db_fetch_row
  • db_free_result
  • db_getSQLmode
  • db_insert_id
  • db_LIKE_escape
  • db_list_fields
  • db_num_rows
  • db_permissions
  • db_quote
  • db_setSQLmode
  • db_show
  • db_software
  • db_table_update
  • db_truncate_table
  • getImageType
  • getMimeString
  • getRules
  • hl_attrval
  • hl_bal
  • hl_cmtcd
  • hl_ent
  • hl_prot
  • hl_regex
  • hl_spec
  • hl_tag
  • hl_tag2
  • hl_tidy
  • hl_version
  • htmLawed
  • imageBlurGD
  • jQueryUpload_head
  • jQueryUpload_headers
  • kses
  • kses_array_lc
  • kses_attr
  • kses_bad_protocol
  • kses_bad_protocol_once
  • kses_bad_protocol_once2
  • kses_check_attr_val
  • kses_decode_entities
  • kses_hair
  • kses_hook
  • kses_html_error
  • kses_js_entities
  • kses_no_null
  • kses_normalize_entities
  • kses_normalize_entities2
  • kses_split
  • kses_split2
  • kses_stripslashes
  • kses_version
  • PclZipUtilCopyBlock
  • PclZipUtilOptionText
  • PclZipUtilPathInclusion
  • PclZipUtilPathReduction
  • PclZipUtilRename
  • PclZipUtilTranslateWinPath
  • printAllNestedList
  • printBarGraph
  • printFullAlbumsList
  • printImageslist
  • printNewsArticlesList
  • printSubLevelAlbums
  • printTinyPageNav
  • printTinyZenpageCategorySelector
  • printZenpageItems
  • query
  • query_full_array
  • query_single_row
  • setSiteState
  • setTinyZenpageLocale
  • shortentitle
  • showZenphotoOptions
  • storeConfig
  • unpublishedZenpageItemCheck
  • unpublishedZenphotoItemCheck
  • updateConfigItem
  • upload_extra
  • upload_form
  • upload_head
  • zp_colorAllocate
  • zp_copyCanvas
  • zp_createImage
  • zp_drawRectangle
  • zp_getFonts
  • zp_graphicsLibInfo
  • zp_imageCanRotate
  • zp_imageColorTransparent
  • zp_imageDims
  • zp_imageFill
  • zp_imageFontHeight
  • zp_imageFontWidth
  • zp_imageFromString
  • zp_imageGet
  • zp_imageGray
  • zp_imageHeight
  • zp_imageIPTC
  • zp_imageKill
  • zp_imageLoadFont
  • zp_imageMerge
  • zp_imageOutput
  • zp_imageResizeAlpha
  • zp_imageUnsharpMask
  • zp_imageWidth
  • zp_resampleImage
  • zp_rotateImage
  • zp_writeString
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated

Function kses_bad_protocol_once

This function searches for URL protocols at the beginning of $string, while handling whitespace and HTML entities.

Located at lib-kses.php
Parameters summary
type $string
type $allowed_protocols
Return value summary
type type
Zenphoto doc API documentation generated by ApiGen