Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,205,629 members, 7,993,130 topics. Date: Monday, 04 November 2024 at 07:22 AM

Xanadu's Posts

Nairaland Forum / Xanadu's Profile / Xanadu's Posts

(1) (2) (3) (4) (5) (6) (of 6 pages)

Webmasters / Re: Hi Guys: Please Help Me Review This Site. by xanadu: 9:34am On Sep 14, 2007
@nduaj,

I like your site. The simplistic layout, in my opinion, is refreshing, the colours I think are not harsh to the eyes.
You might want to increase the refresh rate of the slideshow on the home page - the slides are changing a bit too fast, I think - perhaps that's what @cactus meant by 'making my eyes jump all around the page'. If you increase the refresh rate, that should sort it out.
Also, the image on the contact us page is not as sharp as perhaps it could be.

Otherwise - well done.
Programming / Re: Help Needed With Mysql/php Date Query by xanadu: 12:18am On Sep 14, 2007
You're welcome, @g99ma. That's what this forum is all about. I'm glad I was able to assist.
Programming / Re: Help Needed With Mysql/php Date Query by xanadu: 3:20pm On Sep 13, 2007
Hi, @g99ma.
You did say you would look at alternatives. I'll present you with one way I think perhaps you can achieve the results you want - in a rather simple way. if it suits your purpose you will need to merge it into your main code. Check that it works first, though.

