Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,158,683 members, 7,837,520 topics. Date: Thursday, 23 May 2024 at 06:19 AM

Skima's Posts

Nairaland Forum / Skima's Profile / Skima's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (of 23 pages)

Business / What Makes A Good Youth Resources Site? by skima(m): 3:32pm On May 19, 2006
Well I just think I need to ask this question publicly. Though I have insight on how to provide info for youths. I just got to understand that two heads are better than one.

For me I think to provide information on solving daily youths problem.
What do u think ?

Computers / Re: I Need Linux CDs by skima(m): 1:51pm On Apr 25, 2006
A friend's office is in surulere, i think thats close to your. or better still ill come over my self.

u may gv me ur contact address or any meeting point closer to you.
this is my number 08027924441
Music/Radio / Re: Is R. Kelly The Most Talented Of R&b Singers? by skima(m): 2:19pm On Apr 22, 2006
www.r-kelly.com grin shocked cool tongue undecided

Thats his home page.
Music/Radio / Re: Is R. Kelly The Most Talented Of R&b Singers? by skima(m): 2:15pm On Apr 22, 2006
He's really the R in R n B. wink
Programming / Re: What Aspect Of Programming Gives You Problems? by skima(m): 3:30pm On Apr 21, 2006
Dont just gather codes but try to disect and know more.

Get ur mysql_connect(); function right so u can connect peacefully.

its not hard.


