Completed

PHP loop through files

I want a PHP function that loop through PHP files of a current folder and parse some specific content (h1 text, img path) in a PHP file. I joined a sample folder that has the files structure.

I want to be able to exclude files in a php array (or other).

$files_to_exclude = array("[login to view URL]", "[login to view URL]")

I want the script to check if the element exist, if not, not parse.

I don't want to use a big function with echo inside. I want it to be this form:

<?php if ($title) { ?>

<h1><?php echo $title ?></h1>

<?php } ?>

<?php if ($path_to_image) { ?>

<img src="<?php echo $path_to_image ?>">

<?php } ?>

<?php if ($link_to_the_file) { ?>

<a href="<?php echo $link_to_the_file ?>">Link</a>

<?php } ?>

This is an updated zip file to download: [login to view URL]

Skills: PHP, HTML, JavaScript

See more: php flat files, php convert files flv linux, php loop table field type, scripts php delete files, php loop mysql columns, php loop rows columns, php video files upload, flash php multiple files upload, php mysql menu structure, gallery php flat files photo web, file upload php large files, php fatal error call undefined function imagefontwidth, php fatal error call undefined function setopt, referer function code sample php, php list files in current directory

About the Employer:
( 29 reviews ) Compton, Canada

Project ID: #28290350

Awarded to:

vladalexe1990

~~PHP expert is ready for PHP loop function through files~~ Hi, i have rich experience of PHP projects and i can start immediately. i am also expert in Javascript and I always try to write clean, readable and reusable More

$15 CAD in 1 day
(1 Review)
0.1

14 freelancers are bidding on average $27 for this job

gursukh

Hi I can help you with the php loop. I would love to work on your project. I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. I have long experience with ri More

$30 CAD in 1 day
(358 Reviews)
7.6
topworkerbd

I am offering my service on PHP loop through files I am PHP developer and i have more than 4 years of experience. Relevant skill and Experience please consider me and give me chance to impress you by my quality servic More

$30 CAD in 1 day
(125 Reviews)
5.9
amjadali4888

Hi i can create loop that read files from current dir i can start right now and finish asap waiting for positive response regards

$25 CAD in 1 day
(108 Reviews)
5.5
mamunstudios

Hi there, I'm interested in your project. Please send me a message so that we can discuss more.I have excellent experience in PHP , MYSQL . I can finish this job within the necessary time frame. I am expert in HTML5, C More

$80 CAD in 2 days
(48 Reviews)
5.3
Ahmed818

Hello, i am full stack developer , i can do this simple task in 2 hours maximum contact me on chat Regards, Ahmed Sobhy

$29 CAD in 1 day
(70 Reviews)
5.1
mdjafferali

Hello I am php developer with 5+ years of experience I will create php function as per your requirement Please start chat with me for details Thanks Jaffer I.

$26 CAD in 1 day
(30 Reviews)
4.3
zimenkoilya2

I read you project carefully and think that the developer you are looking for is just me. I am very skilled in WebDesign/HTML/CSS/JS/PHP/MySQL/AngularJS/Laravel/wordpress and custom development and have been working wi More

$20 CAD in 2 days
(9 Reviews)
3.9
ramraj126

Hello. How are you today? I am Php expert and my skills is unlimited. You can test and confirm. Also I have done a lot of works and I can do it in a short time. If you hire me, I will do my best for you. Please conta More

$10 CAD in 7 days
(5 Reviews)
2.2
ionpodolean

Dear Sir. How are you? My name is Ion Podorean, a professional full-stack web developer from Moldova. I have read your job description carefully and I'm a PHP expert that you finding now. I ensure the highest quality o More

$50 CAD in 1 day
(1 Review)
1.7
jassirai

Hello, I am ready to start now. I am an experienced web developer, Develope some websites. I am able to do work as per your requirement and make it mobile compatible. Can we discues further now? Thanks.

$20 CAD in 7 days
(0 Reviews)
0.0
IvanDor

Hi, Benoit. I've read your explanation carefully and have a picture of your project. I'm familiar with PHP, JavaScript and HTML and have 5+ year of experience. If you hire me I'll finish it at once. Looking forward fro More

$15 CAD in 1 day
(0 Reviews)
0.0
yasiraslam2

Hi there Contact me will all your project details to discuss it further. I am a System Architect for ADDO AI with three years of industry experience with practical development experience in various programming languag More

$20 CAD in 1 day
(0 Reviews)
0.0
Gowresankar17

Hey, Hope you are doing well. I have read your requirement and did some hands-on with your sample php files. I can extract the required data for you in a short span of time hours. Looking forward to work with you. Ho More

$10 CAD in 1 day
(0 Reviews)
0.0