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!
Uploaded into the Application folder, the same file shows as:
-----------BEGIN KEY-----------asdfadasdasdasdasdasd
asdasdasdasdasd-----------END KEY--------------
Any ideas how to make this work? Seems to only display like this when it is in any folder other the the root folder.
Without seeing the code (or part of it) it's hard to tell what the problem might be. At the moment I would say it has something to do with newline and carriage-return characters (\n\r).
Thanks, the code is basically what I listed above, it is really a text file with the PHP extension. That's it. For some darn reason though, when it is uploaded to inside of a folder, it changes the format.
Figured something out. No idea how to make it work though.
If I turn off the php extension for that folder, the I can pull the key up as it should be. But I need php to run on that folder. Is there anyways to disable it for one file?
you could upload the file to a temp folder, open it and format to your needs, after that save it where ever you want it to be and delete the temp file.