To know your root path and other system vars, just creat a file "phpinfo.php" in your home with:
<?php phpinfo(); ?> you will find DOCUMENT_ROOT in the bottom of the page. Tiago On 3/17/06, PapaTango <[EMAIL PROTECTED]> wrote: > > You should be able to set the permissions with your ftp program or > through cpanel. Search for info on 'chmod' > > PT > > > Grant Pollet wrote: > > The website is hosted by godaddy.com. If I had it hosted locally, I'd > > already know the answer. I suppose that I may have to call them?? > > > > I keep finding where it talks about these "directives" you can set but > none > > of the resources I find give examples of the code. > > > > What exactly do I set to "world writeable?" And how do I do this? What > is > > the code? > > Thanks! > > > > Grant > > > > > > On 3/16/06, PapaTango <[EMAIL PROTECTED]> wrote: > > > >>You need the file system path which could be something like: > >> > >>/home/username/public_html/test > >> > >>Also php will need write permission in that folder - you may need to set > >>it to world writable. > >> > >>PT > >> > >> > >>Grant Pollet wrote: > >> > >>> I have all the code to upload a file to a webserver, but I'm missing > >> > >>one > >> > >>>piece evidently. It is a simple form that is supposed to upload a file. > >> > >>It > >> > >>>seems that everything works EXCEPT for putting the right path. I'm > >> > >>putting > >> > >>>www.ricotierrarealty.com/test as the path... > >>> > >>>Grant (see below for code) > >>> > >>> > >>><form action= "test.php" enctype="multipart/form-data" method="post"> > >>> > >>>Last Name:<br /> <input type="text" name= "name" value="" /> <br /> > >>>Class Notes:<br /> <input type="file" name="classnotes" value="" /> <br > >> > >>/> > >> > >>><p><input type="submit" name="submit" value="Submit Notes" /></p> > >>> > >>></form> > >>><?php > >>>$result = move_uploaded_file($_FILES['classnotes']['tmp_name'], ' > >>>www.ricotierrarealty.com/test'); > >>>?> > >>> > >>>Thanks! > >>> > >>> > >>>[Non-text portions of this message have been removed] > >>> > >>> > >>> > >>>The php_mysql group is dedicated to learn more about the PHP/MySQL web > >> > >>database possibilities through group learning. > >> > >>>Yahoo! Groups Links > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >> > >> > >>___________________________________________________________ > >>To help you stay safe and secure online, we've developed the all new > >>Yahoo! Security Centre. http://uk.security.yahoo.com > >> > >> > >>The php_mysql group is dedicated to learn more about the PHP/MySQL web > >>database possibilities through group learning. > >> > >> > >> > >>SPONSORED LINKS > >> American general life and accident insurance company< > http://groups.yahoo.com/gads?t=ms&k=American+general+life+and+accident+insurance+company&w1=American+general+life+and+accident+insurance+company&w2=American+general+life+insurance+company&w3=American+general+life&w4=American+general+mortgage&w5=American+general+life+insurance&w6=Computer+internet+security&c=6&s=230&.sig=Kzn1J6ZDdsfc3f-9JZ-bKQ> > American > >>general life insurance company< > http://groups.yahoo.com/gads?t=ms&k=American+general+life+insurance+company&w1=American+general+life+and+accident+insurance+company&w2=American+general+life+insurance+company&w3=American+general+life&w4=American+general+mortgage&w5=American+general+life+insurance&w6=Computer+internet+security&c=6&s=230&.sig=q5Z_Gheyyf5dB3KHCkTGOw> > American > >>general life< > http://groups.yahoo.com/gads?t=ms&k=American+general+life&w1=American+general+life+and+accident+insurance+company&w2=American+general+life+insurance+company&w3=American+general+life&w4=American+general+mortgage&w5=American+general+life+insurance&w6=Computer+internet+security&c=6&s=230&.sig=1O42IK5r5LJ1BBWLyTAAKA > > American > >>general mortgage< > http://groups.yahoo.com/gads?t=ms&k=American+general+mortgage&w1=American+general+life+and+accident+insurance+company&w2=American+general+life+insurance+company&w3=American+general+life&w4=American+general+mortgage&w5=American+general+life+insurance&w6=Computer+internet+security&c=6&s=230&.sig=AC-EcyrN2MPgqHTxt6lmKg> > American > >>general life insurance< > http://groups.yahoo.com/gads?t=ms&k=American+general+life+insurance&w1=American+general+life+and+accident+insurance+company&w2=American+general+life+insurance+company&w3=American+general+life&w4=American+general+mortgage&w5=American+general+life+insurance&w6=Computer+internet+security&c=6&s=230&.sig=P8vNlXr7QopQQ3tGIepE4Q> > Computer > >>internet security< > http://groups.yahoo.com/gads?t=ms&k=Computer+internet+security&w1=American+general+life+and+accident+insurance+company&w2=American+general+life+insurance+company&w3=American+general+life&w4=American+general+mortgage&w5=American+general+life+insurance&w6=Computer+internet+security&c=6&s=230&.sig=OCFX-MPv3cQROoYDEaexxA > > > >> ------------------------------ > >>YAHOO! GROUPS LINKS > >> > >> > >> - Visit your group "php_mysql< > http://groups.yahoo.com/group/php_mysql>" > >> on the web. > >> > >> - To unsubscribe from this group, send an email to: > >> [EMAIL PROTECTED]< > [EMAIL PROTECTED]> > >> > >> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of > >> Service <http://docs.yahoo.com/info/terms/>. > >> > >> > >> ------------------------------ > >> > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > The php_mysql group is dedicated to learn more about the PHP/MySQL web > database possibilities through group learning. > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > voicemail http://uk.messenger.yahoo.com > > > The php_mysql group is dedicated to learn more about the PHP/MySQL web > database possibilities through group learning. > Yahoo! Groups Links > > > > > > > > [Non-text portions of this message have been removed] The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php_mysql/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
