Dawgzfada's Posts
Nairaland Forum › Dawgzfada's Profile › Dawgzfada's Posts
1 2 (of 2 pages)
[img]http://4.bp..com/-XeK5bQxzrL0/VJAuQrPM_1I/AAAAAAAEG88/xGBguxPHz4M/s1600/chris-brown-karreuche-tran.png[/img] There were reports some days ago that Chris Brown and his long suffering on/off-again girlfriend Karrueche Tran were back together after they were spotted in the same place at the same time on at least two occasions over the weekend. When a fan asked Karruehce if she was back with Chris, she set the record straight. See that after the cut... [img]http://3.bp..com/-fx6EsL7bJFM/VJAuQ9_w0SI/AAAAAAAEG84/WESRlAeONgg/s1600/photo-197.PNG[/img] |
Thanks for all the efforts. Solved already. |
Thank you. . Lemme simplify the problem now, the main problem is in this line, around that decode line.
I want it to encode the user's input. .and check against what i have in my db. |
Am working on the registration page of a webapp and i need the query statement i'll be using for the "testcode" parameter i.e. if the code exists in the database, then it should register, else fail. The way it was inserted is $query = "update test set testname='" . htmlspecialchars($_REQUEST['testname'], ENT_QUOTES) . "',testdesc='" . htmlspecialchars($_REQUEST['testdesc'], ENT_QUOTES) . "',subid=" . htmlspecialchars($_REQUEST['subject'], ENT_QUOTES) . ",testfrom='" . $fromtime . "',testto='" . $totime . "',duration=" . htmlspecialchars($_REQUEST['duration'], ENT_QUOTES) . ",totalquestions=" . htmlspecialchars($_REQUEST['totalqn'], ENT_QUOTES) . ",testcode=ENCODE('" . htmlspecialchars($_REQUEST['testcode'], ENT_QUOTES) . "','oespass') where testid=" . $_REQUEST['testid'] . ";";I tried
but it didn't work. Someone should please help. Thanks |
Time to learn: What does the .htaccess hack PHP_FLAG output_buffering on do? |
Thanks so much bro. It worked like a charm. Thanks bruv. I rily appreciate. https://www.dazzlejunction.com/greetings/thanks/thank-you-bear.gif https://graphics.hi5comments.net/graphics/thank-you/03.gif |
bakenda:No. ![]() Thanks for the inspiration. |
bakenda:Yes. I md5 hash the admin password. I just commented out error_reporting(0);but no difference still. What i noticed is once i try logging in with an invalid admin name/pwd, the error msg comes up but once i enter the right usrname/pwd, nothing happens. .but the session seems to have been set 'cos if i go to admwelcome.php manually, i'll be able to access it. I've been on this for hours. .Any help pls? |
<?php Ordinarily, if username and pwd is correct, i should be taken to admwelcome.php, but it doesn't work that way. I still remain on the same index.php. Please is there anything i'm doing wrong. Thanks y'all. |
Pls help, i use a HP Dv6000. .twas working fine this afternoon and i was viewing a thread on Nairaland, and the next thing the laptop went off. Tried putting it on but it won't come on. The lights wont even blink at all. Also the only light that comes on is the blue light that indicates its charging (thru the charging hole). I removed the battery, plugged the laptop and tried putting it on but it still wont come on. I removed the Rams and resit them but it still won't come on. Am at wits end here. .pls someone should help. |
No i dnt think so. The problem was 'cos i used the 'addslashes' function twice. After including it in my config.php, i still went ahead to use it in my POST function. Thanks tho. ![]() |
Pls there is something i'll want you to help me with. I have over 1 million lines of texts like dis 183516_1233948983 183517_1236783483 183518_1239384893 Now i need to get everything before the underscore(_) erased so that the new text will look like 1233948983 1236783483 1239384893 Pls any help? EDIT I tried using excel but i keep getting 1.22398E+10 . Any trick to make it display fully? EDIT PROBLEM SOLVED. ![]() |
Solved. Twas this line in my config.php dat was causing it if(isset($_POST)){foreach($_POST as $key=>$value){$_POST[$key]=addslashes(htmlspecialchars($value));}} |
There is a text form am working on. The problem is when i type and submit texts like "I'm going to church", it comes out as "I\\\'m going to church". Any help? |
Ma_J_Blige:Saying nothing is better than this, dnt you tnk? @OP, Yawa already said all. |
1.) Can you up the picture? 2.) Can it go for 15k? 3.) Dyu stay in Lagos? |
Please if you've got any Used Nokia c3 for sale, pls signify here wv pictures. . . Its quite urgent. . .Also pls state your price. |
Tnx y'all. . .I already bought one. |
Who has Used Bold 1 for sale? Price <= #30,000 (Asaba) Pls reply here ASAP wv pics and/or yo number. Payment immediately. |
^^ So does ths mean d saying 'Youths are the leaders of tomorrow' wrong? Contributions needed ppl. |
Contributions needed. |
Thanks for taking your time to check in. There was a seminar i went for and this topic 'Can Nigeria be better with the Strength & Skills of the youth rather than the experience & wisdom of the elders' came up. Youths came up with their views also the Elders. Pls iWant Nairalanders to air their views. What dyu think? Do we youths have the potential to rule this great Nation OR should we leave it for the Elders 'cos of their experience? Whats your say? Contributions needed. Tnx. |
Kabukabu [size=14pt]Is that your SugarGranny's handbag u holding there? (no offeince) [/size]www.nairaland.com/attachments/340680_me_and_my_ferrari__dont_hate__jpg7b66b2c743d53c903db3c8159d301e8b |
^^^Baba no dey wink nau. That looks very gay. ![]() |
Tnx Quadrillio. I rily appreciate. @Donpuzo, tnx for the suggestions. I've gotten the 'I hate PHP' amidst other 87 Collections of Php ebooks. I can happily logout from the Net Now. |
Tnx Donpuzo. I appreciate. I'll get the book ASAP. Donpuzo:I'll probably be Pls more suggestions from y'all. I need 'em books b4 i go offline as Internet itself is a distraction. |
^^^ No, I Want ebooks not a tutor. I Learnt other languages(python,Perl, ruby, Java) through the net wv the help of ebooks and oda well-meaning Programmers. I just want someone to recommend books he/she prob. used while learning. Still waiting pls. |
Thanks for coming in. Pls i need php tutorials from y'all i mentioned/unmentioned preferably ebooks. I want something i can always lay my hands on OFFLINE(so w3schools is outta it). Pls y'all shld help me/ provide me wv indepth ebooks. tNX. [size=2pt]and pls dnt mention Donpuzo's schl ![]() [/size] Regards, Dawgzfada. |
1 2 (of 2 pages)
;

