Autor | Zpráva | ||
---|---|---|---|
Darker Profil |
#1 · Zasláno: 13. 7. 2012, 21:21:32
echo "Pocet:".count(explode("\r\n\r\n",$data))."; Prvni:".(strpos("\r\n\r\n",$data)!==false?strpos("\r\n\r\n",$data):"NENALEZENO")."\n\n"; Pocet:18; Prvni:NENALEZENO HTTP/1.1 404 Not Found Date: Fri, 13 Jul 2012 19:16:16 GMT Server: Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 Vary: accept-language,accept-charset Accept-Ranges: bytes Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 Content-Language: en 1e <?xml version="1.0" encoding=" a ISO-8859-1 a8 "?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang=" e en" xml:lang=" 15 en"> <head> <title> 39 Object not found!</title> <link rev="made" href="mailto: 117 postmaster@localhost" />[...atd, všichni tuhle stránku známe] |
||
Keeehi Profil |
Máš to totiž obráceně.
strpos($haystack, $needle) |
||
Darker Profil |
Keeehi:
No jasně, spletla mě ta funkce explode... Dík. |
||
Časová prodleva: 12 let
|
0