If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > Can PHP script run out of Apache web server?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-30-09, 23:50
ppa108 ppa108 is offline
Registered User
 
Join Date: Mar 2009
Posts: 1
Can PHP script run out of Apache web server?

I'd a apache web server which can run php script. But when we produce the map file through map server it needs to point out the folder which has writable access under web server. (e.g www/temp).So some hackers can dump the script into that folder.
So, I decided to move that folder out of the web server(i.e move to root ).
But I'm not sure some scripts inside the php file written can really call from out of the web server or not?
Please advise me.
Reply With Quote
  #2 (permalink)  
Old 04-06-09, 04:48
aschk aschk is offline
Registered User
 
Join Date: Mar 2007
Location: 636f6d7075746572
Posts: 770
Yes, you can run PHP from a shell prompt.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On