Search found 69 matches
- 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
- 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
- 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?
- Fri Jan 11, 2013 10:31 pm
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11173
Re: cannot edit profile
yea its username
- 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 ![Sad :(](./images/smilies/icon_e_sad.gif)
![Sad :(](./images/smilies/icon_e_sad.gif)
- 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...
- 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]...
- 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 ![Sad :(](./images/smilies/icon_e_sad.gif)
![Sad :(](./images/smilies/icon_e_sad.gif)
- 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 ...
- 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'])){ ...
- 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 ![Sad :(](./images/smilies/icon_e_sad.gif)
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
![Sad :(](./images/smilies/icon_e_sad.gif)
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
- Sat Dec 15, 2012 8:52 pm
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11173
Re: cannot edit profile
![Sad :(](./images/smilies/icon_e_sad.gif)
- 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
- 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...
- 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![Mad :x](./images/smilies/icon_mad.gif)
and how does login fails if i do not see the page when im logged out
![Mad :x](./images/smilies/icon_mad.gif)
- 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)
- 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:![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
The current SESSION UID is:
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
- 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
hope you can take this scripts and edit them in your computer, then you will know when they will work
- 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...
- 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?
- 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...