Xanadu's Posts
Nairaland Forum › Xanadu's Profile › Xanadu's Posts
jozzy, i have tested the scripts, and can assure you they both work. howare you running them? All you have to do is copy the scripts as I have pasted them in the earlier post, and paste them in .php files. Then place them in the same directory on your server. What server are you running them on, anyway? |
Hi jozzy, Came across your post and thought I should contribute my twopence worth. I have written a little script that should do what you want - a page called fthank.php (which processes your form, sends the email, generates an error if necessary and displays a thank you/confirmation message if the post is successful). So instead of three pages as you stated in your post, you could use two (to be more efficient, you could actually do it all on one page, but lets leave it at this for now). I have tried to comment the script as much as possible to help you understand the steps. Feel free to post a reply if you do not understand any of the steps. Here's fback.php (your form) - note that I have amended the "action" in the form tag to point to 'fthank.php'. <form action="fthank.php" method="post" name="feedback" target="_self" id="form" >Now here's fthank.php - the processor/confirmation/error page: <?Any queries, do post a reply. |
niceuzor, do you know, or can you find out if your hosts support php? I could write a short php code for your if they do, both for contact and registration. |
Why, oh why are we like this, ? Why must everything come down to: "my own is better than your own", ?? This is no small matter and is not only evident in this post: methinks it is at the heart of a larger Nigerian problem - we all want to show off as being better than the next person. We do not simply and honestly criticise a website when we are asked to, we go about bringing the whole thing down with insults and comparisons with our 'killer sites', and for good measure, with our 'qualifications'. And when we do criticise a website honestly and dispassionately, the website owner takes offence, and again it all comes down to the 'mine is bigger than yours' game. When will we remove this constant display of arrogant egotism from our national psyche? I know of more than a few sites where a website review will ONLY result in positive criticism, and where such is painful, the site owner simply thanks the critic and proceeds to adjust accordingly. I have to add, though, that these forums are not Nigerian ones, neither are the majority of their members. And the criticisms help to produce better sites. I hope the day comes when we can all give and receive criticisms with the sole aim of improving ourselves. NO PERSONAL ATTACKS OR PUBLIC FIGHTSSeun, the above is from your site 'rules'. One wonders if the language in the above posts really should be allowed on the pages of this great forum. |
I agree with most of your points kazey - you have really hit the nail on the head. But you suggest that the escrow payments should be irreversible - what then does happen in a GENUINE case where the item purchased and shipped to them is not the same, or is significantly different from the item advertised by the seller? Would the buyer, who I presume would have already paid the escrow deposit, then lose their money? |
dejisys, I must say - your site looks VERY impressive. It has a clean, professional touch to it and usability is a-ok! I agree it is worth timmy's suggestion of about N700,000 (or even more, possibly). However I think you should leave it the way it is - I mean, in my humble opinion, one of the main attractiveness to the site is its clean look - a refreshing look from the prepoderance of sites with over-exhaustive and heavy flash scripts. My suggestion - try to keep the site as simple as it currently is. Leave the heavy flash to the film-makers. |
My pleasure, Obeto, my pleasure. Still got 4 to go, guys. |
4 left, |
Hello all,RomeoX, Obeto, imomoh24, Phlota, Please read my earlier post quoted above. 6 invites left. |
I bet those accounts have definitely been hacked. www.yahoo.music is CERTAINLY NOT a yahoo site - you can register a similar domain at http://www.cydots.com/. Go to that site andyou'll see what I mean. I advise your friends create new email accounts and try to let all their contacts know they no longer use them. |
It happens once in a while. They just need to chill out for some time, may be a week. Yahoo would recognise their passwords after a while.Without sounding alarmist, you must consider the possiibility that, either these people have forgotten their passwords (highly unlikely for ALL of them!), or these accounts have been hacked into and the passwords changed. I'm afraid there is no such thing as yahoo 'recognising' the password after 'a week'. Have the affected people contacted yahoo to complain? |
Two weeks ago, just bought a bike and was riding for the first time in about 26 years. Good for exercise, but scary after such a long time, I was so shaky on the thing, not sure if I will ride it again. wwtlt you prayed before a meal? |
His clothes are so DIRTY! Those guys have DIRTY minds! Aggregate |
He came to set me FREE. I got that car for FREE. Content |
7 invites left. |
naijacutee, thanks for your input. What say we wait to get a few more users to indicate an interest, then we can discuss among ourselves a good name for the site. I'll register the domain name, no worries, and we take it from there. But let's get a feel from others as to what they think about the idea. Thanks again. |
9 invites left. |
Hello all, Got 10 (ten) gmail invites to give away - first ten emailed requests I receive gets them. You can get my email from my profile. |
xanadu, is the upcoming site so shameful that you're unwilling to admit that it's yours? Pity.Wow Seun, To be honest, there was really no need to make the type of suggestion you have made in your post above - really no need. This is my post below: Sewa, seeing your post just makes me appreciate even more, the fact that an ebay-like auction site is due in Nigeria! If we had that running, you could easily list your camera there, and let the highest bidder buy it. It will cater not only for used items such as your camera and used textbooks/novels etc, but also for new stuff like like clothes, electronic stuff, pcs etc.I have great respect for you and the work you have achieved here, and I do not see what was so wrong with my comment to elicit such a response as yours, unless of course there are rules here I may not be aware of which prohibit me from making the kind of post I made. Otherwise, I think my post was not out of order in any way. I do take exception to your post. |
Well Seun, I'm glad you think the idea is 'cute'. Of course, people can, and are already posting recipes on Nairaland - but I was talking about a 'dedicated' Nigerian FOOD site, that's all - just dedicated to promoting Nigerian foods. Thanks for your input. |
Hello guys, I was just wondering - would you all be interested in a website dedicated to Nigerian cuisine? It would be a site where people could send in Nigerian recipes, and everyone else would benefit. Every now and then we could do popular votes online and giveaway prizes for the most popular recipe, or the most downloaded recipe. We could also do a focus every other month or so on cuisine from a particular part of a country, e.g. 'Delta Week' or 'Middle Belt Week', and this week the focus will be on recipes and foods form that region of the country. I think: * it would be fun * it would showcase Nigerian cuisine * Nigerians all over the world (subject, of course, to the availability of the ingredients!) would benefit from it * Non-Nigerians would also benefit from it * It will be absolutely FREE to post a recipe, and to download a recipe What do you guys think? I could get the site up and running, and handle all the web-based stuff. Let me know your thoughts!! |
Sewa, seeing your post just makes me appreciate even more, the fact that an ebay-like auction site is due in Nigeria! If we had that running, you could easily list your camera there, and let the highest bidder buy it. It will cater not only for used items such as your camera and used textbooks/novels etc, but also for new stuff like like clothes, electronic stuff, pcs etc. Well, I hear from the grapevine that by December, such a site will launch - the first of its kind in the country. I'll try and get more details shortly, so - watch this space! |
My two-cents. I believe that Seun is right in saying that the new law is rather heavy-handed. I know that Nigeria is moving forwards in many ways, but every now and then we see things that remind us that we still have a culture of throwing the baby away with the bath water. Why the EFCC believes that such a heavy-handed law will prove effective in its noble fight against corruption beats me. The results can only be in the short-term. There is no doubt that the cyber-cafes have become a haven for corrupt online practices. But in the midst of it all, there are bound to be lawful users of the internet in these cafes, and these are the ones we should be concerned about. The internet has made fraud easy for many corrupt Nigerians, but we must also admit that it has helped in enlightening and opening up the world to nigerians. If today, corrupt Nigerians decide to use mobile telephones to send SCAM text messages to innocent Nigerians, will the EFCC ban all text messages completely? So what then is the solution? What I think would be a better start to fighting this challenge would be to set some sort of standardisation amongst cyber-cafes, and enforce it. What I mean is that the focus should be on ensuring that the cyber-cafes do not encourage corrupt practices on their computers. For instance, if a cyber-cafe is found to be running its business without appropriate restrictions to the sites that its clientele can visit, or '419' practioners are arrested there more than twice (for instance), they could be forced to pay a substantial fine. Now I may not be able now to provide the perfect 'standards' the cafes should follow - but I am sure the EFCC with all the resources at its disposal can come up with more appropriate sanctions than what they have done now. The bottomline is this - the emphasis should be in making it hard for fraudsters to carry on theor nefarious activities in these cyber-cafes - and the way to do this, in my humble opinion, is to focus on the cafes themselves. |
Guys, I think I need to apologise first to ncpat who from the sound of it seems quite upset, and more than likely believes I intentionally planned to 'seize' this post. Nothing can be further from the truth. On July 22nd, I posted this: Hello all,There was no reply, nothing saying no one was interested etc, so on July 28th, I started the first tutorial on forms. I thought I was being polite by waiting for a while before going ahead. So for now, we shall suspend any tutorial on forms from myself. Or I'll simply start a new thread as tpia rightly suggested. I want all the great members out there to understand that I was truly trying to make a contribution of some sorts to the forum. I have been a member of this forum for a while, and I know there are a lot of people out there who are interested in web programming or design. Again, my apologies to ncpat and all others; and tpia, I certainly did not do that on purpose. Stay well, all. |
Well, I'll go ahead and talk a bit about HTML Forms. I hope this tutorial helps someone out there. HTML FORMS Overview: HTML forms are used in many cases to select and collect different kinds of user input. This input can then be sent to a processor (could be Perl, PHP etc page - don't worry, we'' talk about this in a later tutorial) that will process the data and carry out specific instructions (e.g send an email, access a database etc). HTML forms vary in complexity, depending on the use one requires of them. I'll start from very basic forms and we'll work our way up. I have discovered that one of the best ways to learn forms, from a beginners point of view, is to actually learn from how others have done it - especially when you view the source on web pages that have forms. By looking first at the end result of some html coding, and then studying the actual code, you are able to understand how it all fits together much quicker. You can view the source of most (html) web pages in Internet Explorer, for example, when you do the following: from the menu, click on 'View', then 'Source'. Module One - Building a basic form Lets start by studying the basic form below. It is a simple form that is designed to accept a user's name as input. [center]https://www.29-30.com/images/form1.jpg[/center] Here's the html code for the above form: <form name ="myform" method="post" action="post_form.php">Now, taking a close look at the code we can study what part of the code does what: Let's take the first line, <form name ="myform" method="post" action="post_form.php">. This line opens the form tag <form>. To create the form, we state the name of the form ("myform" , the method we want to use to process the form ( do not worry about this yet, we come to this later on in the tutorial). Here, we specify the "post" method - basically we are telling the script to send the user's input to some other file, which is specified in 'action="post_form.php"', in this case a php file called "post_form.php". Again, do not bother yourself about the php file yet - we will come to that in a later tutorial.The line <input type="text" name="name"> creates the text box where the user enters in their name. With most browsers, the size of this box is limited to 20, but this can be increased. This is the same line, but with input box size increased to 40: <input type="text" name="name" size="40">. Note that the box size does not necessarily limit the amount of characters one can type into it - what it means is that if, for instance you enter a name that is longer than 20 characters all of that name will not show when it it typed into the box. The html tag <br> is a line break, and by entering that twice, we can skip two lines. Another way we can achieve the same result is if we use the paragraph (<p> tag. This helps us arrange our form on the page a bit more neatly.Finally, the line <input type="submit" value="Send"> creates a submit button for us. We can specify the text we want on this button where we have "value=", for instance if we wanted the text on the button to read "Submit My Name", the line would read <input type="submit" value="Submit My Name">. When the user clicks on the submit button, the data input is sent to the file specified in the first line (<form name ="myform" method="post" action="post_form.php"> , in this case post_form.php, which will have instructions to process the data. Try the above html and play with some variations. You can create more input fields by replicating the second line, and prompting for some other information, e.g: 'Enter your height<input type="text" name="height"'>. Note that the name of each field or input (in our examples so far, "name" and "height" MUST be unique for each field. So we have created a basic html form that can accept user input. Before we go on to learn what happens to this input, it may be wise to learn about various kinds of form elements. In the next module, we'll learn about various types of form elements. You have probably seen forms that use checkboxes, radio buttons, drop-down, textarea etc. We'll take a look at these in the next tutorial Next Module: Form Elements |
Hello all, A good job done by ncpat and all those who have contributed to this series of tutorials in basic HTML. With all the 'advanced' coding stuff on nairaland, I believe that there are many people who simply want to learn basic html, and then move on from there. I would like to add my 'two cents' worth as well. I think, though, that it may be a good idea for each person to take a specific area and deal with it. What do you guys think? To start off, I could contribute a series on creating simple html forms - which could be used on contact us pages, etc, or used simply to collect data from visitors to your website. How does that sound? I'll just wait to see some feedbacks, then proceed with the first in the series of tutorials on form-building. Cheers. |
Quite interesting, reading all the various views and comments. Shows Nigeria and Nigerians are truly embracing the values of that great catalyst of civilised progress - a good debate. Of course it is obvious that we still tend to try to attack the persons of people who take an opposite view from ours, rather than taking on the issues themselves. But - we are getting there. My 5 kobo worth: I am a Christian, and have been for quite a while. I believe that we all need to make choices in life, and I have made mine. In my opinion, we need to differentiate between what people call 'religion' and what Christianity really is. The concept of religion is almost as old as the history of man. Religion, at the end of the day, is man reaching out to God or for the sake of the champions of atheism, reaching out to a 'superior power'. In other words, religion is man searching for answers to life's 'problems' and 'calamities' from some being who may know better and who may be more powerful than he. So you find people attributing things they do not understand to this 'supreme being'. Christianity, on the other hand, is the very life of this 'supreme being', this 'superior force', in the life of a human. it is the direct opposite of religion - deity dwelling in humanity. Christianity is God reaching out to man, offering to give him His (God's) own life, so the man would no longer need to 'seek' knowledge or wisdom - he would have it within himself. Of course I know that it would take much more space than this forum can afford, to explain my viewpoint about the above. Suffice it to say, however, that we should try not to confuse issues here. Religion is not Christianity. If the atheist does not accept the existence of God, then that is his own choice. But it is important that the persons who have chosen to accept that there is a God, should not be written off is 'dullards' or as unintelligent people. Having chosen to be a Christian, have I been brainwashed? Well perhaps the answer is yes - perhaps my brain needed to be washed anyway. Perhaps if every one had a little brainwash, we would think less about cheating our neighbour, or hurting people, or being envious of others. Perhaps then, there would be no need for wars around the world, and when people say 'I love you' they would mean it. Maybe then, just maybe, the world would be a better place to live in. Seun's idea (hopefully) of starting this thread is to foster an open debate - let that debate be healthy. |
Hear, hear! I feel you, my compatriot! A most poignant and soul-touching piece. A lot of people reading it, based in Nigeria, may not fully grasp what I did in reading that piece. I too am based outside Nigeria, and have been for the past 10 years. And I can identify with all oasis wrote. In spite of all these, there is something about Nigeria that grips ones heart and soul. The irony is that Nigeria is not even a country that cares about the vast majority of her citizens; it is not even a country that brings out the best in her citizens; yet, Nigerians love her. They love and adore her. They dream about her and have fond memories of her. There is something about Nigeria that makes Nigerians teary-eyed when they speak about their land. It must be love. It must be love because even in their moment of melancholy and utter disgust, they can't help but kiss and hug their land. How unfortunate that Nigeria is incapable of reciprocal love. Perhaps with the right leadership, viable institutions and a populace that was willing to fight for and take their countries back, socio-economic progress would be made and human development achieved.It is indeed love. Nigeria still has a strong pull no matter how long one may have spent outside it. Oasis has highlighted a lot of things that may make life rather difficult for one who has spent a while outside of her shores. But... herein lies the dilemma a lot of Nigerians abroad are in. On the one hand, we would like to follow our hearts, pull up and head out to the land of our birth and make a living in the midst of our beautiful brothers and sisters. On the other hand, our heads say that it may be risky to bring ourselves and our families back home, where our children may not be able to do their homework at home because of NEPA power outages, or get access to pcs at school or the healthcare they are used to; to our motherland, albeit one where we may have to sleep with one eye open for fear of intruders looking to strip us of what possessions we may have managed to acquire. What then? Do we deny our great country of our skills, talents and general presence, and continue to love her from a distance? Or do we resolutely, and with a corporate mind, decide that somehow, we must find a way to change the society? It's a difficult nut to crack - and is moreso if one has a family to consider. This is an interesting thread - who knows, we may find encouragement and inspiration to crack it as we hear what others have to say about this. Xanadu |
Hi, What version of Front Page are you using? If you check the bottom of the page (within Front page), you should see three tabs - normal, html and preview. Chances are that you are looking at the html view. Click on the 'normal' tab, and you should see a wysiwig version, and the preview tab lets you see just that - a preview of the page as if its on the web. hope that helps. Xanadu |
Hello all. The internet in Nigeria is really moving forward at such great pace! With online market places, online shipping malls etc we are gradually coming of age. Now we see a lot of services previously available only outside the country being made available for Nigerians. I'd like to ask: if you had a choice, what kind of service would you like to see offered on the web in Nigeria? For instance, I personally would like an online supermarket, where you can buy things (e.g. milk, sugar etc) that you would normally go to the shop for, and have them delivered to your home! Let's hear what you think - might be interesting to see what services we all come up with. Xanadu |
I think I like http://www.firstnigeria.com... seems a bit new but I sort of like the layout..... |
{