Search found 8 matches

by bluebird
Mon May 21, 2012 5:50 am
Forum: PHP
Topic: Is it safe to process code within the same page?
Replies: 2
Views: 606

Is it safe to process code within the same page?

Hi, I have heard it was unsafe to redirect users to the same page while having code processed at the top of the page's code. For instance, with a form, the action url would be empty and the user's data processed at the top of the same page. If that is unsafe, then I should create another page to pro...
by bluebird
Sun May 06, 2012 6:13 am
Forum: PHP
Topic: Private Message System - Showing all messages for each user
Replies: 2
Views: 540

Re: Private Message System - Showing all messages for each u

That fixed it! Thanks Jacek.
by bluebird
Sun May 06, 2012 3:51 am
Forum: PHP
Topic: Private Message System - Showing all messages for each user
Replies: 2
Views: 540

Private Message System - Showing all messages for each user

Hi, My rebuild of the Private Message System works fine. Now I am trying to show, in a table, all messages by their user_name. <?php // Obtain the amount of users in users $query_users = mysql_query("SELECT * FROM users") $num_users = mysql_num_rows("$query_users"); // Obtain the...
by bluebird
Mon Apr 09, 2012 4:33 am
Forum: PHP
Topic: Private Message System - Comments don't treat accents.
Replies: 4
Views: 644

Re: Private Message System - Comments don't treat accents.

I fixed this problem by removing htmlentities() around my post variables.
by bluebird
Sun Apr 08, 2012 10:49 pm
Forum: PHP
Topic: Private Message System - Comments don't treat accents.
Replies: 4
Views: 644

Private Message System - Comments don't treat accents.

Hi, I've followed the tutorial for the private message system. Everything works as expected, only that the system is meant for french users, so what users publish contains accents. So far, I've fixed it so if I manually insert content inside the database, the system will display the accents correctl...
by bluebird
Sun Mar 11, 2012 7:31 am
Forum: Tutorials
Topic: Private Message System - Styling ".page.inc.php" files
Replies: 3
Views: 842

Re: Private Message System - Styling ".page.inc.php" files

That seems to have fixed it! Thanks for taking the time to reply and for making all these videos.
by bluebird
Sat Mar 10, 2012 6:07 am
Forum: Tutorials
Topic: Private Message System - Styling ".page.inc.php" files
Replies: 3
Views: 842

Private Message System - Styling ".page.inc.php" files

Hello, I finished the private message system tutorials. I am now trying to style some of the pages in the core/pages/ folder. It seems like styling the login.page.inc.php file doesn't cause an issue. However, I added two other .page.inc.php files and it seems like the styling won't apply to these. T...