₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,049 members, 8,420,054 topics. Date: Thursday, 04 June 2026 at 10:24 AM

Toggle theme

Quadrillio's Posts

Nairaland ForumQuadrillio's ProfileQuadrillio's Posts

1 2 3 4 5 6 7 8 ... 14 15 16 17 18 19 20 21 22 (of 25 pages)

ProgrammingRe: Ajax And Responsive Web Solutions Has Finally Come To Nigeia by quadrillio(m): 12:01pm On Dec 15, 2008
shet ajax travel b4.
WebmastersRe: Php Class For Beginners. Question Will Be Treated With High Priority. by quadrillio(op): 11:45am On Dec 15, 2008
yawa-ti-de:
quad,

I appreciate and commend your efforts here, I really do. I however will agre with Musa (without the smart ass attitude).

If indeed you are getting all this from a book, you should at least reference it. For one, you don't get someone accusing you of plagiarism. Two, you might as well upload the book here or email it to people and then let them come back to you or this post and ask any questions they may have.

Sure, given that most books are at least 50% fluff, it is good to condense it for people in need. Having said that, I think a reference to any book(s) is in order.

Once again, kudos on your gallant efforts.
I get your point, and for this reason I want everyone who is interested in the book to drop there email address and it will be forwarded to there box.


@ rapattorny

I'll get back to you.
WebmastersRe: Let's Do It Together by quadrillio(op): 11:35am On Dec 15, 2008
I NO FIT SHOUT JOOOO lipsrsealed lipsrsealed lipsrsealed lipsrsealed lipsrsealed lipsrsealed
WebmastersRe: Let's Do It Together by quadrillio(op): 3:55pm On Dec 04, 2008
Since everyone is thinking the same way, and no one is looking at it from my angle then let forget it.

hanen:
Ooooh, so you want the collective brainpower of 5 or 10 people for free so so the site only you are being paid for can look awesome. Right.

That's what you should have said now. *eye roll*
I have single handedly design and develop over 20 sites, so why will I beg poeple because I want to design this one.
and by the way, @hanen my sites have always looks nice.

I just thought is will be fun playing around it. since the person said I can take my time.

D1KeleVra:
lol. wise guy nabbed. :p
nabbed for wat? trying to steal or what (we better be careful how we contibute to post on nairaland)  lipsrsealed  lipsrsealed  lipsrsealed  lipsrsealed  lipsrsealed


t-web:
Folks
All @quadrillio is asking for is a simpy review after finishing his work. So as to use the point posted by us to improve his site.

So @quadrillio don't worry we will review the site, just finish it first and then you can post its link.

The Subject of the thread is very misleading: "Lets Do It Together" , its supose to be "Review my site when am done".

Therefore @quadrillio may have to learn to use more descriptive titles when he wants to post a new thread next time, wink
at least someone is getting my point.

once again  we can forget it. maybe I played with what you people will call real BUSINESS

I thank everybody for there time and comment. (I know my poeple and my poeple know me)
WebmastersRe: Webdesign : Can You Do It All? by quadrillio(m): 2:59pm On Dec 04, 2008
Dual Core:
just know what functionality each technology can provide.
when ur job calls for a particular functionality, delve into learning how to implement the technology that best provides that functionality or call a pro.
That is what I always do and its has been working for me, even when I call a pro I wouldn't allow him to do it, I'll ask him to teach me how to do it.

U too joooo
WebmastersRe: Php Help by quadrillio(m): 2:57pm On Dec 04, 2008
I dont know how deep you are in PHP, but you need to read-up on session.

learn how to check if still in session. and to redirect to the login page if not in session.

that is all I can say for now maybe when u give more details I can help.
WebmastersRe: Php Class For Beginners. Question Will Be Treated With High Priority. by quadrillio(op): 2:49pm On Dec 04, 2008
you expect me to do all this without reference to books abi

