Ad block is installed and active. Please support us by disabling it.
HomeWednesday, April 25, 2018, 08:53:29
3

PHP highlight_string - PHP Tutorial

Tuesday, February 10, 15, 12:09:01, 3 Yaers Ago Via wain, Hits: 5774
Outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP. Requirement(s): PHP Server.
Code:
<?php
$string = '<?php echo "phpform.net"; ?>';
echo '<pre style="border:1px solid #CC0000;padding:5px;width:230px;">';
highlight_string($string);
echo '</pre>';
?>

Sign In

Sponsor

Related

Upload Attachment - PHP Tutorial

Upload attachment with PHP example, Requirement(s): PHP server

PHP DateTimeZone

PHP representation of time zone

Link Base 1.1. - Free PHP Link Index Script

Manage your links using a MySQL database. Features easy install, user submission, and an admin panel to add, edit and remove categories and links.

PHP explode

Explode — Split a string by string.

Inserting form data in MySql table

Inserting form data in MySql table with PHP

PHP $_SESSION

Session_start creates a session or resumes the current one based on a session identifier passed via a GET or POST request, or passed via a cookie.

PHP File Create

Create and write data to a file using the php frwite function.

Link Base 2.0.

Manage your links using a MySQL database. It features easy install, user submission, and an admin panel to add, edit and remove categories and links.

Captcha V2 - Free PHP Script

PHP Captcha protection image Version 2, - Requirement(s): PHP Server, GD Library

Getimagesize

Getimagesize function will determine the size of any given image file and return the dimensions along with the file type and a height/width text string to be used inside a normal HTML IMG tag and the correspondant HTTP content type.
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Sun, Mar 18, 18
So far has created 115 entries.
wain
This author has not yet filled in any details.