Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Opening a content of a file with form: http://164.33.123.22/mysite/filename1 (without html ending)

1 view
Skip to first unread message

JiiPee

unread,
May 24, 2015, 3:08:21 PM5/24/15
to
I use html and php ( not sure to which this question should be directed
to - if not html can somebody direct me to correct forum pls?) and I
have a static address, like:

http://164.33.123.22/mysite

But my real task is to open a file , like:
http://164.33.123.22/mysite/filename1
and show its content on a web page. So if somebody types:
http://164.33.123.22/mysite/filename1
I will show the content of the file "filename1"

I know how to do it if its like:
http://164.33.123.22/mysite,php?filename1
But thats not the format here.

How do I do this? Not sure if this is really php-question as the mysite
does not even have php-ending. But if somebody could direct me where to
find the answer I would be gratefull. thanks.

JiiPee

unread,
May 28, 2015, 6:22:57 PM5/28/15
to
ok, doing it now like: http://164.33.123.22/mysite,php?filename1
so the original is not needed anymore. But would be still interesting to
know if that was possible
0 new messages