vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   wanna make a php website - need help please (https://vborg.vbsupport.ru/showthread.php?t=83508)

boo.3 06-21-2005 10:36 PM

wanna make a php website - need help please
 
Ok i have done the layout design in Photoshop now what should i do?

do i slice it? and after that what do i do? i'm lost and could use some help

thx

boo

calorie 06-21-2005 11:19 PM

You mean you want to make, say index.html, into index.php? If so, here's a very simple example.

Slice the image and make the HTML page as usual. Afterwards, when the HTML page looks the way you want, encapsulate the HTML page in PHP as shown below, save as index.php, FTP, and then call index.php from your browser.
Code:

<?php

echo <<<END
<html>
        <body>
                Hello!
        </body>
</html>
END;

?>

Of course, TMTOWTDI. ;)

boo.3 06-22-2005 12:01 AM

ok the part i can't figure out is the "make the HTML page as usual." what do i do here?

calorie 06-22-2005 12:45 AM

Okay, to make an HTML page, just look how it's done by right clicking on a webpage, and then choose to view the source.

mholtum 06-22-2005 01:14 AM

Quote:

Originally Posted by boo.3
ok the part i can't figure out is the "make the HTML page as usual." what do i do here?

Do you know html?

boo.3 06-22-2005 01:32 AM

very little...

and calorie thanks for that tip

mholtum 06-22-2005 02:09 AM

Problem is unless you are just going to install a free or purchased script, without knowing at least HTML you would be better off getting someone to do it for you.

I would say get yourself a WYSIWYG HTML editor, like Frontpage or a more advanced one like Dreamweaver. Basically what these do is you create your site much as you would in say MSWord and it creates the HTML code one the fly for you.

boo.3 06-22-2005 09:01 PM

MSWord? how would i create a code using that?


All times are GMT. The time now is 10:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01083 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete