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!
just a simple html form passing the data to this php script. It saves the a file for each time a user fills out the form. I then can go back and view edit or delete the file from within the browser.
Mainly just the fput section. ...and for some reason the encludes work great on my virtual host but not on my dev machine. I have read the sticky on passing variables in 4.2 but I just do not get it.
Any help would really be apreciate. I mean really really!
A1. It works with or without stripslashes on my web server. A1b. I had it as , but some of the data in the form will use , so I changed it to ;. Would | be better?
A2. It will write only once to the specified text file. The text file will then be deleted after it has been viewed.
I'm not to worried about any of that. I was testing it on my personal server at http://wesnoel.com/tasq/blue_slips/ , there you can see what I need it to do. When I tried to test it on the dev server at work nothing worked well actually it will write a blank file. I also can not view, edit or delete the files for some reason. My wesnoel.com server is running 4.1 so I know what the problen is. I just dont know how to fix it. and it is driving me crazy. If you could show me how to structure it in a better way than the vague sticky post that would be awsome.
if it wasn't working with , it wont work with anything else. and that's the only thing it MIGHT work with... because according to php.net it's supossed to take a SINGLE stringyour putting several ...wait you make several into one. hmm.. oh. i see it.
hmmm... not sure. try a loop that creates it in parts....