Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

PHP Conditions ??


ghost's Avatar
0 0

i saw this on one server: there was index.php file, which contained the echo.php file, and which "echoed" the content of echo.php into index.php from iframe. but there was also file called about.html, and when you opened it, there was only that iframe calling to echo.php visible in the source. but there wasn't any condition, ony echo.php, but it has different content. how can this be done?


Mr_Cheese's Avatar
0 1

am i the only one who didnt understand that?

perhaps try to simplify it and i'll see if i can answer.


reaper4334's Avatar
Member
0 0

I'm not sure what he means either.

I think though: There are pages on a server that both request content from "echo.php" but they are very different pages… how?

I think that pretty much summarizes your question. Sorry if I misunderstood.


ghost's Avatar
0 0

try{ echo $IFrames.Suck; }

Anyway.. I would think a htaccess url rewrite, but you say the links are the same. Make sure you see the whole source. It could be using the refer from your own site PHP constant (cannot remember the constant name) to check were its loading.

Its probablys just you not telling it right.

GOTO:try{


ghost's Avatar
0 0

ok i will try to simplify it. i have a file called echo.php which contains the whole content of the page which i want to load. also i have file index.php which contains the

    	   <frame name="mainframe" src="echo.php" frameborder="0" scrolling="auto" noresize>
	</frameset>```
so i know how to alert using this way ONE page. but i dont know how alert others, because when i load another page, there is still that frame with echo.php, but another content. (im using one server as an example, but i wont post his url, its against rules)