Featured
-
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Best 5 Lightweight PHP Frameworks for REST APIs Development
Are you ready to develop the Rest AP
by ankur.kumar -
PHP: Full-Stack Framework vs Micro Framework
A web framework can be described as a software fra
by ankit.bhatia -
How to get facebook profile picture by Facebook App
If you would like to get your profile picture in f
by vivek.rastogi -
Creating RESTful API in cakephp
This tutorial will help you to learn how to create
by pushpendra.rawat
Tags
Multiple Image Uploads in Cakephp
Hello Readers.! Here is a small blog on how to upload multiple images in database using cakephp.File uploading, nowadays is a very basic and common functionality. Here in this blog we will be uploading an image which will be stored on t...
Upload file to server using PHP
We can use php and html to upload the file to the server.
Initially the file are added to the temporary folder and then are transfer to the server by using the script.
phpinfo.php define the temporary file that is used for the upload....
How to get playtime, height and width of a vedio by PHP
Hello Reader's if you want to get the details about the vedio from your local server then you can use the code liberary as below:-
$ffmpeg_path = 'ffmpeg'; //or: /usr/bin/ffmpeg - depends on your installation
$vid = 'PATH/TO/VIDEO'; //Rep...
File upload in PHP.
Hello Reader's ,
While building any appication we definatley requires images to upload like profile image , company image etc , for this we require php file upload code .
You will get image data in array i.e. image name , temp name , image...
Rename files during upload within Wordpress backend
If you want to rename the file name at the time of upload, it is a right place to know the solution. Let's discuss this requirement.
We all know there are many hooks available in Wordpress. We will use the filter named sanitize_file_name. You ...
Check file exists or not
Hello Reader's today we discuss about "Check file exists or not in Php".
HTML code :
<!DOCTYPE html>
<html>
<body>
<?php echo $message; ?>
<form enctype="multipart/form-data" method="POST">
<input type=...
FIle Upload Code
Make sure that the shape employs method="post"
The shape also desires the subsequent feature: enctype="multipart/form-data". This specifies which in turn content-type to utilize as soon as posting the form.
Without worrying about demands abov...
Upload image through AJAX form in PHP
You can easily upload an image through form in PHP.
You need to add JavaScript file for send image data on server side through AJAX.
Please add query.form.js in your code. You may download this js file form following link:
https:...