Lost your password?

Blogs about: Php Codes

Featured Blog

Short open tags not work in php5.2.0 and not in php5.2.3

sarapeter wrote 8 months ago: Short open tags not work in php5.2.0 and not in php5.2.3 My advice was to put short_open_tag = On in … more →

Tags: PHP & Security, php errors, php, Short Open Tags, PHP5, short_open_tag

Fatal error: Allowed memory size of 8388608 bytes exhausted

sarapeter wrote 8 months ago: Php Fatal error: Allowed memory size of 8388608 bytes exhausted This error message can spring up in … more →

Tags: PHP & Security, PHP Methods, php functions, php errors, php, Fatal Error, Error, exhausted, Memory

Resize an image on the fly & keep its aspect ratio

sarapeter wrote 8 months ago: Resize an image on the fly & keep its aspect ratio bool imagecopyresampled ( resource $dst_image … more →

Tags: PHP Methods, php functions, php, imagecopyresampled, image, Fly, Resize

Sending Email with Attachment

sarapeter wrote 10 months ago: The last variation that we will consider is email with attachments. To send an email with attachment … more →

Tags: Php Email, Email with Attachment

Sending HTML Email

sarapeter wrote 10 months ago: The next step is to examine how to send HTML email. However, some mail clients cannot understand HTM … more →

Tags: Php Email, HTML Email

Sending a Simple Text Email

sarapeter wrote 10 months ago: At first let’s consider how to send a simple text email messages. PHP includes the mail() func … more →

Tags: php, Php Email, Simple Text Email

how to remove html tags from text in php

sarapeter wrote 10 months ago: if you are reading my post, its probably because you want to remove html tags from your posts or for … more →

Tags: remove html tags

Mission: How to disable context menu on a web page?

Administrator wrote 1 year ago: Solution: Use oncontextmenu=“return false;” in the body tag of your html to disable the … more →

Tags: Developers, javascript

Getting fields from mysql table using code file drupal,mysql,php

inderweb wrote 1 year ago: Many times it is needed to get the structure of table in PHP file or drupal module.There may be cond … more →

Tags: Drupal, php, mysql, Table

PHP Email Address Validation

sarapeter wrote 1 year ago: <?Php function check_email_address($email) { // First, we check that there’s one @ symbol, … more →

Tags: Php Validators, Email Address, Email Validator, Php Email

Returning an array of variables from PHP function

sarapeter wrote 1 year ago: From a function we can get back a set of variables by using an array. A function returns any variabl … more →

Tags: Returning Array, Array from function, getting more variables, more than one return, PHP Script

get base link of a web page1 comment

rockmanx wrote 1 year ago: echo “http://”.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']); … more →

Tags: Programming

Computer Ebooks : PHP Ebooks : PHP Concepts, Techniques and Code

123jasim wrote 2 years ago: Book Name : PHP Concepts, Techniques and Code Category: PHP Language: English FileType: PDF File siz … more →

Tags: PHP Ebooks, Computer Ebooks, PHP eBooks, PHP Concepts, PHP Techniques, Download Computer Ebooks and PHP Ebooks


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS