A
A
Alexander Sharomet2015-03-31 21:41:06
PHP
Alexander Sharomet, 2015-03-31 21:41:06

How can I find a specific part of a string in a php file?

Hello.
Immediately I say php - I'm no pawn.
I have a question for people who know a lot about this.
How can you open, for example, a .html file, find the following line there
<$include file="include/top.html">
and take only include/top.html from it. Well, like smart.
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
afna, 2015-03-31
@sulik93

You can use regular expressions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question