I have two functions. One is PHP and the other is JavaScript. They both should generate the same string if the input is the same.
E.g.
input = "qwerty123" output would = "7.1674618149499E+85"
input = "qwerty123" output would = "7.1674618149499E+85"
input = "asdfg321" output would =...
How can i access the $_GET variables like $_GET[2]?
Example:
url: site.com/home.php?varone=valone&vartwo=valtwo
echo $_GET[0]; // echos valone
echo $_GET[1]; // echos valtwo
Note: I cant do i like $_GET['varone'] cause its for a universal function. Also i want to do the same thing with $_POST
How do i call the image using javascript (FancyBox)
$("a.lightbox_single").fancybox();
<a class="lightbox_single" href="4_b.jpg" title="title #1"><img src="4_s.jpg"/></a>
like you click on a link and the href is javascript: showImage();
etc
You have two files, X and Y. How do i get the GET variable that was set when i included the file in Y?
X)
class name {
function first() {
return $_GET['name'];
}
}
Y)
include('X.php?name=Scott');
echo $name->first();
Is there a mac (or windows) program that will check my php files and tell me whats wrong?
How else can i fix it?
Is there any free person who can check the code and not use it for themself?