Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,151,892 members, 7,814,015 topics. Date: Wednesday, 01 May 2024 at 01:14 AM

Sayhi2ay's Posts

Nairaland Forum / Sayhi2ay's Profile / Sayhi2ay's Posts

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

Webmasters / Re: Protected Php And Mysql Script by sayhi2ay(m): 7:36pm On Sep 24, 2010
you can encrypt all your code file, have another text file containing a key on your server, every time the app gets called, it'd need your key for decryption, and in turn decrypt the encrypted file so it can make sense to the server
Travel / Re: Epassport From Nigeria House NY by sayhi2ay(m): 9:31pm On Sep 14, 2010
is the e-passport only issued in NY ? made an appointment at the DC consulate.

also, what if i misplaced my birth certificate ?
Webmasters / Re: I Am In A Deep Sh.t, Pls Help by sayhi2ay(m): 4:07pm On Sep 14, 2010
files don't get technically deleted until you rewrite to its memory location
Webmasters / Re: How Do I Make Posts On My Website? by sayhi2ay(m): 8:25pm On Aug 28, 2010
What platform?
Webmasters / Re: Problem With Special Characters And Multilanguages by sayhi2ay(m): 7:58pm On Aug 19, 2010
try

charset=iso-8859-1
Webmasters / Re: About Displaying Favicon On Web Pages Using Php Or Any Other Application by sayhi2ay(m): 5:34pm On Aug 19, 2010
they all have their default favicon, just changed the default to yours,
Webmasters / Re: Problem With Special Characters And Multilanguages by sayhi2ay(m): 5:31pm On Aug 19, 2010
try using the other charset, or remove it entirely, maybe you are doing it twice
Webmasters / Re: Java by sayhi2ay(m): 5:27pm On Aug 17, 2010
why not post the error along with your code?

