₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,009 members, 8,438,426 topics. Date: Friday, 03 July 2026 at 12:03 PM

Toggle theme

ThePhantom's Posts

Nairaland ForumThePhantom's ProfileThePhantom's Posts

1 2 3 4 5 (of 5 pages)

ProgrammingRe: Java Or C++ by ThePhantom(m): 11:15am On Mar 04, 2008
I agree with candylips. It depends on what you are trying to develop. I like using Java for web base applets and I use C++ for desktop programs.
WebmastersRe: Writing A Time Based Expiration Script Or Function Using Php And Mysql by ThePhantom(m): 7:30pm On Feb 13, 2008
@webguru

It is used to run files. Those were just examples of what you will place in the file that cron will run.
ProgrammingRe: Sql 2000 Need Help by ThePhantom(m): 11:17pm On Feb 10, 2008
Create a column called "INDEX" (For Example only), change the data type to "INT". At the INDEX column details, select "Yes" for IDENTITY, make sure IDENTITY seed is 1 and IDENTITY Increment is 1. Now anytime you enter data in a row the INDEX colmnn will increase by 1.
WebmastersRe: Writing A Time Based Expiration Script Or Function Using Php And Mysql by ThePhantom(m): 6:23pm On Feb 07, 2008
My bad, it was late and I wasn't thnking straight. Here is a simple approach

I would create the table like this(add more fields if you like)

[Table]
id
Property
User
StartDate
EndDate
Duration
Active

Have the CRON file run daily, so it calculates the remaining days and deactivates any listing that has a zero duration
[CRON]
Update table set duration= (EndDate - StartDate)
Update table set Active = 0 where duration = 0
ProgrammingRe: Mssql / Php Help by ThePhantom(m): 1:20pm On Feb 07, 2008
Sorry, I just used that as an example.

replace the date with the name of the field you are appending from

ISNULL([your date field],'unknown')
WebmastersRe: Microsoft Offers To Buy Yahoo For $44.6 Billion by ThePhantom(m): 1:12pm On Feb 07, 2008
@ nduaj 

Microsoft never bought or took over Facebook. They just invested in the company. Plus Bill Gates doesn't run Microsoft anymore
WebmastersRe: Writing A Time Based Expiration Script Or Function Using Php And Mysql by ThePhantom(m): 12:36pm On Feb 07, 2008
use cookies

setcookie("Example", "User", time()+3600); expires in 1 hour

read more at http://us.php.net/setcookie

You will also need a field in you user table that tracks the timestamp when the person login.
ProgrammingRe: Mssql / Php Help by ThePhantom(m): 12:04pm On Feb 07, 2008
You said you are moving data from Mysql to MSql, maybe you do have a row without data? Anyway this is how you fix it, go into Enterprise manager in MSSQL right click on the table click design table and select "allow null". Also if you are using the insert statement as you showed above you can include "ISNULL"

