Stator Posted December 22, 2006 Report Share Posted December 22, 2006 Dakle treba mi da umetnem deo php ili asp koda u jedan html fail. Jedino sto je vazno je da extenzija fajla bude html. El ovo moguce uraditi i kako ? Quote Link to comment Share on other sites More sharing options...
dvnityCker Posted December 22, 2006 Report Share Posted December 22, 2006 da: <? php_kod ?> mislim da je kod starijih servera bilo neophodno pisati ovako: <?php php_kod ?> ali nisam siguran, u svakom slucaju ono prvo ce naverovatnije upaliti takodje moras i da izmenis htaccess tako sto ces dodati: RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html na nekim serverima se cak i ne mora ovo dodavati, pousaj prvo sa <? ?> tagovima pa ako ne radi, onda dodaj ove dve linije u .htaccess Quote The people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same way in any country. Link to comment Share on other sites More sharing options...
Stator Posted December 22, 2006 Author Report Share Posted December 22, 2006 El isto i za asp ? Quote Link to comment Share on other sites More sharing options...
dvnityCker Posted December 22, 2006 Report Share Posted December 22, 2006 asp nije jezik, vec tip stranice, po definiciji script engine. asp stranice se rade u activescriptu, perlu, vbscriptu (po difoltu) ... sto, sta radis? Quote The people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same way in any country. Link to comment Share on other sites More sharing options...
Stator Posted December 23, 2006 Author Report Share Posted December 23, 2006 Treba da odradim 301 redirekciju sa jednog domena na drugi (.co.yu --> .com). Jedini nacin da uplodujem fajlove na taj server je preko neke budjave skripte koja prima samo *.html fajlove. Server je hostovan na Win-u i IIS-u, i nemam nikakav pristup tome. Dakle trebao bi mi neki *.html fajl koji bi mogao da odradi tu rederekciju da bude Google/Yahoo! frendly. Trenutno redirekciju radim ovako: <META HTTP-EQUIV=REFRESH CONTENT="1; URL=http://www.*.com"> <html> <body> <a href="http://www.*.com">http://www.*.com</a> </body> </html> I to radi posao za posetioce ali ne i za pretrazivace. Quote Link to comment Share on other sites More sharing options...
dvnityCker Posted December 23, 2006 Report Share Posted December 23, 2006 evo sta sam nasao: http://www.stevenhargrove.com/redirect-web-pages/ pa javi jel uspelo Quote The people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same way in any country. Link to comment Share on other sites More sharing options...
Stator Posted December 23, 2006 Author Report Share Posted December 23, 2006 bah sve sam probao da ubacim u *.html i nista nije uspelo :( Tipa kada ubacim php deo samo mi pokaze praznu stranu a kada ubacim asp deo samo mi pokaze to sto sa izkucao. Quote Link to comment Share on other sites More sharing options...
Guest Posted December 23, 2006 Report Share Posted December 23, 2006 jebo te, pre pet dana sam slučajno naleteo na blogu nekog web dizajnera na najbolje načine za redirekciju, ali sad ne mogu da nađem link, brisao sam history. uglavnom, mislim da je on rekao da je najbolji način onaj default html, ništa skriptovi. Quote Link to comment Share on other sites More sharing options...
dvnityCker Posted December 23, 2006 Report Share Posted December 23, 2006 mora da radi, sad sam na seminaru u ns pa sve radim leteci, pomocu ti od ponedeljka ako ti nije kasno? Quote The people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same way in any country. Link to comment Share on other sites More sharing options...
Stator Posted December 23, 2006 Author Report Share Posted December 23, 2006 Ok moze ono nije hitno. Quote Link to comment Share on other sites More sharing options...
dvnityCker Posted December 28, 2006 Report Share Posted December 28, 2006 ajde ovako u pocetnoj strani sajta (trebalo bi da je index.html), ili doduse u bilo koju stranu ubaci prvo ovo: <? echo "Test"; ?> to je cisto da vidimo da li ce procitati php ako na ekranu onda ispise Test, cita php, kul, ako ne ispise, goto post#2 ako cita ubaci samo ovo u glavnu stranu <? header( "HTTP/1.1 301 Moved Permanently" ); header( "Status: 301 Moved Permanently" ); header( "Location: http://www.klanrur.rs" ); exit(10); ?> ovo bi trebalo da ga redirektuje na klanrur, npr upravo sam isprobao kod mene i radi Quote The people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same way in any country. Link to comment Share on other sites More sharing options...
Sa1Nt Posted December 29, 2006 Report Share Posted December 29, 2006 ali ti imash .htaccess sa pravim handlerima? a on ne moze da uploaduje .htaccess :/ da moze, lako bi se resio 301 .. Quote Link to comment Share on other sites More sharing options...
dvnityCker Posted December 29, 2006 Report Share Posted December 29, 2006 pa jel moze da svuce? cek statore, jedina dozvola koju imas je ta da uploadujes .html fajlove i nista vise? redirekt preko html-a (u meta tagu) je los, i nisam siguran da ga google dozvoljava ako imas tu skriptu za upload, onda su u njoj podaci za pristup, izvuci ih, pa pristupi ftp-u pomocu nekog normalnog programa ili ja nisam razumeo celokupnu situaciju? Quote The people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same way in any country. Link to comment Share on other sites More sharing options...
Stator Posted December 29, 2006 Author Report Share Posted December 29, 2006 resio sam problem na jedan drugi nacim poslao sam zahtev za redirekciju domena :))))) cekacu nekih 2 nedelje ali to je jedino pravo resenje. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.