anybody know were i can find a html to php converter?
(which i dont have to pay for)
also does anybody know the php code to put a username & password/password on a page?
Printable View
anybody know were i can find a html to php converter?
(which i dont have to pay for)
also does anybody know the php code to put a username & password/password on a page?
i sugest use the 1 bravnet allredy have premadeQuote:
Originally Posted by L@c0ste
The bravenet 1 is rubbish.
Err you don't need to convert it really.
As PHP Works with HTML anyway :)
yer but you need php to put inside a php code, i need to change some html
btw: like my new sig?
Like what???
well anything, i might need to convert anything, i just need a converter
php isnt the same as html Php is a server side language that is more for interactive purposes etc. You cant design a site in php you need html for that so they work together in away . Mentor will explain it the best.
no i need to convert some html to php so i can put it in a php code, so it will work
you need to explain your making no sense..
Lol Pretty nice :)Quote:
Originally Posted by L@c0ste
I used the background in mine from the banner that u had a go at :P
what like.
<?php
?
Yes, what splinter said :D
example this is a code for logging visitors to your site:
Code:<?php
//using the date() function
$time = date("F jS Y, h:iA");
//$remote_addr is PHP variable to get ip address
$ip = $REMOTE_ADDR;
//$hostname show the users host
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
//$http_referer is PHP variable to get referer
$referer = $_SERVER["HTTP_REFERER"];
//$http_user_agent is PHP variable for browser
$browser = $HTTP_USER_AGENT;
//what page they came from
$page = $_SERVER['REQUEST_URI'];
//use the fopen() function
$fp = fopen("log.php", "a");
//using the fputs() function
fputs($fp, " I WANT TO CONVERT SOME HTML TO GO HERE!!!! ");
fclose($fp);
?>
why would u wnat to convert
Just change the exsetoion to php, and pure htmnl will go 100%
only stuff inside <?php ?> tags genirete as php
the place were it says i want to convert some html is how it displays the log, i cant just put normal html in there because it doesnt work i need to convert some font tags for this code and thats it but i would just like a code converter just incase i need it for anything else
Cope it into notepad and save it as news.php or somthing
php is HTMLQuote:
Originally Posted by simplesimon12
Why not just change the extension to .php instead of .HTML? ;/