My
wife and I each have our own email addresses. Common, though she is
irked by a few friends who don't. They can only be emailed by sending to
the joint "family" email, often actually just the husband's name. Trust
issues? Anyway...
Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts
Unknown
2:53 AM
php list all directories and its files and subdirectory
Often you
may need to list all the directories and subdirectory/files in tree
structure in your side panel as the content or examples. This kind of
things are mainly required in Educational or Learning blogs.
Unknown
2:51 AM
Send php mail using gmail smtp server
Everyone looking for cheap/free and reliable smtp server to send mails
using php. Gmail is the one of the best and reliable way to send the
mails from php.
Unknown
2:50 AM
Import-insert data from csv file to mysql using php
Import/Inserting data into mysql with load data query. Using load data infile query we can easily insert data into table.
We already have seen the tutorial on how to export data into csv - click here to see export csv tutorial
We already have seen the tutorial on how to export data into csv - click here to see export csv tutorial
Unknown
2:49 AM
Create-Export csv file from mysql using php
Often you or your client has requirement to generate/create/export table records of database in excel sheet.
Now it is possible to generate excel sheet of mysql database table using php.
Now it is possible to generate excel sheet of mysql database table using php.
Unknown
2:47 AM
Read word files using php
In
php tutorial we will see how to read word document .doc and .docx into
browser. Generally it is not possible to read word file into browser
with php. While pdfs can easily be embed into html.
Unknown
2:37 AM
fpdf tutorials with examples
FPDF is free and uses pure PHP code. Full form of FPDF is free pdf. easily available and uses PDFlib to generate pdf files.
Unknown
2:36 AM
fpdf manual and cheatsheet
AddFont(string family [, string style [, string file]])
Ex. $pdf->AddFont('Comic','I','comici.php');
family : font family ex times new roman, comic, etc.
style : Bold, Italic, Underline
file : Name of file for font.
Ex. $pdf->AddFont('Comic','I','comici.php');
family : font family ex times new roman, comic, etc.
style : Bold, Italic, Underline
file : Name of file for font.
Unknown
8:41 AM
Resizing Uploaded Files - PHP
Resizing Uploaded Files - PHP
In this tutorial, I will teach you how to resize uploaded files to make them have either a fixed size, or a certain percent of its former size. The advantage of resizing uploaded files are many:
Unknown
8:34 AM
Facebook-Like Friend Suggestion
Facebook-Like Friend Suggestion
Are you developing a social network and just wondering how facebook made friend suggestion. It's easy! In just one MySQL query you can fetch mutual friends
for a particular user logged on to your social network site. Keep
reading and in a little moment, you will see its no trick at all.
Unknown
8:13 AM
Simple PHP Captcha Script
PHP Image & Captcha
In this tutorial, I will teach you how to validate a simple captcha image. It requires PHP GD2 extension. In case you are testing on localhost, ensure it is enabled first. We will create only two files- NewImage.php which generates the image, and saves value to session, and index.php that does validation.
Unknown
6:26 AM
PHP Cheat Sheet
PHP Conditions & Loops
if (condition) { action }elseif (condition) { action }
else { action }
Unknown
6:10 AM
Free Web Mail PHP Scripts
- Roundcube - Open Source Webmail Software
- Roundcube
can be installed on your website to give you access to your email via
IMAP. It supports MIME messages (including attachments), HTML email,
message forwarding, address book with "find-as-you-type" facilities and
groups and LDAP-connectors, searching of email and contacts,
threaded message listing, access control lists, unlimited users, multiple sender identities, IDNA support, etc. You will need PHP as well as access to database facilities (either MySQL, PostgreSQL, MSSQL, or even just SQLite). The software is open source and licensed under the GNU General Public License.
Unknown
6:08 AM
GoDaddy, cURL, HTTP, and 403 Errors
I
was recently coding PHP cURL functionality for a GoDaddy-hosted website
and I kept running into an annoying 403 error. Essentially, GoDaddy’s
proxy server (which they force you to use for cURL) was giving me a
“Forbidden” error and wasn’t trying to hit the necessary server. Here’s
the code that GoDaddy tells you to use for cURL transactions: