FT3 Posted December 1, 2010 Report Share Posted December 1, 2010 Iframe ir ielikts cita majaslapa bet iekš iframe ir kods $_SERVER['HTTP_HOST']; Vai ir iespejāms ņemt nevis iframe linku bet gan tas majaslapas kur viņš ir ielikts ? Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted December 1, 2010 Report Share Posted December 1, 2010 Līdz galam nesapratu, ko tieši vajag... Iespējams, ka lapu, no kuras izsaukts, var uzzināt ar $_SERVER['HTTP_REFERER'] Ja manas nepamatotās aizdomas par to, ko vēlies panākt ir pareizas, tad vari mēģināt apskatīt: https://secure.wikimedia.org/wikipedia/en/wiki/Framekiller Quote Link to comment Share on other sites More sharing options...
FT3 Posted December 1, 2010 Author Report Share Posted December 1, 2010 Jap pareizi saprati plds :) Quote Link to comment Share on other sites More sharing options...
FT3 Posted December 2, 2010 Author Report Share Posted December 2, 2010 (edited) vel ir viena problema ?! vai nau vel lidziga koda vai scripta ($_SERVER['HTTP_REFERER']) šis man neder jo viņš ņem adreses ar : http://ADR.lv/?go=donate http://ADR.lv/?p=forum http://ADR.lv/?page=news bet man vajadzetu lai būtu (http://ADR.lv/) Varbut ir kads scripts kurš varetu apgriezt "?go=donate" un tc. Vai ari kautkads replace kods , piem pec /// viņš visu izdeš :) Edited December 2, 2010 by FT3 Quote Link to comment Share on other sites More sharing options...
xPtv45z Posted December 2, 2010 Report Share Posted December 2, 2010 Tāda sajūta, ka tu pats pat nemāki kurpju šņores aizsiet vai bikses uzvilkt. Lieto strpos un viss tev derēs. Quote Link to comment Share on other sites More sharing options...
indoom Posted December 2, 2010 Report Share Posted December 2, 2010 http://lv.php.net/manual/en/function.parse-url.php 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.