Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
23% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
8
Downvotes Received
46
Posts with Downvotes
39
Downvoting Members
14
4 Commented Posts
5 Endorsements
Ranked #341
Ranked #1K
~173.28K People Reached
Favorite Tags

166 Posted Topics

Member Avatar for pawangupt
Member Avatar for akeane
0
192
Member Avatar for SKANK!!!!!

i know how to do the link thing that if u click it it closes the window. but im wondering if theres a way to automatically close a window after the php code is done running. cause i have an inbox and theres a link to delete the message if …

Member Avatar for sajjadhira
0
47K
Member Avatar for SKANK!!!!!

i heard that i can customize my webstore more with paypal api. i dont know what it is. am i able to have my own shopping cart page that i made entirely myself and then have the person buying just check out with paypal, so they can buy multiple items …

Member Avatar for Max D
-1
63
Member Avatar for jmonit

wow, a simple doctype was messing something up eh? i really hate doctype its nice to hear it was on this side of the problem

Member Avatar for sacarias40
0
2K
Member Avatar for OmniX

one time i made a password encryption with pure php it went like this: $password = sha1($password); $password = md5($password); $password = ENCRYPTED!

Member Avatar for Stefano Mtangoo
2
2K
Member Avatar for SameerMughal

i use this one its really cool its jquery. its called jtip ops but u save the tip as a htm file.

Member Avatar for jcreedon
0
90
Member Avatar for SKANK!!!!!

[CODE]<script> function addText(event){ document.getElementById("insertid").value += (event.srcElement || event.target).firstChild.nodeValue.toString(); } </script> <textarea id="inserid"></textarea> <table onclick=addText(event)><tr><td>[bbcode][/bbcode]</td><td>[bbcode2][/bbcode2]</td></tr></table>[/CODE] problem is whe i click on the bbcode or bbcode2 it inserts it at the end of whatever is in the textarea. im looking to insert it into where the user clicks(where the carat is) like …

Member Avatar for lifeh2o
0
171
Member Avatar for julzk

[QUOTE=julzk;1085743]Hi, I am wanting to Calculate Hours & Minutes between two Dates/Time. I have four fields: ss_datestart, ss_dateend and ss_timestart and ss_timeend. I want to display the hours and minutes between two dates/times. Example: $ss_datestart $ss_timestart --- $ss_dateend $ss_timeend 05-12-2009 13:44:31 --- 05-12-2009 17:55:31 I want it to then display …

Member Avatar for kswsk
0
7K
Member Avatar for SKANK!!!!!

i am making a webstore and it has a table that has all the items in it. like each item has its own row in the table called like "items" or something right and each column is specific to all items. but im lost what to do with orders. i …

Member Avatar for SKANK!!!!!
0
793
Member Avatar for SKANK!!!!!

can someone please fix whats wrong with the new problem. i really have no idea how to change it. 2 pages. the problem is when i have the ajax pages and i go to the next page, it doesnt highlight the number im on anymore. and then there was this …

Member Avatar for SKANK!!!!!
0
140
Member Avatar for SKANK!!!!!

theres nothgin wrong with my ajax, it works and is sending other variables but whe i want to send "pood" from [CODE]function farmers(pood, happy)[/CODE] i twill not work. now when i call the function it goes like this [CODE]onclick="farmers('pisslet', 'popcocky')"[/CODE] now it will not send PISSLET, what do i do? …

Member Avatar for SKANK!!!!!
0
123
Member Avatar for SKANK!!!!!
Member Avatar for SKANK!!!!!

