₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,999 members, 8,419,867 topics. Date: Thursday, 04 June 2026 at 05:06 AM

Toggle theme

Dexed's Posts

Nairaland ForumDexed's ProfileDexed's Posts

1 2 3 4 5 (of 5 pages)

WebmastersRe: Post your PHP Problems Here by dexed(m): 9:50pm On Jun 30, 2014
felix1a: please how can i create a result checker for school were student can check there examination grade result. I already have a school site i designed on dreamweaver and i want to include this feature to it. any body please help.
You need a good knowledge of php(server side programming), mysql (database), html, css and javascript(the display)
WebmastersRe: Post your PHP Problems Here by dexed(m): 9:48pm On Jun 30, 2014
losprince: what application (used and confirmed) can be used, to run php codes on android?
Ksweb, its a paid app though. Then you can use droidedit as the editor. es file explorer as you file manager and ftp client.
Ksweb comes with php, phpmyadmin, mysql, some other stuff and a light httpd server. The server works fine, you wouldn't notice the difference from Apache.
WebmastersRe: Post your PHP Problems Here by dexed(m):
DaPinkHackeR: Please help me to check what's wrong with php ilichat41 code.
User will be online but clicking a link to the page it returns error that NOT LOGGED IN. istead of redirecting the user to the requested page.

