PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hey,
the other day, I was working in the cpanel and I copied a link to a php file, and I can't remember how I did it, but when I pasted my link in the address bar it asked if I wanted to save my php file!!! That's crazy, has anyone else done this before, and if so, how did I do it??
um...thats not a good thing you know lol, your server could't identify the file as a php file, so it could't parse, therefore allowing you to download it...its NOT a good thing.
s for why it did that? are you sure you saved it as .php or whatever you have defined in your server config file?
yeah man... that's what it did, like anyother downloadable file the prompt came up asking me if I wanted to open it or save it to disk!!! Has anyone else ever done this before??