![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Require Help for Shell Script | jagnikam | Shell Programming and Scripting | 14 | 02-04-2008 03:04 AM |
| require alternate command for lsof | logic0 | UNIX for Dummies Questions & Answers | 1 | 05-17-2007 12:41 AM |
| Regarding use and require keywords | sweta | Shell Programming and Scripting | 2 | 03-16-2006 07:09 AM |
| require help about cut command | vikramchots | UNIX for Dummies Questions & Answers | 2 | 09-04-2005 10:50 PM |
| Command to require OS info | malaymaru | SUN Solaris | 4 | 05-02-2005 10:07 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
require in first line
I have a website with a lot of php files. I need to to have the line (where "requiredfile.php"' should be a valid reference to the requiredfile.php in the top directory):
require "requiredfile.php" as first line in every php file. The requiredfile.php will be in the top dir and the line I mentioned must contain a valid reference to the requiredfile.php. PLease help me with a script for this task. Thanks. |
| Forum Sponsor | ||
|
|
|
|||
|
I was looking for unix script involving sed or something like that.
http://galileo.spaceports.com/~ibidris/ |
|||
| Google UNIX.COM |