Just thought I'd give you guy's a hand. I'm new to vB and spent all weekend on a few problems..... including the attachement "BROWSE" button to submit a graphic.
Well after reading all the posts I played around a little more and this is what I changed in my "C:\WINNT\PHP.ini" file. Open up notepad or wordpad and click on EDIT..... then FIND. Type in the FIND box "uploads" and it will bring you to this location below under EXAMPLE:
EXAMPLE
*************************************
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = C:/inetpub/forums/temp/ ; temporary directory for HTTP uploaded files (will use system default if not specified)
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
*************************************
Make sure you use forward slash, wack or what ever you want to call it as it apears i.e. "upload_tmp_dir = C:/inetpub/forums/temp/ "
I also tested it out by creating a "temp" directory in the root (C:\).
That also work and then I rewrote the PHP.ini file with the new mapping you see above.
On my vB system the full graphic is displayed NOT A LINK TO AN ICON that brings up a seperate page!!!!
This is what I wanted to begin with.
I hope this helps my fellow Windows/98/NT/2000 users out there.
Just a note.... I think in the future it would be more constructive to post a reply to a question with a full answer.... like the file in reference that needs to be changed i.e. (PHP.ini located in your WINNT folder....). Good Examples will always get good results. Plus when you post a question be as specific as you can with details of your OS (Operating System) and files that your trying to tweak i.e. PHP.ini or MySQL....... yada yada.
You may check out my test boards at:
RJ
Well after reading all the posts I played around a little more and this is what I changed in my "C:\WINNT\PHP.ini" file. Open up notepad or wordpad and click on EDIT..... then FIND. Type in the FIND box "uploads" and it will bring you to this location below under EXAMPLE:
EXAMPLE
*************************************
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = C:/inetpub/forums/temp/ ; temporary directory for HTTP uploaded files (will use system default if not specified)
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
*************************************
Make sure you use forward slash, wack or what ever you want to call it as it apears i.e. "upload_tmp_dir = C:/inetpub/forums/temp/ "
I also tested it out by creating a "temp" directory in the root (C:\).
That also work and then I rewrote the PHP.ini file with the new mapping you see above.
On my vB system the full graphic is displayed NOT A LINK TO AN ICON that brings up a seperate page!!!!
This is what I wanted to begin with.
I hope this helps my fellow Windows/98/NT/2000 users out there.
Just a note.... I think in the future it would be more constructive to post a reply to a question with a full answer.... like the file in reference that needs to be changed i.e. (PHP.ini located in your WINNT folder....). Good Examples will always get good results. Plus when you post a question be as specific as you can with details of your OS (Operating System) and files that your trying to tweak i.e. PHP.ini or MySQL....... yada yada.
You may check out my test boards at:
RJ
Comment