PDA

View Full Version : PHP Help + Rep



aster01d!!!!
02-07-2006, 10:52 AM
How can i change the login, submit, update e.c.t. from stock ones to ones ive made my self.

Thanks +Rep

Jamie.
02-07-2006, 10:53 AM
explain a bit more?

aster01d!!!!
02-07-2006, 10:55 AM
Like on user systems where is says "login" the actuall button, I want to know how to change it

Flauvo
02-07-2006, 10:56 AM
<form ENCTYPE="multipart/form-data" method="post" name="form1" action="upload.php">

Jamie.
02-07-2006, 10:57 AM
<form method="POST" action="login.php">
<input type="text" name="username" size="20">
<input type="password" name="password" size="20">
<input border="0" src="image url" name="imagebutton" type="image"></form>

somthing like that?

aster01d!!!!
02-07-2006, 10:57 AM
Yup... Ty let me just see if it works

Flauvo
02-07-2006, 10:57 AM
somthing like that?
Isnt that html?

Halting
02-07-2006, 10:58 AM
You need to use CSS. For example:-


<style type="text/css">
input {
color: #colorcode;
border-color: #colorcode;
}
</style>
<input type="submit" value="Submit">


Use google or dreamweaver to explore other properties of the input you are able to edit.

To make the login button an image for example, try <input type="image" src="url">.

Jamie.
02-07-2006, 10:59 AM
php can use html ;l

Halting
02-07-2006, 11:00 AM
Sorry? :S

You can use HTML inside PHP if that's what you're saying. <? echo('<font class="heading">Hi</font>'); ?> for example.

Jamie.
02-07-2006, 11:03 AM
lol d/w

Flauvo
02-07-2006, 11:03 AM
php is a more in-depth coding language with ability to make programs out of using MySQL.

html is just general coding language.

Halting
02-07-2006, 11:04 AM
And what's that got to do with CSS my friend? =]

Jamie.
02-07-2006, 11:06 AM
nothing this thread was about php if u didnt read ;l

Halting
02-07-2006, 11:07 AM
The title has PHP in it, oh yeah. But the actual thread contains no PHP work whasoever. It's fully CSS & HTML.

Flauvo
02-07-2006, 11:07 AM
It can be done in php :P

Halting
02-07-2006, 11:09 AM
Why would you want to do that when its far easier and more entertaining to code it in CSS. CSS was built for that sort of thing...

RYANNNNN
02-07-2006, 11:11 AM
You need to <font face=\"verdana\"> if you were doing what halting said earlier.

Halting
02-07-2006, 11:12 AM
No you wouldn't because I started the echo tags with echo(' and ended like '); which means you can use "s inside without backward slashes required. Same goes for if you start (" you can use ' inside.

Flauvo
02-07-2006, 11:12 AM
CSS was built for security and for ease.

Halting
02-07-2006, 11:14 AM
Security? I don't want a CCS debate but do you even know what you're talking about? CSS has nothing to do with security.

Flauvo
02-07-2006, 11:17 AM
CSS is very secure in protecting the design of your layout via using the style.css file within your site. Therefore making it harder for rippers to access your website design.

Halting
02-07-2006, 11:18 AM
Why would someone want to rip your CSS? And not everybody uses stylesheets...

Jamie.
02-07-2006, 11:19 AM
GOT SAKE STOP ARUGING
css is css
php is php
html is html

so wot

Halting
02-07-2006, 11:21 AM
We're not argueing. We are discussing :>

Flauvo
02-07-2006, 11:23 AM
^^

What Scaming, sorry Ak-Hem Halting said.

If someone is gay enough to rip a DJ Panel or a layout from the source then they're gay enough to steal css.

Using stylesheets is the best way therefore you can use both html and css :P

And bondie.

Your wrong. :P

Halting
02-07-2006, 11:26 AM
stylesheets were built to save loading time not security. usual css style tags are not security wised and are the default css codes.

you're wrong :P.

Halting
02-07-2006, 11:32 AM
Some definitions for css from google:-

Sorry for the dp.

Cascading Style Sheets. Language used to describe how an HTML document should be formatted.
www.orafaq.com/glossary/faqglosc.htm

CSS, short for Cascading Style Sheets, a new feature being added to HTML that gives both Web site developers and users more control over how pages are displayed. With CSS, designers and users can create style sheets that define how different elements, such as headers and links, appear. These Style Sheets can then be applied to any Web page.
www.brontedesign.com/glossary.asp

(Cascading Style Sheet) A standard for specifying the appearance of text and other elements. CSS was developed for use with HTML in Web pages but is also used in other situations, notably in applications built using XPFE. CSS is typically used to provide a single "library" of styles that are used over and over throughout a large number of related documents, as in a web site. A CSS file might specify that all numbered lists are to appear in italics. ...

Want to hide these adverts? Register an account for free!