Career › Re: Can An Employee Ever Be Richer Than His Employer? by skima(m): 10:47pm On Aug 02, 2006 |
All things being equal, The employee can't be richer than the employer.
In the case of Bus driver and Bus owner, \
The owner can only peg the amount to be delivered but not the amount the driver can take home.
So even if he makes 100k and the delivery due is 5k then he owns the rest.
The owner also bears the major risk (repair servicing etc etc).
Business Owners Rules!
E / S / B / I
CashFlow Quadrant |
Career › Re: What Are Your Career Goals? by skima(m): 8:58pm On Jul 24, 2006 |
- Own a software company - Be a computer Guru , and work at my own pace (though all the pin i own now is from computer) - write inspirational books - Own a very large stocks - Well am a writer i want to continue in that. - Empower youth through brain-dump - Become a renown public speaker |
Programming › Re: Web Development Or Software Development: Which Is More Lucrative? by skima(m): 5:02pm On Jul 23, 2006 |
Both have a very good feature!
But in my own case i'd rather study web development to the maximum possible. Cos all those application they claim to be developing will still need to be available online, so, we will do that.
Those very complex softwares will still have web version. Think about image manipulation and text formating. This is just a tip, the growth continues!
Everyone needs web .
Think about Mobile app!
|
Programming › Re: Php Header() Function Error by skima(m): 11:12am On Jul 15, 2006 |
1. Make sure there is no space at the top of the page 2. make sure u have not outputed any data before using the function <?php if (!$_GET['topic_id'] ){ header("location: prevpage.php"  ; exit; } ?> |
Programming › Re: Nigerian Php Users (phpng) by skima(op): 9:32am On Jul 10, 2006 |
Ask let see wat we can do. |
Programming › Re: Nigerian Php Users (phpng) by skima(op): 6:43pm On Jul 09, 2006 |
Yea i love that. I will put that up soon.
@Seun Nairaland is good and i dont see any treat posed by phpng. Strictly for php programming.! |
Programming › Nigerian Php Users (phpng) by skima(op): 9:55pm On Jul 07, 2006 |
I am very sure some of you guys know me as a PHP evangelist, I thereby invite you all to join this php user group. We can share ideas and solve problem for one another. And develop something great. If you are a guru in PHP please join as your knowledge and experience is needed to make other nigerians good. If you are a newbie, you will get resource and helps from all this professionals. Follow this link. http://groups.google.com/group/phpngThen join, its free
|
Technology Market › Re: Where Can I Get A Free Laptop? by skima(m): 9:30pm On Jul 07, 2006 |
Its goes this way,
I loved computer, I do not have money, I went to work for a 5k per month I wanted to become a programmmer, I saved my salary then went to a computer school i wanted to become a web developer, I then started learning HTML I wanted to have a PC of my own, Then work with my knowledge of html earn money I wanted to have a website of my own, I went for a free hosting
life is just like that, when you want something. First have it iin mind you wont get it free (even if in the long run u get it) and don't make free your focus.
The illustration above is a personal experience.
"You can obtain anything you want in life if you know the rules of life, you get according to what you put in"
The person that loved computer then, now teaches computer education The person that needed a PC now have two PCs, now have access to the brand new laptop The person that needed website then, now gives out website The person that wanted to become a programmer, now earn a living programming and teaching it.
Just take little step. By starting small where you are. Help will come on your way.
One thing i know is if you say you will give something for free, and later u didnt, i wont get hurt. Cos its a gift, you only gv it when your pleased. And life goes on and where still friends. Thats me.
remember:
"Dont shoot for the stars, shoot for the moon and if u fail, you will land amongst the stars" Try to work and own one and u may be luck to have it free.
|
Programming › Re: My Web Pages Are Distorted On Different Display Screen. What's The Way Out by skima(m): 8:48pm On Jul 07, 2006 |
Set your table/div width and height to 800*600 then centralised it. Have you ever viewed yahoo page on ur system? You will see it stand in the center and the width and height fit with it.
just do that. |
Career › Re: My IT Career Is Dying. Save Me Now! by skima(m): 2:52pm On Jul 02, 2006 |
hmm! |
Tech Jobs › Re: Vacancy For Visual Studio .net 2005 Developer by skima(op): 2:41pm On Jul 02, 2006 |
People who can use VS.net efficiently. |
Tech Jobs › Vacancy For Visual Studio .net 2005 Developer by skima(op): 1:28pm On Jun 29, 2006 |
Programos Software Comp. needs someone who is good at VS.net 2005. I heard from an insider that they need close to 3 web developers for there WEBSTONE software or so.
U may post your knowledge of the program (VS .net 2005) so ill see if you can handle it then ill direct you to the person in-charge.
knowledge of Microsoft technology will be an Advantage.
c yah |
Programming › Re: Php Form To Mail Problem by skima(m): 3:00pm On Jun 28, 2006 |
change this : $company=$_POST['company'];
to : $company=$_POST['company_name'];
Dont make any change to your form.
my number 08027924441
|
Programming › Re: Php Form To Mail Problem by skima(m): 6:45pm On Jun 25, 2006 |
have u tested it?
I have not though.
|
Programming › Re: Php Form To Mail Problem by skima(m): 12:27am On Jun 24, 2006 |
We are here to help one another. |
Programming › Re: Php Form To Mail Problem by skima(m): 12:02am On Jun 24, 2006 |
@farriel Change ur form to this <form method="post" action=", /contact_form1.php"> <table class="border"> <tr> <td colspan="2" valign="middle" class="paraf"> </td> </tr> <tr> <td colspan="2"><span class="label"><strong>Your Contact Details </strong></span></td> </tr> <tr> <td width="103" class="paraf"><strong>Full Name</strong> <span class="style7">(Surname First)</span> <strong><span class="style16">*</span></strong></td> <td width="300"><label for="select"> <input name="name" type="text" class="paraf" id="name" size="20" /> </label></td> </tr> <tr bgcolor="#F0F0F0"> <td class="paraf"><strong>Phone</strong></td> <td> <input name="phone" type="text" class="paraf" id="phone" size="20" /></td> </tr> <tr> <td class="paraf"><strong>Fax</strong></td> <td> <input name="fax" type="text" class="paraf" id="fax" size="20" /></td> </tr> <tr bgcolor="#F0F0F0"> <td class="paraf"><strong>Email<span class="style16">*</span></strong></td> <td> <input name="email" type="text" class="paraf" id="email" size="20" /></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td colspan="2"><span class="label"><strong>Your Company Details</strong></span> </td> </tr> <tr> <td class="paraf"><strong>Name<span class="style16">*</span></strong></td> <td><label for="textfield"></label> <input name="company_name" type="text" class="paraf" id="company_name" size="20" /></td> </tr> <tr> <td bgcolor="#F0F0F0" class="paraf"><strong>Phone<span class="style16">*</span></strong></td> <td bgcolor="#F0F0F0"><label for="label2"></label> <input name="company_phone" type="text" class="paraf" id="company_phone" size="20" /></td> </tr> <tr> <td class="paraf"><strong>Fax</strong></td> <td> <input name="company_fax" type="text" class="paraf" id="company_fax" size="20" /></td> </tr> <tr> <td bgcolor="#F0F0F0" class="paraf"><strong>Email<span class="style16">*</span></strong></td> <td bgcolor="#F0F0F0"> <input name="company_email" type="text" class="paraf" id="company_email" size="20" /></td> </tr> <tr> <td> </td> <td><label for="label"></label></td> </tr> <tr bgcolor="#999999"> <td colspan="2" bgcolor="#FFFFFF"><span class="label"><strong>Your Project Information</strong> </span></td> </tr> <tr> <td bgcolor="#FFFFFF" class="paraf"><strong>Brief Project Description</strong><span class="style16">*</span> </td> <td bgcolor="#FFFFFF"> <textarea name="project_descr" cols="30" rows="4" class="paraf" id="project_descr"></textarea></td> </tr> <tr bgcolor="#F0F0F0"> <td class="paraf"><strong>Product or Service Category <span class="style16">*</span> </strong></td> <td><select name="project" class="paraf" id="project"> <option>Please Select, </option> <option value="Gypsum">Gypsum</option> <option value="Grid">Grid</option> <option value="Suspended Ceilings">Suspended Ceilings</option> <option value="Industrial Chemicals">Industrial Chemicals</option> <option value="Sales">Sales </option> <option value="Distributorship">Distributorship</option> <option value="Clearing, Forwarding">Clearing, Forwarding</option> <option value="Warehousing">Warehousing</option> <option value="Haulage">Haulage</option> </select> </td> </tr> <tr> <td bgcolor="#FFFFFF" class="paraf"><strong>Project Budget<span class="style16">*</span></strong></td> <td bgcolor="#FFFFFF"><table width="300"> <tr> <td width="100"> <select name="currency" class="paraf" id="D2"> <option value="$">US Dollars</option> <option value="Pounds">UK Pounds</option> <option value="=N=">Naira</option> </select> </td> <td width="188"> <input name="amount" type="text" id="amount" size="20" /></td> </tr> </table></td> </tr> <tr bgcolor="#F0F0F0"> <td> </td> <td><input name="B1" type="submit" class="paraf" id="B1" value="Contact Me" /></td> </tr> |
Programming › Re: Php Form To Mail Problem by skima(m): 11:49pm On Jun 23, 2006 |
@kazey
am still coding please.
I have viewed is source page. |
Programming › Re: Php Form To Mail Problem by skima(m): 11:32pm On Jun 23, 2006 |
Enhanced. Make sure u validate for a valid email address. So we will add a validation function to it. <?php /* I will advise u follow name conventiona when coding that is dim email's variable has $email and company as $company
*/
function checkEmail($email){ return preg_match("/^[^\s()<>@,;:\"\/\[\]?=]+@\w[\w-]*(\.\w[\w-]*)*\.[a-z]{2,}$/i",$email); }
//lets dim our variables
//Make sure u make it tally with the forms name
$name=$_POST['name']; // name of the person fillling the form $phone=$_POST['phone']; // his phone number $fax=$_POST['fax']; //his fax $email=$_POST['email']; //his email $company=$_POST['company']; $company_phone=$_POST['company_phone']; $company_fax=$_POST['company_fax']; $company_email=$_POST['company_email']; $project=$_POST['project']; $project_descr=$_POST['project_descr']; $currency=$_POST['currency']; $amount=$_POST[amount'];
$MailTo = "farriel@gmail.com"; $Body = "My name is $name <br> My phone number is $phone <br> My Fax number is $fax <br> My email address is $email <br> My company Name is $company <br> My company phone number is $company_phone <br> My company fax number is $company_fax <br> My company email address is $company_email <br> This project is classified as $project <br> <P> <b>Project Description:</b> $project_descr <br> We intend spending about $currency$amount on this project."; $Subject = "ATTN: New Comment from the web"; $MailFrom = "$T1 <$T2>";
$err=""; // Let validate the entry
if(empty($name)){ $err.="Please enter your name <br/>"; }
if(!ctype_digit($phone)){
$err.="Please enter a valid phone number <br/>";
} //check if this is a number if(!ctype_digit($fax)){
$err.="Please enter a valid fax number <br/>";
}
//validate email if(!checkEmail($email)){
$err.="Please enter a valid email address <br/>"; }
if(!ctype_digit($company_phone)){
$err.="Please enter a valid company's phone number <br/>";
}
if(!ctype_digit($company_fax)){
$err.="Please enter a valid company's fax number <br/>";
}
if(empty($company)){ $err.="Please enter your company's name <br/>"; }
//validate email if(!checkEmail($company_email)){
$err.="Please enter a valid email address <br/>"; }
if(empty($project)){ $err.="Please enter your project name <br/>"; } if(empty($project_descr)){ $err.="Please enter your project description<br/>"; }
if(!ctype_digit($amount)){
$err.="Please enter a valid amount You intend spending<br/>";
} //Let check if an error occured if(strlen($err)>0){ echo "<p>$err</p>"; }else{
$headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: $MailFrom \r\n";
$mail1= mail($MailTo, $Subject, $Body, $headers);
$MailTo2 = "farriel@gmail.com"; $Body2 = "$Body"; $Subject2 = "$Subject"; $MailFrom2 = "$T1 <$T2>";
$headers2 = "MIME-Version: 1.0\r\n"; $headers2 .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers2 .= "From: $MailFrom2 \r\n";
$mail2= mail($MailTo2, $Subject2, $Body2, $headers2);
//redirect the page only if the mail was successful.
if($mail1 && $mail2){ /* Redirect browser */
$Url = "Location: http://www.uciko.com/aboutus/confirmation.php";
header($Url);
/* Make sure that code below does not get executed when we redirect. */
exit(); }else{ echo "Mail could not be sent. error occured"; } } ?>
|
Programming › Re: Php Form To Mail Problem by skima(m): 11:05pm On Jun 23, 2006 |
when u need the value from a variable use double quote. so with his quote i think he's right. The code was developed with register global on. But On the server on which u runs it, register global is off. <?php /* I will advise u follow name conventiona when coding dats dim email's variable has $email and company as $company */ //lets dim our variables $T1=$_POST['T1']; $T2=$_POST['T2']; $T3=$_POST['T3']; $T4=$_POST['T4']; $T5=$_POST['T5']; $T6=$_POST['T6']; $T7=$_POST['T7']; $T8=$_POST['T8']; $T9=$_POST['T9']; $D1=$_POST['D1']; $D2=$_POST['D2']; $S1=$_POST['S1']; $MailTo = "farriel@gmail.com"; $Body = "My name is $T1 <br> My phone number is $T2 <br> My Fax number is $T3 <br> My email address is $T4 <br> My company Name is $T5 <br> My company phone number is $T6 <br> My company fax number is $T7 <br> My company email address is $T8 <br> This project is classified as $D1 <br> <P> <b>Project Description:</b> $S1 <br> We intend spending about $D2$T9 on this project."; $Subject = "ATTN: New Comment from the web"; $MailFrom = "$T1 <$T2>"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: $MailFrom"; if ($MailTo) { if (mail($MailTo, $Subject, $Body, $headers)) { } } $MailTo2 = "farriel@gmail.com"; $Body2 = "$Body"; $Subject2 = "$Subject"; $MailFrom2 = "$T1 <$T2>"; $headers2 = "MIME-Version: 1.0\r\n"; $headers2 .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers2 .= "From: $MailFrom2 \r\n"; if ($MailTo2) { if (mail($MailTo2, $Subject2, $Body2, $headers2)) {} } /* Redirect browser */ $Url = "Location: http://www.uciko.com/aboutus/confirmation.php";header($Url); /* Make sure that code below does not get executed when we redirect. */ exit(); ?> |
Programming › Re: Java Programming For Dummies by skima(m): 10:55pm On Jun 23, 2006 |
Actually, I attempted the assignment. After all the coding, the stuff failed to compile. I was stucked!  But i came online for help no response. So I tried to restart the assignment to enable me see where i went wrong. But thats no excuse for me. I am working with java now using Netbeans. ( Thanks to Mimoh who gave me the CD) Though am also engaged in alot of project "stockbrokerage web app","Mini-ecommerce", Elearning site and a government e-tax solution which i was developing with PHP( delta state) wish i had to complete with same time. I'd to split my time, But am back with java. Now i learns alone. |
Computers › Re: Can't Check Yahoo Mail Or Chat? by skima(op): 3:20pm On Jun 21, 2006 |
Fixed appointment online couldnt make it , Yahoo palava
Tryin to see if i can use googleTalk |
Computers › Can't Check Yahoo Mail Or Chat? by skima(op): 3:06pm On Jun 21, 2006 |
I can't check my yahoo email, i can't chat with the messenger. Is yahoo having problem?
Are you experiencing it? As at 3:05pm Nigerian time. |
Programming › Re: Can A Skilled Programmer Make It In Nigeria? by skima(m): 1:40pm On Jun 20, 2006 |
Good Talk SBU.
Dont start by stoping,
There is market in NIgeria IT industry, the earlier you tap into it the better. Though for now it may seem "no-money" put if u stick with it, and following the step above ( From SBU) ur on ur way to success. Nigeria is the best place for you to start now.
as in invest in IT. |
Webmasters › Re: A New Forum For Nigerians by skima(m): 10:31am On Jun 14, 2006 |
lol  Well, If you know you can bring up something unique and better, I dont it Nairaland existence should be a "Block". We are in a free world, we can even participate in both forums. Its all about bring out something unique. I think if we have as many as possible, there wont be monopoly or pose. NOTE: neva ment to hurt noone, na ma mind a speak |
Webmasters › Re: Nigerian Webmasters' Association? by skima(m): 10:44am On Jun 12, 2006 |
|
Programming › Re: Php Is For Code Hackers by skima(m): 10:24am On Jun 05, 2006 |
PHP can achieve just anything you want to achieve in web development. Though php was developed to enable u develop web ware as fast as possible, that was why the architecture (first release)was not well developed compared to java. But this days we alot of frameworks that have improved this language. PRADO etc. and d uncoming ZENDFRAMEWORK am taking a look at this frameworks.
PHP's OOP concept has also being improved, has u know, most features are from java, so java is like a brother to PHP, In the nearer feature i see php be as robust as java.
[size=24pt] Expect MORE from PHP 6.[/size]
|
Programming › Re: Web Development Using PHP by skima(op): 7:21pm On Jun 01, 2006 |
@smartsoft make sure u protect copyright. make sure u distribute legal material |
Programming › Re: Let's Develop A Content Management System (CMS) by skima(op): 7:19pm On Jun 01, 2006 |
am on yahoo skima4real2@yahoo.com |
Programming › Re: Collection Of Nigerian Programming Gurus by skima(m): 8:33pm On May 31, 2006 |
|
Programming › Re: Web Development Using PHP by skima(op): 1:58pm On May 30, 2006 |
Am willing to continue this tutorial. av been quite busy. |
Programming › Re: Web Form That's Submitted To An Email Address by skima(m): 1:52pm On May 30, 2006 |
Am very sure he must be coding with register_global=on. But this is not advisible. Enhanced code : works in any environment that supports php and support sendmail. <?PHP #Where you want the email to go $to = $_POST['useraddr'];
#subject of the message, change this $re = "Feedbackfromcontactpage"; /* *@header : this will show when the user click the reply button in the email client */ $header="From: Your own name<youremail@yoursite.com>\r\n"; $header.="Reply-to:<yourreplyemail@yourcompany.com>\r\n";
#message from the feedback form, don't touch this $msg = $_POST['comments'];
//CHECK TO MAKE SURE THE EMAIL IS VALID
if(!preg_match("/^[^\s()<>@,;:\"\/\[\]?=]+@\w[\w-]*(\.\w[\w-]*)*\.[a-z]{2,}$/i",$email)){ echo "Enter a valid email address";
}else{ //if the email was valid lets send it
#send the mail, don't edit this if(mail($to,$re,$msg,$header)){
echo " Your email has been sent! to $to."; }else{ echo "<p> Error sending mail!</p>"; }//end sending email
}//end validate email
?> |
Programming › Re: Let's Develop A Content Management System (CMS) by skima(op): 2:24pm On May 20, 2006 |
Am a PHP programmer .
I cant locate your announcement. |