PDA

View Full Version : Php webdesign(very nice)!!!!



xzx
April 16th, 2002, 17:27
I have tried using php.net to learn php but it is not very helpful. Is there some kind of program that uses php to build webpages like dreamweaver??? I am currently using iframes i html and i want to get rid of them. how can i do the same thing with php??

Examples:

This is is my page now.
http://www.dbzsource.does.it/


And this is what i want it to be like, not exactly, but mostly.
http://www.dbz-media.com/


Thanks....

spec
April 16th, 2002, 18:29
its not very hard to do but I have not seen a PHP creator tool like dream

keith
April 16th, 2002, 18:31
wait a second...

did you just say php.net wasn't very helpful??

you must not be very into learning php, find it very hard to comprehend things, or want everything written out for you. php.net is the best there is.

and i'm not getting how you want to do those things in php... you'd just use html, right? php and html are two different languages [although you can include html in php]. you write the sourcecode in php, but the look/output will be pure html.

keith
April 16th, 2002, 18:38
and here's an interesting conflict:

dbz-media.com
- "the best place for dbz"

dbzsource.does.it
- "the best dbz site in the world"

who do i believe???? maybe you wanting to copy him is a major clue.

also try http://www.phpbuilder.com as well as http://www.php.net if you want to learn php, but it sounds like an html problem to me. learn html before php, it's a big help.

xzx
April 16th, 2002, 20:42
no.
i am friends with the webmaster there. We each created by ourselves. I don't want exactly like his at all. I am creating my own images and everything. What i want to know how to do, is to create a main page called index.php and that is the layout for all the pages, then create links to my information pages that load in the middle of the page, still showing the other links. kinnda like a iframe, but not an i frame. Do you understand??? how do you do that??

keith
April 16th, 2002, 23:15
very easily

Who?
April 17th, 2002, 12:03
i learned php from reading the php manual and looking at other peoples php scripts and i found it very easy that way.

spec
April 17th, 2002, 14:32
if your really stuck you could always shell out the american greenback ($$) to someone like me to do it

xzx
April 17th, 2002, 16:47
nevermind,
i knew how to do it but it wouldn't work on my computer. I uploaded it to my site and it works, thanks anywayz...

keith
April 17th, 2002, 20:46
good to hear

YUPAPA
April 17th, 2002, 21:45
Originally posted by xzx
no.
i am friends with the webmaster there. We each created by ourselves. I don't want exactly like his at all. I am creating my own images and everything. What i want to know how to do, is to create a main page called index.php and that is the layout for all the pages, then create links to my information pages that load in the middle of the page, still showing the other links. kinnda like a iframe, but not an i frame. Do you understand??? how do you do that??

DO you mean header and footer??
You don't need to know PHP to do that! You can add header and footer using Server Side Includes or perl!

SSI: <!--#include file="header.html"-->

Just place this at the beginning of your file and then it shows header.html on the page!

keith
April 17th, 2002, 21:56
silly yupapa. php doesn't use the server's ram like perl does.

YUPAPA
April 17th, 2002, 22:06
Originally posted by keith
silly yupapa. php doesn't use the server's ram like perl does.

sure, everyone can use whatever they wanted to.
Though, SSI works nicely if he only needs to add header and footer.

keith
April 17th, 2002, 22:28
so does php

spec
April 17th, 2002, 23:38
he wanted to beable to have multiple pages on one script

keith
April 17th, 2002, 23:57
i know what he wanted...
<html>
<head>
<title></title>
</head>
<body>

<?php
if (!$page) {
include("pages/home.php");
}
elseif (file_exists("pages/$page.php")) {
include("pages/$page.php");
}
else {
include("pages/error.php");
}
?>

</body>
</html>that's the basics of it... incomplete, but you get the idea.

PyschoPath
April 18th, 2002, 01:31
ELSE IF!!! VB6 ALL OVER AGAIN!!! ARGH!!! :screams around like a moron: No..the hell..THE HELL! Case 1 to 9999
picoutput.print "You're a fag"


:shakes violently due to VB 6 sucking so much ---:

Cyber
April 18th, 2002, 07:04
why do you have to be so mean to VB? It's actually quite good!

Jan
April 18th, 2002, 07:51
Originally posted by xzx
nevermind,
i knew how to do it but it wouldn't work on my computer. I uploaded it to my site and it works, thanks anywayz...