davidja
-
Posts
8 -
Joined
-
Last visited
Never
Posts posted by davidja
-
-
its nice to meet someone like myself. i had the same trouble as you. i learn HTML ,CSS and Javascript but when it came to PHP i had no idea where to begin. i didn't even know you had to use a webserver. i had no idea how to setup a webserver or if i could set one up on my own machine.
i'm past that now. thank god. you will need to setup a web server you can do this 2 way.
you could setup apache, php and Mysql on there own.
or you could install a precomplied version like Xammp - [a href=\"http://www.apachefriends.org/en/xampp.html\" target=\"_blank\"]http://www.apachefriends.org/en/xampp.html[/a]
i would use xammp if i was you. its much more simple.
hope this helps -
yes the addslashes will stop MySQL injection.
this how i stop SQL injection.
[code]$Query = "SELECT * FROM table WHERE (field = '". $Varible ."')";[/code] -
i'm pretty good with JS and PHP. i want to beable to access my PHP/MySQL data with out the browser reloading a page. my idea was to have a link that will pop a small window which will access the php and mysql data and then pass that back to the window which it was poped from.
but i haven't got a clue how to pass data between to web browser windows. i sure it can be done. i think ive seen a script at does it for something else.
plz help
edit:
code for frames will do as well -
o i c now. sorry about that i'll post it in the php help. thx for that
-
i need to learn the basics of php hacking. so i can build a secure web system which i mite put on the net as open source. but do so i need to understand how to hack in to my own code. because i can't post my code on this forum i could do with links to good tutorials sites to teach me the following:
*how to write secure code
*and how people hack there way in to php websites.
i've looked at the php manual but i need some thing with better examples
thx all
-
i get the felling that the more querys you do on a database the slower your site will run. with this in mind i would like to ask how many querys per minute can you do on just a standard server before your site starts to slow down.
dynamically creating a image that links to 2 other URLs
in PHP Coding Help
Posted
this doesn't use any PHP so you will have to work your php into it. i just want to get you the basic idea of how this could be done.
here you go
[code]<script>
function popup( link , pop )
{
window.open( pop ,null,
"height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");
document.location = link;
}
</script>
<body>
<img src="someimage" onclick="popup('http://www.phpfreaks.com','http://www.google.com')">
</body>[/code]