Completed

PHP function needed

I require you to write a PHP function that I can call like this....

------------------

combine_pdfs($input_files,$finished file) // this is the function you need to write

{

//combine $input_files into $finished file

}

$input_files=array('[login to view URL]', '[login to view URL]'); // this is input

$finished_file='[login to view URL]'; // this is input

combine_pdfs($input_files,$finished_file); // this initiatives the PDFs to be merged

--------------

As you can see above, I would pass into the function 2 or more Urls of existing PDF files on the local server, and then the name of the finished PDF I want.

The function would combine the PDF files, saving them into 1 PDF by the name that is passed to it.

In the above example the final combined PDF file would be called '[login to view URL]'.

Both the input PDF files and the output PDF files should be relevant links to the script running.

For example, I could alternatively pass in relative URLs such as…

$input_files=array('/images/[login to view URL]', '/files/pdfs/[login to view URL]');

I know that there are PHP libraries that already do what I'm asking, such as FPDF ([login to view URL]) and FPDI ([login to view URL]). I am happy for you to use these existing libraries (copying and pasting them as you need). However, I don’t want a solution that involves multiple folders and multiple files. Having multiple files and folders will confuse me.

I just want 1 php file. It’s okay if the PHP file is very long (thousands of lines), containing many functions/classes all in the one file. That’s fine.

My goal is for there to be only 1 PHP file, and that I am able to initiate the PDF merging with 3 simple lines of code…

$input_files=array('[login to view URL]', '[login to view URL]');

$finished_file='[login to view URL]';

combine_pdfs($input_files,$finished_file);

Skills: PHP

See more: php require vs include, php require_once, php require not working, include_once in php, php include file path, php include, php require vs require_once, php require path, php script running vps, php code file attach script mail, free php redirecting affiliate links script, php function convert url links, convert links php function, php function convert links block, code pop3 email script php, php function convert url text links, upload radio links script php, clon php links script, programmer needed code php, free manuel embed code add video script php

About the Employer:
( 0 reviews ) Meridan Plains, Australia

Project ID: #16523419

Awarded to:

mastersapp

Hello Sir/Ma'am, Best wishes of the day! Sir my developers are well expert in IT software industry of over more than 5 years in this field and well versed in PHP. We are able to do your project with an eminence More

$100 AUD in 3 days
(45 Reviews)
5.9

46 freelancers are bidding on average $157 for this job

Yknox

Dear, I am Smile Song, WEB developer in China. I've just read your job posting and I’m very interested. I'm a certificated freelancer with almost 800 good reviews from clients. I have experienced knowledge in every More

$155 AUD in 3 days
(560 Reviews)
8.7
moonwebtech

Hello I have read your requirement but when we will use PHP libraries then we need to included that files and then need to use function according there rule but please feel free to contact me for this task Thank yo More

$155 AUD in 3 days
(175 Reviews)
7.2
latatestTech

Talented team is here for your website. I have done same kind of function in past for the same reason we have great understanding of your requirements. We can start project asap. To get desired result we have team o More

$200 AUD in 3 days
(136 Reviews)
7.6
xplorr007

Hello, I am interested to work on your project. Of course libraries would be used, without that it wont be easy. And when we use libraries, files will be multiple. But we can organize the files in a way, so that you More

$250 AUD in 2 days
(96 Reviews)
6.5
deepakdiwan

Hello, I am having 5 years of rich experience in php. Please find my skills in-line to your requirement here as follows: 1. Expert level knowledge in Open Source Technologies like Apache/Linux. 2. Proficient in More

$257 AUD in 3 days
(96 Reviews)
6.9
Sunita0610

Hi , I am an expert Web developer. I can do this project. I will provide you quality work and 100% satisfaction and quality work. let's discuss this project. Please have a look at my portfolio. www.graphicspapa.c More

$210 AUD in 10 days
(120 Reviews)
6.8
imagicaworld

Hello. I have just read your requirements. I have deep experience in skills you need so i can finish your project in a short time. Please see my past work:- [login to view URL] Hope you find checki More

$155 AUD in 3 days
(69 Reviews)
6.3
ykarora26

Hello Sir, I am an experienced professional web master, working with Shopify, big commerce volusion, Word press, joomla, magneto, open cart, prestashop for over 8 years now. I have knowledge of HTML, CSS, jQuery, More

$100 AUD in 3 days
(111 Reviews)
6.3
anatolygenay123

Hello. I am a PHP expert. I can do it perfectly. Thanks.....................................................

$200 AUD in 3 days
(24 Reviews)
5.8
ludwig333

hello I have read your description very carefully. I am very interested in your project. I am full stack web developer. I can do your job in time.

$155 AUD in 3 days
(24 Reviews)
5.8
sun0815

Hello,client I'm very interested in your job I am expert of php I have experience in this job. There is library for integrate 2 pdfs. You said make one file. So you mean include library in php file? Please disc More

$200 AUD in 3 days
(27 Reviews)
6.0
Lavlu

Hello Sir,We are very much comfortable to do it. Please check portfolio: [login to view URL] We have developed many custom CRM Systems for our clients and i can show you that for trust factor. I have few question re More

$200 AUD in 3 days
(30 Reviews)
6.8
bjrupani

Hello hiring member i am bhavika i have 2.5+ years experience in php ,laravel i have done many types of pdf work domf pdf tcpf so you can trust my skill i can fix this things so please give me chance to serve you thank More

$100 AUD in 0 days
(58 Reviews)
5.6
$155 AUD in 3 days
(35 Reviews)
5.6
a6jack

Dear, DEMO OF THIS PROJECT: [login to view URL] I have been using FPDF/FPDI and it doesn't support PDF >1.3 So I use TCPDF in the above demo. Please let me know if you have question. More

$250 AUD in 1 day
(35 Reviews)
5.4
suniljoshi151

Hi, I can start work on your project immediately once you confirm me and i am also open for further discussion if you want. I have 7+ years in web designing & development with good experience in following skills More

$200 AUD in 3 days
(53 Reviews)
5.9
amitbanerjee2812

Dear Hiring Manager, I read your job description you require i to write a PHP function as you like I am confident that I can exceed your expectations. I am a professional programmer on PHP+MySQL+WordPress. More

$39 AUD in 3 days
(20 Reviews)
5.0
manjeet2017

Hi, I went through your requirement and feel comfortable to do this job. I have good experience in website design & development. Please initiate chat to discuss further.

$155 AUD in 3 days
(25 Reviews)
4.5
$155 AUD in 3 days
(14 Reviews)
4.6
$200 AUD in 3 days
(33 Reviews)
4.8