Useful php/html code

c, c++, php, html, sql ..etc discussion. also includes codes and source codes.
Post Reply
User avatar
Sethioz
Admin
Admin
Posts: 4762
Joined: Fri Jul 27, 2007 5:11 pm
Custom: Gaming YT > https://youtube.com/SethiozEntertainment
Game Hacking YT > https://youtube.com/sethioz
Game Hacks Store > https://sethioz.com/shopz
Location: unknown
Contact:

Useful php/html code

Post by Sethioz »

*Image with dimensions:

Code: Select all

<img src="image_path_here" width="600" height="460">
works on all forums/sites that allows php/html code posting.

*Inline Frame (iframe) - allows you to embed html page inside another html page. very useful when designing pages.

Code: Select all

<iframe height="300" width="300" frameborder="0" src="source_here" style=
"width= 90%; margin= 0; padding= 0; border= 0; overflow= hidden;" scrolling="yes" border="0" allowtransparency="true"></iframe>
there's several options which you can change, but this is the way i like it.


*php redirection - do not mistake it with the simple refresh.

Code: Select all

<?php
header("location: http://sethioz.co.uk");
?>
if you not totally retarded, then you should see where you have to put your URL.


*onclick link for mouse hover areas - check my forum's index page. this is about the highlighted row part on mouse hover, when you click then it takes you into the topic, you can place any link into the code.

Code: Select all

onclick="window.location.href='yourURLhere'"
note that theres double " ' ' ". first " then 'YOUR URL' and then closing " < pay attention what you doing.
Post Reply