Znaroks Posted June 10, 2003 Report Share Posted June 10, 2003 Sveiki! Censsos apguut PHP un rakstīju cenāriju sms sūtīšanai kad megginu to apluukot ssis izmet pazinnojumu: Parse error: parse error, unexpected $end on line 105 Bet ssajaa rindinnaa atrodas tikai html beigu tags. Ko noziimee errors? Un kas scenaarijaa buutu jaamaina Apskatiit kodu Jau iepriekss paldies Link to comment Share on other sites More sharing options...
jannis Posted June 10, 2003 Report Share Posted June 10, 2003 slinkums iedziljinaaties, bet varu dereet, ka kaut kur truukst nolseedzosho fuguuriekavu } Link to comment Share on other sites More sharing options...
Znaroks Posted June 11, 2003 Author Report Share Posted June 11, 2003 Jaa! to klluudu noveersu :) Bet parādijās naakamaa unexpected T_VARIABLE on line @Mail ($addr,NULL,$real_txt,"From:sms@php.lv") or die(print_err $reason,$num,$real_txt));Es iisti nesaprotu ko dara NULL. Luudzu paskaidrojiet? Link to comment Share on other sites More sharing options...
jannis Posted June 11, 2003 Report Share Posted June 11, 2003 es arii nezinu kaapeec tev tur ir NULL vispaar es lietoju shaadi mail("$mail","Zinja: ", "$texts", "$headers"); p.s. vai ta gruuti manuaalii ieskatiities Link to comment Share on other sites More sharing options...
Little_Hacker Posted June 11, 2003 Report Share Posted June 11, 2003 Taatad... Primaa bija shite: $real_txt = substr('$sms,0,143)."[..]"; Tur esi nejaushi ielicis lieku *puspeedu* ( ' ), karoche jaabuut shitaa: $real_txt = substr($sms,0,143)."[..]"; Otraaa bija shite: @Mail ($addr,NULL,$real_txt,"From:sms@php.lv") or die(print_err $reason,$num,$real_txt)); Proti esi aizmirsis vienu iekavu :) Jabuut shitaa: @Mail ($addr,NULL,$real_txt,"From:sms@php.lv") or die(print_err ($reason,$num,$real_txt)); Link to comment Share on other sites More sharing options...
Znaroks Posted June 11, 2003 Author Report Share Posted June 11, 2003 Liels paldies Little_Hacker :D Mekleeju klluudas funkcijas nemaz nepieveersu uzmaniibu ssaadaam siikaam klluudaam Link to comment Share on other sites More sharing options...
tamster Posted June 11, 2003 Report Share Posted June 11, 2003 vajadzētu ielikt publiskai kačāšanai kādu gatavu sms sender skriptu, savādāk daudziem vajag un katram jāpūlās no jauna :) Link to comment Share on other sites More sharing options...
Znaroks Posted June 11, 2003 Author Report Share Posted June 11, 2003 Laba ideja tiessam vajadzeetu Link to comment Share on other sites More sharing options...
jannis Posted June 12, 2003 Report Share Posted June 12, 2003 vieniigais - kaa tu domaa iemaaciities kodeet php, ja pat tik elementaaras kljuu das nemaaki izlabot. php tak pac izmet rindinjas kur ir kljuuda, so logjiski domaajosham cilveekam vajadzeetu jaunu saprast Link to comment Share on other sites More sharing options...
Little_Hacker Posted June 12, 2003 Report Share Posted June 12, 2003 Neenu /me jau ar nav nekaads koderis, vienkaarshi, ja jau iekava ir kaut kur atveerta/aizveerta, tad jau vinja ir kaut kur arii jaaizver/jaatver :)) Loogjiski :P Link to comment Share on other sites More sharing options...
tamster Posted June 12, 2003 Report Share Posted June 12, 2003 Dažreiz šādos gadījumos palīdz redaktori ar sintakses izgaismošanu, jebšu highliteingu Link to comment Share on other sites More sharing options...
Little_Hacker Posted June 18, 2003 Report Share Posted June 18, 2003 Tamster - a kaa tad tu domaa kaa es atradu ?? skatijos kur kaut kas noiet hailaitaa greizi un tur arii peetiju :) :blink: Link to comment Share on other sites More sharing options...
Recommended Posts