![]() |
modifying files content via php
I am trying to build something for which i would need to modify a files content via another file.
eg i have say 2 files file1.php and file2.php i want to modify the content of file2.php(in that just one line i have to modify. supposing it reads PHP Code:
what i want to do is to execute file1.php and from a variable thats generated there (i get value of {some name} from file 1, i update the file2.php. possible? i read that creating a new file2.php might do this also. PHP Code:
|
An idea via pseudocode...
Code:
if some condition from file one |
hi calorie.. thanks.. i had completely forgotten about this thread :)
yep i had gt it working with str_replace that day only thanks btw :) |
All times are GMT. The time now is 06:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|