FnTm Posted October 26, 2005 Report Share Posted October 26, 2005 Man ir shaada te probleema... Maaciibu procesaa... izmantojot e-book "Php soli pa solim" Pie formu scriptiem atduuros pret probleemu kad kods kautko neizdara liidz galam... taa kaa esmu galiigs iesaaceejs un zinu tikai to kas ir biijis uzrakstiits peedeejaas 2 nodaljaas tad prasiishu padomu jums http://www.home.lv/pupolitis/php/3_1.htm sheit var atrast to lpp graamataa un pashu scriptu.. vai buutu kaads jauks cilveeks kursh man vareetu paskaidrot kas sheit par kljuudu?? Link to comment Share on other sites More sharing options...
Aleksejs Posted October 26, 2005 Report Share Posted October 26, 2005 (edited) Ļoti palīdzētu, ja tu pateiktu, kas precīzi nenotiek kā vajag (nu kļūdas utt). Pat nepētot viens no minējumiem ir - problēma saistīta ar register_globals uzstādījumu. Paskaties bubu izveidotajā dižsarakstā diskusijas par tēmu register_globals. Edited October 26, 2005 by Aleksejs Link to comment Share on other sites More sharing options...
FnTm Posted October 26, 2005 Author Report Share Posted October 26, 2005 http://foto.inbox.lv/fantomy/php-probleemas shajaa albuumaa es esmu ielicis bildes ar probleemaam kas notiek.. un tas ir tikai saakums. KKo izlabojot rodas citas.... Bet nu cerams kad kaads kko no shitaa sapratiis un pateiks P.S. Savu failu droshiibas peec, dazhas adreses esmu izdzeesis P.S.2 a ar to global ir taa, kad man uz pc i OmniSecure 3.0 Alpha 4... Link to comment Share on other sites More sharing options...
v3rb0 Posted October 26, 2005 Report Share Posted October 26, 2005 nu pirmā problēma ir "Permission denied - this album is private." :) Link to comment Share on other sites More sharing options...
FnTm Posted October 26, 2005 Author Report Share Posted October 26, 2005 Ljoti tvainojos... Bildes laikam veel nebija pievienojushaas, bet tagad viss iet Link to comment Share on other sites More sharing options...
Aleksejs Posted October 26, 2005 Report Share Posted October 26, 2005 yepp, problēma ar register_globals. pamēģini mainīgā $vards vietā izmantot $_POST['vards'] vai $_GET['vards'] un tā ar visiem no formas padotajiem mainīgajiem. Lai nevajadzētu pārāk daudzās vietās labot, vari izlabot tikai sākumā: $vards = $_POST['vards'] $mainigaisX = $_POST['mainigaisX'] utt. Link to comment Share on other sites More sharing options...
FnTm Posted October 26, 2005 Author Report Share Posted October 26, 2005 (edited) Vareetu luudzams paraadiit kaadaa scriptaa kaa tas fiziski izskataas? Man meegjinot kko mainiit met aaraa shitaadu Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in \htdocs\generate.php on line 11 Edit: Kur var nomainiit to register_globals no ON uz OFF?? jo man vinjsh on un ir veelme izsleegt Edited October 26, 2005 by FnTm Link to comment Share on other sites More sharing options...
Aleksejs Posted October 26, 2005 Report Share Posted October 26, 2005 <?php //Datu apstrādes daļa if(isset($_POST['lauks']){ $lauks = $_POST['lauks']; echo "Tu tikko ievadīji $lauks"; } else { //Datu ievades daļa ?> <html> <head> <title>Megalapa</title> </head> <body> <form method="post"> <input type="text" name="lauks"/> <input type="submit" value="Nosutit"/> </form> </body> </html> <?php } ?> Link to comment Share on other sites More sharing options...
FnTm Posted October 26, 2005 Author Report Share Posted October 26, 2005 <?php //Datu apstrādes daļa if(isset($_POST['lauks']){ $lauks = $_POST['lauks']; echo "Tu tikko ievadīji $lauks"; } else { //Datu ievades daļa ?> <html> <head> <title>Megalapa</title> </head> <body> <form method="post"> <input type="text" name="lauks"/> <input type="submit" value="Nosutit"/> </form> </body> </html> <?php } ?> 25519[/snapback] uztaisiiju .php saitu ar shito tavu scriput un man izmeta Method not allowed on this resource This is a sample customized error message. The following tags are supported: %c inserts the error code (i.e. 405) %r inserts the error reason (i.e. Method not allowed on this resource) %r inserts the server version (i.e. OmniSecure/3.0a4) %e inserts the administration email address (i.e. <your@email.here>) %% inserts a percent sign (i.e. %) If you are a Javascript master, it should be pretty easy to use conditionals to make customized screens for different error codes. Note that SSI directives are not processed in the error template. You can find this file, ERROR.TEMP, in your executable directory (default is C:\HTTPD) Link to comment Share on other sites More sharing options...
Aleksejs Posted October 26, 2005 Report Share Posted October 26, 2005 Nu tad nomaini $_POST pret $_GET un <form method="post" pret <form method="get". Un atrodi instrukcijā, kādēļ Tavs omniHttpd neņem pretī post. Link to comment Share on other sites More sharing options...
Recommended Posts