I have an email address that initiates a php script.
I know the email initiates the script, because I have that script log it into a database.
Now, I'm trying to get the email's contents set as a variable to use in my script.
To do this I'm using STDIN, and this is my first time.
Right now I have a script that contains this line:
The $fp variable when logged states "Resource id #6" when I'm expecting the contents of the email instead.
I've tried changing it to this (and similar varients):
What the $file variable logges is "". Nothing. I know that there should be something.
I can't get over this stumbeling block. Anyone have any ideas?
If it makes a difference, I'm using PAIR hosting.