bubu Posted December 17, 2006 Report Share Posted December 17, 2006 Palīdzēt ir jēga cilvēkiem, kuri grib iemācīties, un paši arī kautko dara - paši lasa dokumentāciju, paši mēģina kautko izdarīt. A citādi ir tā kā runāt pret sienu - ja ar karotīti mutītē neiebarosi to ko šis prasa, tad arī neko tāpat nedabūsi gatavu. Link to comment Share on other sites More sharing options...
narure Posted December 17, 2006 Author Report Share Posted December 17, 2006 es google rakstiijju PHP TUTORIAL. lasiju. sapratu ka vajadzīgs apache, mysql un php. visu sacukkniiju bet neiet! =P Link to comment Share on other sites More sharing options...
Stopp Posted December 17, 2006 Report Share Posted December 17, 2006 Tad raksti gūglē 'install apache php' vai 'configure apache php' Link to comment Share on other sites More sharing options...
narure Posted December 17, 2006 Author Report Share Posted December 17, 2006 http://www.php-mysql-tutorial.com/install-...e-php-mysql.php es te aizgaaju un visu dariiju kaa tur rakstiits bet kad uzraksti http://localhost/test.php tad raadaas tas kods: <? phpinfo(); ?> un es tur nesaprotu sho vietu "In your whole %PATH%" Link to comment Share on other sites More sharing options...
Stopp Posted December 17, 2006 Report Share Posted December 17, 2006 šo rindiņu LoadModule php4_module php/sapi/php4apache2.dllAddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps vietā raksti šīs te ScriptAlias /php/ "c:/php/"AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" Restartē apači un skaties, kas iznāk. Link to comment Share on other sites More sharing options...
narure Posted December 17, 2006 Author Report Share Posted December 17, 2006 yeeeeeeeeeeeeeeeeeeeee!! izdariiju visi otreiz pareizaak un tagad iet!!!! yeeeeeeeeeeeeeeeeeeee paldies VAL!! yeeeeeeeeeeeeeee Link to comment Share on other sites More sharing options...
bubu Posted December 17, 2006 Report Share Posted December 17, 2006 Nafig jūs māciet php uzlikt kā CGI, nevis kā apache moduli? Tā taču ir lēnāk un neefektīvāk. Link to comment Share on other sites More sharing options...
narure Posted December 17, 2006 Author Report Share Posted December 17, 2006 (edited) ew jum iet shis skripts $to = "php@gowansnet.com"; $subject = "PHP Is Great"; $body = "PHP is one of the best scripting languages around"; $headers = "From: webmaster@gowansnet.com\n"; mail($to,$subject,$body,$headers); echo "Mail sent to $to"; Edited December 17, 2006 by narure Link to comment Share on other sites More sharing options...
Stopp Posted December 17, 2006 Report Share Posted December 17, 2006 Aaaaargh. Nemēģini nopirkt māju, ja vēl nevari dzīvokli atļauties. Mail funkcijai ir nepieciešams smtp serveris, to norādīt php.ini failā. Bet tagad skaties http://google.com/search?q=php+basic+tutorial un sāc ar to pašu hello word, izproti, kas ir mainīgais, kas ir cikls, kā taisa funkcijas. Pēc tam varbūt ar failsistēmu paeksperimentē. Par mail es vairs neko neatbildēšu. Link to comment Share on other sites More sharing options...
Recommended Posts