TurboSasa Posted June 12, 2005 Report Share Posted June 12, 2005 lieta sekojosha esmu sataisiijis taa ka var pievienot savu URL:, bet ir vina probleema ja spaida pogu "add" pa tuskho pievonojas pliks http://, bet man taa nevajag. un man kaut kas nestraadaa ar headeriem varu likt tos kur gribu taapataas nestraadaa, tas man ir vajadziigs lai kad spaida F5 nepievinotu jau pievienoto URL... ja kaads saprata manu probleema tad paliidziet. Link to comment Share on other sites More sharing options...
Kristabs Posted June 12, 2005 Report Share Posted June 12, 2005 paste.php.lv dod kodu Link to comment Share on other sites More sharing options...
TurboSasa Posted June 12, 2005 Author Report Share Posted June 12, 2005 links uz kodu http://paste.php.lv/2110 tur arii ir izvade bet liekas tur tas cikls ir visia shkiibs, varbuut var kaa savaadaak? Link to comment Share on other sites More sharing options...
TurboSasa Posted June 12, 2005 Author Report Share Posted June 12, 2005 un kaa man izlbot sho kljuudu? http://sasa.bizhat.com/temp/error.JPG kad testeeju uz sava datora nekas taads neparaadaas bet kad uzlieku uz servera tad raadas shitais errors liidz tam briidim kad tiek pievienots pirmais ieraksts... un peec tam viss iet normaali... nesaprotu kur lai meklee kljudu kods tiek izmantots tas ko jau es iedevu augstaak... Link to comment Share on other sites More sharing options...
LorDRameX Posted June 12, 2005 Report Share Posted June 12, 2005 links uz kodu http://paste.php.lv/2110 tur arii ir izvade bet liekas tur tas cikls ir visia shkiibs, varbuut var kaa savaadaak? 18446[/snapback] #5 if (trim($vertiba)!=='') ko tu te parbaudi ? Link to comment Share on other sites More sharing options...
bubu Posted June 12, 2005 Report Share Posted June 12, 2005 Droši vien, ka šo: #4 $vertiba = $_POST['url']; Link to comment Share on other sites More sharing options...
LorDRameX Posted June 12, 2005 Report Share Posted June 12, 2005 Droši vien, ka šo: #4 $vertiba = $_POST['url']; 18450[/snapback] uhu jo iipashi ar shaadu izteiksmi: $eritba !== '' man liekas ka tur viena "=" par daudz ira Link to comment Share on other sites More sharing options...
Kristabs Posted June 12, 2005 Report Share Posted June 12, 2005 http://paste.php.lv/2111 lai nepievienotos http:// un lai uz F5 nepievienotos tas pats, bet uz to erroru bildi links nestraadaa. Link to comment Share on other sites More sharing options...
TurboSasa Posted June 12, 2005 Author Report Share Posted June 12, 2005 links uz erroru http://sasa.bizhat.com/error/ tur ir tas errors tagad jaastraadaa un ko tu izdariji ar to kodu lai tas straadaatu kaa saucas tas ko tu pieliki tam kodam un ko tas dara skatoties es nesapratu.., ? Link to comment Share on other sites More sharing options...
Kristabs Posted June 12, 2005 Report Share Posted June 12, 2005 ar shito erroru paliidzeet nevaru, jo pats nekad ar failiem neko neesu dariijis. paeksperimentee ar if`iem. Paarbaudes nekad nav par daudz ;). es tur pieliku papildus mainiigo $_session , kursh defoltaa saglabaajas 20min jeb liidz paarluuka aizveershanai. ja mainiigais ir iesetots, tad vairs neljauj pievienot linku. Link to comment Share on other sites More sharing options...
bubu Posted June 12, 2005 Report Share Posted June 12, 2005 man liekas ka tur viena "=" par daudz ira 18455[/snapback] Ir diva veida salīdzināšanas == un ===. Pirmā salīdzinot abas puses mēģinās arī konvertēt mainīgo tipus (integer/float/string). Otrais būs vienāds tad un tikai tad, ja sakritīs gan vērtības, gan TIPI. Tas pats ar nevienādību - != un !==. http://lv.php.net/manual/en/language.opera....comparison.php Link to comment Share on other sites More sharing options...
blackhalt Posted June 13, 2005 Report Share Posted June 13, 2005 links uz kodu http://paste.php.lv/2110 tur arii ir izvade bet liekas tur tas cikls ir visia shkiibs, varbuut var kaa savaadaak? 18446[/snapback] nevajag fread beigās +1 http://lv.php.net/manual/en/function.fread.php Link to comment Share on other sites More sharing options...
Recommended Posts