for (var i = 0; i < string.length; i++) {

var i < string.length of what ?
Webmasters / Re: Webmasters Advise Needed by sayhi2ay(m): 4:03pm On Aug 16, 2010
wordpress 3.1 is not a template, next time you upgrade, do it automatically so you don't mess your files up, and if you must do it manually, do NOT for any reason delete your wp-contents folder.

maybe some files didn't get replaced during your installation cos of an abortion that might be due to slow connection, try updating the files again, but remember, don't update/upgrade/delete the wp-contents folder.

your host should have a backed up copy of all your previous folders anyways,
Programming / Re: Can Any Body Help Me With A Php Lookup Script by sayhi2ay(m): 3:52pm On Aug 16, 2010
seem to be working pretty well, what errors are you getting?
Webmasters / Re: How Do I Handle This? by sayhi2ay(m): 5:47pm On Aug 06, 2010
its a sub-domain, has nothing to do with htaccess, your host will need to redirect it to the primary domain.
Webmasters / Re: Uploading A Website by sayhi2ay(m): 5:42pm On Aug 06, 2010
click the file manager icon, navigate to your desired folder, or create a new one. then upload a 'zipped' file , unzip it when you are done uploading.
Programming / Re: Help Needed In Creating Session Variables by sayhi2ay(m): 9:24pm On Aug 05, 2010
why do you need a session variable to do this ?
Programming / Re: Creating Scratch Card Application by sayhi2ay(m): 5:10pm On Aug 05, 2010
if you already have a code to check a column in the database, why not use same logic to check a different column ?
Webmasters / Re: Php Assistance by sayhi2ay(m): 8:07pm On Jul 23, 2010
what is the error you are getting?
Webmasters / Re: Code On Developing A Web Search Engine Please : Php,ajax & Sql Programmers: by sayhi2ay(m): 6:09pm On May 06, 2010
Bheey:


The problem now is this: I want to explode the search term by the user and then run a loop to search through the array and then output all corresponding outputs using SPACE as the delimiter. For instance if the user enters "Booming Solutions and Yahoo are same", then it explodes it by the spaces(as delimiter) to 'Booming', 'Solutions', 'Yahoo', and 'Same' (while ignoring common words like 'and' and 'are'). It then runs a loop using the Binary code algorithm above to display the following outputs:

Boom
Booming Solutions
Solutions
Same To This Too O!
Yahoo!


This is where data structure comes into play,

quick question - why do you need it to explode when you'd still have a different output, why not go ahead and output, leaving the exploding out of the equation ?
Webmasters / Re: Code On Developing A Web Search Engine Please : Php,ajax & Sql Programmers: by sayhi2ay(m): 5:59pm On May 06, 2010
Bheey:


This is the code I've worked on. But I still can't get what I want.
This is my index page code:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form method="post" action="BinarySearch1.php">
<input name="search_text" type="text">
<input name="search_Submit" type="submit" value="Search for Job" />
</form>
</body>
</html>






<?php
include_once(', /db_searchMe.php');

//Post Search Keyword Now!
$Submit= trim($_POST['search_Submit']);
$text1 = trim($_POST['search_text']);
//echo "$text1" . "<br>"; //Test Output

//if (!isset($Submit))
if (!isset($Submit))
{
echo "You didn't submit a keyword";
}



Going through your code, 

meanwhile,

try use something like this 4 validation, 

function isformsubmit(){
($_SERVER['REQUEST_METHOD'] == “POST”) ? return TRUE : return NULL;
}

if ((isset($_POST['submit'])) && (isformsubmit()) ){

cos if someone changes the name of a field to "submit", they dont necessarily have to click the button to hack into your code,  and might avoid some functions attached to that submit action
Webmasters / Re: Php/mysql. Does Every Php Script Need A Database? by sayhi2ay(m): 5:11pm On Apr 20, 2010
lwkmd
Programming / Re: Pls Help: My Final Year Project Is Killing Me by sayhi2ay(m): 9:47pm On Apr 14, 2010
if (empty($requirements)){
$analysis = NULL ;
$code = NULL;
$project = "Incomplete";
$score = "Fail";
}
Programming / Re: Pls Help: My Final Year Project Is Killing Me by sayhi2ay(m): 9:26pm On Apr 14, 2010
description ? requirements?
Programming / Re: I Need Help With A Php Program by sayhi2ay(m): 4:43pm On Apr 07, 2010
darn! guess we cant help him then , maybe he can find some other forums that allow him post the code, and we will take it from there
Programming / Re: I Need Help With A Php Program by sayhi2ay(m): 4:38pm On Apr 07, 2010
@dell_net, nothing is posted o
Programming / Re: I Need Help With A Php Program by sayhi2ay(m): 4:21pm On Apr 07, 2010
i can not see the whole code, could you do a screen copy and post as an image? i think the spam bot caught the whole code you posted.

CRUD implementation shouldnt really be giving so much error, since you have few queries going on there
Programming / Re: I Need Help With A Php Program by sayhi2ay(m): 4:08pm On Apr 07, 2010
why dont you just simply use
$sql = 'select * from listings_categories where pk = "$pk" ';  rather than escaping the character

or

$sql = "select * from listings_categories where pk = '$pk' ";


also, your first fetch array doesnt have a while or foreach statement to actually grab the array elements
Programming / Re: I Need Help With A Php Program by sayhi2ay(m): 4:02pm On Apr 07, 2010
perhaps he can do a screen shot and post it as an image instead?

why wont you just "echo" your output ?
Programming / Re: Please Help. How To Create A Database For A Car Rental by sayhi2ay(m): 7:24pm On Apr 05, 2010
congrats on your google search. what does the standard of education have to do with doing your project anyway? its not like they just handed you the topic last week. anyhow, ignore the criticism if you feel thats what you are getting,
like Kobojunkie mentioned, state your requirements and we will go from there,
Programming / Re: Check Out My Program: CompactDiary, A Compact Journal Keeper by sayhi2ay(m): 3:04pm On Apr 05, 2010
huh, nice GUI? whats with the dairy password ?
Programming / Re: Automated Teller Machine Project by sayhi2ay(m): 2:55pm On Apr 05, 2010
why not list these security lapses, and we can take 'em head on on how to tackle them , some of us might not be in nigeria to know about these security lags
Programming / Re: Please Help. How To Create A Database For A Car Rental by sayhi2ay(m): 2:52pm On Apr 05, 2010
having a database for car rental doesnt do anything without an app to drive it ,
Programming / Re: 'the System Cannot Find The Path Specified' by sayhi2ay(m): 3:23pm On Apr 02, 2010
where is your file located and what command did you type in ?
Programming / Re: How To Create A Text Editor In A Website by sayhi2ay(m): 6:18pm On Apr 01, 2010
PHP n ajax or js will do that just fine
Programming / Re: Which Is The Best Place To Learn Programing by sayhi2ay(m): 6:58pm On Mar 31, 2010
cos thats where i learnt data structure and algorithm

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