PHP script to display an Image based upon Txt file parameters

Simple Web Image Script

I need a simple PHP script to do the following on a website.

• I want to be able to show an JPG image X amount of times when a URL with certain parameters are called.

• When the image is displayed an email should be sent containing the date / time / IP address look up location and name of image shown

• When the image If the image has already been shown more than X then the image should not be displayed.

• As the parameters are really simple I dont want the hassle of maintaining a SQL database. I want to the information in a text file (which will be read and written to by the script).

• The image must remain hidden unless the correct URL is provided. The image cannot be accessible without the correctly formated URL

The deliverable s will be the script on my webserver. I will provide FTP details.


Text file

IMAGE1: [[login to view URL]] - where AAA = image name e.g "[login to view URL]"

NAME1: [BBB] - where B = the image name e.g. "pic"

TRIESLEFT1: [C] - where C = the amount tries on that URL for that image

TIME1: [D] - time in seconds the image is displayed before the screen refreshes

IMAGE2: etc etc - as above



TIME2: etc etc

up to four images in the Text file.

The script needs to check up to 4 possible images in the fields IMAGE1 /2/3/4 - so you will need to open the TXT file and parse it.

The Images need to be in a hidden directory (use an .htaccess) so no one can access them.


IMAGE1: [[login to view URL]]

NAME1: [piccyone]


TIME1: [5]

If the URL http:\\[login to view URL]\?pic=piccyone is called then the follow actions should happen

1) IF TRIESLEFT <>0 then the picuture [IMAGE1 path] will show in the screen

2) after 5 seconds the screen will clear and the picture be removed (try and stop people pausing the script). Blank screen

3) the Text file should be opened adn TRIESLEFT should be decreased by 1

4) Send the email with the subject SUCCESS “piccyone” viewed at YY/MM/DD @ HH:MM from IP “New York, USA”. No need for email body

5) IF TRIESLEFT = 0 then print “Link Expired”

6) And Send an email with the subject “FAIL EXPIRED “piccyone” viewed at YY/MM/DD @ HH:MM from IP “New York, USA”. No need for email body

Team or single person fine.

Taidot: PHP, HTML, Javascript

Näytä lisää: php script display query results, php script add lines based count, php script basic image editor, php script upload image imagehack, image upload php script rar image, display image based url parameter, php mysql display image text database, php display image based referer, joomla php script display field database, php script display images mysql website, display image based referring url, php script display next picture category, php script ajax image host, php script stamp image design, php script display name login, php script webcam image, php script display csv file, php script reduce image file size, php script reducing image file size

Tietoa työnantajasta:
( 31 arvostelua ) London, United Kingdom

Projektin tunnus: #23952327

Myönnetty käyttäjälle:


Will make you an image script with email notification with a text file for data storage. I am a senior web developer with over 15 years of experience, and I would like to help you with your project. Your requirement i Lisää

£10 GBP 1 päivässä
(5 Arvostelua)

17 freelanceria on tarjonnut keskimäärin 28£ tähän työhön


I can make this image generation script. My average project completion time is within 3-5 hours on the same day. The skills I have include PHP, HTML5, CSS3, JavaScript, jQuery, WordPress Themes & Plugins, Web Scrapers Lisää

£90 GBP 1 päivässä
(245 arvostelua)

@FREELANCER_RECOMMENDED ------------------------------------------------------ Can help... I am a PHP GURU... Lets Start! Please start a Discussion with me and we can get started from there... Please check the past pro Lisää

£100 GBP 7 päivässä
(82 arvostelua)

Hi, Hope you are doing well! Thanks for sharing your project requirement with us. It will be our great pleasure to work on your project. I have checked your requirement, yes we can do it, because we have right skills Lisää

£40 GBP 2 päivässä
(209 arvostelua)

Hi, I shall implement a text parser script base on your specifications and process within 2hrs. Kindly reach out. I will be using core php programming to achieve this.

£30 GBP 1 päivässä
(39 arvostelua)

Hello, I'm Ankit I'm interesting your project very well I'm good in Website Design, HTHML, CSS , JAVASCRIT, JQUERY, AJAX, PHP and mysql expert. I’m quite well experienced in these jobs. Let's go ahead with me I wan Lisää

£10 GBP 7 päivässä
(57 arvostelua)

I have been working in this filed for last 8+ years and handled enormous cases with a warm appreciation. All my clients have been very satisfied by the services I had been [login to view URL] may review my profile. I can del Lisää

£30 GBP 2 päivässä
(83 arvostelua)

Hello, I am a java Developer.I also have strong knowledge of the skills listed below: 1- java, JavaScript, javafx, Html, CSS. 2- Native Application. 3- Mobile Application. 4- Web Application. 5- SQLite, MySQL. You w Lisää

£15 GBP 7 päivässä
(38 arvostelua)

i will write php scrpt display an Image based upon Txt file parameters Hi there! I've read the project details and ready to start making but can you message me i want to ask some questions about that. I am new to free Lisää

£15 GBP 7 päivässä
(50 arvostelua)

Hi, i can code your script to to display an Image based upon text file config. I can do this in 2 days, all payment after script tested and delivered. I wait your message to start work on it, best regards. Nicolas

£20 GBP 2 päivässä
(4 arvostelua)

There, I am pleased to have your attention even just for a while. After going through your project details, I have found that it’s totally according to my interest and expertise, which you can see through my profile as Lisää

£15 GBP 7 päivässä
(2 arvostelua)

Hello I am Ready To Start now. I have 7 years of experience in PHP as well as Wordpress,Shopify OpenCart, Codeigniter, OsCommerce….a nd also in responsive CSS3, bootstrap, html5. etc [login to view URL] https: Lisää

£15 GBP 7 päivässä
(1 arvostelu)

Dear Client, I can create this script in Core PHP.. My Recent Project in CorePHP: [login to view URL] Thanks

£10 GBP 2 päivässä
(5 arvostelua)

Dear sir! How are you. I read your project details carefully and I thought that I am the best fit developer for your project. I have rich experience with Html/javascript/php, so I have a clear way to complete the proj Lisää

£20 GBP 1 päivässä
(1 arvostelu)

your satisfaction is my priority Hii I got your concept- I will do it. Please give me access to solve it I have 7+ years of relation with PHP I'm very much keen to build a long-term relationship with you by starting Lisää

£10 GBP 1 päivässä
(3 arvostelua)

Dear customer, After reading over your application this looks like a perfect fit for our skill sets. We are full stack web developing company specializing in Laravel , Reactjs, React Native, Vuejs, Bootstrap, JQuery. W Lisää

£30 GBP 4 päivässä
(1 arvostelu)

Hello! I can do it and start it rigth now. I‘m a full stack developer with more than five years of experience in web development, and about skills and abilities for software quality assurance and data entry and proc Lisää

£11 GBP 7 päivässä
(0 arvostelua)