|
Posted by Stefan Schwδrzler on 09/07/06 16:27
Chung Leong wrote:
> Stefan SchwΓ€rzler wrote:
>> ZeldorBlat wrote:
>>> Stefan SchwΓ€rzler wrote:
>>>> hi ng,
>>>> there is an html-file on a webserver, i.e. web34.htm
>>>> every day, the file will be updated and extended.
>>>> i'm looking for php-code, that show me the difference or better, the new
>>>> text between the old and the updated file.
>>>> a line to line comparision is not possible, because the file will bei
>>>> extendend.
>>>> any suggestions?
>>> You're probably much better off using the "diff" program rather than
>>> looking for PHP code to do it. If you really need to do something else
>>> with it in PHP you could always call diff using exec() or passthru()
>>>
>> diff is not possible, because the server do not not allow to execute
>> unix commands.
>>
>> any further suggestions?
>
> See http://pear.php.net/package/Text_Diff. A pure PHP solution.
>
but i can't install any package on the server.
furthermore i wan't not look for the differences between two files,
rather the updated text in an htm file
[Back to original message]
|