Hello friends,
I am working on a upload and share script and there i am
facing a
problem.
Problem is that when i show a file on the view page then any
one can ge
the exact path of that file through the view source of the
html page.
and he can download that file in easy way by just type that
path on
browser.
code is like this
<OBJECT id='rvocx'
classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA'
width="100" height="50">
<param name='src'
value="<? echo
$row_show['path']; ?>">
<param name='autostart'
value="true">
<param name='controls'
value='imagewindow'>
<param name='console'
value='<? echo
$row_show['type']; ?>'>
<param name='loop'
value="false">
<EMBED src="<? echo
$row_show['path']; ?>"
width="100" height="50"
loop="false"
type='audio/x-pn-realaudio-plugin'
controls='imagewindow' console='<? echo
$row_show['type']; ?>'
autostart="true">
</EMBED> </OBJECT>
and when it execute then at the place of path it write exact
path and
if i dont write then that file should not view :(
can any one help me how can i prevent it.
Thanx in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHP googlegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---
|