e.g mysql_connect("localhost","root_user","root_pas"wink;


dat does it.
Music/Radio / Re: Is R. Kelly The Most Talented Of R&b Singers? by skima(m): 2:54pm On Apr 21, 2006
He's da bomb, the guy is 2 gud, no no 3 gud. I listen to almost 100 tracks of his everyday. I have on my system 146 track which i listen to everyday, the guy is gud no doubt.

When i need inspiration, I know which track to listen to,
When am pissed off with women i know which track to listen and re-love women.
When i need to just feel luv i know wat to listen to.

No doubt he's the living legend I love most.
Programming / Re: Web Development Using PHP by skima(m): 1:26pm On Apr 20, 2006
hmm,  I have the code, Iwill post it when i got to my admin panel.
Programming / Re: Java Programming For Dummies by skima(m): 7:08pm On Apr 18, 2006
I will try it out and get back to u. Thanks
Programming / Re: Web Development Using PHP by skima(m): 6:53pm On Apr 18, 2006
You use limi in your SQL query.

e.g

$sql=mysql_query("SELECT * FROM my_table LIMIT 10"wink;

This will retrieve 10 record from the DB. so if u want limit and break into multiple pages u add some code to determine the offset .

see here http://unleashedsolution.com/sheriff/guest.php?view=1

and u will see ao it works there.

Gud Luck!
Programming / Re: Java Programming For Dummies by skima(m): 12:38pm On Apr 18, 2006
The above code could not compile.
Programming / Re: Java Programming For Dummies by skima(m): 12:32pm On Apr 18, 2006
/**
*@(#)LagosTemperatureController.java
*/
package temperature;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

import javax.swing.event.DocumentListener;
import javax.swing.event.DocumentEvent;

import javax.swing.JFrame;
import LagosTemperatureView;
/**
* @author Skima
*
*/
public class LagosTemperatureController extends JFrame implements ActionListener, DocumentListener {

private LagosTemperatureView lagosTemp;
public LagosTemperatureController(){
lagosTemp=new LagosTemperatureView(this,this);
}

public void actionPerformed(ActionEvent e){
}
public void changedUpdate (DocumentEvent ev ){
}//End changedUpdate

public void insertUpdate (DocumentEvent ev){
}//End insertUpdate

public void removeUpdate (DocumentEvent ev ){
}//End removeUpdate

public static void main(String arg[]){
JFrame frame=new JFrame("Lagos Temperature"wink;
JFrame.setDefaultLookAndFeelDecorated(true);
LagosTemperatureController cont=new LagosTemperatureController();
frame.getContentPane().add(cont);
frame.pack();
frame.setLocation(400,100);
frame.setSize(400,500);
frame.setVisible(true);

}
}
Computers / Re: I Need Linux CDs by skima(m): 12:25pm On Apr 18, 2006
Any one. just wanna get to work in linux environment. Then i can later test others.
Webmasters / Re: I Need Somone To Do A Php Website For Me: by skima(m): 8:05pm On Apr 17, 2006
ill contact u, i can help with php.
Programming / Re: Strange Syntax Errors In PHP by skima(m): 8:01pm On Apr 17, 2006
That means u didnt end your php tag :
e.g <?php ?>

make sure u add ?> to the end ur script.

if dat does not solve it post ur code.
Programming / Re: Java Programming For Dummies by skima(m): 7:58pm On Apr 17, 2006
How about those books/software today is 17/04/2006

I have a problem with my assignment. This is the code below

/**
* @(#) LagosTemperatureView.java
*/
package temperature;
import javax.swing.*;
import javax.swing.event.DocumentListener;
import java.net.URL;
import javax.swing.ImageIcon;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.GridLayout;
import java.awt.FlowLayout;

import java.awt.event.ActionListener;
/**
* @author Skima
*
*/
public class LagosTemperatureView {

private ActionListener listener;
private DocumentListener documentListener;
private ImageIcon Image1;

private JPanel rootPanel;
private JPanel rootPanelTop;
private JPanel rootPanelMiddle;
private JPanel rootPanelDown;


private JTextField firstBox;
private JTextField secondBox;
private JButton firstPlus;
private JButton secondPlus;
private JButton firstMinus;
private JButton secondMinus;
private JLabel labelIcon;
public LagosTemperatureView(ActionListener listener, DocumentListener documentListener){

Image1 =createImageIcon("images/temp_app.gif"wink;
JLabel celsius=new JLabel("Celsius"wink;
JLabel farheneit=new JLabel("Farheneit"wink;
JLabel lagTemp=new JLabel("Lagos Temperature is Hot"wink;

this.listener = listener;
this.documentListener = documentListener;




//this.setLayout(new BorderLayout());
//lets divide the root panel for easy placement.
rootPanel = new JPanel();
//we are making it grid layout and setting
rootPanel.setLayout (new GridLayout(5,1,2,2) );
rootPanelTop =new JPanel();
rootPanelMiddle=new JPanel();
rootPanelDown=new JPanel();

rootPanelTop.setLayout(new FlowLayout());
rootPanelMiddle.setLayout(new GridLayout(2,4,2,2));
rootPanelDown.setLayout(new FlowLayout());

labelIcon.setIcon(Image1);
labelIcon.setText(""wink;
rootPanelTop.add(labelIcon);
rootPanel.add(rootPanelTop);

rootPanelMiddle.add(firstBox);
rootPanelMiddle.add(firstPlus);
rootPanelMiddle.add(firstMinus);
rootPanelMiddle.add(celsius);
rootPanelMiddle.add(secondBox);
rootPanelMiddle.add(secondPlus);
rootPanelMiddle.add(secondMinus);
rootPanelMiddle.add(farheneit);
rootPanel.add(rootPanelMiddle);

rootPanelDown.add(lagTemp);
rootPanel.add(rootPanelDown);


}
protected static ImageIcon createImageIcon(String path) {
java.net.URL imageURL = LagosTemperatureView.class.getResource(path);

if (imageURL == null) {
System.err.println("Resource not found: "
+ path);
return null;
} else {
return new ImageIcon(imageURL);
}
}
public static void main(String arg[]){
JFrame frame=new JFrame("Lagos Temperature"wink;
JFrame.setDefaultLookAndFeelDecorated(true);
LagosTemperatureView cont=new LagosTemperatureView( );
frame.getContentPane().add(cont);
frame.pack();
frame.setLocation(400,100);
frame.setSize(400,500);
frame.setVisible(true);

}
}
Sports / Re: www.enyimbafc.net by skima(m): 3:53pm On Apr 14, 2006
Wat if we create a CMS that is meant only for this project?

Will be built from ground up with the mission in mind?

Check out http://welbornstory.com

I can develop your CMS for u to fit your site design.

With PHP/MySQL that yahoo hosting supports.

Sports / Re: www.enyimbafc.net by skima(m): 9:49am On Apr 13, 2006
Good work so far,  but try and save your files .php or .asp .aspx

any technology u want to use, because u said you want to make it dynamic.

If u need any php support let me know.
Programming / Re: Computer Science Degree Recommended For Programming Career? by skima(m): 8:44am On Apr 13, 2006
I will advice u start learn right on your own and always make sure you come online to check for new things. That will give you challenge and be upto date.

University education whether in or outside NIgeria,  if u have the opportunity of learning abroad no probs,  but If u want to learn in Nigeria make sure u take a computer course outside and if u think thats a waste of time get connected at home, join groups online and help solve problem.

Make sure u get return because most people get discouraged if what is coming seem to be too late.

Make money with your knowledge go for certification etc.

Dont look at your age or set a barrier for your self. If you really wanna go forward.
And stay focus!!! wink
Programming / Re: Web Development Using PHP by skima(m): 10:58am On Apr 12, 2006
As i said that  I will commence the tutorial on Wednesday, I hereby start the tutorial. i now know that there are "Guru" on this forum owning to what i just saw you guys demonstrating.

As our topic connote above "web development using PHP" we shall employ a strategy called " Learning by example". This strategy was employed on this forum by his eminence "sbucareer". Since our purpose here is to develop website with PHP, we shalldevelop web-application while learnign PHP, we shall cover PHP/MySQL and develop the following application;

Guestbook like the one http://unleashedsolution.com/sheriff/guest.php

A CMS like the one here http://coreturstinvestment.com  

And mailing List/User management

We will cover :
file upload
PHP Security
Input filtering
PHP Email
State Management

First and the most important is "echo" as discussed above, thats just what it is, we use echo to print the screen. as in javascript : document.write("Hell World"wink;

Any data you collect, any action you perform will need to give the user feedback, thats why is very important.

[size=20pt]User Interaction[/size]

Let's now go over to the others ones, $_POST,$_GET,$_REQUEST,$_COOKIE AND $_SESSION this are called "Global variables" thats they exist and can be reference from any where in your script (we shall discuss more on global variable in the security section). We shall look at the first three variables and later in this tutorial we will touch others.

Working  with HTML you will notice something when dealing with forms, which are form methods (i.e method="POST"wink. Now you will know the essence. The guys behind php  are highly intelligent in the sense that most functions you will be working with hav ebeen developed to be remembered while coding. The Above variables are used to retrieved data from forms. So when ever you set your form methods to POST, the variable to retrieve the form input is $_POST;

Example: save as post.php

<form method="POST" action="">

<p>Name <input type="text" name="name" size="20"><br>
<input type="submit" value="Submit" name="B1"></form>
<?php
echo "My name is ".$_POST['name'];
?>


This example prints: "My name is SHERIFF" to the screen, where SHERIFF is the data entered to the form input. You will notice that we have added braces to the $_POST variable, you wonder why uhn? I will tell you. When you are building your fomrs, you will remember that name differentiates the forms so that is why we requested for the name o fthe form variable. In this case the name for the variable is "name" (i.e name="name"wink.

So, this process is followed for $_GET variable, for you use the $_GET variable, you must set the form method to get (i.e method="GET"wink.

$_REQUEST works for either form method (ie both method="POST"  and "GET"wink. If you set your form method to GET or to POST, you can retrieve the data with $_REQUEST. When it comes to data security, the integrity of data retrieved from $_REQUEST is questionable in the send that the $_REQUEST could also retrieve data sent from COOKIE. So I will advice to always use POST when you set your form method to Post and GET  for Get method.

Note:to be continued,
Programming / Re: Web Development Using PHP by skima(m): 10:56am On Apr 12, 2006
@romeo
If you have phpmyAdmin then follow the SQL link and run the sql there.
Programming / Re: Web Development Using PHP by skima(m): 10:54am On Apr 12, 2006
Most of the PHP basics has been covered above, Its advisable for a newbie to read the section very well. If you have understood the basics, lets go on,

@sbucareer
I think you are the perfect person to handle the PHP OOP section giving your knowledge and experience with JAVA.
Programming / Re: Web Development Using PHP by skima(m): 10:43am On Apr 12, 2006
I'm very glad at what have been  seeing so far.

Well i think we should go on, but i will like to post the table of content, so anyone willing to contribute can know the scope at which we want to operate.

[center]TABLE OF CONTENT[/center]

PHP Basics

Whats PHP?
What can PHP do? Installing PHP
Basic Sytax
Variables
Constants
Expression
Operators
Control Structture
OOP

User Interaction

$_POST
$-GET
$_REQUEST

Database Integration
Installing MySQL
Introduction SQL
Creating database
CReating tables
Inserting to database
Viewing/searching the database
Modifying database record
Delete from database

Security

Input filtering
SQL Injection
Securing your data

State Management
Working with COOKIE   
Working with SESSION
Login/Log out page

PHP Email
Sending Email
Sending HTML Email
Personalized Email
Mailing List

File/Image upload
Upload file
Upload image
Assigning link with database

Design Patterns

Frameworks

Applications

User Management System
Mailing List
Tracking System
Content Management System
News Feed
Programming / Re: Web Development Using PHP by skima(m): 10:34am On Apr 12, 2006
If you see php information on your page then you have successfully installed php.

else lets see the error msg you got.
Programming / Re: Web Development Using PHP by skima(m): 3:48pm On Apr 11, 2006
write ur first php script.

<?php
phpinfo();

?>

Then save it as index.php and access it via ur localhost in this format http://localhost/index.php

That will confirm if the installation is right.
Programming / Re: Java Programming For Dummies by skima(m): 12:03pm On Apr 10, 2006
second

Programming / Re: Java Programming For Dummies by skima(m): 12:02pm On Apr 10, 2006
My assignment:

Programming / Web Development Using PHP by skima(m): 11:01pm On Apr 08, 2006
People have been clamouring for a tutorial on PHP. I think its high time we started it.

If u will like to contribute to this tutorial let your interest be known, but for me i plan to start it right here on wednesday by the grace of God.

I assume the person to learn this tutorial would have had little programming knowledge so that we do start wasting time introducing programming  rudiments.

I will advice the read to learn Javascript to get started.

We shall go into php basics then to core development.

Programming / Re: Java Has Failed! by skima(m): 10:49pm On Apr 08, 2006
I will offer support PHP tutorial!

Lets make it 12-04-2006 on wednesday. I want to clean up projects at hand.
Programming / Re: Java Programming For Dummies by skima(m): 10:42pm On Apr 08, 2006
@SBU, i have designed it on paper i only need to get it into coding.

I promise this monday (10), i have to suspend all other projects to get it done.

I will submit it.

@upset no no no no, i understand u. There still more for me to gain than getting upset by that. afterall am carrying on with the resources i have with me.

I read the thread but i didnt see that comment u made. I only saw the number calculation
Programming / Re: Java Resource CD For Nairaland by skima(m): 3:45pm On Apr 08, 2006
Millions of thanx to Mimoh_mi for taking time today to come and give me Java resouces. I just can't say it all, its really a great thing he has done. U guys should all help say a big Gbosa for him.

He spent couple of hours with me gave me insight to java, his experience and vision for the programming world. 



public class thanxMimoh {

public static void main(String arg[]){

//Am saying thank you in 1 million times with java
for(int i=0;i<1000000;i++){

System.out.println("Thanx Mimoh " +i);
}
}
}

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (of 23 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 63
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.