Segsalerty's Posts
Nairaland Forum › Segsalerty's Profile › Segsalerty's Posts
1 2 3 4 5 6 7 8 ... 17 18 19 20 21 22 23 24 25 (of 26 pages)
Yeah , Nice tread here , i've gone thru it , took alot of time , really impressing ! like i used to say ( i wish to know Book like DHTML when i grow up ) Pls ooo , i dont know if this Post can proceed ? i mean let we students/learners here tell DHTML sir to proceed and lets get to put together what he had thought us and lets get to know how to build a working Forum , using XHTML , CSS, PHP , MYSQL , it seems a Forum dont really need Javascript ! So, let the class start now ! |
Your layout distorted over the footer ! check , |
I will report you all as you turn this place to debate and challenge ground ! all i need is help ! & i will continue to seek help from you all ! Thanks to you all ! @DHTML , i cant wait to have this problem down with your help as you used to I wanna be like you when i grow up sir ![]() |
Yes, am back ! I've relaxed my brain really enough , i have gone thru all my codes , debug the hell of it , including reading alot of codes here on NL hoping it works , still having Headache I just finish eating my dinner , I hope this bug will bow at he end ! @all , Thanks for all the support, I love you all @nitation , Thanks so much for the login script you gave me all for free i really appreciate it ! |
Thanks all , am working on it , i'll be using any and everyone's idea to fix my bugs, i havnt gone back to those codes yet , i've being sleeping since moning , i will work on it tonight and let everyone know what i came up to i hope to get it solved tonight , |
@all @yawatide honeslty speaking mom ! i've tried everything , i am tired , i done same thing you asked me to do , worked perfectly on my localwebserver but immediately its uploaded onto the worldwibe server , i start to see horrible results, is anything wrong with my hosting compnay and stuffs like that ? it pains me now that my users cant sign in after signing up and my website isnt working as it is on my PC here Pls ma, can i send you my cpanel info so you can crosslook anything bug thats in there for me please? as you know this site is juts personal and like a training stuff for myself , so, there is no big deal in giving you what makes it up so that my problem will be solved ! atleast once its solved now , such wont happen again ! How can i get your email adress to send you the details needed to have access into my cpanel ? you can simply visit my site (www.segsalerty.com) and fill in contact form ma, filling it with your valid email will make it very easy to get back to you wth the details, I honourably need your help ! now, i cant read futher since what i've done so far didnt impressed me , Thanks so much ma |
I used the exit() function but it took me to the page check_login.php where it didnt load well(half next page loaded) but if i remove the exit ! it will reload the homepage, i figured that after posting the problem , but didnt work still! NOTE : its working fiine on my local host ! |
please , all off you , help me check this code , the HEADER directs the user to another page after verification on my local host ! now my server , it just reload the page and wont head anywhere , here is my code below , i need help fix this bug pls , <?php if(!isset($_POST["username"])){ $log= "Login Here"; } elseif(($_POST["username"] == "" || ($_POST["pin"] == "" ){$log= "Empty Username/Password"; } else{ $user=strip_tags($_POST["username"]); $pon=strip_tags($_POST["pin"]); $you=$_POST["membership"]; include("mysqli.inc" ;$sql= "SELECT user_name, pass_word FROM users WHERE user_name = '".$user."' AND pass_word= '".$pon."' AND mem_ber= '".$you."' "; $result= mysql_query($sql) or die(mysql_error($mysql)); if(mysql_num_rows($result) == 1 ) { @header("Location: check_login.php" ; // here is where the problem lies , suppose to take someone go this new page ! it does that on my localhost} else{ $log= "Incorrect (Try Again)"; } } ?> |
Thanks very much for the support sir ! Have you signed up yet? ![]() |
HURRAY HURRAY !!!! Its done visit: www.segsalerty.com Go and sign UP now BUDDIES ! I am also sugning up now Good to go |
I am downgrading now , downgrading what i read , my books took me to a wrong side , One of my Masters here in NL is putting me thru , its only few hosting company thats using the latest db connection using the php script fucntion of , $mysqli= mysqli_connect() now, am going back to $connect = mysql_connect() see the difference? i am fixing my codes now , i will get back to all of you Thanks so much my people |
@yawatide you made me cry again when you said "contact your host and have them upload a test file from their end that connects to your database" I was scammed with the whole hosting stuff , A guy that helped me hosted it just collect my money , No domain registartion details, i dont even know where he hosted it ! the only think i know is use my CPANEL , when he first hosted the thing for me self , i had no DB( it was 0MysQL) , i had to beg him and pay him extra for DB ,, then , he gave me just (5), after providing the DB ! he told me my problem is too much that i too dey bug him that i should cut my coat according to my size and use whatever features is on my cpanel , that i should not come to him again , now , it isnt useful for me i cant go to him again ! am planning to host another one , am buying the domain soon and host it , hoping that one will work fine ( its a friend that is gonna do this for me now i hope he wont do thesame ! |
Yes, i done that already ! my remote doesnt support database connectivity using (mysqli_connect) which is simply the latest valid PHP connection to the MySQL database , I guess thats the only difference, how can i fix that shit sir ? i want to know if you people connect to MySQL using (mysql_connect) or (mysqli_connect) , these two synax are completely different coz when someone wants to call a fuction ! like ( mysqli_num_rows, mysqli_fetch_array, and so on ) its gonna be a big problem , meanwhile , my localhost doesnt support (mysql) see the conflict ? how can i test my work when i cant run it on my localserverfirst ? can anybody help with suggestions? |
Pls , @all dont leave my silly ass crying ! This thing is really paining me ! @yawa, @dhtml @omni @nitation , @ webguru? and where are all the gurus ? pls, abeg help me sharp sharp ! i will do whatever it takes to make sure this thing on my local webserver works online perfectly too , i am stuck ! |
login_segs_users.inc contains the following below sir <?php if(!isset($_POST["username"])){ $log= "Login Here"; } elseif(($_POST["username"] == "" || ($_POST["pin"] == "" ){$log= "Empty Username/Password"; } else{ $user=strip_tags($_POST["username"]); $pon=strip_tags($_POST["pin"]); $you=$_POST["membership"]; include("mysqli.inc" ;$sql= "SELECT user_name, pass_word FROM users WHERE user_name = '".$user."' AND pass_word= '".$pon."' AND mem_ber= '".$you."' "; $result= mysqli_query($mysqli, $sql) or die(mysqli_error($mysqli)); if(mysqli_num_rows($result) == 1 ) { header("Location: check_login.php" ;mysqli_close($mysqli); } else{ $log= "Incorrect (Try Again)"; } } ?> and mysqli.inc contain below <?php $mysqli= mysqli_connect("localhost", "*****", "*****", "*****" ;?> waiting for help coz i had to remove these new site off my server and put the one i designed about 2weeks ago for the main time i get this fixed |
see my code for my homepage , i included an external url files for my DB logon and for login validation and stuffs like that , i will include that too Thanks |
ah ah , Thanks @nitation , i found out on my phpinfo() on my host site that some features are disabled ! Directive Local Value Master Value allow_call_time_pass_reference On On allow_url_fopen Off Off allow_url_include Off Off always_populate_raw_post_data Off Off I created some functions sir ! they disabled use of functions too error display too is off but , i cant understand the sql thing how can i even edit these stuffs to suite whats configured on my local server |
Uhmmm. @nitation sir. Check sir and help me solve this shit ! www.segsalerty.com/segun.php thats the link thanks so much in advance ! I am not only having problem connection to my db but my pages with .php display horribly on my website after hosting but always fine on local server ! like my hosting doesnt support some php features(functions), |
I cant figure whats going on my people , I correctly fixed up a well programmed Signup/User Login web pages connected to MySQL , imagine i ran the stuff on my local server and it worked fine , I almost cried when i Uploaded it unto my hosting server ! At first , i noticed something when i was about to create db and tables on my hosting site PHPmy Admin , the php connection code is different from whats i used , according to the stuffs i read , it said i should connect using $mysqli= mysqli_connect("localhost", "username", "password", "db_name" ;then followed by $sql="I PUT THE QUERY HERE"; then , $result = ($mysqli, $sql); image my hosting site gave me this to use after creating the db as the only way i can connect PHP to my MYSql . well, i think its the hosting site apache thats using a low version of Apache version 1.3.41 (Unix) ; while i run / test my site locally with v2.2.8 , whats going on ? can anybody help me and tell me what to do ? i even found out that any page thet i try to inherit php function to use in my webpages ( using the include function * include("the_file.inc" * ) any .php page i use this will be distorted and wont open well , i already offloaded the thing off my server , i put the one i designed there before , it sucks , can anybody help ? i want you buddies to use what i came up with new ! its like a community web stuff where you buddies can sign up, sign in , download , share stuffs , and a small forun , not really that big ! Please , i need to do something ! HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
@mycode whats going on ? why thanking me? have i offended you anyway with that question pls ? am just wondering ! thats alll , not critisizing ! pls, understand me and accept my apology , My mouth sealed ! |
Uhmmm, ![]() |
Thank God someone else noticed that too , coz, people had being saying my mouth is smelling in here , ![]() |
yes OmniPtens is right ! |
@webguru Uhmm , You make alot of Sense sir ooooo BUT I KNOW WHAT AM DOING ! ![]() |
@nitation I cant understand you oooo (meaning ? ) |
ok ooooo i was just wondering the % % thing the flash on the site was showing me ! it really sucks, took time to load but i blame my server too , damn slow , probably it does alot at the moment |
Nope, am honest ! Flash is too much on the site , as you know , my mom its the flash thats letting your website dragging down , really bad ! sorry , pls do something to help we poor souls that uses slow connection ! \ |
I cant view your site coz i have slow server ooo ! pls, wat do i do so that i can eben comment on it ! |
Nice job, ![]() Content management ? Coded? Hen? |
Thanks for the Update mom |
Thanks for the Word of Advice sir ! |
UHmm ,as you can see Sir ! i have alot of Teachers here! i really love to learn , i've got alot of lecturers both online and 'real real person', so for so good , i havent get any web/programming job ! infact , i dont know cost/ pricing of these stuffs ! not focused on that now ( ! so, sad that was why i was scammed when i hosted my website www.segsalerty.com ( due to ignorance ) you know ? . but , Thank God , Atleast i have it working on to test and atleast make my job global for my lectures to view and correct my Bugs ! so, i just started ! Not after money issue now , but believe me when i enter the money market ! i want to be collecting Great $$$$$ .Thanks and keep supporting ! |
1 2 3 4 5 6 7 8 ... 17 18 19 20 21 22 23 24 25 (of 26 pages)
I will report you all as you turn this place to debate and challenge ground !
I wanna be like you when i grow up sir
that was why i was scammed when i hosted my website