View Full Version : HTML to PHP
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?
DJ-COLLINS!
22-05-2005, 05:43 PM
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 premade
iRoss
22-05-2005, 05:53 PM
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?
splintercell!
22-05-2005, 06:31 PM
Like what???
well anything, i might need to convert anything, i just need a converter
splintercell!
22-05-2005, 06:40 PM
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
splintercell!
22-05-2005, 06:44 PM
you need to explain your making no sense..
iRoss
22-05-2005, 06:49 PM
no i need to convert some html to php so i can put it in a php code, so it will work
Lol Pretty nice :)
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:
<?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);
?>
Mentor
22-05-2005, 07:00 PM
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
Anderman
22-05-2005, 07:32 PM
Cope it into notepad and save it as news.php or somthing
The bravenet 1 is rubbish.
Err you don't need to convert it really.
As PHP Works with HTML anyway :)
php is HTML
Jamie
22-05-2005, 11:52 PM
Why not just change the extension to .php instead of .HTML? ;/
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.