virtualcook Posted August 25, 2003 Report Share Posted August 25, 2003 php.ini ------------------------------------------------ [mail function] ; For Win32 only. SMTP = mail.latnet.lv ; For Win32 only. sendmail_from = pasts@inbox.lv ______________________________ ~~~~~~~~~~~~~~~~~~~~~~~~ action.php ------------------------------------------------ <?php mail('pasts@inbox.lv', 'Tēma', 'Vēstules ķermenis'); ?> ______________________________ ~~~~~~~~~~~~~~~~~~~~~~~~ un no šāda paziņojuma tikt vaļā nekādīgi ------------------------------------------------ Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:Program FilesApache GroupApache2htdocsPHPaction.php on line 8 ______________________________ ~~~~~~~~~~~~~~~~~~~~~~~~ ... kāds varbūt var ko ieteikt? Link to comment Share on other sites More sharing options...
Roze Posted August 28, 2003 Report Share Posted August 28, 2003 tikai mineejums (pasham uz 1.3.x Win apaches nav bijushas taads probl) bet paprovee mail('pasts@inbox.lv', 'Tēma', 'Vēstules ķermenis','From: blabla@inbox.lv'); Link to comment Share on other sites More sharing options...
virtualcook Posted August 28, 2003 Author Report Share Posted August 28, 2003 ... arii pievienotjto 'From: citaadrese@inbox.lv' kluuda taa pati :-(( Link to comment Share on other sites More sharing options...
laacz Posted August 28, 2003 Report Share Posted August 28, 2003 Norestartē webserveri (aplikāciju, nevis kasti:) Link to comment Share on other sites More sharing options...
Venom Posted September 4, 2003 Report Share Posted September 4, 2003 wild guess sendmail_from = 'pasts@inbox.lv' un priekshaa lai nebuutu # Link to comment Share on other sites More sharing options...
virtualcook Posted September 5, 2003 Author Report Share Posted September 5, 2003 ne restarts nav iemesls, ne simbols # ini failaa, pik vinju zin kas :-(( Link to comment Share on other sites More sharing options...
Roze Posted September 5, 2003 Report Share Posted September 5, 2003 Vispaar jau dereetu noskaidrot pirmkaart kas par PHP versiju un kas par Apache (2.0x)? Pavecaakaam PHP versijaam bija probleemas ar 2. apaches atbalstu kaa ISAPi modulim. http://bugs.php.net/?id=14510 Liidz ar to meegjinaat upgradeeties uz 4.3.3 piemeeram Otraamkaartaam (varbuut nejedziigs jautaajums bet to be sure) vai php.ini ir iekopeets Win systemfolderii un labots ir tur? Treshaamkaartaam varbuut iet shaads variants testa noluukos: ? <? ini_set("sendmail_from","blabla@inbox.lv"); ini_set("sendmail_path",NULL); ini_set("SMTP","mail.latnet.lv"); mail('pasts@inbox.lv', 'Tēma', 'Vēstules ķermenis','From: blabla@inbox.lv'); ?> Link to comment Share on other sites More sharing options...
virtualcook Posted September 6, 2003 Author Report Share Posted September 6, 2003 ya-hooo!!! ... Paldies Roze :-DDD ... izmeegjinot tavu variantu ar funkcijas ini_set izmantoshanu, viss aizgaaja :-)) ... tad es arii sapratu, ka Apache neatrod php.ini - nebiju to ielicis ServerRoot direktorijaa, nu vismaz tur ieliekot viss aizgaaja P.S. bez tava piemeera nepielektu Link to comment Share on other sites More sharing options...
Roze Posted September 6, 2003 Report Share Posted September 6, 2003 A bet php.ini nav jaaliek ServerRoot (to jestj Apache diraa) bet gan sisteemasroota piem. zem C:/WINDOWS Link to comment Share on other sites More sharing options...
virtualcook Posted September 11, 2003 Author Report Share Posted September 11, 2003 ... taapeec es jau arii pieliku to tekstu "nu vismaz tur ieliekot viss aizgaaja", jo es arii lasiiju, ka ir jaaliek windows direktorijaa, attieciigi taa kaa man NT OS, tad zem WINNT, bet nekaa - nestraadaa :-(( ... varbuut kaut kur speciaali ir jaanoraada httpd.conf failaa? ... kāpēc nevar php.ini likt ServerRoot diraa - droshiibas apsveerumu deelj? Link to comment Share on other sites More sharing options...
Recommended Posts