Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 19th, 2006, 04:22 AM
Registered User
Join Date: Dec 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Add lines in php page automatically


I have a folder where a number of PHP files are added periodically. I want to add 3 or 4 lines of code (for user/session authentication) automatically on top of each file.

is there a way ?

Old December 19th, 2006, 04:42 AM
Friend of Wrox
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran

view the solution here

(Anything is Possible)

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML tags to automatically hang bulleted lines? cJeffreywang ASP.NET 2.0 Basics 1 February 6th, 2008 02:12 AM
How to Add Primery Key value Automatically kamran Yousaf Bk C# 1 October 6th, 2007 04:39 PM
Add lines in php page automatically saifi4u PHP How-To 6 December 22nd, 2006 12:13 AM
Add few Lines of code to All new aspx pages. gadhiav ASP.NET 1.0 and 1.1 Professional 3 October 19th, 2005 02:33 PM
add row no automatically Jane SQL Language 9 June 28th, 2004 02:11 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.