vickofpak Posted February 17, 2008 Share Posted February 17, 2008 I just developed an online tool at http://www.movetophp.com to convert any html, css or javascript into PHP compatible coding string. Suggessions n guidance from seniors please. Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/ Share on other sites More sharing options...
Rohan Shenoy Posted February 17, 2008 Share Posted February 17, 2008 Do you have any idea what PHP is about? Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/#findComment-468789 Share on other sites More sharing options...
Mike Vartan Posted February 17, 2008 Share Posted February 17, 2008 I got a better one. HTML: <html><body><b>fart</b></body></html> PHP: <html><body><b>fart</b></body></html> Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/#findComment-468913 Share on other sites More sharing options...
TheFilmGod Posted February 18, 2008 Share Posted February 18, 2008 This is probably the stupidest thing I ever seen. What's the point? You simply add echo "....(code...."; - with some quote escapes. This isn't hard to do with notepad. Simple write in echo "..."; and then do edit -> replace -> " --> \" You should use your time for something useful. Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/#findComment-469278 Share on other sites More sharing options...
448191 Posted February 18, 2008 Share Posted February 18, 2008 Aside from the fact that it's not useful, it also doesn't do anything on anything but plain strings. tempval.createTextRange is not a function copyit("it.html_code")www.movetophp.com (line 47) onclick(click clientX=0, clientY=0)www.movetophp.com (line 1) [break on this error] therange=tempval.createTextRange() Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/#findComment-469404 Share on other sites More sharing options...
agentsteal Posted February 18, 2008 Share Posted February 18, 2008 Cross Site Scripting: http://www.movetophp.com/test.php?<marquee><h1>vulnerable</marquee> Full Path Disclosure: http://www.movetophp.com/test.php Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/#findComment-469519 Share on other sites More sharing options...
dsaba Posted February 28, 2008 Share Posted February 28, 2008 this: <html>\ will convert to this: echo "<html>\"; which is not valid string declaration out of curiosity how many hits are you getting on this page? Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/#findComment-478824 Share on other sites More sharing options...
MikeL Posted February 29, 2008 Share Posted February 29, 2008 Jesus... you guys are tough. Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/#findComment-480341 Share on other sites More sharing options...
CammyD Posted March 1, 2008 Share Posted March 1, 2008 As a php n00b, this is a little helpful. The reason: Every time i am using the echo"" for form codes, i always leave in atleast one ". It gets annoying, and for some reason, the / thing doesn't work, or i am doing it wrong when i try. So thanks, and it is of use to some of us! Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/#findComment-480947 Share on other sites More sharing options...
phpSensei Posted March 2, 2008 Share Posted March 2, 2008 As a php n00b, this is a little helpful. The reason: Every time i am using the echo"" for form codes, i always leave in atleast one ". It gets annoying, and for some reason, the / thing doesn't work, or i am doing it wrong when i try. So thanks, and it is of use to some of us! Cheers to you vickofpak, for helping a php beginner, and for trying to create something new (even if it didnt work). All the negative comments in this thread should be considered SPAM. Link to comment https://forums.phpfreaks.com/topic/91516-online-html-to-php-converter/#findComment-481360 Share on other sites More sharing options...
Recommended Posts