PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old June 4th, 2002, 08:40 AM
Inversation Inversation is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, WA, Australia
Posts: 6 Inversation User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Inversation
webserver write access

I noticed in the news tutorial that you mentioned about making sure that the webserver process has "write access to the directory you plan to store the file in" and this is a problem that has bugged me before. Can anyone tell me how on earth to do this? How to read and write a file using php code? I'm using Apache on SuSe 7.2, and PHP 4.0.8 if its of any help.
Thanks

Reply With Quote
  #2  
Old June 4th, 2002, 09:30 AM
D1NGO D1NGO is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 221 D1NGO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: webserver write access

I do this through my FTP program, you just right clcik on the file and press set permissions and it has it all there. Dunno if you can do this with all FTP programs though...

Reply With Quote
  #3  
Old June 4th, 2002, 10:06 AM
Inversation Inversation is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, WA, Australia
Posts: 6 Inversation User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Inversation
RE: webserver write access

ahh, thats all there was to it. I knew it'd be something simple like that. Thanks for the help

Reply With Quote
  #4  
Old June 4th, 2002, 10:10 AM
Inversation Inversation is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, WA, Australia
Posts: 6 Inversation User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Inversation
RE: webserver write access

ahh, thats all there was to it. I knew it'd be something simple like that. Thanks for the help

Reply With Quote
  #5  
Old June 4th, 2002, 10:43 AM
D1NGO D1NGO is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 221 D1NGO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: webserver write access

hey cool, I finally figured out someones problem...hehe ;)

Reply With Quote
  #6  
Old June 4th, 2002, 01:00 PM
CmdrDats CmdrDats is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: <br><img src='http://www.dats.co.za/icon.gif'>
Posts: 269 CmdrDats User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to CmdrDats Send a message via AIM to CmdrDats Send a message via Yahoo to CmdrDats
RE: webserver write access

Cool, i didn't see that 'set permissions' option there before.. That could be useful.. Know any way you can set a folders owner/group thru ftp?

Reply With Quote
  #7  
Old June 4th, 2002, 01:57 PM
D1NGO D1NGO is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 221 D1NGO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: webserver write access

Nah sorry havnt figured that out yet :uhoh: although i never really tried, i'll see what i can do...

Reply With Quote
  #8  
Old June 4th, 2002, 06:42 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: webserver write access

i've never seen a "set permissions" button.. on my FTP prog it's just called "chmod" then gives me 6 check boxes which i can use to set permissions for any file or folder (depending what i right clicked on).. ie> right click> chmod> check boxes> WEEE!

i just use the free version of WSFTP_LE :-/

Reply With Quote
  #9  
Old June 4th, 2002, 06:51 PM
CmdrDats CmdrDats is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: <br><img src='http://www.dats.co.za/icon.gif'>
Posts: 269 CmdrDats User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to CmdrDats Send a message via AIM to CmdrDats Send a message via Yahoo to CmdrDats
RE: webserver write access

I just use leechFTP. Free, quick, a little buggy, but it gets the job done without too many frills.

Reply With Quote
  #10  
Old June 4th, 2002, 09:21 PM
sethadam1 sethadam1 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Orlando, FL
Posts: 223 sethadam1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: webserver write access

You should REALLY see if your web host allows SSH. SSH is kind of like a secure FTP. All traffic in FTP, including your PASSWORD(!), is plain text transfer. If someone sniffs you - boom - there's your website on a platter.
Also, if you can, you might consider using the command line. If you use Linux or BSD, it's a little scary at first, but really, all an FTP program does is make a pretty GUI that sends the same get and put commands. scp is the "secure copy" utility.

GUI SSH programs are available for Windows, one is here: http://winscp.vse.cz/eng/ and another is the 6.5 version of WS_FTP: http://www.ipswitch.com/Products/WS_FTP/index.html

Definitely use SSH if you can!

Good luck,

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > webserver write access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway