Dorky
-
Posts
287 -
Joined
-
Last visited
Never
Posts posted by Dorky
-
-
why would anyone use pre-built php.
-
$ip = $_SERVER['REMOTE_ADDR']; <input type='hidden' name='whatever' value='$ip' />
-
you will need to expand on this a little
-
be on the lookout for some changes in the gd lib if you use it. imagecreate quality is no longer 1-100 but 1-10 now.
-
$showme = $_FILES['uploadname']['type'];
echo "$showme";
-
they already have this http://www.slingmedia.com/
-
it would be just a lot easier to create a new script then use the one at hand. it looks a bit overkill and underkill at the same time. lots of code but i still see its not very secure. i dont think anyone here is going to help you create a security risk.
-
if you have php then you have a db. http://php.about.com/od/learnphp/qt/php_flat_file.htm
although sql is popular and easy, it has security risks and is overkill for most of the applications its used for.
-
lmfaoBLAM!!! grab some coffee and tape those eyelids up. -
if (!isset($_SESSION['user'])){ header("Location: http://whatever.com") exit; }
-
i use links for this as well but be sure to add
&& isset($_SESSION['user'])
replace user with the key of logged in users. otherwise anyone can just run links and delete whatever.
-
asus netbook eee, no shift. fyi.
-
This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.
http://php.net/manual/en/function.session-is-registered.php
if (!isset($_SESSION['user'])){ //do stuff}
-
oh and ie may have some auto margins and there is always the body margin. tou can just put
* { margin: 0px; }
just like that at the top of your css
-
body { background-color: #FFF; } #header { background: #000; height:55px; width:100%; } #leftcol { display: inline; float: left; width: 15%; height: 100%; background:url(images/left_col.jpg) repeat; } #rightcol { display: inline; float: left; width: 15%; height: 100%; background:url(images/right_col.jpg) repeat; } #midcol { display: inline; float: left; background: #232323; width: 70%; height: 100%; }
just edited what you had in firebug. works great!
[attachment deleted by admin]
-
wow. that is an awesome start. please send me a pm when you get it up and running. ill send you some traffic for sure.
-
you will asign each part that is to be changed a variable weather it be javascript or my fav, php. then you will need to set defaults for those values.
you will need to use a db of some sort weather it be flat file or sql. i like flat files but they can be tricky.
you will need either by link/$_GET or by form/$_GET/$_POST to record each users prefs in the db with their identifier
at the start of the sites script you will have to check either by log in session or ip weather or not that user has prefs then set those variables first mentioned to those prefs or use the defaults if they are not.
-
commenting code... nah!!! if it was hard to write, it should be hard to read
lmao, that is just awesome.
-
and again this is another post about me and what i as a person lack for not agreeing with someone. I DONT CARE. post your opinion and move on. is that so hard? i dont agree. get over it.
-
specify the font size.
-
sorry GOD, didnt intend to question your omnipotents. really, blending offensive statements into a suggestion surely makes it ok.
-
have you ever heard someone say "its not what you said but how you said it." the web can be like being in a car. people tend to act in ways they wouldnt in person or face to face. and continuing to critique my personality based on my ability to agree with everything everyone says is a tad sociopathic.
-
input { float: right; clear: both; }
textarea { float: right; clear: both; }
-
#container { position: relative; width: auto; background-color: #ffffff; margin-left: 10%; margin-right: 10%; border-style: solid; border-width: 1px; border-color: #000000; }
Browsers or Tabs?
in Miscellaneous
Posted
you know....questions like that are going to confuse the young'ns.