FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Smart File Downloader - simple script on xampp
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Smart File Downloader - simple script on xampp [message #175975 is a reply to message #175960] Sat, 12 November 2011 08:21 Go to previous messageGo to previous message
houghi is currently offline  houghi
Messages: 45
Registered: September 2011
Karma:
Member
ddk wrote:
> hello all,
>
> i'm new in php. and i need to apply simple script from this link.
> http://www.zubrag.com/scripts/download.php
>
> i use xampp 1.7.7 in windows 2000 server with public IP
>
> What would be my BASE_DIR location if my files that i want downloading
> are stored in C:\xampp\htdocs\test123

Put a file (e.g. dir.php) in C:\xampp\htdocs\test123:
<?php echo getcwd(); ?>

Now browse to e.g. http://example.com/test123/dir.php and see what the
output is. That should probably be what you need to use.

I have no Windows, so don't blame me if it doesn't work. ;-)

houghi
--
Usenet is like a herd of performing elephants with diarrhea - massive,
difficult to redirect, awe-inspiring, entertaining, and a source of
mind-boggling amounts of excrement when you least expect it.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Embedding HTML Within a PHP Statement
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 04:07:46 GMT 2024

Total time taken to generate the page: 0.46517 seconds