is there some script i can put in the webpage to make the video viewable to like the person looking at my site IN windows media player or whatever their media player is(but keep the video on the webpage... not in their program window? does anyone know? i just want …

Member Avatar for Abdullahakeem
0
180
Member Avatar for SKANK!!!!!

now i know that there is a thing that "you cant stay logged inforever" but isnt there some sort of ultra cookie that doesnt get cleared when a user is clearing their cookies from their browsers? and when someone logs out of my site, i set the session to expired. …

Member Avatar for Excizted
0
982
Member Avatar for micatexdj

yeah just do products and price and category and some other stuff like how many and how much it weighs and how big it is. how many people have bought it how much views its gotten. what people have rated it. how much time it takes to make. what the …

Member Avatar for priyaaaa
-1
71
Member Avatar for SKANK!!!!!

will some things not work on my site once html5 is out? is html5 already out? please ive been to the google search results for html 5 related material and i really dont understand what it is. any help from anyone that understands it would be preferred!

Member Avatar for unlimited071
0
597
Member Avatar for cjay175
Member Avatar for Virangya
Member Avatar for somedude3488
0
135
Member Avatar for RisTar

lol u cant print the $_POST thats not right.u have to echo [CODE]$_POST[name of the text field here]; echo $_POST[creditCard]; make sure to use mysql_real_escape_string() if u are entering it in the databse? [/CODE]

Member Avatar for almostbob
0
215
Member Avatar for Usura

hi. you may want to use [CODE]type="hidden"[/CODE] for the one u dont want the user to write in.

Member Avatar for Usura
0
141
Member Avatar for sjeggels

[CODE]<?php /********************** MYSETTINGS.PHP*************** *********** This updates user settings and password **************************** ********************** **********/ include 'dbc.php';page_protect(); $rs_settings = mysql_query("select * from users where id='$_SESSION[user_id]'"); if(@$_POST['doUpdate'] == 'Update'){$rs_pwd = mysql_query("select pwd from users where id='$_SESSION[user_id]'"); list($old) = mysql_fetch_row($rs_pwd); //check for old password in md5 format if($old == md5($_POST['pwd_old'])){$newmd5 = md5(mysql_real_escape_string($_POST['pwd_new'])); mysql_query("update users …

Member Avatar for rajarajan2017
0
231
Member Avatar for hinde

[CODE]<span onmouseover="this.style.cursor='pointer';" onmouseout="this.style.cursor='default';">hi</span>[/CODE]

Member Avatar for SKANK!!!!!
0
2K
Member Avatar for sajed

[CODE]$querypub = "SELECT * FROM art_publish where category='$bnrow[1]' ORDER BY id DESC limit 3"; $qrypub = @mysql_query($querypub,$connect) or die ("Wrong Query");$f = "1"; while ($pub = mysql_fetch_array ($qrypub)) {if($f == "1"){$f++;echo "only image showwn";} else{echo "dont echo image";} echo " <tr> <td> <div class=\"news_title\"><a href=\"art.php? show=art&id=$pub[id]\">$pub[title]</a></div> <div class=\"newssubtitle\">$pub[subtitle]</div> <div class=\"newsdate\">$pub[sdate]</div>"; …

Member Avatar for sajed
0
108
Member Avatar for rutaba

u can use javascript setInterval(); and content management systems are dumb.

Member Avatar for rutaba
0
72
Member Avatar for niths
Member Avatar for somedude3488
0
176
Member Avatar for sugikrish

WWHAT? u cant use spaces and have to use &nbsp; ? that doesnt make any sense? what do u have a code or something more specific on what u nee dhelp with?

Member Avatar for urtrivedi
0
78
Member Avatar for raju_boini525

[QUOTE=almostbob;1224126]save the date in a timestamp, not some human-centric text date format, php date(); mysql now(); work on query [icode]if($date+(30*24*60*60) < date()) { /* kill the upgrade level */}[/icode] thought process only very obviously not valid code cron:noun; approximately the server equivalent of windows task scheduler[/QUOTE] u should do this: …

Member Avatar for SKANK!!!!!
0
119
Member Avatar for QWaz

if u have a great enough server that it will let u use up so much resorces or whatever that sending an email takes up. do a while statement and send the email to each one. like u would do anything else. just send the email: [CODE]$message = "your html …

Member Avatar for SKANK!!!!!
0
108
Member Avatar for niths

in adition to checking the valid user session vairbale u should do this as a logout precashionairy: [CODE]$_SESSION = array(); session_unset(); session_destroy(); if (isset($_COOKIE[session_name()])) { setcookie(session_name(), '', time()-55, '/'); }[/CODE] dont change anything, but u can change the -55 to another negatiove number only a negative number

Member Avatar for SKANK!!!!!
0
103
Member Avatar for DoctorTom
Member Avatar for niths

might want to use mysql_real_escape_string() before u put it int he session vairballe

Member Avatar for SKANK!!!!!
0
154
Member Avatar for furqan219
Member Avatar for rabzzz

if u want to get a specific value from mysql database u can use mysql_result();[CODE]$this = mysql_query("SELECT columname FROM tablename WHERE anycolumname = '$variable'"); $columnnamevalue = mysql_result($this, 0); [/CODE] the 0 gets the first result i think if there are more than one result than 2 will get the third …

Member Avatar for SKANK!!!!!
0
90
Member Avatar for andydeans

use sessions, if there session variable doesnt match the id in the url deny acces

Member Avatar for SKANK!!!!!
0
87
Member Avatar for cosminx2003

[CODE]if($_SESSION == "true"//or whatever u do to check if the variable is true?){include();}[/CODE] i dont know what u mean by simulatanously but thats all i understand u want tod o

Member Avatar for SKANK!!!!!
0
63
Member Avatar for mrjoli021

u dont put <?php and ?> in php variables. you have to insert a variable like the person above stated [CODE]<?php echo $variable; ?> <?php echo "my variable is ".$variable; ?> or <?php echo "my variable is $variable; ?> sometimes works. and then u can do it this way: <?php …

Member Avatar for SKANK!!!!!
0
208
Member Avatar for Pleasant Day

im sorry, but the simplest way to do it is my way, which is [CODE]<input style="background:transparent" onfocus="this.style.background='black';this.style.color='#ffaacc';" onchange="this.style.background='transparent';this.style.color='black';">[/CODE] which can be done for "like" all elements

Member Avatar for Pleasant Day
0
411
Member Avatar for fortiz147
Member Avatar for SKANK!!!!!

[CODE]<form name="form"><textarea name="message"></textarea> <img src="" onmousedown="(do the prompt box)"> </form>[/CODE] i need help how to figure out how to prompt the user with a javascript prompt() to enter a url(link) that includes an http:// after the user enters the url in the prompt box and clicks OK, i want the …

Member Avatar for SKANK!!!!!
0
255
Member Avatar for slfisher
Member Avatar for SKANK!!!!!

[CODE]$dir = opendir ($path); while (false !== ($file = readdir($dir))) { if (strpos($file, '.png',1)) { echo "$file <br />"; } } [/CODE] super short code that lists the .png filenames obviously the $path variable is the path to the directory. how can i list them instead in abc order cause …

Member Avatar for mschroeder
0
171
Member Avatar for SKANK!!!!!

sorry i figure it out again. really really easy: i really need to know. i got this one script that is alphabetally and minimal. which i luv. but i need it to be numerical because well, if ther is more than 9 images it sorts it wrong with abc order! …

0
84
Member Avatar for SKANK!!!!!

for some reason, the exact same code without the added "$i[id]" part is working somewhere else on my site, but this is just rediculously NOT working for what i have here: [CODE]function nimg($directory='.') {return count(glob($directory."/item/".$i[id]."/*"));}; [/CODE] i tried this code when there was no item directory made yet and still …

Member Avatar for colweb
0
156
Member Avatar for SKANK!!!!!

like im at [url]http://www.mysite.com/thispage.php?black=acolour[/url] and i need the whole thing in the variable not just the mysite.com/thispage.php i need the variables. NOW the pages variable names will be changing so i cannot count on them being the same name like "black" everytime. so far i have got [CODE]$fullurl = "http://www.mysite.com".$_SERVER[SCRIPT_NAME];[/CODE] …

Member Avatar for SKANK!!!!!
0
195
Member Avatar for SKANK!!!!!

[QUOTE]$tag = $_GET[tag]; $search = mysql_query("SELECT * FROM `threads` WHERE FIND_IN_SET('$tag', `tag`) = '$tag'"); [/QUOTE]why is this returning all of the rows in the table they all do not have the same tags none of them have the same tags as each other yet the column name is tag. the …

Member Avatar for drjohn
0
174
Member Avatar for SKANK!!!!!

i have a dirctory full og images starting from 1.png to like 55.png not skipping a number. im going to keep adding to the directory in consiquative order. how do i have an image show on a page and then it get clicked on and then it turns to the …

Member Avatar for essential
0
155
Member Avatar for SKANK!!!!!

[CODE]$arr = array(1 => "rambow", 2 => "rambow", 3 => "popcorn", 4 => "rambow");[/CODE] how do i make it in simpler format so i dont have to keep typing "rambow" for every number that => "rambow" ? cause theres a lot of "rambow" for a whole bunch of numbers. isnt …

Member Avatar for OS_dev
0
120
Member Avatar for ym_chaitu
Member Avatar for SKANK!!!!!

i tried letter-spacing: -.02 em and i like it. but does -.002 work? is there a limit on the decimal things? maybe they arent called points but someone has to know what im refering to okthxbai

Member Avatar for SKANK!!!!!
0
93
Member Avatar for SKANK!!!!!

like theres two pages. page one calls page two and displays the output of page 2 on page 1 via ajax. now can i click on page 2's output(on page one) and have it execute another javascript function to call AJAX(a third page) ? or what? if so... how?

Member Avatar for Graphix
0
90

The End.