john010117
Members-
Posts
492 -
Joined
-
Last visited
Never
Everything posted by john010117
-
Session remember things it should NOT....
john010117 replied to leesiulung's topic in PHP Coding Help
Just because you hate it doesn't mean everyone else does. PHP is a very useful language for me. If you get fluent in it, it'll be a less of a pain for you. Trust me. PHP is powerful. -
Didn't you mean to ask how you can achieve this by the server doing it automatically (instead of doing it manually by yourself)?
-
I've never had that problem happen with Firefox. What version of IE are you using?
-
Please wait at least an hour before double posting. Also, I suggest you look up read about some of the functions (that's been included in the custom functions) on php.net
-
problem with arrays, please help me
john010117 replied to tasneem's topic in Editor Help (PhpStorm, VS Code, etc)
First of all, this is posted in the wrong section. Second of all, post your code. -
New "ZWM Account" service - BETA slots open!
john010117 replied to techiefreak05's topic in Beta Test Your Stuff!
The registration form doesn't work... It only shows the template after I've submitted the form. -
I see another problem. When a user doesn't fill in a required field, and the popup shows up, the values for all the required input boxes shows up as "{$_POST[". You might want to fix that.
-
not logging in correctly but does login.
john010117 replied to simple5imon's topic in PHP Coding Help
Is there any error messages? If so, post the error message, and ONLY the file it's referring to. -
What does the Javascript function do at the bottom of the page (I'm not fluent in Javascript)?
-
For code testing, I have PHP/MySQL server installed on my computer. To update, I just redirect the users to an "update in progress" page using either PHP or .htaccess.
-
Yes, I believe so. Or... <form name="CornerstoneForm" method="POST" action="mailto:markspjr@gmail.com">
-
Even though the security image works, the script doesn't check that all the required fields (other than the CAPTCHA) are filled in. I just filled in the captcha, and it displays the thank you page. You might want to fix that.
-
Right. I'll try that out. Thanks.
-
Right. Why didn't I think of that before? Thanks.
-
Yes, I've read that page and read all of the comments. The codes posted there either saves the session data to files (which I really don't want) or they don't really explain a lot. I want to be able to save sessions to a database, so I can easily view who logged in/logged out and at what time/date. Since I am more fluent with PHP/MySQL than PHP/Files, that's the route I want to take. Any suggestions?
-
The link you've provided doesn't work.
-
Scroll down. It's on the left corner of the topic.
-
If you want somebody else to do it for you, post in the freelancing forum. Otherwise, post some CODE.
-
Since I have yet to find a good and easy-to-follow tutorial on session_set_save_handler, I am just coding my own PHP session system where it saves a user's activity throughout the site into a MySQL database. Tell me if I need any improvements to my logic. Logging in First, when a user logs in, I will first check to see that the user/pass they've provided matches the ones stored in the database. Then, I will get the PHPSESSID from that user ($_REQUEST['PHPSESSID']) and put that as a value in a cookie. Then, I will INSERT the uid (user id) and the PHPSESSID in a seperate, sessions table. I will then create a session ($_SESSION) named after the user's uid. Browsing throughout the site On all of the secure pages, I will just include the session_check.php file. session_check.php Every time a user loads the page, I will first check that the $_SESSION['uid'], and the PHPSESSID cokkie exists. Then, I will take the value of that cookie, and check it against the PHPSESSID data stored in the database. If it matches, the user may continue on. If it doesn't (or one doesn't exist), the user will be redirected to login.php. So, can you make any suggestions to improve this system? Or do you have a good tut on session_set_save_handler that stores it in a database?
-
I wish you good luck on your AP test. I hope you pass.
-
The yellow nav bar stands out too much IMO. Also, the forum should have small links at the top leading back to the section the topic was posted in. Other than that, good job!
-
Maybe it's because you have two options selected at the same time. <option selected>' . $row["area"] . '</option> and <option selected>Miscellaneous</option>
-
I'm not sure, but maybe it's because of the size attribute. Try removing the size altogether.
-
.htaccess not working - off topic?
john010117 replied to ultrus's topic in PHP Installation and Configuration
The first thing you should do is to see if your host/server actually supports/allows the use of .htaccess files. I found this off of Google. -
Oh, sorry. My bad.