Search found 69 matches

by leverkusen
Sun Jan 13, 2013 12:13 am
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

everywhere is username with small letter thats ok
by leverkusen
Sat Jan 12, 2013 11:36 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

try what?, i edited $checklogin = mysql_query("SELECT * FROM users WHERE Username = '".$username."' AND Password = '".$password."'"); but it must be like this 'uid' cannot be
by leverkusen
Sat Jan 12, 2013 3:18 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

can you take all these scripts and edit them by yourself until they work correctly? if you have time of course?
by leverkusen
Fri Jan 11, 2013 10:31 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

yea its username
by leverkusen
Fri Jan 11, 2013 8:16 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

sorry i dont undestand, i only did all small letters at Usernames everywhere :(
by leverkusen
Fri Jan 11, 2013 12:42 am
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

EDIT.PROFILE.PHP [syntax=php]<?php include('core/init.inc.php'); $errors = array(); if (!isset($_POST["username"])){ $errors[] = 'You must enter your username'; } if (empty($errors)){ $grad = mysql_real_escape_string(htmlentities($_POST['grad'])); $drzava = mysql_real_escape_string(htmlent...
by leverkusen
Sat Jan 05, 2013 10:43 am
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

[syntax=php]<tbody><tr><td style="width: 100px;"><div align="left"><b>Username:</b></div></td><td><div align="left"><input required="required" name="username" class="login" size="32" type="text"></div></td></tr>[/syntax]...
by leverkusen
Thu Jan 03, 2013 11:12 am
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

you say that i should rename username? i dont understand :(
by leverkusen
Mon Dec 31, 2012 8:27 am
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

No i havent changed anything error in line 46 is gone when i log in with usernames i get different informations whats good, but above html box i have 'You must enter your username' When i want to edit anything in profile i get echo 'Your profile has been updated'! but when i refresh there are still ...
by leverkusen
Sun Dec 30, 2012 9:05 am
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

when i change [syntax=php]session_start(); include('core/init.inc.php'); if(isset($_POST['username'])){ $errors = array(); } if(isset($_POST['grad'])){ $errors = array(); } if(isset($_POST['drzava'])){ $errors = array(); } if(isset($_POST['fan'])){ $errors = array(); } if(isset($_POST['website'])){ ...
by leverkusen
Sun Dec 16, 2012 6:47 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

really no erors, nothing, except we know that the session is empty somehow :(
i have 1 idea and now will try it, on other hosting, maybe is a hosting problem i had few problems with this hosting so i hope that is
by leverkusen
Sat Dec 15, 2012 8:52 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

:( still not editing the profile
by leverkusen
Sat Dec 15, 2012 4:36 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

actually redirects to login.php again but on the content which cannot be seen without loggin in
by leverkusen
Sat Dec 15, 2012 11:04 am
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

you mean profile.php? [syntax=php]<?php include('core/init.inc.php'); $user_info = fetch_user_info($_GET['uid']); ?> <?php if ($user_info === false){ echo 'That user does not exist.'; }else{ ?> <?php } ?> <!-- sidebar --> <div id="sidebar"> <div class="block"> <div class="bl...
by leverkusen
Thu Dec 13, 2012 9:28 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

yes i have a column called uid auto increment primary
and how does login fails if i do not see the page when im logged out :x
by leverkusen
Thu Dec 13, 2012 3:03 am
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

btw i added in edit.profile.php a part from login because of users to not see the page if they are logged in(edit.profile.php)
by leverkusen
Thu Dec 13, 2012 3:01 am
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

haha just what i though, its a session problem
The current SESSION UID is: :roll:
by leverkusen
Wed Dec 12, 2012 3:54 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

i dont get any mysql error very strange
hope you can take this scripts and edit them in your computer, then you will know when they will work
by leverkusen
Tue Dec 11, 2012 8:08 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

edit.profile.php [syntax=php] <?php session_start(); include('core/init.inc.php'); if(isset($_POST['username'])){ $errors = array(); } if(isset($_POST['grad'])){ $errors = array(); } if(isset($_POST['drzava'])){ $errors = array(); } if(isset($_POST['fan'])){ $errors = array(); } if(isset($_POST['web...
by leverkusen
Tue Dec 11, 2012 3:13 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

LOL i dont know what else to do any suggestions?
by leverkusen
Thu Dec 06, 2012 8:49 pm
Forum: PHP
Topic: cannot edit profile
Replies: 89
Views: 11173

Re: cannot edit profile

its still the same edit.profile.php [syntax=php] <?php session_start(); include('core/init.inc.php'); if(isset($_POST['username'])){ $errors = array(); } if(isset($_POST['grad'])){ $errors = array(); } if(isset($_POST['drzava'])){ $errors = array(); } if(isset($_POST['fan'])){ $errors = array(); } i...