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
2
Downvoting Members
2
0 Endorsements
Ranked #3K
~3K People Reached
Favorite Tags

15 Posted Topics

Member Avatar for foxwizzy

so i have 2 lists i need to compare $list = array("Apple", "Orange", "Lemon", "Candy"); and $db = $r_bio['other']; $db2 = explode(":", $db); i want to compare the two and if i find the same i want to echo a checked checkbox if not an unchecked checkbox if($db2 == $list) …

Member Avatar for foxwizzy
0
117
Member Avatar for foxwizzy

<?php require_once("./Connections/root.php"); mysql_select_db($database_root, $root); include 'p_settings.php'; session_start(); $user = $_SESSION['MM_Username']; $q = mysql_query("SELECT id FROM performer WHERE username='$user' LIMIT 1") or die("Error : " . mysql_error()); $r = mysql_fetch_assoc($q); $id = $r['id']; ?> You can set three countries as banned." <br> Please choose from the following countries: <?php $query = …

Member Avatar for broj1
0
170
Member Avatar for foxwizzy

So i got a color selector from http://www.eyecon.ro/colorpicker/ How do i save the selected color code in a php var so i can insert it in a MySQL db ?

Member Avatar for pritaeas
0
76
Member Avatar for foxwizzy

<?php require_once('Connections/site.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; …

Member Avatar for foxwizzy
0
194
Member Avatar for foxwizzy

This is "part" of my code Imports System Imports System.IO Imports System.Text Public Class Form2 Public fo1 As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim path As String = Directory.GetCurrentDirectory() & "\test.txt" If File.Exists(path) Then My.Computer.FileSystem.WriteAllText(path, fo1, True) Else Dim fs As FileStream …

Member Avatar for foxwizzy
0
160
Member Avatar for dhruv_arora

[CODE]$q="SELECT user_id FROM users WHERE username='$uname' AND pass==SHA1('$p')";[/CODE] try like this

Member Avatar for dhruv_arora
0
137
Member Avatar for foxwizzy

I want to update my users last log in in the database : [CODE]<input name="login" type="submit" id="login" onclick="<?php mysql_select_db($database_web, $web) or die("Error : " . mysql_error()); mysql_query("UPDATE users SET timp='NOW()' WHERE username='$user'")or die("Error : " . mysql_error());?>" value="LogIn" />[/CODE] this is my code but it doesent update the table :| …

Member Avatar for cereal
0
290
Member Avatar for foxwizzy

[CODE]<?php require_once('Connections/TSFH.php'); ?> <?php // *** Validate request to login to this site. if (!isset($_SESSION)) { session_start(); } $loginFormAction = $_SERVER['PHP_SELF']; if (isset($_GET['accesscheck'])) { $_SESSION['PrevUrl'] = $_GET['accesscheck']; } if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $password=$_POST['password']; $MM_fldUserAuthorization = "aclevel"; $MM_redirectLoginSuccess = "/users/" . $loginUsername . "index.php"; $MM_redirectLoginFailed = "/login.php"; $MM_redirecttoReferrer = false; mysql_select_db($database_TSFH, …

Member Avatar for codewall
0
152
Member Avatar for alaa_steel
Member Avatar for zimah
0
198
Member Avatar for foxwizzy

is it posible to increase a mysql table default value to increase by a number based on another number E.X. i have a default value set to 10 how do i increase it by 1 every 3 minult also if i add a new number "3"(in a box or text …

Member Avatar for diafol
0
98
Member Avatar for AirGear

[code]<meta http-equiv="refresh" content="1; URL=http://yahoo.com"> [/code]

Member Avatar for AirGear
0
370
Member Avatar for SuntechWebsites

Create the admin page and restrict access to the page based on the level of the loged in user, some thing lk this [code]<?php if (!isset($_SESSION)) { session_start(); } $MM_authorizedUsers = "2"; $MM_donotCheckaccess = "false"; // *** Restrict Access To Page: Grant or deny access to this page function isAuthorized($strUsers, …

Member Avatar for foxwizzy
0
149
Member Avatar for foxwizzy

hello all i am new to this forum and need some help whit php. I am trying to create a script that shows the number of users online. [CODE]<?php $host = "xx.xxx.xxx.xx"; $user = "xxxx"; $pass = "xxxx"; $db = "users" $conn = mysql_connect("$host", "$user", "$pass") or die ("Unable to …

Member Avatar for diafol
0
219
Member Avatar for foxwizzy

Name : Sebastian Nick : FoxWizzy Age : 21 Ocupation : Nothing Location : Romania

0
26
Member Avatar for muralibobby2015

I have a question about something ... how can i make my userz have to go thru the login page to access ther accounts, E.X. http//x.php = login page [url]http://y.php[/url] = users page I need if you tipe [url]http://y.php[/url] in the browser to give you [url]http://x.php[/url] not y.php ... only …

Member Avatar for jomanlk
0
309

The End.