RichardRotterdam
Members-
Posts
1,509 -
Joined
-
Last visited
Everything posted by RichardRotterdam
-
you use a view and a select for different purposes its not that you can substitute a select for a view. the mysql_escape_real_string() function is used so others cant manipulate your select for sql injection for example if someone uses the parameters in a get for sql injections mypage.php?name=bill' union select all from users $name=$_GET['name']// contains [bill' union select all from users] $sql="select email from users where name='".$name."'"; the query will now look like select email from users where name='bill' union select all from users' this way someone can hack your database and retrieve valueble data mysql_escape_real_string() prevents this from happening by filtering potential dangerious values
-
Trying to find a specific lightbox type code
RichardRotterdam replied to Kane250's topic in Javascript Help
depends on the slider and the lightbox you have an example of what kind of slideshow youre talking about? -
maybe i'm thinking very simplistic here but wouldnt it be easier to contact the previous owner and get the password for that computer
-
Trying to find a specific lightbox type code
RichardRotterdam replied to Kane250's topic in Javascript Help
because you have to combine them. You need a slider script and some lightbox/slimbox/modal or what ever fancy names these things have these days. and use them both -
How Do I Access "Command Line" From "PHP"
RichardRotterdam replied to johnsmith153's topic in PHP Coding Help
did you install it first? -
How hard would it be to make this?...
RichardRotterdam replied to php-challenged's topic in PHP Coding Help
if you have zero experience with database i think it probably would be easier to use mysql since there are many php mysql tutorials to be found online . sqlite is good if you want your db in a simple flat file. just try to lookup some mysql tutorials and things will make sence. and if i am not mistaken phpBB uses mysql aswel. about the database it supports a lot of database including mysql and sqlite and a LOT of other databases -
How Do I Access "Command Line" From "PHP"
RichardRotterdam replied to johnsmith153's topic in PHP Coding Help
I am a linux user and to make sure i wasn't mistaken i tried to run that .exe file. It will not run in linux unless you use some kind of windows emulator. how ever ......here is I think your mistake there is both a zip file and a .tar.gz on the sourceforge link http://gpac.sourceforge.net/home_download.php you need the tar.gz file which does not contain a exe file but the stuff you would expect for a linux app. you need that stuff not the MP4Box.exe -
Mysql Database access using JavaScript without Ajax and Applet
RichardRotterdam replied to PHPLRNR's topic in Javascript Help
if youre using JSP you should use java to read your database not JavaScript. There is a way to use javascript to read a database but that would mean you would need serverside javascript which is ASP and not JSP -
How Do I Access "Command Line" From "PHP"
RichardRotterdam replied to johnsmith153's topic in PHP Coding Help
oops this was meant to be an edit not a quote -
How Do I Access "Command Line" From "PHP"
RichardRotterdam replied to johnsmith153's topic in PHP Coding Help
linux does not have a c:\ d:\ or what ever those were full paths nor does it use executables unless you use wine -
if all you need is a way to login , I think you would be better of looking for a login class instead of a framework. However frameworks such as Zend and Cake do come with login classes but its more functionality then you really need
-
Looking for an ASP for beginners ebook
RichardRotterdam replied to gazfocus's topic in Other Programming Languages
It's most likely VB it was pretty much my first language I used. The tutorials on w3c schools are descent enough. http://www.w3schools.com/asp/default.asp -
http_request failing between sites
RichardRotterdam replied to cesarcesar's topic in Javascript Help
what you need to do is create a php page that reads data from a remote server and put it in a string then after that you can call the local php script to read data from a remote server. It works like a charm as corbin said you can only read data from the same domain with javascript but php can read remote data -
newbie - how do to a Pop-up Window within PHP form?
RichardRotterdam replied to techexpressinc's topic in Javascript Help
it doesn't really matter how you write your php really as long as the javascript in your browser source is correct. if you would do something like <scr<?php echo("ipt>aler");?>t('alert something')</script> and you would check your html source it would show <script>alert('something')</script> and it would still work then again maybe you mean you want to have values from the popup to the parent page which is also possible -
you probably mean a modal its a layer above the normal page with the background faded I have only seen them with javascript frameworks though here is a couple of links using prototype http://prototype-window.xilinus.com/ using mootools http://www.e-magine.ro/web-dev-and-design/36/moodalbox/ jquery http://malsup.com/jquery/block/index-old.html#dialog hope that helps
-
I think that approach probably would be the best but what do you mean with the div elements would not be visible to a javascript disabled device? can you clearify?
-
Looking for some AJAX expert advice
RichardRotterdam replied to tinman486's topic in Javascript Help
have you tried an ajax tutorial yet? the example posted a few topics back is a pretty descent one http://www.webpasties.com/xmlHttpRequest/ -
My site - web & graphic design homepage
RichardRotterdam replied to geenee's topic in Website Critique
try validating your page. also use Transitional instead of strict -
Looking for some AJAX expert advice
RichardRotterdam replied to tinman486's topic in Javascript Help
seems to me that once you selected an option from the select you can use the value to change the url or just a parameter of the page your calling for example url="your_serverside_page.php?value="+optionValueFromSelect; hope that helps -
if you want to build a 2d game for in a browser javascript would be fine. easier would be to use flash or silverlight. if you would choose to go java that would mean running it inside an applet a plus however would be the fact that you could easily place it on a mobile phone too
-
[SOLVED] Setting up an array of children
RichardRotterdam replied to cleary1981's topic in Javascript Help
if it has child elements element.children would return an array. however if i check a canvas tags with drawings in firebug i dont see any child elements in it so i am not sure if that would help -
java and javascript are totally not the same. Java is a programming language and javascript is a scripting language that usually only runs in browsers. you could build a game using javascript but I dont think thats what you are looking for. as for game engines wikipedia and google would help on that http://en.wikipedia.org/wiki/Game_engine games are not build from scratch these days. If you would check out game details on gamereview sites it usually always has info on what engine it runs on. For example gears of war runs on the unreal 3 engine. crysis runs on the cryengine2 you can download a couple of free game engines for example disney has build their toontown game on a opensource game engine named panda3d. the engine is written in c++ and the game uses python for game builders. oh and btw this topic should be moved to "Other Languages"
-
java3d yeah but this is about javascript. java and javascript dont even look similar. if you want to build a game i recommend using a game engine so you dont have to start from scratch
-
what path are you trying to open are you using a webserver or are you calling it directly from a folder such as c:\your_file\index.php
-
usually the same result can be done using divs or tables as using iframes using the framesets however is a big no those things suck horribly. Mostly i use iframes when something from another domain has to be included. using frames or not usually is just a matter of personal taste even if the majority of webusers dislike frames and find them less user friendly. And yes frames do cause terrible SEO trouble so use them with caution