Page 1 of 1

XAMPP - first time new user

PostPosted: 26. August 2018 08:20
by alex4orly
Installed the package, went on very easy... But two problems:

1) If I try reaching a login page on the website itself, it works fine
Check out this URL : http://www.beleuramyhome.org.au/login.php
When I try the same on the local XAMPP - I get this instead
http://www.beleuramyhome.org.au/login.jpg
Why?

2) Tried to send an email from the site - in XAMPP, it fails to access the SMTP server
Do I need to do something different on the local machine?

Cheers

Re: XAMPP - first time new user

PostPosted: 26. August 2018 09:31
by Altrea
For 1) because you are trying to access php variables in your form at a time this variable is not defined. This is a common issue of sloppy programming.

So first check if a variable is set and than use it, or create the variable with an initial value first.

Re: XAMPP - first time new user

PostPosted: 26. August 2018 09:51
by alex4orly
Thanks altrea,

you gave me a hint... The cookie creation was commented out

Cheers