MR MUSA THE GURU CAN YOU START YOURS MAYBE YOU NO GO COPY FROM BOOK,

by the way, you suppose try solve the exercise, then we can talk.

Almighty Guru Musa.

or if you have an alternative let all nairalanders hear
WebmastersRe: Let's Do It Together by quadrillio(op): 1:44pm On Dec 04, 2008
What I meant was that I will design it and everyone should look at it and tell me how to make it better.

Plus am getting paid and am not planing to share it cos I have given an advice on website without collecting money, so why will I pay poeple because they are doing the same.
WebmastersRe: Webdesign : Can You Do It All? by quadrillio(m): 1:41pm On Dec 04, 2008
yawa-ti-de:
MT:
This is why I don't call myself a "webmaster". There is more to it than writing code. For example, you have to know about server configuration, how to monitor site traffic, monitor database performance, etc. I am a web developer (not to be confused with web designer). And yes, it is good for you to know a little bit of everything and then concentrate on what you know that you know best. That way, you don't lose a job because you don't know one particular thing. Having said that, I am in favor of division of labor. Remember, "jack of all trades, master of none".

quadrillo:
I have read your original post up to 5 times now and each time I am more confused than the last. Are you implying, either literally or figuratively, that the different titles have anything to do with your education level or that one can't know all you stated concurrently?

Webmaster, web developer and web designer are all different in their roles and responsibilities. To that effect, it is possible to know them all or individually. Unfortunately, the different titles have been muddied up in the Nigerian context.

- Webmaster (in addition to the abv, wiki it)

- Web developer (css, javascript, xhtml, mid-tier languages (php, jsp, asp, etc), and maybe some backend languages (java, etc))

- Web designer (graphics (photoshop, fireworks, etc))
what I meant is that, as a webmaster you must have pass the stage of ordinary designer,

abi you don see a good secondary student who no sabi primary school maths.