This method assumes a few things:
1. A table of weeks mapping to their various start dates and end dates. E.g. Create a table called weeks, with the following fields: start, end, week_num, where week_num is the week number. An example of 2 such rows is attached below. This means you will need create about 52 rows for the weeks in the year (shouldn't take time - you already pasted 6 rows above) - just a one-off.
I assume you have a way to accept inputs for start date and end date, for your query. So let's say you collect the values like this:

$startdate=$_POST['startdate'];
and
$enddate=$_POST['startdate'];

So at the point where you are doing the check for each week, say the week is in a variable called $weeknum, I would first get an array of the week and its range:
$getDate=mysql_query("select * from weeks where week_num='$weeknum'"wink or die(mysql_error());

Then for that week, the query below should do what we want:
while ($row=mysql_fetch_array($getDate)) {

if ($startdate<$row['end'] AND $enddate>=$row['end']) { echo "Do stuff or say Within range"; } else { echo "Do stuff or say Out of range"; }

}

The above should do one thing - it should return a specific message - in this case 'within range' - if the selected date ranges fall within the week specified. Of course you change the echoed result to what you want.

The downside of this approach is that every year, you will need update the year part of the entry in the weeks table.
I tested the above with the six weeks you put above, and it works. if you have any queries, please let me know.

Programming / Re: Let Share Codes by xanadu: 12:32am On Sep 12, 2007
Just to add a couple of lines to Smart K's post above: I find that, in my experience with php, the biggest advantage of classes to me has been Reusability.
Using classes, you can use the same code for several programms or projects. You can achieve the same, of course, using functions - but in many cases even functions need to be 'customised' when being reused in different projects. Classes eliminate this.
So, to add to the advantages of classes:

v. Reusability/portability
Programming / Re: Let Share Codes by xanadu: 2:46pm On Sep 11, 2007
Nice thread, Smart K. I am definitely interested, will be glad to share PHP codes where I can. Looks like the begining of something great here - some kind of code repository that will help developers here on Nairaland and hopefully help move the country forward technologically.
Programming / Re: Anything On Erp And Sap by xanadu: 2:46am On Sep 09, 2007
And if you want to consider open source options, the Apache Group has a very interesting project called Ofbiz - an open source and enterprise-class ERP solution. Great software, and something you could look into.

Check it out here:

http://ofbiz.apache.org/
Webmasters / Re: Nigerian Hacking Team by xanadu: 2:29am On Sep 09, 2007
@xanadu
now for a policeman to prevent shooting, he must learn how to shoot. Nigeria has quite a bad impression outside quite all rite, the reason why those who hack credit cards do it and run away is because we know nothing about it. all this is about is a security awareness. over there everybody know what hacking is, so its no longer an event, why an american man may not hack into another man's account is that the other man knows exactly what he'd do. but here in nigeria <15% are computer literate, and <2% are security concious. thats a shame and its our fault. Understand?

No. Please speak English - perhaps then, I might.
Webmasters / Re: Nigerian Hacking Team by xanadu: 11:11pm On Sep 07, 2007

Please consult people. there are good hackers as well as we have bad hackers.

Yes there certainly are, dear evergie - but note the title you have chosen for this thread:
Nigerian Naughty Boys

So judging from such a title, which one are you?

And if you say you are an ethical hacker, or a penetration tester, why not form an 'Association of Penetration Testers'? Which is more noble and honourable? I will not be drawn into a prolonged rally of retorts - in my earlier post, I acknowledged your right to your opinion. I have the same right as well, and have exercised it. 'Nuff said.
Webmasters / Re: Nigerian Hacking Team by xanadu: 9:15am On Sep 07, 2007
Do we have Nigerian hackers? if yes, what of if we form a club of Nigerian hacker just like the indians.

hi evergie, in on your side i'va already created a website to that effect, but i ddnt make it looks so bad, i'm seriosly into the stuff. call me 08032077148 or mail goatnextdoor@yahoo.com we'd discuss better

@evergie, without mincing words, and acknowledging that you are fully entitled to your choice of career and opinion, I really think you should be ashamed of yourself for starting such a thread here (or anywhere else, for that matter). How could you? So many Nigerians are trying desperately to repair the thrashed credibility of Nigeria (and Nigerians) the world over, and you think the best thing to do is set up a 'hackers' club?? How dare you?? What has gotten hold of your mind? Is that all the ambition you have - to destroy?

And @stepestus - if you think your cause is 'worthy' why not post the url to your so-called 'website to that effect'? You think it is a classy thing to be known as a 'naughty boy'??

You guys better stop right there in your tracks, think of some better and more productive way to use your talents (such as you may have), and grow up. I suggest starting with improving your command of the written form of the English language.

The thing is, I really do not understand why this thread is still here. I have seen and read about less inciting and unambitious posts being deleted here on Nairaland.
Webmasters / Re: Please Help Me Out by xanadu: 4:55pm On Sep 05, 2007
No wonder over 70% of dynamic websites in the world run on PHP, never mind people attacking all the time.

With PHP there are no limits especially as it relates to the web, which by the way is what it was designed for in the first place.

@Afam, right on! Never mind the people who think PHP is 'lightweight' - the truth is, they do not really know the full powers of PHP. People tend to overlook the fact that it has evolved, over time, into arguably the world's most popular tool for creating dynamic websites.
Webmasters / Re: Announcing: Nigeria Websites Awards by xanadu: 9:37am On Aug 30, 2007
Interesting. As part of your criteria you say:

Server Security Checks (written authorizations required) advanced security analysis - port scans, trojan sweeps, vulnerability profiles, firewall setups, network sniffers, software & application faults, e-mail vulnerabilities, database & human interface weaknesses.

Really??
Webmasters / Re: It’s Amazing, Websites Can Now Accept Interswitch Payments Free! by xanadu: 9:10am On Aug 29, 2007
Nobody seem to have answered the question about how you get details of who paid you, or am i missing something

makes me wonder too, @apmis. Ok, lets make the question more direct - @avsnet, referring to your post above, you seem to know a bit about how Flash Me Cash works - can you help with answers to some of these questions:

* If someone sends money via Fmc to say, the UK for instance - how can the money be collected?
* Do I have to go over to Nigeria to cash it at a Firstinland bank branch, or do they have affiliate banks in these other countries where payments can be collected

Thanks - your answers will be much appreciated.
Programming / Re: ? by xanadu: 12:04pm On Aug 28, 2007
Sounds like an interesting project

You can create the flash taste in your software with a combination of actionscript, haXe, neoswiff, mxml, etc.

Prodgalson - Giving this sort of project a go using Flex would be something to chew on, wouldnt it, ?
Webmasters / Re: It’s Amazing, Websites Can Now Accept Interswitch Payments Free! by xanadu: 9:57am On Aug 28, 2007
I see that Flash me cash can be used to send money to and from a few countries like Nigeria, UK, South Africa, etc.
Can anyone tell me please - if someone sends money via Fmc to say, the UK for instance - how can the money be collected?? Do I have to go over to Nigeria to cash it at a Firstinland bank branch, or do they have affiliate banks in these other countries where payments can be collected? Unfortunately, there doesn't seem to be a lot of information regarding the service on the FIB website. Any one knows how it works?

Can anyone help with my question above, please?
Programming / Re: Php/mysql Programmers, Please Help Me Out ! by xanadu: 9:55am On Aug 28, 2007
??
Programming / Re: Php/mysql Programmers, Please Help Me Out ! by xanadu: 12:32am On Aug 28, 2007
Right, thanks for posting the error. Go back to your select statement, and change:

$data = "SELECT * FROM address WHERE name ='$parish'" or die(mysql_error());


to:

$data = mysql_query("SELECT * FROM address WHERE name ='$parish'"wink or die(mysql_error());

That should fix it - goodluck!
Webmasters / Re: It’s Amazing, Websites Can Now Accept Interswitch Payments Free! by xanadu: 11:00pm On Aug 26, 2007
I see that Flash me cash can be used to send money to and from a few countries like Nigeria, UK, South Africa, etc.
Can anyone tell me pls - if someone sends money via Fmc to say, the UK for instance - how can the money be collected?? Do I have to go over to Nigeria to cash it at a Firstinland bank branch, or do they have affiliate banks in these other countries where payments can be collected? Unfortunately, there doesn't seem to be a lot of information regarding the service on the FIB website. Any one knows how it works?
Programming / Re: Php/mysql Programmers, Please Help Me Out ! by xanadu: 7:52pm On Aug 25, 2007
no worries - can u paste the actual error thrown up on your screen? Also, did u change the select statement from the one in your earlier post?
Programming / Re: Php/mysql Programmers, Please Help Me Out ! by xanadu: 5:14pm On Aug 22, 2007
$data = "SELECT * FROM address WHERE name ='$parish'"

The issue here is: You MUST declare your variables. $parish has no value, because you have not declared it as a variable containing the user's selection - so your query simply is saying 'where $parish =NOTHING'.

Put this code above your select statement:

$parish=$_POST['parish'];

That should work now, because you have basically said: '$parish now contains whatever the user selected'.

Hope it works out for you.

Nb: Nothing wrong with your select statement - the apostrophes are in order. Just declare the $parish variable as above.
Webmasters / Re: It’s Amazing, Websites Can Now Accept Interswitch Payments Free! by xanadu: 2:15am On Aug 22, 2007
very interesting and, I must say, timely concept. Thanks, siskay, for throwing light on this.

As usual one needs to find out as much as possible about this, before committing to it. I found this on the web, and thought I'd share it: http://answers.google.com/answers/threadview?id=336342
Webmasters / Re: Help! - Uploading My Site by xanadu: 3:06pm On Aug 15, 2007
Or http://www.01ftp.com

However:

Even if it has to be online, no problem so far its secure.

Being secure is another thing altogether. No guarantees.
Religion / Re: Drop Your Prayer Point Here. by xanadu: 2:16pm On Aug 14, 2007
Lord we are all made in your image, let Seun the owner of Nairaland and others come to the realisation that you are God, reveal your self to him in ways he will never expect, let the birds speak to him about you, let the rains and sunlight reveal your presence. May the winds carry him to places only you dwell, let nature be your preacher to him and let him know he is god cause he was made in your image, not because of his thoughts and abilities. Amen.

Bros, better say amen to this.

Amen.
Webmasters / Re: Html 5? by xanadu: 3:51pm On Aug 09, 2007
@my2cents - thanks a lot for that. Have got my weekend reading material all sorted!
Webmasters / Re: Abeg, Who Are These People Designing Websites For 4k? by xanadu: 9:53am On Aug 08, 2007
Again, a lot of us seem to run off on the wrong tangent. Thank you Afam for this:

With N4k I can design www.talkofnaija.com (under 24 hrs) because I have a copy of joomla on my machine.

This idea of leaving out the main issue and looking for people that have balls to do this and that or calling people kids even when they do not show us top quality websites that they designed for say N1M is getting out of hand.

Can someone design a website for N4K? Yes. Can someone do same for N1M? Yes. Can someone do it for free or have the client buy free lunch? Yes.

Is there a standard or are we becoming authorities within our own rights and wishing that what we prefer become the standard that others must follow?

This is a huge problem in Nigeria, too much talk, too much boasting and bragging yet very little to show for all the talk.

I think we should all read the above carefully. Does it not make sense? Why must we put down someone who decides to charge what he likes? Are we not in a free economy in Nigeria? Unfortunately, so many of us still suffer from Nigeria's biggest illness - SHD Syndrome (Shoot Him Down Syndrome). Thanks again Afam for your timely post.
Webmasters / Re: Creating The Ultimate Discussion Forum by xanadu: 11:51am On Aug 07, 2007
Never thought the day would come when I would have to say this, but then you have to recognise vision when you see it. And finally I see it in Seun's new plans for Nairaland.
Seun, this is a great vision - I wish you all the best. May your sight (pardon the pun!) never grow dim! smiley
NYSC / Re: First State Nysc Website Launched! by xanadu: 12:57am On Aug 05, 2007
Forums are one of the most effective ways of sharing information, learning and airing opinions on the web today - and rightly so too. I'm sure not a few of us have learned a lot from forums all over the web, Nairaland inclusive. One of the attractions of the Internet is the freedom to air our opinions. The question, as always with things liberty-related, is: how far can we go in the exercise of our right to air our opinion? Sometimes we get some very interesting and thought-provoking questions and answers on Forums. I find some entries in this thread particularly interesting. Take a look the following quote carefully:
check it out:

www.nasarawanysc.com

As it stands, it is the first state NYSC website in the country.
I'm still gathering information from state NYSC officials and I will soon fill all the empty pages.
If you have your cricticisms, make them very objective. Its my first site and besides, the pages are still under construction.
Its my personal CDS project.

Right. Simple (and I daresay, humble) request for 'objective' (doesn't the word 'constructive' come to mind?) criticism of a website's design. Then this reply comes:

1) There is a horizontal scroll in both IE and FF - consider reducing the width of your container table/div

2) Why is the left nav flashing? Not good

3) Do white people attend NYSC (I saw a couple in your header)?

4) Move your CSS and JS code into external files.

