Spyder Posted November 9, 2009 Share Posted November 9, 2009 Hey folks, I am looking for a PHP solution that I won't bore the board members with. If you have a minute I would appreciate it! Link to comment
skinny_tom (aka boney) Posted November 10, 2009 Share Posted November 10, 2009 Hey folks, I am looking for a PHP solution that I won't bore the board members with. If you have a minute I would appreciate it! I'm not a PHP programmer, but have been known to make my own scripts to handle the little projects I like to do. Is it an easy one, or hard? I say post up your question, it's difficult to say whether we can help if we don't know the problem. Link to comment
SSchuckman Posted November 10, 2009 Share Posted November 10, 2009 Hey folks, I am looking for a PHP solution that I won't bore the board members with. If you have a minute I would appreciate it! I've written a few PHP scripts in my day. What do you need? Link to comment
alimar Posted November 10, 2009 Share Posted November 10, 2009 post a brief of the problem... maybe we know someone who could offer up a solution. Link to comment
Spyder Posted November 10, 2009 Author Share Posted November 10, 2009 Thanks for the replies folks. I have created a web reply form with a browse button to be able to upload and email me a file which does not work properly. I keep getting the No Input File File Specified error. The problem, I believe, is with the PHP script I placed on the server. I am not a programmer so I am confident I missed something in the PHP. Link to comment
rkd Posted November 16, 2009 Share Posted November 16, 2009 Uploaded files:: <?phpif ($_REQUEST["message"] != "") { ?> <?=$_REQUEST["message"]; ?> <?php}?> Allowed file extensions: <?=$file_extensions_list?> maximum file size: <?=$maximum_file_size?> bytes (~ <?=round($maximum_file_size / 1024)?> KB), maximum file name length: <?=$max_length?> characters Uploaded Files: There are no uploaded files. Link to comment
Spyder Posted November 18, 2009 Author Share Posted November 18, 2009 Wow.. Thanks RKD! I will play with that and see if I can get it to work. Link to comment
Dennis Andress Posted November 18, 2009 Share Posted November 18, 2009 Cool. I read through the code just to remind myself why I hate scripting languages. Then I realized that my day will be spent in a maze of PL/SQL which is the same thing only different. Link to comment
rkd Posted November 18, 2009 Share Posted November 18, 2009 Hope it helps ... BTW, I noticed that there's still a piece of a local mod that I made in the code (I think I got all the rest of them out of the above - I no longer have the original source), so remove the following lines in the function: if(isset($_SESSION['goal_id']) && $_SESSION['goal_id'] != '') { $goal_id = $_SESSION['goal_id']; } else { die("Goal ID missing"); } Then change the upload directory path on this line to whatever you need: $upload_directory = "files/goal$goal_id"; Link to comment
rkd Posted November 18, 2009 Share Posted November 18, 2009 Yep, know what you're saying. Bit-diddling pays my way currently, and I like it very much where I work Link to comment
AviP Posted November 19, 2009 Share Posted November 19, 2009 Cool. I read through the code just to remind myself why I hate scripting languages. Then I realized that my day will be spent in a maze of PL/SQL which is the same thing only different. Actually PL/SQL is a 4GL while most modern web languages seem to be a collection of all the unused characters on the keyboard such as !@#$%^&*(){}<>?\. Unreadable crap! I'm glad that after 17 years of programming gibberish for companies that don't care about quality, I have moved on. The sad thing is I still like PHP! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.