example : INSERT INTO table_name (user_id,uname,date_reg) VALUES ('0','myname',ISNULL(Date,'unknown')

If there is a null in the date field it will change it to "unknown"
WebmastersRe: Google Expanding Africa Presence by ThePhantom(op): 11:30am On Feb 07, 2008
Thanks My2cents for posting the link.

So, you read Techcrunch also
ProgrammingRe: Logging In Problem: I'm Using Php And Mysql by ThePhantom(m): 9:42pm On Feb 06, 2008
Based on what you said, when you log in it takes you to localhost/webpa/login_check.php then it displays "?>". It looks like you have an unterminate line on code, check to see if you are missing a semicolon at the end of the line of codes.

Also, I just wanted to check. Looks like you are running this on your local computer, do you have PHP installed?
ProgrammingRe: How Can I Become A Good Web Programmer (esp If I Dont Have Aptech Bucks) by ThePhantom(m): 9:32pm On Feb 06, 2008
As the rest of the posters have said. READ READ and PRACTICE. I am a software engineer, and I never took a class in Web programming, I just picked up a book and studied.  Learn Basic HTML and javascript, then once you are comfotable move on to ASP, ASP.net, PHP, C++, Java. etc,  Pick one of these languages and master it. Good luck
WebmastersGoogle Expanding Africa Presence by ThePhantom(op): 9:20pm On Feb 06, 2008
I read on a site that Google is planning on opening shop in Nigeria. Does any body know where or have any more details
ComputersRe: Please All! How Do I Convert Vhs To Vcd/dvd by ThePhantom(m): 7:08am On Jan 25, 2008
Try DvdXpressDX2. It is a little device you connect from your vhs to your Pc via USB. It works great for me
WebmastersRe: Trying to Create a View Into Nigeria by ThePhantom(op): 11:23pm On Jan 10, 2008
@my2cents
want to make sure everything works. smiley



@BroadCode

Thanks for the feedback. I really appreciate all that you pointed out. About the descriptions,I do plan to add more information. I working on a system that will request users to help update or provide information for a images
WebmastersRe: Trying to Create a View Into Nigeria by ThePhantom(op): 9:44am On Jan 10, 2008
@Kobojunkie

The site will not only just show the developed side of Nigeria. It will show all of Nigeria. I want people to see that Nigeria has potential to be greater. I want them to see the real Nigeria not the one they show on TV. Check back in March when it is offically launched.
WebmastersRe: Trying to Create a View Into Nigeria by ThePhantom(op): 11:23pm On Jan 09, 2008
@ ~Sly~(*_*)

Thanks
WebmastersRe: Trying to Create a View Into Nigeria by ThePhantom(op): 11:07pm On Jan 09, 2008
@my2cents

The site does kinda have the same idea I am going for, but my site is different because of how I want to deliver it. The site right now is more in alpha mode and I am working on getting it offically lunched by march.
ProgrammingRe: What Software Have You Created? by ThePhantom(op): 7:09am On Jan 05, 2008
@naijafan

Nice apps. I am actually interested in your es-spy(remote monitoring).

email me at _guyman at excite dot com
ProgrammingRe: What Software Have You Created? by ThePhantom(op): 7:05am On Jan 05, 2008
@Bangetsu

viruses are Malware not software that doesn't count.

Just Kidding, but why a virus?
ProgrammingRe: New To Programming by ThePhantom(m): 3:23am On Jan 01, 2008
Well the main programming language I started with, that thought me programming structure and logics is C++. Once you study one programming language, it will be easy to study other programming languages . You can try the Visual C++ book .

Good luck
ComputersRe: Spyware On My Laptop by ThePhantom(m): 12:03pm On Dec 27, 2007
Get a better antivirus software.(Mcafee, Norton Kasper, ) All the so called free software don't really get all the spayware. Plus, once you are infected it is really hard to get them off. Check if your computer had a system restore point created before you got the virus IF you do, just do a system restore and the spyware will be removed.(Note you will also lose any software you instored after that system restore point)
WebmastersRe: Spam Emails by ThePhantom(m): 11:55am On Dec 27, 2007
Don't use your main email address when signung up for stuff on the web that is how spammers get your email most of the time. Create another email that is just used for that.
ComputersRe: How Can I Protect A Folder In "windows Explorer"? by ThePhantom(m): 12:55pm On Dec 26, 2007
If you are using XP, Windows has a built in Compress(Zip) feature that allows you to password protect a folder. After zipping the fiolder, You can still browse/access the zipped folder like a regular folder, it will just prompt you for a password.
ProgrammingRe: What Software Have You Created? by ThePhantom(op): 7:22pm On Dec 24, 2007
This what I need for geo tagging on one of my nigeria beta site. Nice
WebmastersRe: Trying to Create a View Into Nigeria by ThePhantom(op): 9:57am On Dec 24, 2007
@ my2cents

Thanks for the feedback and the links. Iam working on adding more features.
ProgrammingRe: What Software Have You Created? by ThePhantom(op): 9:51am On Dec 24, 2007
@labiyemmy

That is cool

Is there a way I can test/check the Map engine?
WebmastersWhat Web Programming Language Do You Use And Why? by ThePhantom(op): 7:23am On Dec 24, 2007
I have read a few posts here and I have seen where people hate on PHP or ASP or think people who use them are not on top of there game. I want to throw this out there to find out what web languages you using in developing site and why.
ProgrammingRe: How Good Are Nigerian Programmers? by ThePhantom(m): 6:35am On Dec 24, 2007
I can tell you for a fact there are a lot of very good Nigerian Programmers out there. Just because you havn't heard or seen them doesn't mean they are not out there. Programmers in Nigeria have alot of setbacks: NEPA (as Seun said), funds and resources. Look at the other countries, they have VC throwing Money at Ideas that wouldn't have made it big if they didn't get that kinda of investment.
WebmastersWeb Designer Vs Web Programmer by ThePhantom(op): 2:25am On Dec 23, 2007
I was wondering if you use or buy templates for a site and don't actually desgin the layout, but you wrote  the codes for the web features, Doesn't that classify you are as a Web programmer not a web designer. Just thought I  throw it out there.
WebmastersRe: Top Ten Nigerian Web Designers <caution> by ThePhantom(m): 2:11am On Dec 23, 2007
@ Coldasiyce

What do you mean php is cheat? Asp.net is the one that is cheap. Check most of the big social networking sites(Facebook for example) use Php. Also, Real coders use php, non coders use asp.net.

BTW, nice graphics
ProgrammingRe: What Software Have You Created? by ThePhantom(op): 10:55pm On Dec 21, 2007
Well, I am impressed. since I asked the question I think I should also add to the list.

C++
A Better Notepad with Encryption
Remote Taskkill (Works on all MS OS).
Password Encrypting Software
PC monitoring Software.

Java
Media player
Messenger
Web Crawler

VB.net
Payroll Software

PHP
Image Resizer
Web Crawler
Shopping Cart System
Etc

And lots more,
ProgrammingRe: What Software Have You Created? by ThePhantom(op): 10:33pm On Dec 21, 2007
@ alexis

Nice

1 2 3 4 5 (of 5 pages)