Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
75% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~21.2K People Reached
About Me

A PHP Dev in the works. Smart and nice.

Interests
PHP, C#, Computers, Technology
PC Specs
Compaq CQ57, PNY 8GB RAM, Windows 8.1 Pro 64-Bit
Favorite Tags

61 Posted Topics

Member Avatar for Djmann1013

I am trying to make a MP3 player using axWindowsMediaPlayer, and I am running into some issues. When the song stops playing, it is supposed to go on to the next song in the list, but instead it locks up. I don't know how to fix this, I tried googling …

1
267
Member Avatar for Djmann1013

I am having a problem with this code. I looked into the issue and found no answer. When I run this code I get this: `username1username2{"username":"Username1", "username":"Username2"}` Instead of the desired result: `{"username":"Username1", "username":"Username2"}` Here is the code: <?php error_reporting(E_ALL); ini_set('display_errors', '1'); $db = mysql_connect('localhost', '', ''); mysql_select_db("roblox"); $query = …

Member Avatar for matrixdevuk
0
138
Member Avatar for Djmann1013

I'm trying to host a Minecraft server on a Openshift DIY gear and my friend wants to join. I have a SSH key for him, and when I run this in cmd like the documentation says: "C:\Users\~Jacob\Desktop\putty.exe" -ssh -i "C:\Users\~Jacob\Documents\ssh.ppk" -N -L 127.5.90.1:25565:127.5.90.1:25565 53fd2ff4e0b8cd67260003c5@minecraft-awesomeserver.rhcloud.com It says in PuTTY that it …

Member Avatar for rubberman
0
219
Member Avatar for happygeek
Member Avatar for Djmann1013
6
957
Member Avatar for happygeek

I have a little lag, but it isn't that bad. I've expirienced worse before.

Member Avatar for mreza
0
190
Member Avatar for Djmann1013

Anyone know of a way to auto-grab songs? I want to make a playlist of songs so that I can make a playlist and listen to them. I've tried making a script but it somewhat worked, it opens the menu but it doesn't add it to the playlist. Here is …

Member Avatar for Djmann1013
0
216
Member Avatar for Djmann1013

