Hi guys...
I've been in the coding world for some time but have just started using PHP (last 4 months or so).
I'm from an Oracle/Java background, so I'm a bit confused as to why PHP is causing me trouble with variable assignment.
I'm trying to create some code to handle IPN's (Instant Payment Notifications) from Paypal.
The code seems to work great, except there are vairable that are returning NULL when I clearly have assigned them a value (in most cases, directly before I output their contents).
For example: In my code I do the following near the start of the page:
$download_key123_= rand(1000000, 99999999999999);
echo "<br>Download Key is ".$download_key123."";
This should output the download key, however, it is outputing null. This is also happening to other variables.
I've attached the code in the file php-code.txt
There are comments in there that point to various odd things.
It is very wierd.
I've been struggling on my own with this one, and have hit a brick wall.
A second set of eyes may be able to spot what I'm doing wrong.
Cheers
dcodotto