Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
0 Endorsements
Ranked #2K
~12.4K People Reached
Member Avatar for haribo83

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 …

Member Avatar for nishchal_619
0
4K
Member Avatar for Chosen13

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...

Member Avatar for Chosen13
0
98
Member Avatar for Chosen13

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.

Member Avatar for VernonDozier
0
278
Member Avatar for cyberprincess

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 …

Member Avatar for tami64
0
209
Member Avatar for dandixon

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 …

Member Avatar for chintan@dani
0
115
Member Avatar for Chosen13

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.

Member Avatar for metalix
0
122
Member Avatar for Chosen13

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 …

Member Avatar for digital-ether
0
76
Member Avatar for Chosen13

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" …

Member Avatar for eddimondson
0
279
Member Avatar for YasaminKh

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 …

Member Avatar for YasaminKh
0
108
Member Avatar for Chosen13

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 …

Member Avatar for nbaztec
0
131
Member Avatar for Chosen13

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 …

Member Avatar for thelamb
0
246
Member Avatar for Chosen13

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 …

Member Avatar for sDJh
0
142
Member Avatar for Chosen13

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 …

Member Avatar for Dartz654
0
57
Member Avatar for Chosen13

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. …

Member Avatar for Chosen13
0
102
Member Avatar for json101

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 …

Member Avatar for json101
0
1K
Member Avatar for Chosen13

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 …

Member Avatar for rajarajan2017
0
116
Member Avatar for griffith

PHP UNIX_TIMESTAMP Help!? How do we make a function where after 5 minutes, there is an update query.

Member Avatar for Chosen13
0
74
Member Avatar for azegurb

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 …

Member Avatar for Veneficae
0
125
Member Avatar for Th3nutz
Member Avatar for Chosen13
0
109
Member Avatar for Chosen13

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 …

Member Avatar for Chosen13
0
84
Member Avatar for Chosen13

Like if you have to run a query for one million people, how would you display the percentage of the query finished?

Member Avatar for Phaelax
0
61
Member Avatar for phpDave

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 …

Member Avatar for vandenzergen
0
114
Member Avatar for Chosen13

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 …

Member Avatar for CJesusSaves
0
4K
Member Avatar for Midnite002

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 …

Member Avatar for Ezzaral
0
84
Member Avatar for Chosen13

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!

Member Avatar for vaultdweller123
0
94
Member Avatar for Chosen13

[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) { …

Member Avatar for Will Gresham
-3
87