Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development
Register

Reply
 
LinkBack Thread Tools
Old 09.10.2003, 14:19   #1
ppz kkz
 
Davit's Avatar
 
Join Date: 03 2003
Location: at home
Age: 33
Posts: 111
Downloads: 0
Uploads: 0
Reputation: 19 | 3
Default vopros PHP

Uremn joxovurd jan , senc mi hat harc ...
Unem ".txt" file ruserenov , u PHP-ov petqe kardam mijiny. Erb grum em senc mi ban `

PHP Code:
<?
    $handle 
fopen ($filename"rb");
    
$content fread ($handlefilesize($filename));
    
fclose ($handle);
    echo 
$content;
?>
ameninch normal stacvuma. Bayc erb hankarc ed amboxj graci skzbum avelacnum em tekuz mi hat PROBEL , lriv ankap simvolnera durs berum ...

PHP Code:
<?
    $handle 
fopen ($filename"rb");
    
$content fread ($handlefilesize($filename));
    
fclose ($handle);
    echo 
" ".$content;
?>
Ov karoxa asel , inchi heta kapvac ?????

Platform - Windows 2000 Server
PHP Version 4.2.3
Reply With Quote
Old 09.10.2003, 15:51   #2
Дошкольник
 
Dark Abyss of Yerevan's Avatar
 
Join Date: 01 2002
Location: hell
Posts: 124
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

isk im mot et nuyn ban@ erku dzevov el normal ashxatec
Platform - Windows 2000 Workstation
PHP Version 4.2.3

mi hat porci et ankap simvolner@ stanaluc heto browseri encoding@ poxes ..
Reply With Quote
Old 09.10.2003, 16:15   #3
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

Idz tvum e vor problem@ "b" falg-i mej e.
"b" nshanakuma vor OS-@ spasuma 2-akakan file(binary).
Hani b-n u nirmal kashxati IMHO
Reply With Quote
Old 11.10.2003, 11:57   #4
ppz kkz
 
Davit's Avatar
 
Join Date: 03 2003
Location: at home
Age: 33
Posts: 111
Downloads: 0
Uploads: 0
Reputation: 19 | 3
Default

to Dark Abyss of Yerevan
che , encoding-i problem chi , vorovhetev hamarya bolorov pordsel em ))

to VX
problemy dra mej el chi , "b" flagy xangaruma miayn ayn depqerum , erb "enter"-i problemner unes , isk es harcum inqy der chi xaxum .


im mot Windows-@ angeleren nastroykeqa arac , chgitem miguce dranica , arden ban chem haskanum ...
Reply With Quote
Old 11.10.2003, 13:23   #5
Дошкольник
 
Garik Manvelyan's Avatar
 
Join Date: 05 2003
Location: Armenia,Yerevan
Age: 40
Posts: 145
Downloads: 1
Uploads: 0
Reputation: 32 | 3
Default Увы...

Увы, и у меня все заработало нормально в обоих случаях.

Windows 2000 ;
PHP Version 4.1

Может что то с самим рускоязычным текстом?
Reply With Quote
Old 11.10.2003, 15:46   #6
ppz kkz
 
Davit's Avatar
 
Join Date: 03 2003
Location: at home
Age: 33
Posts: 111
Downloads: 0
Uploads: 0
Reputation: 19 | 3
Default

Da net , s tekstom vsyo normal'no , u menya doma toje vsyo otlichno rabotaet , a na rabote - net .
Vobshem ya dumayu shto eto iz za nastroek v Windows , tam nastroen angliyskiy yazik , a ne russkiy ...

s armyanskim i s angliskim vsyo normal'no ... , no tol'ko ne s russkim ...
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 02:25.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.