// AUTH
$id = intval($_SESSION['id']);
$password = mysql_escape_string($_SESSION['password']);
$q = mysql_query("SELECT * FROM `chat_users` WHERE `id` = '" . $id . "' AND `password` = '" . md5($password) . "';"wink;

if (mysql_affected_rows() == 0) {
echo "Not logged in!<br/>\n";
include_once "themes/" . intval($_COOKIE['theme']) . "/foot.php";
exit();
} else {
$nickname = mysql_result($q, 0, 'nickname');
}
// END AUTH
Instead of quering the database everytime just to know if the user is logged in, y not use a session variable to check if a user is logged in after the initial authorization, something like dis
/*$_SESSION['loggedin'] is 1 wen user is
*logged in and have an active session,
*0 wen not

*/
if($_SESSION['loggedin']!='1'){
$redirectUrl="http://yoursite.com/loginpage.php";
header( "Location: $redirectUrl " ) ;
exit;
}
Plus I don't think storing user passwords in plain text without encryption is ok. N storing them in session variables too isn't quite ethical.
WebmastersRe: Suggest Me A Domain Name For My Website !! [help] by dexed(m): 6:23pm On Oct 24, 2013
jishe.com, polowo.com, jekomo.com, humor me...
WebmastersHelp Review This Game Site by dexed(op): 6:18pm On Oct 24, 2013
Please, help review this online game website, http://www.crestcity.com, all reviews are welcome. Thanks in advance...
WebmastersRe: Post your PHP Problems Here by dexed(m): 2:42pm On Oct 19, 2013
Djangocode: @Dhtml

Thanks Boss.. Now I understand.. U used ob_start() and ob_end_clean() at the end.. I only know of ob_flush().. Is it a must to use it??

So ob_start() outputs any code or variables that are declared upon starting it..

I also noticed u using the ob_get_contents as the value of a variable so as to echo the variable later.. That's good..

What is the best time to use this function(ob_start) in PHP??

U said require n Include are the same thing. How come Require throws a fatal error and terminates the next script?? Are there no security threats attached to include executing scripts even when an error Occurs??

Forgive my Naïve questions..

@elvis.. Thanks for Yo Explanation..
the ob means output buffering, its used to stop php from sending output to the browser, everything that would have been printed to the client is delayed and can be stored in a variable, this can be useful in caching.
ob_flush releases the stored output from memory.
WebmastersRe: Post your PHP Problems Here by dexed(m): 6:49pm On Oct 18, 2013
sunday478: ^^Yeah, I understand. Just the wampXamp stuff now. Am yet to download it.
You can use WAMP(Windows Apache Mysql PHP), it also comes with phpadmin, sqlbuddy, webgrind n the total package is about 25mb
WebmastersRe: Post your PHP Problems Here by dexed(m): 6:44pm On Oct 18, 2013
d citizen:
Jst what the detailed page to display the result of each student in this format

Name: xyz

Year: 2009

class : ss

Result

Physics: A1

Chemistry : B2
mathematic:

English:

Biology:

After query is done tru filter search detail with name and year. I need hint , pls
You need to create the following tables,
1. Students
2. Results
The students table will contain these columns:
id [ int(9) ] auto increment not null
firstname [ varchar(30) ] not null
lastname [ varchar(30) ] not null
middlename [ varchar(30) ]
school [ varchar(255) ]
department [ enum('science','commercial','arts') ]
*and any other necessary info(columns) regarding a student using ur app

Results table:
id [ int(9) ] auto increment not null
studentid [ int(9) ] not null
exam [ enum('gce','waec','sat','blablabla') default(waec) ]
course [ varchar(30) ]
year [ int(4) ]
grade [ varchar(15) default(pending) ]

You can query the tables like so:
<?php
//initialise n connect to your database or load db class
//Supposing we have our name from a form sent by post
$fname=$_POST['fname'];
$lname=$_POST['lname'];
//filter the variables to check if they r the xpected 4mat

$stud_result_q="SELECT re.*
FROM results re
LEFT JOIN students st on re.studentid=st.id
WHERE st.firstname='$fname'
AND st.lastname='$lname'";
/*Run the query on ur database and use mysql_fetch_assoc or equiv db class method, you can use a while loop to process the results
you can also refine the sql for year, passed courses, pending courses etc.*/

?>
WebmastersRe: Trudigits: My Best Nigerian Web Host Ever by dexed(m): 4:57pm On Oct 13, 2013
dexed: Trudigits is a very good host, I've been using them for about a year nd 7 months. So far, I'm satisfied and would recommend them to anyone looking to host their sites. The support system is cool and you get more than you pay for. For about 19months that I've been with them I only experienced downtime once and it was for few hours before everything came back to normal. I host a site that has about 600+ users with them and none of the users has ever complained about accessing my site, in short hosting with trudigits is cool. I give them a rating of 4.8 out of 5
Reducing my rating of them to 4.0, nothing has changed really, besides the fact that they've disabled php mail() on shared hosting accounts thus creating extra unnessary work for me. Though they've provided an alternative (smtp), I'm moving my sites away after my hosting plans expires.
EducationRe: ASUU Has Been Unfair To The Nigerian Students- Obasi by dexed(m): 9:46pm On Sep 30, 2013
ITbomb: It is not about releasing money here and there.
It is time Nigeria should agree on something, put it on a paper and implement it.
All ASUU is saying is 'implement the Agreement you signed'. Finish.
N100bn for this and N30bn for that does not show seriousness and commitment to develop the education sector, it is a kangaroo arrangement just to solve immediate problem while waiting for another strike next year.
If it involve shutting down the school sysytem for a year or more, to produce a blueprint for making our certificate worth its name, so be it
Are you a student?
WebmastersRe: Write HTML And CSS Codes On Android Devices by dexed(m): 9:17pm On Sep 30, 2013
Or you can install linux on your android device using an android linux installer and then install necessary packages you require for development(php, apache, mysql, etc.). I use droid edit. But don't know how to test and debug javascript on android yet.
WebmastersRe: Need Help On Php by dexed(m): 9:10pm On Sep 30, 2013
jorcycos: Guys in d house, i need your help on php. I have learnt dreamweaver, fireworks and some annimation software. Also am aOdba ( oracle databas administrator) but i dont know how to create forum and others that involve php. Plsif any one can help me out, am ready to learn. I want to learn how to create forums and e-commerce sites.
Learnt dreamweaver? Google smf or vbulletin for forum scripts that you can customize. Since you want to develop sites that involve php, start learning, I recommend, PHP5 for dummies(pdf) or you can read tutorials and guides online. Google and download WAMP so you can have a development and testing server on your pc.
BusinessRe: Forex Brokers In Nigeria by dexed(op): 11:25pm On Sep 28, 2013
alen_tino: They say readers are leaders, if you want to lead in this business you have to be a reader. please feel free to download from the link provided below this list of e-books. Did i mention that they are free.
1. 5 steps TO BECOMING A GOOD TRADER
2. 7 OF HIGHLY SUCCESSFUL TraderS
3. Alexander Elder - Come Into My Trading Room - A Complete Guide To Trading 2002
4. candles-report
5. Day Trading In Mind
6. Elder Alexander - Trading For A Living
7. Forex CheatSheet
8. Mindset-of-Millionaire-Traders
9. Pierce, Stephen A - Rapid Fire Swing Trading
10. pocketbook OF ECONOMIC INDICATORS_tiegan
11. powerband
12. Price Action Trading Course by Nial Fuller
13. Scalping CheatSheets
14. School_of_Pipsology
15. SF-report
16. The_7_Deadly_Sins_of_Forex
17. The_Power_of_Concentration
18. Traders_Opportunity_1
19. Trading_as_a_Business

http://www.4shared.com/folder/8YDT9lP7/_online.html
http://babypips.com/school is also a good resource for anyone interested in forex
BusinessRe: Forex Brokers In Nigeria by dexed(op): 10:15am On Sep 21, 2013
instaforex ngr: I would advise you use instaforex.com.

They are a reliable and international forex broker with over a million clients. They also have thousands of clients in Nigeria.
Have been trading with them for over 2 years now and everything have been fine.
With instaforex, you don't need any mastercard or dormicilliary account,
as they have local agents and exchangers in Nigeria where you can easily deposit and withdraw funds on your account.
I don't know why but i seem to want to be careful of brokers that offer bonuses(deposit, sign up etc) cause it seems its a lure to get one to deposit. My fears might not be real but that's how I feel.
BusinessRe: Forex Brokers In Nigeria by dexed(op): 10:26pm On Sep 20, 2013
IRIENBOY: Use www.xm.com,deposit and withdraw with mastercard,visa etc.
Can one withdraw and deposit directly using atm cards(visa , mastercard) issued by Nigerian banks? If yes what's the processing time and costs per transaction?
BusinessForex Brokers In Nigeria by dexed(op): 9:34pm On Sep 19, 2013
I've been trading forex on demo for some months and now I'm looking to find a broker that's serves Nigerians with an easy and direct means of deposit and withdrawing funds and no hanky panky in trading through them.
I've searched through the internet, most of the info I've been getting aren't straight forward, explanatory enough or not meant directly for Nigerians.
Pls forex traders, review the various brokers you've used or you're currently using, so there can be concise info for anyone seeking a broker here in Nigeria.
BusinessRe: Alpari Nigeria Turning To Forextime Nigeria by dexed(m): 12:38pm On Jul 25, 2013
How can one deposit and withdraw from forextime in Nigeria?
BusinessRe: Forex Trading - Season 13 by dexed(m): 3:58pm On Jul 24, 2013
Sup peeps, pls recommend brokers that have easy straight forward deposit and withdrawal methods.
PhonesRe: All DATA USERS, WAKE UP (CAMPAIGN FOR FAIRNESS) by dexed(m): 7:37am On Jul 21, 2013
This is the message I sent to the NCC email:
SUBJECT: Data plans
MESSAGE:
The current data plans available for non-blackberry users across all the networks is not fair. It doesn't give value for money.
The average android user, uses about 50mb per day, that's 250mb in 5 days. MTN gives 250mb for a N1000. For that same N1000 blackberry users get approximately 2200mb.
This happens across all the other networks.
As a government agency protecting the interests of the Nigerian people in the telecommunication sector, I (and other affected Nigerians) implore NCC to do something about this issue.
Thank you and God bless our country.
Phone/Internet MarketRe: Used Samsung Galaxy Y Pro Duos Gtb5512 For Sale by dexed(op): 7:04pm On Jun 21, 2013
dexed: Fairly used samsung gtb5512 duos for sale, still neat and functioning perfectly, the battery is also still very good. Price:17k.
Here is the full specs at http://www.gsmarena.com/samsung_galaxy_y_pro_duos_b5512-4371.php
Call: 08034178041
With 4Gb memory card
Phone/Internet MarketRe: Any Phones For S.ale?? by dexed(m): 9:25am On Jun 21, 2013
Samsung galaxy y pro duos gtb5512 for sale, still neat with 4gb sdcard. Price 17k. 08034178041
Phone/Internet MarketUsed Samsung Galaxy Y Pro Duos Gtb5512 For Sale by dexed(op): 9:12am On Jun 21, 2013
Fairly used samsung gtb5512 duos for sale, still neat and functioning perfectly, the battery is also still very good. Price:17k.
Here is the full specs at http://www.gsmarena.com/samsung_galaxy_y_pro_duos_b5512-4371.php
Call: 08034178041
GamingRe: Mobile Multiplayer Whot! Game For Java Phones! by dexed(m): 6:36pm On Apr 05, 2013
Crest city is an online text based multiplayer
game. You start out as a JJC(beginner) and work
your way up the ladder till you become a GOD
FATHER. Its a true city with real life events and
lots fun activities. You can buy stuff(houses,
guns, drugs, electronics), train, study, make
friends, fight, buy. You can start a business, join
or create a gang etc. See you there.
www.crestcity.com
GamingRe: What Game Are You Currently Playing? by dexed(m): 7:49pm On Apr 04, 2013
I'm playing an online multiplayer game at http://www.crestcity.com. Its fun.
WebmastersRe: Trudigits: My Best Nigerian Web Host Ever by dexed(m): 3:12pm On Jun 11, 2012
Trudigits is a very good host, I've been using them for about a year nd 7 months. So far, I'm satisfied and would recommend them to anyone looking to host their sites. The support system is cool and you get more than you pay for. For about 19months that I've been with them I only experienced downtime once and it was for few hours before everything came back to normal. I host a site that has about 600+ users with them and none of the users has ever complained about accessing my site, in short hosting with trudigits is cool. I give them a rating of 4.8 out of 5

1 2 3 4 5 (of 5 pages)