I hope these help

Ok. Now, compare the reply above to this one:
I almost had a heart attack. This is absolutely horrible. flashing menu, poor user interface, horrible color scheme, borders, different heights for title bars include some padding, menu inconsistency

wtf look at your stylesheet you have id names from layer1 to layer35 or so. why not give real reasonable names. This is extremely horrible. phew

Something to think about, eh?
Career / Re: G.i.s Geographic Information Systems by xanadu: 11:21pm On Jul 28, 2007
whats our business with Norway -omo Naija la wa o.

  @simply_me, but you say your location is Cambodia

1 Like

Programming / Re: Urgent! Php Upload Image Script by xanadu: 4:15pm On Jul 26, 2007
Send me an email, my friend. Your email address is hidden.
Webmasters / Re: Nigerian Blogs by xanadu: 4:07pm On Jul 26, 2007
Check this one out:

http://etingo..com

Nice and touching!
Programming / Re: Urgent! Php Upload Image Script by xanadu: 10:04am On Jul 26, 2007
can someone please give me a simple php script to upload and display images using:
- file system and
- mysql

thanks.

@determined, if you haven't sorted it out yet, pm me and I'll send you an upload script - free of charge. You do not have to pay anyone for this.
Webmasters / Re: Designing A Website: For Beginners by xanadu: 4:35pm On Jul 24, 2007



Re: Designing A Website: For Beginners
« #128 on: April 18, 2007, 11:29 PM »

i guess my input was not appreciated Sad

i just tried to contribute Angry

don't know why i bothered

I know where you are coming from, webguru. I have been there. Sometimes you just wonder if it is worth it all.

i was really enjoying the tutorials by ncpat
until " what is that his name" came to spoil the fun and progress i was experiencing
now this thread has been turned into an advertising and marketing zone

Thank you very much, hollandis. You are a true Nigerian. By the way, I recommend you go through the first two pages of this thread to gather a bit more information. Might help you.

- "what is that his name"
Webmasters / Re: Site Review by xanadu: 10:41pm On Feb 19, 2007
Great design, my2cents. Love the colour scheme, the effect on the eyes, the general simplicity and consequent ease of use. Quite frankly, I wish most Nigerian designers would take a cue from this - as you say, there is really no need to load up a site with all the effects in the world. Unfortunately, for a lot of Nigerian web designers the intepretation of website design = online filmshow! As far as I am concerned, even the banner does not require any modification (unless you have already done that between this post and the last one).

So - keep it up: i think it's a great design.

(1) (2) (3) (4) (5) (6) (of 6 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. 51
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.