I am trying to make a timer that refreshes every 5 seconds. Here is my code: using System; using System.Collections.Generic; using System.Windows.Forms; using System.Diagnostics; using System.Timers; namespace rpanel_server { public partial class MainForm : Form { public MainForm() { InitializeComponent(); Timer MyTimer = new Timer(); MyTimer.Interval = (4000); MyTimer.Tick += …

Member Avatar for ddanbe
0
3K
Member Avatar for Djmann1013

I got an error on my Windows 7 PC out of the blue, it said this under the "Technical Information" side: stop 0x0000001A (0x0000000000005003, 0xFFFFF70001080000, 0x0000000000000833, 0x0000083B00001076) I am am doing a scan with MalwareBytes because this is the first time I got this error. Any other reason as to …

Member Avatar for purushottamaher
0
201
Member Avatar for Djmann1013

I can't figure this out but the network icon looks like this even though it is connected to the internet: [Image](http://i.imgur.com/U05pSNa.png) I didn't mess with any settings, but it just started to look like that one day. Any ideas? I looked at the settings, everything.

Member Avatar for seoulman2
0
151
Member Avatar for RAYNISH
Member Avatar for ryanjayson
0
247
Member Avatar for Djmann1013

Hi, I recently got BCrypt from the NuGet manager. I am trying to find documentation on how to use it in VB, but no luck. Anyone used this? Here is the link to the package: http://bcrypt.codeplex.com/ I just need to figure out how to use this in VB.net, if I …

Member Avatar for Ancient Dragon
0
479
Member Avatar for Djmann1013

I am trying to remove spaces in the names of file uploads, but the below code does nothing. <?php session_start(); mysql_connect('localhost','root','') or die(mysql_error()); mysql_select_db('db'); if(!isset($_SESSION['username']) && !isset($_SESSION['auth'])){ header('Location: /'); } $username = $_SESSION['username']; echo $username; $dirs = mysql_query("SELECT * FROM `users` WHERE `usr_name` = '" . $username . "'") or …

Member Avatar for Djmann1013
0
364
Member Avatar for Djmann1013

Aol is not letting me login, even with a correct password. I don't know what to do?

Member Avatar for jobtardisportal
0
64
Member Avatar for Djmann1013

I was browsing my computer and in my temp folder, I found 10 photos of me taken without my consent. The names are: out_00, out_01 and the files contain photos of me taken without me knowing. Also, in the lower right, it says: 2013-5-26, 16:55:08 There are over 10 photos …

Member Avatar for Djmann1013
0
152
Member Avatar for Djmann1013

My mom, I admit is so uninformed about LAN game servers, and is not tech-savvy. She thinks that a LAN server is a public server where people outside on the internet can access my LAN server. She is misinformed, and I can't dumb it down, since she automattically thinks "A …

Member Avatar for Rik_
0
231
Member Avatar for Djmann1013

Hi, my app that I am making is not working. Here is the code: package com.awsomechat; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.message.BasicNameValuePair; import org.json.JSONObject; import android.os.Bundle; import android.app.Activity; import android.content.SharedPreferences; …

Member Avatar for peter_budo
0
318
Member Avatar for Djmann1013

I am having trouble animating a div on the same page as the div that is not animating. Here is my code: Page 2 <?php mysql_connect('127.0.0.1', 'root', ''); mysql_select_db('table'); $query = mysql_query("SELECT * FROM `blog`"); ?> <script> $('.post').click(function() { var value = $(this).attr('rel'); $('.load_post').html('Loading...').load('load_post.php?value='+value); $('.load_post').animate({"left": "-=1500px"}, "slow"); $(".posts").animate({"left": "-=1500px"}, "slow"); …

Member Avatar for LastMitch
0
97
Member Avatar for Djmann1013

Why does this error occur? Here is my code: Imports System.IO Public Class Form1 Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click OpenFileDialog1.Title = "Select Image" OpenFileDialog1.InitialDirectory = "C:\temp" OpenFileDialog1.FileName = "Image File" OpenFileDialog1.Filter = "JPEG Images (*.jpg,*.jpeg)|*.jpg;*.jpeg|Gif Images (*.gif)|*.gif|PNG Images|*.png" OpenFileDialog1.ShowDialog() End Sub Private Sub OpenFileDialog1_FileOk(sender As …

Member Avatar for Djmann1013
0
1K
Member Avatar for Djmann1013

I am having a bit of trouble with converting a string (url) into a Uri. Here is the screenshot of the error: http://www.imgbomb.com/i/d15/3bk3v.png Here is the code that is giving me trouble: Private Sub ComboBox1_Change(sender As Object, e As EventArgs) Handles ComboBox1.TextChanged Dim myString As String = ComboBox1.Text.ToString() Me.WebBrowser1.Navigate(New Uri(myString)) …

Member Avatar for TnTinMN
0
2K
Member Avatar for Djmann1013

Hi, I am trying to store individual lines of a .txt file in a ComboBox, here is my code: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim FILE_NAME As String = "history.txt" If System.IO.File.Exists(FILE_NAME) = True Then Dim objReader As New System.IO.StreamReader(FILE_NAME) Dim Line As String = …

Member Avatar for Djmann1013
0
153
Member Avatar for Djmann1013

This is confusing. I made input boxes in HTML, and included the HTML in a PHP page. I am not able to click on them to get them focused, but pressing the "tab-key" will get it working. Here is my code: (HTML) <div class="widget"> <h2>Login/Register</h2> <div class="inner"> <form action="login/login.php" method="post"> …

Member Avatar for Djmann1013
0
132
Member Avatar for Djmann1013

Hi, whenever I visit my website, this iana thing pops up (url of the page: http://www.iana.org/domains/example) making my site inaccessible. I do not know what to do. I have tried to get wround it, but it won't let me.

Member Avatar for JorgeM
0
82
Member Avatar for Djmann1013

Hi, I have this code here: **index.php** <?php include 'core/init.php'; include 'includes/overall/overall_header.php'; ?> <h1>Welcome to AwsomeChat!</h1> <p>This is AwsomeChat - a free place just to hang out. This site is made for chatting or socializing with a friend. This site is free, no membership needed to use this site.</p> <?php …

Member Avatar for diafol
0
865
Member Avatar for Djmann1013

Hi, I have no knowledge of preg_match(). I was wondering on how to detect if the text I send to the function, and only allow the text like this: sample1127 Like that, with no underscores or anything. Just text and numbers. I would be happy if you helped...

Member Avatar for Djmann1013
0
212
Member Avatar for Djmann1013

I have this code right here: if(isset($_SESSION['username'])) { header("location: home.php"); exit(); } This code works, but I want it to redirect to home.php with out having to visit a different page and then the page this code is on to trigger the code. I don't know how to do that. …

Member Avatar for Djmann1013
0
999
Member Avatar for softwaretime

No thanks. I don't want to risk it. It is very suspicious that you are posting a download on this site. Also, nice writing this post, but, how do I know if this .exe will infect my computer with something, or wipe it?

Member Avatar for softwaretime
0
215
Member Avatar for Djmann1013

I have this code I made: <?php $to = "example@random.co.uk"; $$subject = "Email"; $message = " Hi, Dave! "; mail($to, $subject, $message); ?> It works fine in Chrome, but in Opera, it is obsolete. Can anyone tell me why? I thought PHP processes on the server, not the client.

Member Avatar for blocblue
0
118
Member Avatar for shotokanpoloto

Using the `QueryString` varible can open your site for security risks. I would use PHP instead of JavaScript because people sometimes disable JavaScript and your page may malfunction.

Member Avatar for shotokanpoloto
0
148
Member Avatar for Djmann1013

// set timeout period in seconds $inactive = 1; // Testing. Change back to 600 when done // check to see if $_SESSION['timeout'] is set if(isset($_SESSION['timeout']) ) { $session_life = time() - $_SESSION['timeout']; if($session_life > $inactive) { session_destroy(); header("Location: index.php"); } } $_SESSION['timeout'] = time(); The code above works fine. …

Member Avatar for LastMitch
0
390
Member Avatar for Noth

Do not ever post your mysql_connect passwords or usernames. People can hack into your database.

Member Avatar for broj1
0
156
Member Avatar for phpHelp

Use AJAX and jQuery and PHP. That is how I made my site's chat. And store the user's names and which other data and store each individual message in the database. Here is a example: <script src="http://code.jquery.com/jquery-latest.js"></script> <script> // This is to load the chats $(document).ready(function(){ $('#messages').load('feed.php'); }); function update(){ …

Member Avatar for Djmann1013
0
188
Member Avatar for robert.murdock.18

Try checking if you plugged it in wrong or try bending the cord a little to see if the cord is bad.

Member Avatar for Djmann1013
0
254
Member Avatar for joseph.akinadewo

<?php $to = "info@vineyardgroupofschool.org"; $subject = "Site Contact"; $email = $_POST['email']; // Changed to $_POST[''] $message = "Name: ".nl2br($_POST["name"]. "\r\n"); $message .= "Email: ".nl2br($_POST["email"]. "\r\n"); $message .= "Message: ".nl2br($_POST["message"]); $headers = "From: $email"; $headers .= "\nContent-Type: text/html; charset=UTF-8"; $headers .= "\nMIME-Version: 1.0"; $sent = mail($to, $subject, $message, $headers); // Had …

Member Avatar for joseph.akinadewo
0
326
Member Avatar for Albemoi

I agree with BigPaw. Go to Control Panel and click "Add Or Remove Programs". Look for the Yahoo stuff. Also, if you are using a browser with add-ons or "Plug-ins" look in the plug-ins manager of the browser and remove the plugin or add-on. If McAfee prompts you of security …

Member Avatar for BitBlt
-3
803
Member Avatar for o.s.o.a

I don't think ckeditor is for that. I think ckeditor is an editor more for blogging.

Member Avatar for o.s.o.a
0
126
Member Avatar for gosweetten

I would update to the latest service pack of Windows XP for the latest sercurity updates. Since you are using SP1 (service pack 1) it could be volnerble to the old viruses. But, if your computer is old, then I would recommend staying like it is now. Because it could …

Member Avatar for Djmann1013
0
366
Member Avatar for Djmann1013

This is the code I am having trouble with: <?php mysql_connect('localhost', 'username', 'password') or die(mysql_error()); mysql_select_db('database') or die(mysql_error()); $posts = mysql_query("SELECT * FROM `wp_DevBlogposts` ORDER BY `wp_DevBlogposts`.`post_date` DESC LIMIT 2") or die(mysql_error()); while($row = mysql_fetch_array($posts)){ $post_name = $row['post_title']; // Post Name/Title $post_content = $row['post_content']; // Post Content $url = $row['guid']; …

Member Avatar for LastMitch
0
280
Member Avatar for Djmann1013

I am having trouble with this code: <!DOCTYPE html> <head> <title>AJAX Chat Test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Script --> <script src="jquery.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready( function(){ $("#chats").load("feed.php"); $("#post").submit( function(){ return false; } } ) ); </script> </head> <body> <!-- Messages display here --> <div id="chats"></div> <!-- Post the …

Member Avatar for Djmann1013
0
144
Member Avatar for Djmann1013

I am having trouble with this code: <!DOCTYPE html> <html xmlns:fb="http://ogp.me/ns/fb#"> <body> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <fb:like href="http://www.MyWebsite.com" send="false" layout="button_count" width="200" show_faces="false" font="verdana"></fb:like> </body> </html> The …

Member Avatar for LastMitch
0
166
Member Avatar for Djmann1013

I am having trouble with this page: <?php session_start(); // LOGIN PAGE... include('/mods/core/core_login.php'); // SQL stuff. mysql_connect('SQL host','Username','Password'); mysql_select_db('DB_NAME'); $ci = rand(1, 10); if ($ci == "1"){ $img = "http://images.awsomechat.comuv.com/cap_1.png"; // URL of image. $ans = "LoIs DDiO"; // Answer to image. }elseif ($ci == "2"){ $img = "http://images.domain.com/cap_2.png"; // …

Member Avatar for cereal
0
183
Member Avatar for Djmann1013

I am having trouble with this code: This is the init.inc.php file <?php //init.inc.php file session_start(); $exceptions = array('signup', 'login', 'index'); $page = substr(end(explode( '/', $_SERVER['SCRIPT_NAME'])), 0, -4); // SQL stuff. mysql_connect('SQL host','username','password'); mysql_select_db('database name'); include('user.inc.php'); //$_SESSION['uid'] = 1; if (isset($_COOKIE['username'], $_COOKIE['password'])){ if (valid_credentials($_COOKIE['username'], $_COOKIE['password'])){ $_SESSION['username'] = htmlentities($_COOKIE['username']); setcookie('username', $_COOKIE['username'], …

Member Avatar for Djmann1013
0
318
Member Avatar for Djmann1013

I am having trouble with this code block: if($row['banned'] == 1) { header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } elseif ($row['banned'] == 2){ header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } Ive also tried this: if($row['banned'] == 1 or $row['banned']== 2) { header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } But none of this works... I am trying …

Member Avatar for Djmann1013
0
165
Member Avatar for Djmann1013

I am having trouble with this code: <?php // Username $username = $_POST['name']; $email = $_POST['email']; // MYSQL $con = mysql_connect('host','username','password') or die(); mysql_select_db('db', $con); $var = md5($email); $result = mysql_query("UPDATE `table` SET `imageEs`='$var' WHERE user_username='{$_SESSION['sessid']}'") or die(mysql_error()); echo "Profile image updated. <a href='http://www.awsomechat.comuv.com/update_profile.php'>Go back.</a>"; ?> I am trying to …

Member Avatar for Djmann1013
0
94
Member Avatar for Djmann1013

I am having trouble with this code: <?php // Username $username = $_POST['name']; $email = $_POST['email']; $default = "default image"; $size = 40; // MYSQL mysql_connect('host','username','password'); mysql_select_db('database'); $grav_url = "www.gravatar.com/avatar/" . md5( strtolower( trim( $email ) ) ) . "?d=" . urlencode( $default ) . "&s=" . $size; $sql = …

Member Avatar for broj1
0
133
Member Avatar for suavedesign

Go here: http://www.w3schools.com/html/html_sounds.asp That's a documentation on how to embed .mp3, and .wav files with/or with out a plug in.

Member Avatar for Helianthus
0
189
Member Avatar for Helianthus

It seems to be working. I have the latest Firefox. It is obviously your version of firefox. Get the latest version and tell me if it works.

Member Avatar for Helianthus
0
193
Member Avatar for Djmann1013

Hi I am having trouble with this code: <?php //init.inc.php file session_start(); mysql_connect('mysql.host.com', 'username', 'password'); mysql_select_db('DB name'); include('include'); // Get users from table function fetch_users() { $result = mysql_query('SELECT 'user_id' AS 'id', 'user_username' AS 'username' FROM profile'); // Error on this line: Parse error: syntax error, unexpected T_STRING on line …

Member Avatar for phorce
0
89
Member Avatar for cldo

I would use ASP.NET (C#) for the security (SQL Injection, all the other bad things). HTML & CSS for the design, also a professional photo software (GIMP, PhotoShop, Paint.Net). Also a webhosting service (GoDaddy, HostGator).

Member Avatar for James_Smith
0
234
Member Avatar for Djmann1013

I need help with this code: <?php $a = json_decode(file_get_contents('http://www.ace-spades.com/serverlist.json'),true); $n = count($a); for($i=0; $i < $n; $i++) { echo 'identifier: ' . $a[$i]['identifier'] .' count: '. $a[$i]['count'] . "\n"; } ?> I need it so that it doesn't display this: http://www.aosserverhome.hostoi.com/servers/servertest1.php I want to use that data and only …

Member Avatar for cereal
0
94
Member Avatar for Djmann1013

Hi. I am trying to search for text on a page. This is the page i am searching: http://www.ace-spades.com/serverlist.json. This is the code I have: <?php $link = "http://www.ace-spades.com/serverlist.json"; $linkcontents = file_get_contents($link); $needle = "ServerIP"; $numofplayers = //I need help here if (strpos($linkcontents, $needle) == false) { echo "<center>0/12 Players …

Member Avatar for cereal
0
344

The End.