dictionar php
Last Updated: Jan 29 2014 09:42, Started by
xnanobit
, Jan 29 2014 08:32
·
0

#1
Posted 29 January 2014 - 08:32

cum as putea sa folosesc urmatorul script pt a putea citi dintr-un fisier .txt?
$search = explode(' ', $_REQUEST["search"]); $lines = file('dictionar.txt'); foreach($lines as $line) { if(strpos($line, $search[0]) !== false && strpos($line, $search[1] !== false)) { echo" <html> <title> $search </title> <body> $line </body> </html> "; } } |
Anunturi
Bun venit pe Forumul Softpedia!
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users