Completed

need a php 7 function

If we have a string such as this:

Images:

[img]http://animageurl[/img]

[img]http://anotherimageurl[/img]

URLS:

[url="[login to view URL]"]Google UK[/url]

[url="[login to view URL]"]Google[/url]

Videos:

[video="youtube"]N57E1yCTyU8[/video]

[video="dailymotion"]x2y3inj_the-endangered-species-act-preventing-extinction-recovering-species_news[/video]

[video="liveleak"]210_1491917570[/video]

[video="veoh"]v95423944CMpSnBZH[/video]

I need a class building that will:

1. Take each instance of an image, ie. [img]http://animageurl[/img] and output <href="http://animageurl" target="_blank">View Image</a><br />

2. Take each instance of a url, ie. [url="[login to view URL]"]Google[/url] and output <href="[login to view URL]" target="_blank">Google</a><br />

3. Take each instnace a video and out whatever format is required dependent on what is shown betweeen the speech marks ie. video="a key" the key will relate to

an array (I will provide the array) and then output the video url in the format <a href"url from array+ value between [video] tags" target="_blank">View Video</a>

eg. If we take the you tube video the array would hold the variable "[login to view URL]" so the class will output <href="[login to view URL]" target="_blank">View Video</a><br />

So I will pass to the class a string and the class will parse the string and out a new string will all the images, urls and vidoes in the string passed as above.

Thank you, any questions please let me know.

Skills: PHP

See more: delete records function php, using case else function php, input function php, search function php, received template php need change, datediff function php, bidding function php, integral function php, image sepia function php samples, php modify variable, keyword extract function php, php pass variable next page, dateadd function php, search function php drupal, vb6 mid function php, view check box mail function php, search function php form

About the Employer:
( 22 reviews ) Middlesbrough, United Kingdom

Project ID: #13637319

Awarded to:

rohitagarberg

Hi sir, I have read the requirements completely and will create the class within 2-3 days and then will do 3-4 days of user testing and bug fixing based on the array for video tags that will be provided by you. thanks

£283 GBP in 7 days
(345 Reviews)
6.5

27 freelancers are bidding on average £453 for this job

sismaster

Hello sir i can easily do this task let me know if you are here I'm looking forward to hearing from you. BEST THAT I TRY ALWAYS PLEASE HAVE A LOOK https://www.freelancer.in/u/sismaster.html Look forward to he More

£250 GBP in 2 days
(482 Reviews)
7.6
hardcode4u

Dear Sir, Our kind regards to you. My name is Ishant Gupta and I am well-qualified PHP developer having an experience of 7+ years. I can do this PHP Script for you. You can take a look at my profile for my exp More

£450 GBP in 20 days
(112 Reviews)
7.3
AltiuseCreaton

Hi, I can do your job but need to make a short chat discussion with you. let me know if possible for you. please let me know. You can check my profile and feedbacks of clients which itself I got from them . Hope the More

£588 GBP in 10 days
(73 Reviews)
7.1
itBoss1227

Hi I am very interesting your project. Already I built many websites using PHP 7. Also I have full experience of Css and Javascript Once you contact me, You can see my old project urls. My target is 100% success j More

£250 GBP in 10 days
(19 Reviews)
7.2
£635 GBP in 7 days
(130 Reviews)
7.4
iglobalvn

Hi sir, I have read your requirement carefully. I am interested to work for this project and i will provide within or before 10 days . If you wanna confirm me, please check my work history and portfolio kindly. T More

£300 GBP in 10 days
(73 Reviews)
7.2
prashushinde9

I want to discuss this project with you further, let me know the best suitable time for you to schedule the meeting, Feel free to message me at any time, i used to be online 14 hrs in a day on this website so probably More

£588 GBP in 20 days
(53 Reviews)
7.1
Shopify

Hi, I (Myself a senior PHP Developer) have a team having experience of more than 10 years in developing web and mobile applications. I have a team of expert programmers who write robust and bug-free codes at the ve More

£721 GBP in 10 days
(26 Reviews)
6.9
mike199

Hi, my name is Mike, I’m based in Oxford, UK. Your project description sounds interesting to me and I do have skills & experience that are required to complete it to a high standard. I can show you some examples of my More

£555 GBP in 10 days
(47 Reviews)
6.9
retheeshwork

Hi, I am Retheesh and i have more than 7 yrs of exp and can very well do your project as per the project description given. Portfolio: [login to view URL] Completed projects: http://u More

£794 GBP in 10 days
(81 Reviews)
6.3
£250 GBP in 10 days
(176 Reviews)
6.4
Max01

hello hope you are doing well I am interested to work on this project. Gladly waiting to serve you with my extensive skills. s-k-y--p-e=+e maxcomputers1

£250 GBP in 1 day
(216 Reviews)
6.4
ranjansingh006

Hello Sir/Madam, I have six years of experience in php.I have experience of working on different type of php site.I am an expert on php because i have worked six years on php site. I have gone through all of your re More

£588 GBP in 5 days
(74 Reviews)
6.0
anil31091

Hi there, Hope you are doing great.I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. I could definitely help you with this. Lets discuss details on More

£666 GBP in 3 days
(34 Reviews)
5.8
i333

Hi, I understand what you need and happy to develop this script ASAP for you and yes, it will have all features you mentioned including YouTube links! :) quick question, you need this as a standalone PHP script, correc More

£250 GBP in 1 day
(66 Reviews)
5.5
RubyOnRail

Hello, It's a pleasure to let you know that I've Completed and Delivered similar project before. All I need to work on customization part if we can proceed towards more discussion. I have gone through your project More

£833 GBP in 15 days
(10 Reviews)
5.7
brendanmullan90

Hi there my name is Brendan and i am an expert in Web Development with over 9 years experience. I have read your project and see that you need a class/function that when passed a certain string such as a img, video, More

£250 GBP in 1 day
(46 Reviews)
5.6
dominikgyecsek

A proposal has not yet been provided

£250 GBP in 3 days
(10 Reviews)
5.2
amit4uservices

only 15 to 20 mins needed.. I can definitely solve your problem.. lets chat and discuss further.. thanks in advance.

£500 GBP in 1 day
(26 Reviews)
4.8
zdesign77

Hey, how is it going today? My name is Michael, I'm a web designer/developer from Boston. I've had a look at your project description and feel that my skills match your requirements perfectly. In fact, I did a very sim More

£555 GBP in 10 days
(7 Reviews)
4.9