No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
im just wondering how would i make like a webbrowser in javascript/html? also how would i resize the who entire webpage/webbrowser? |
|
sry i'm not really familiar with $_FILES. but i have a quick question. why isnt this uploading? here's my code: [CODE]<?php $file = rand(10,100) . $_FILES["file"]["name"]; if ((($_FILES["file"]["type"] == "application/octet-stream")) && ($_FILES["file"]["size"] < 400000)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } … |
|
ok i cant seem to log in with a regualr password. this code works fine without md5 but it doesnt work when i use md5. yes i've already connected and selected database. $username = mysql_real_escape_string($_POST['username']); //so someone cant sql inject. [CODE]$ = mysql_real_escape_string($_POST['username']); $password = md5($_POST['password']); $result = mysql_query("SELECT * … |
|
anyone know where i could find a file with all the words from the dictionary? |
|
ok i'm not sure whats wrong with this. but eachtime itry to set it to fixed it gets all messed up. this is the working code: [CODE]ul { position:fixed; left: 20%; list-style: none; } ul a { color: #FFF; text-decoration: none; display: block; padding: 5px 5px 5px 10px; height:20px; width: … |
|
|
|
Re:
If i have, for example, a marquee that displays time when i push a button,like this: [code=php] if($_POST['time']) echo "<marquee direction=right behavior=alternate scrolldelay=500 scrollamount=30>".date('d-m-Y').' GMT'.date('P').' '.date('H:i:s')."</marquee>"; [/code] ,it will display the time at the moment that i pushed the button. How could i make it to display the time continously? … |
|
ok so i want to create a URL like this: [url]www.blah.com/section.php?=news[/url] except i only see how to do it the other way using mod_rewrite. So is there a way to do this using mod_rewrite? |
|
ok i think someone got into my sever. and when ever you try to go to like sdlfsdjklfjlkdsfjk.php or any page that doesnt exist but has a .php it says "No input file selected". Anyone know why? I think someone got in using my File upload manager. but i deleted … |
|
can someone tell me whats wrong with my code? [CODE]$file= "/file.txt"; $search ='/$_GET[word]/i'; echo $search; if (preg_match($search, $file)) { echo "A match was found."; }[/CODE] |
|
why won't my code work? everything works except for the margin-bottom. [CODE]a.link{ background: orange; margin-top: 10px; margin-right: 10px; margin-bottom: 100px; margin-left: 10px; padding: 10px 10px 10px 10px; }[/CODE] also this is my html: [CODE]<ul> <li><a href="link.html" class="link">LINK</a></li> </ul>[/CODE] |
|
Re:
I have created a image upload for the site i am working on i now want the uer to be able to click on a preview button and this takes them to a separate page where they can see the images that have been uploaded. for this to happen would … |
|
what's wrong with this code? it works fine except when i download the file there's nothing in the file and i've tried removing the unlink. [CODE]$F = fopen("filename","w"); fwrite($F,"blah"); fclose($F); header('Content-Disposition: attachment; filename=title'); unlink("filename"); [/CODE] |
|
ok so i have a page where the user clicks something the page sets a cookie.and its in the onlick event. But for some eird reason it won't work doesnt any1 know why? also i created a function for setting cookies but it still doesnt seem to work. |
|
ok i have a iframe and i want it so that when someone clicks a link inside it it opens in the same window. not a new window. i was thinkingof using onclick but it would be too much work. |
|
ok i'm trying to know what function where you can see if it contains something. like ex. does anyone know of a function like this? [CODE]if (func_contains('a') { //action } else[/CODE] |
|
hey im just wondering like how would i make it die when its not application/ocet-stream? [CODE]$ip = $_SERVER['REMOTE_ADDR']; $files = $_FILES["file"]["tmp_name"]; $file = rand(10,100) . $_FILES["file"]["name"]; if ((($_FILES["file"]["type"] == "application/octet-stream")) && ($_FILES["file"]["size"] < 400000)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } … |
|
sry but i just found all of this guys videos amazing! [url]http://www.cs.cmu.edu/%7Ejohnny/projects/wii/[/url] |
|
how do i check if a value is in my table? like this: INSERT INTO table_name (column1, column2,...) VALUES (value1, value2,....) and check if those values are in the table. |
|
Is it possible for someone to hack into my database/table? if so should i name my table/database: database 5465464577688960985047834? |
|
how would i use 2 if statements? i tried using && but it wouldnt work. :( like: if (yo!==yo) if (yogfhf!=yoh) |
|
wats wrong with this code? cause whenever i try and use it it doesnt display $H. [CODE]<?php $_POST["xtwo"]=$A; $_POST["xone"]=$B; $A+$B=$C; $C*$C=$D; $_POST["ytwo"]=$E; $_POST["yone"]=$F; $E+$F=$G; $G*$G=$H; echo "The distance is: $H" ?>[/CODE] and some of you might have known that im trying to do the distanceforumla (x2-x1)^2+(y2-y1)^2=distance. like finding the distance … |