FOOD FOR THOUGHT[
quote author=MT link=topic=202773.msg3170648#msg3170648 date=1228225869]
@quadrillo,

I 'm sorry but you didnt answer the questions. Are you implying that a webmaster is not expected to know any of those tools mentioned above??.
ps. Let try and forget these "class" stuff and be more pragmatic

@nuckecy

Your contribution is highly valued!
[/quote][quote author=nuckecy link=topic=202773.msg3170637#msg3170637 date=1228225714]@ MT

Yes as a Webmaster you are expected to know all the technologies to an EXTEND. Based on my experience I've discovered that IT is dynamic and if one needs to know the technologies it means you might not even have time to work. Its best one know at least 2 programming languages and other which might be relevant in the field to an extent.

Working alone in a huge job (example php or ajax or asp) wont pay to a good end if you choose to work. I strongly believe on team work to accomplish the goal at hand. As a team, others can troubleshoot errors and contribute to problems if one's head gets clustered. Thats my take in the question.

@ quadrillio

Am curious about where you belong. You should have given a straight suggestion on the question.


Well according your rating above I can't seem to see where you belong, you forgot that before one will call itself an WEBMASTER he must know what a DEVELOPER & DESIGNER should know, same to a DEVELOPER to DESIGNER.
Incase u need to know am a web developer. and where do you belong. OGA GURU
WebmastersRe: Let's Do It Together by quadrillio(op): 12:52pm On Dec 04, 2008
is a consulting firm website. we will decide what we feel is the best for them. am given a full hand

and am planing to use (htm,Xhtml,javascript,php,mysql,Css), no flash
Music/RadioRe: Akon Latest Album What Do You Think. by quadrillio(op): 12:06pm On Dec 04, 2008
jus take your time and listen to the lyrics
WebmastersLet's Do It Together by quadrillio(op): 11:49am On Dec 04, 2008
Lets do it together

I have just be given the contract to REdesign a site, I''ll love it if we on Nairaland Build it together the reasons are:

1, I want everybody to contribute

2, I want everybody to learn from it (pros and amateur)

3, two good and devoted heads is better than one.

If I see the inputs and comments I will post the link and we will start, but if there is no good one then I'll back off and do it myself.
Music/RadioRe: What Are You Listening To Right Now? by quadrillio(m): 1:41pm On Dec 03, 2008
Akon ft Lil wizzy - I'm So Paid
Music/RadioAkon Latest Album What Do You Think. by quadrillio(op): 1:38pm On Dec 03, 2008
What do you think about Akon latest Album and which one are you addicted to.

For me I love:

* Beautiful

* I'm so Paid

* Against the grain

* Sunny Day

* FREEDOm
ProgrammingRe: Want To Know About Programmer Opportunities by quadrillio(m): 1:18pm On Dec 03, 2008
Enough Oppurtunties, but dont do it for the money, Do it for the Passion.

I promise you the skies is your startiing point.

incase you need any assitance you can mail me.
Music/RadioRe: Blackface Album is superior than Faze and 2face album this time............ by quadrillio(m): 1:12pm On Dec 03, 2008
Blackface is tell them that its the not how long its takes but how  well
the guy toooo much
ProgrammingRe: Graphing In C++?? by quadrillio(m): 4:12pm On Dec 02, 2008
@kobojunkie

Thanks, Cos I also learn something from this.

How u doing?
WebmastersRe: Clients Who Cheat Web Designers After Getting A Demo by quadrillio(m): 2:19pm On Dec 02, 2008
Actually I dont do demos

My Portfolio always speaks for me

cos if you dont like who I am you will find it hard to like what Iill become.

so I try to make every new site my best.

It has always work.
WebmastersRe: Webdesign : Can You Do It All? by quadrillio(m): 1:53pm On Dec 02, 2008
MT:
As a webmaster, are you expected to know all the technologies that revolve round web-site building (like Javascript, css, dhtml etc) or you are MAJORLY expected to do the hard-code that run things on the server while you give out the client-side stuff to others to do?

Just being curious
NB:Curiousity kills the Cat

all what u mention are necessary for a Web Designer not a Web master I believe you know the different.

Web Designer (primary school)

Web Developer (Secondary School)

Web Master (University) grin grin grin lipsrsealed
ProgrammingRe: Are You Into Flash Actionscript 3? Lets Have Serious Fun Here! by quadrillio(m): 4:34pm On Dec 01, 2008
@michal

am back

what I really wanted was a scenario where I can jump to a particular track, base a d friend friend selected.
WebmastersRe: Php Class For Beginners. Question Will Be Treated With High Priority. by quadrillio(op): 3:54pm On Dec 01, 2008
Today it's,
Arguments and Return Values

Every function call consists of the function name followed by a list of arguments in parentheses. If there is more than one argument, the list items are separated with commas. Some functions do not require any arguments at all, but a pair of parentheses is still requiredeven if there are no arguments contained in them.

The built-in function phpinfo generates a web page that contains a lot of information about the PHP module. This function does not require any arguments, so it can be called from a script that is as simple as

<?php phpinfo();?>



If you create this script and point a web browser at it, you will see a web page that contains system information and configuration settings.

Returning Success or Failure
Because phpinfo generates its own output, you do not need to prefix it with echo, but, for the same reason, you cannot assign the web page it produces to a variable. In fact, the return value from phpinfo is the integer value 1.

Returning True and False Functions that do not have an explicit return value usually use a return code to indicate whether their operation has completed successfully. A zero value (FALSE) indicates failure, and a nonzero value (TRUE) indicates success.





The following example uses the mail function to attempt to send an email from a PHP script. The first three arguments to mail specify the recipient's email address, the message subject, and the message body. The return value of mail is used in an if condition to check whether the function was successful:

if (mail("chris@lightwood.net",
"Hello", "This is a test email"wink) {
echo "Email was sent successfully";
}
else {
echo "Email could not be sent";
}



If the web server that this script is run on is not properly configured to send email, or if there is some other error when trying to send, mail will return zero, indicating that the email could not be sent. A nonzero value indicates that the message was handed off to your mail server for sending.

Return Values Although you will not always need to test the return value of every function, you should be aware that every function in PHP does return some value.





Default Argument Values
The mail function is an example of a function that takes multiple arguments; the recipient, subject, and message body are all required. The prototype for mail also specifies that this function can take an optional fourth argument, which can contain additional mail headers.

Calling mail with too few arguments results in a warning. For instance, a script that contains the following:

mail("chris@lightwood.net", "Hello"wink;



will produce a warning similar to this:

Warning: mail() expects at least 3 parameters, 2 given in
/home/chris/mail.php on line 3



However, the following two calls to mail are both valid:

mail("chris@lightwood.net", "Hello", "This is a test email"wink;

mail("chris@lightwood.net", "Hello", "This is a test email",
"Cc: editor@samspublishing.com"wink;



To have more than one argument in your own function, you simply use a comma-separated list of variable names in the function definition. To make one of these arguments optional, you assign it a default value in the argument list, the same way you would assign a value to a variable.

The following example is a variation of add_tax that takes two argumentsthe net amount and the tax rate to add on. $rate has a default value of 10, so it is an optional argument:

function add_tax_rate($amount, $rate=10) {
$total = $amount * (1 + ($rate / 100));
return($total);
}



Using this function, the following two calls are both valid:

add_tax_rate(16);
add_tax_rate(16, 9);



The first example uses the default rate of 10%, whereas the second example specifies a rate of 9% to be usedproducing the same behavior as the original add_tax function example.

Optional Arguments All the optional arguments to a function must appear at the end of the argument list, with the required values passed in first. Otherwise, PHP will not know which arguments you are passing to the function.





Variable Scope
The reason values have to be passed in to functions as arguments has to do with variable scopethe rules that determine what sections of script are able to access which variables.

The basic rule is that any variables defined in the main body of the script cannot be used inside a function. Likewise, any variables used inside a function cannot be seen by the main script.

Scope Variables available within a function are said to be local variables or that their scope is local to that function. Variables that are not local are called global variables.

Local and global variables can have the same name and contain different values, although it is best to try to avoid this to make your script easier to read.





When called, add_tax calculates $total, and this is the value returned. However, even after add_tax is called, the local variable $total is undefined outside that function.

The following piece of code attempts to display the value of a global variable from inside a function:

function display_value() {
echo $value;
}

$value = 125;
display_value();



If you run this script, you will see that no output is produced because $value has not been declared in the local scope.

To access a global variable inside a function, you must use the global keyword at the top of the function code. Doing so overrides the scope of that variable so that it can be read and altered within the function. The following code shows an example:

function change_value() {
global $value;
echo "Before: $value <br>";
$value = $value * 2;
}
$value = 100;
display_value();
echo "After: $value <br>";



The value of $value can now be accessed inside the function, so the output produced is as follows:

Before: 100
After: 200
Art, Graphics & VideoRe: Which Software Can Play .mov Files? by quadrillio(m): 3:29pm On Dec 01, 2008
I use VLC

it lighter and loads faster
WebmastersRe: How Can You Tell If Some1 Used Dream Weaver by quadrillio(m): 12:10pm On Nov 26, 2008
@yawa-ti-de

what software do you use for your design.

Cos I hate DW DIE
WebmastersRe: Php Class For Beginners. Question Will Be Treated With High Priority. by quadrillio(op): 3:09pm On Nov 25, 2008
I decided to continue the lecture while I wait for the answer to my exercise.

In the last lesson you have learned how to vary the flow of your PHP script by using conditional statements and loops. In this next lesson you will see how to create reusable functions from blocks of PHP code.

In this lesson you will learn how frequently used sections of code can be turned into reusable functions.

Using Functions

A function is used to make a task that might consist of many lines of code into a routine that can be called using a single instruction.

PHP contains many functions that perform a wide range of useful tasks. Some are built in to the PHP language; others are more specialized and are available only if certain extensions are activated when PHP is installed.

The online PHP manual (www.php.net) is an invaluable reference. As well as documentation for every function in the language, the manual pages are also annotated with user-submitted tips and examples, and you can even submit your own comments if you want.

Online Reference To quickly pull up the PHP manual page for any function, use this shortcut: www.php.net/function_name.





You have already used the date function to generate a string that contains a formatted version of the current date. Let's take a closer look at how that example from Lesson 1, "Getting to Know PHP," works. The example looked like this:

echo date('j F Y');



The online PHP manual gives the prototype for date as follows:

string date (string format [, int timestamp])



This means that date takes a string argument called format and, optionally, the integer timestamp. It returns a string value. This example sends j F Y to the function as the format argument, but timestamp is omitted. The echo command displays the string that is returned.

Prototypes Every function has a prototype that defines how many arguments it takes, the arguments' data types, and what value is returned. Optional arguments are shown in square brackets ([]).





Defining Functions
In addition to the built-in functions, PHP allows you to define your own. There are advantages to using your own function. Not only do you have to type less when the same piece of code has to be executed several times but a custom-defined function also makes your script easier to maintain. If you want to change the way a task is performed, you only need to update the program code oncein the function definitionrather than fix it every place it appears in your script.

Modular Code Grouping tasks into functions is the first step toward modularizing your codesomething that is especially important to keep your scripts manageable as they grow in size and become more complex.





The following is a simple example that shows how a function is defined and used in PHP:

function add_tax($amount) {
$total = $amount * 1.09;
return $total;
}

$price = 16.00;
echo "Price before tax: $price <br>";
echo "Price after tax: ";
echo add_tax($price);



The function keyword defines a function called add_tax that will execute the code block that follows. The code that makes up a function is always contained in braces. Putting $amount in parentheses after the function name stipulates that add_tax takes a single argument that will be stored in a variable called $amount inside the function.

The first line of the function code is a simple calculation that multiplies $amount by 1.09which is equivalent to adding 9% to that valueand assigns the result to $total. The return keyword is followed by the value that is to be returned when the function is called from within the script.

Running this example produces the following output:

Price before tax: 16
Price after tax: 17.44



This is an example of a function that you might use in many places in a web page; for instance, on a page that lists all the products available in an online store, you would call this function once for each item that is displayed to show the after-tax price. If the rate of tax changes, you only need to change the formula in add_tax to alter every price displayed on that page.
GamingNokia Bounce Cheat by quadrillio(op): 12:39pm On Nov 25, 2008
if you play bounce on NoKIA phone then this is for you

all you have to do is to press 787898 when you start.

you'll be invicible and nothing will kill you
WebmastersRe: Php Class For Beginners. Question Will Be Treated With High Priority. by quadrillio(op): 3:50pm On Nov 24, 2008
am waiting for the result
WebmastersRe: Free Flash And Html Templates by quadrillio(m): 2:12pm On Nov 24, 2008
google it
WebmastersRe: 1st Joomla! Day In Nigeria by quadrillio(m): 10:39am On Nov 21, 2008
VERY NICE,

Fellow Webmasters, LET GO THERE ,
Art, Graphics & VideoRe: Expert Flash Animator Wanted by quadrillio(m): 10:17am On Nov 21, 2008
if you are looking for a freelance

then be my guest, 08077796668(if you need samples I can send you enough).
WebmastersRe: How Is My **Free** Css Ebook? by quadrillio(m): 10:12am On Nov 21, 2008
It's nice Thanks very much jah bless yeah.

1 2 3 4 5 6 7 8 ... 14 15 16 17 18 19 20 21 22 (of 25 pages)