How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
(See all)
3 banners
By madduxsports on Jul 31
Max Bid: $75


webcrawler/inte rnet search engine
By infomaterials on Jul 31
Max Bid: $500


BizTalk / Meta Data Integration Project
By eXml on Jul 31
Max Bid: $15,000


Online CRM
By ICU on Jul 31
Max Bid: Open to fair suggestions


Logo development
By inet29 on Jul 31
Max Bid: $50


PC to Phone & PC
By Csyscom Inc. on Jul 31
Max Bid: $400


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(158 open)
   Access 
(59 open)
   MySQL 
(91 open)
   Oracle 
(12 open)
   SQL Server 
(71 open)
   Other DB 
(26 open)
Documentation / Tech Writing 
(26 open)
   Language (Human) Translations 
(2 open)
Data Entry 
(24 open)
Game Development 
(20 open)
Graphics / Art / Music 
(58 open)
   Graphics 
(65 open)
     Adobe AfterEffects 
(7 open)
     Adobe Photoshop 
(35 open)
     Adobe Premiere 
(4 open)
     3d Animation 
(14 open)
   Art (Misc.) 
(18 open)
   Music 
(13 open)
   Photography 
(4 open)
   3d Modeling 
(8 open)
Language Specific 
(116 open)
   ASP 
(66 open)
   ASP .NET 
(54 open)
   C# 
(44 open)
   C++ / C 
(136 open)
   Carbon (Mac OS) 
(3 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(12 open)
   Delphi 
(48 open)
   Java 
(75 open)
   JSP 
(11 open)
   Perl 
(37 open)
   Python 
(1 open)
   PHP 
(87 open)
   XML/XSL 
(38 open)
   Visual Basic 
(148 open)
   Visual Basic .Net 
(84 open)
   Other 
(62 open)
Misc 
(30 open)
   CAD 
(3 open)
MultiMedia 
(34 open)
   Video Editing 
(6 open)
Network 
(44 open)
   Network Design 
(6 open)
   Network Implementation 
(16 open)
Platforms 
(68 open)
   Windows 
(177 open)
     MS Exchange 
(6 open)
     MS Office 
(19 open)
     Other 
(8 open)
   Internet Browser 
(43 open)
   Linux 
(58 open)
   UNIX 
(22 open)
   Hand Held/PDA Programming 
(12 open)
Requirements 
(15 open)
Security 
(35 open)
Testing / Quality Assurance 
(18 open)
Web 
(174 open)
   Page Design 
(92 open)
   Flash 
(49 open)
   Web Services 
(78 open)
   Web (Other) 
(74 open)
Training 
(14 open)
   Computer Based 
(11 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Simple Templater
Bid Request Id: 54507
Bookmark in my 'To Do' list
Posted by: marktacchi (4 ratings)
(Software buyer rating 10)
Non-action Ratio: Above Average - 33.33%
Buyer Security Verifications: Good
Approved on: Mar 24, 2003
10:12:33 PM EDT
Bidding Closes: Mar 26, 2003
8:36:36 PM EDT
Viewed (by coders): 130 times
Deadline: 3/28/2003
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: PHP
Enter chat room for this bid request
(0 active users at Jul 31, 2003 6:59:45 PM EDT)

Description:
I need to create a file called 'templater.php' with a function in it called 'processTemplate()'. This function reads in a specified template file, parses through the file to check if values have been supplied and returns the processed file.

Note that this function must support nested IFs.


FILE: TEMPLATE1.HTML
------------------------------
include ('templater.php');

$array['APPLES'] = 'y';
$array['MAC']= 'Y';
$array['RED_DELI']= 'Y';

echo processTemplate('/tmp/template/template.html',$array);


FILE: TEMPLATE2.HTML
------------------------------
include ('templater.php');

$array['APPLES'] = 'N';

echo processTemplate('/tmp/template/template.html',$array);


FILE: TEMPLATE.TXT
------------------------------
Hello, here's some fruit!
[IF APPLES]
I got apples!
[IF MAC] It's a Mac[ENDIF]
[IF RED_DELI]It's red delicious[ENDIF]
[ELSE]
Sorry, No Apples
[ENDIF]


OUTPUT 1:
------------------------------
Hello, here's some fruit!
I got apples!
It's a Mac
It's red delicious


OUTPUT 2:
------------------------------
Sorry, No Apples




Deliverables:
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Complete ownership and distribution copyrights to all work purchased.



Platform:
PHP

Must be 100% finished and received by buyer on:
Mar 28, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
jmper
(13 ratings)
in Glogow, Dolny Slask
Poland
Bid id: 587,131
 
$36 (USD) Mar 25, 2003
5:42:36 PM EDT
 10
(Excellent)
   
Actually, I have your problem solved. The script is ready. You can test it here:
http://www.ms-soft.pl/~mirek/temptest.php
There's no syntax error checking, it just assumes that template syntax is correct, so if you try incorrect syntax, the results will be unpredictable, although the script should never hang. Of course if you wish, I can add syntax checking. Keywords in template are case insensitive.

Hope you'll like it.
Greets,
Mirek
 
 
 
 
  See 2 private reply(ies)
to/from jmper.
 




Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Anuj Gakhar
Rated a 9.96 on 104 jobs 
Securenext
Rated a 9.96 on 114 jobs 
Buddies
Rated a 9.83 on 81 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
Codman
Rated a 9.97 on 151 jobs 
Michael Sharp
Rated a 9.98 on 182 jobs 
D-N-S
Rated a 9.93 on 38 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
Maxnet Technologi es Private Limited
Rated a 9.92 on 75 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.