
Search In
Let's suppose we have one project in Swift and we want to include .m file of Obj C in our project, for that we have to follow below steps.
1. Drag your objective C .m file in swift project. Once you drag, you will get one pop up as shown
Below we first creating a html form, which contain a field for uploading a file and a submit button for submiting form.
<html>
<body>
<form action="file_upload.php" method="post" enctype="multipart/form-data">
Select image wh
This blog is going to explain "How to apply multiple layout in CakePHP".
By default layout file located in (app/View/Layouts/default.ctp) in CakePHP. if we don't apply any layout, then all pages will take default layout.
if we are requi
The social networks in these days works as a powerful tool for the advertisment or say for promoting the store content.
Like Facebook as it has like button and share button which allow users to share it on web.
To add the Facebook "Like" b
Need to post data to a payment processing website - but need to validate and preprocess first
Apologies if this is a dumb question. I am not an experienced web programmer.
I am trying to integrate an online payment processing site with my own websi
Hello Reader's!. Now multiple files on a single getting in fashion so you can use any of the multiple upload library code, But here we'll see how to use Jquery and PHP to do the same
For getting it start we need a html form page and it'll go like
Please take a look at the code below. We've got a class FightService, which implements a logic of a fight between two heroes. After the fight one of the hero may lose some health points.
Please implement a test for FightService::fight()
Hi Readers,
The below code snippet will give you the meta data of an audio file. You need to add an audio file in Resource Folder. Once that is done use the below code. Let us also understand the code.
- (void)viewDidLoad {
[super view
If you want to show a pdf file with the readable text from it on the page you can achieve it by seeing the code below
We will use a php library (pdfparser). This function will get the exact text as what you need
http://www.pdfparser.org/
Step 1:
Y
In the cases when you execute any server and your attempts to load a new page view and then your codes in directive gets loaded before your services are updated so you can using $rootScope.
This is an example of above case
View
<service-histor
