Jump to content
Sign in to follow this  
razirazo

Macam Mana Nak Buat Relative Path

Recommended Posts

terbuat 2 topik lak..

http://forum.putera.com/tanya/index.php/topic/87466-macam-mana-nak-buat-relative-path/page__gopid__1055175#entry1055175 Edited by razirazo

Share this post


Link to post
Share on other sites
dalam html?...ataupun ko maksudkan dalam httpd.conf?...
kalau dalam httpd.conf, xde "/" ataupun "DRIVE:/" kat depan bermaksud dia relative dengan server root(i.e: akan append ServerRoot path untuk string yang diberi masa LoadModule contohnya untuk apache)...

ataupun ko nak run batch file?...
kalau batch file, ko boleh guna "%~dp0" untuk dapatkan current directory(ataupun %CD%, tp %CD% takkan befungsi kalau batch file tu di run dari pc lain melalui network drive yang tak di-map-kan lagi)...

ataupun ko nak letak path untuk file "mod_uploader.so" kat dalam html?...tapi macam pelik je

Share this post


Link to post
Share on other sites
:blink: ehh.. silap. aku sebenarnya nak tulis dalam linux. camana tangan aku tegatal tulis html lak.. :wacko:

yep. nak setting httpd.conf (first time wat server apache dari scretch guna windows :D ).. hadoi.. pening..


aku dah tulis direktori ala linux, tapi module xnak load lak.
hmm.. mana silap lak nih.. :12: Edited by razirazo

Share this post


Link to post
Share on other sites
camane kalau file tu kat parent dir?

cth kalau linux - "../../plugin/upload.so"
kalau windows?

baru aku perasan aku terbuat 2 topik..
pindah topik lagi satu la.. Edited by razirazo

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...