- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 1
- Downvoting Members
- 3
Re:
Thi si probably a really simple thing to solve but I am failry new to PHP and cannot find the answer anywhere. I have a search results page that calls data from a MYSQL database. All of the correct information is displaying but one of the fields contains text on … |
|
Hello, I have a website Stickmin ([url]http://www.stickmin.com/[/url] if you want to check it out, just finished the style yesterday and I think it looks good, opinions?) I want to know the best way to handle user logins, should I make a dedicated class, user sessions, cookies, etc? Thanks... |
|
Hello, Me and my development team are not sure how to get a users username/uid from their login on the website into the C++ application. I use PHP Cookies and Sessions for that. Is there anyway that this could work? Thanks. |
|
Re:
Hello, Can anyone please help me straighten out this error? I've tried a few things, but cannot seem to solve it. I am getting a 500 Internal Server error on a Wordpress 2.8 blog. I cannot get any pages to show up, nor log in to the admin area. The … |
|
Re:
Hi all i need to generate a 10 digit (at least) alphanumeric id when a customer submits a form, it has to be unique. Is there an easy way of doing this or do i just use the uniqid function and then check against the database that it doesnt already … |
|
Hello, I have a PHP Login Form and it works fine, but users with Fiddler2 (Web Debugging Proxy) have the ability to hide their PHPSESSID Completely. What is a good system that I can use to prevent this, as anonymous users can cause trouble on the website. |
|
1) Simplicity. Mysqli is object oriented. It's simple to use. You create an object and pass your database information to the constructor. And you're all set. [CODE] $mysqli = new Mysqli("localhost", "username", "password", "database"); $query = $mysqli->query("YOUR QUERY"); $row = $query->fetch_object(); echo $row->result; [/CODE] 2) Speed. Mysqli is newer and … |
|
Help please, I want to make a system so that when a thread hasn't been viewed by you, or if there are new posts in a thread that you haven't read, it will show "Unread", but when you view the new posts, or view the thread, it will show "Read" … |
|
Re:
Hi, I'm writing a code that takes a file name from user and opens it if it exist and if it doesn't asks for another file name. What i wrote is this: [CODE] #include <iostream> #include <string.h> #include <string> #include <stdlib.h> using namespace std; int mani() { string input; cout<<"please … |
|
Well, this project I'm working on is a Pokedex Program for my little sister for her birthday. Anyways, I have a file PokeList.txt, which I want to store every Pokemon next to their ID number. The text file is: [code] 1. Bulbasaur 2. Ivysaur 3. Venusaur 4. Charmander 5. Charmeleon … |
|
Help please, I wrote a script in C++ for loading a map file, parsing it with XML, and outputting the objects in the file. The XML parser works great, but it won't open the file. I have it exiting if the file doesn't exist, and the file doesn't load, even … |
|
I developed a forum ([url]http://www.stickmin.com/Forums/[/url]) and I need help letting users make their thread a poll with PHP. I want them to have a textarea where they can enter an option to vote for and they make a new line for each option. I also want it to save each … |
|
My site is a kid-based gaming site. I don't want users to be able to enter bad words. I don't want a filter that censors them, but one that if a bad word is found, redirects them to a Filtered Word page. On my previous one, words like hello or … |
|
Help me please, I have a problem on my user page. As you can see, the boxes are moving into strange places, the badges should float on the right. Example: [url]http://www.stickmin.com/User.php?ID=2[/url]. But on pages where the description isn't long, it works right: [url]http://www.stickmin.com/User.php?ID=1[/url]. Thanks, please tell me what is wrong. … |
|
Re:
How to read a text file into PHP with set format? My text file: [QUOTE]user@example.com user1@example.com user2@example.com user3@example.com user4@example.com user5@example.com ...[/QUOTE] How do I add the text file to my PHP file like this: [B]'user@example.com', 'user1@example.com'[/B] [CODE]<?php function nl2br2($text){ return preg_replace("/\r\n|\n|\r/", "<br>", $text); } $str= file_get_contents("sheet5.txt"); echo nl2br2($str); ?>[/CODE] This … |
|
How would I go about doing that? Here's my script: [code] <?php $q = mysql_query("SELECT * FROM users WHERE online = '1'"); while($array = mysql_fetch_array($q)) { if($array['banned']) { echo "<del><b><a href='User.php?ID=$array[id]'>$array[username]</a></b></del>"; } elseif($array['username'] == "Chosen" || $array['username'] == "CoderRyne") { echo "<b><a href='User.php?ID=$array[id]'><font color='red'>$array[username]</font></a></b>"; } elseif($array['level'] == 9) { echo … |
|
Re:
PHP UNIX_TIMESTAMP Help!? How do we make a function where after 5 minutes, there is an update query. |
|
Re:
hi all, I have a table inside another table I have problem with table background image I have a site in html i have table inside another table's td tag. but i can not give bg image to the table which is inisde another table. the code is below when … |
|
Re:
Hello, i think the title describes exactly what my problem is. Please if anyone knows something post. |
|
I need help making something for a forum of mine. I have view thread, new reply, new topic, forum index, view forum, and all that done. I just need this. What I want it to be is a section that lists the last 25 posts you've posted in, and each … |
|
Like if you have to run a query for one million people, how would you display the percentage of the query finished? |
|
Re:
Hello, I'm fairly new to php. I have a two page's, one where user creates account. The other one is for the user to insert other information. [B]If [/B]user completes both pages I want to direct them to their personal page, [B]else[/B], direct them to the second page to insert … |
|
My website is [url]http://www.stickmin.com/[/url] (Please Register!) I have it so when a user Logs In it updates their status to "Online" and if a user clicks Logout it updates their status to "Offline"... The problem I have is that some users just click the exit button on their browser and … |
|
Re:
I am new to PHP and have not yet learned all the syntax and commends but was wondering if an easy script can be made to copy files of the same name from one directory over to another directory thru a PHP script in other words if I have 2 … |
|
Help, my forums worked great until I got over 1000 posts, but then they stopped ordering correctly. Whenever someone posts a new thread it puts it on the second page now. HELP! |
|
[CODE]<?php if(isset($_POST['register'])) { $username = $_POST["username"]; $password = $_POST["password"]; $email = $_POST["email"]; $conf_pass = $_POST["confirm"]; $error = false; $connect = mysql_connect("localhost", "stickmi1_data", "electricCompany"); $database = mysql_select_db("account", $connect); $usernameCheck = mysql_query("SELECT username FROM users WHERE username = '$username'"); // Registration Form Validation Script if(!$username || !$password || !$email || !$conf_pass) { … |