the AKHLog Forums V2

where lamers go to DIE ...

... Also where you can talk about PokePlushies.

You are not logged in.

Adverts

#1 22/05/2008 04:57:34

Chipmunk
The Historian
From: Forest
Registered: 22/05/2008
Posts: 10
Reputation :   
Website

Basic PHP

Not yet done, gotta go...mom's here.

-------------------------------------------

So we need 2 files. .html and .php

Project example: Register.

==============================
.htm / .html file

Name: [textbox]
Age: [textbox]
Password: [password textbox]
Country: [Drop-down list]
Gender: [Radio button]Male [Radio Button]Female

[submit] [reset]

if you dunno what i'm talking about....the info's below
==============================

Textbox = <input type=TEXTBOX>
Basic attributes: maxlength (maximum characters allowed), disabled (textbox is locked)
E.g : <input type=TEXTBOX maxlength=2>

Password = <input type=password>
No attributes needed
Info Alphanumberic characters will be replaced by Askterisks (*)

Drop-down list - <select><option default>Main OPTION<option>OPTION<option>OPTION</select>

Radio Button = <input type=radio name=gen>
Note: w/o the "name" value, your radio button cannot be ticked.
Note2: You can radio buttons as many as you want as long as they have different name..but for the male and female example, they must have the same "name" or else, they will function like checkbox 'multiple tick' ...you can't be both female and male right?


http://i284.photobucket.com/albums/ll27/Cheesemunk_17/chipmonkcylin-1.png

Offline

22/05/2008 04:57:34

AdBot
Advertisements

#2 22/05/2008 18:11:06

AKH
Master of All
From: Great Britain
Registered: 24/02/2008
Posts: 123
Reputation :   
Website

Re: Basic PHP

Great to see someone else who knows a thing or two about Programming. :D

Hope you get time to finish writing this, it's not much use to me (I already have a little experience with PHP) but it could be a great introduction for others. ^_^


http://i156.photobucket.com/albums/t2/akh500/bannertw.png

Offline

#3 08/09/2008 02:56:26

brukewilliams
Ordinary
Registered: 08/09/2008
Posts: 1
Reputation :   

Re: Basic PHP

Now that we have a basic idea on what web scraping is, let's get into some very simple scripts to do it. As mentioned before I'm going to assuming you have php and curl enabled on your server or desktop. So assuming you have those things installed lets get into the basics of php web scraping. I'll be posting a small program and then walking through what we have done.
======================
Brukewilliams

car auctions

Offline

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting