Sending a file to the client withought creating it

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rajytsh
Forum Newbie
Posts: 1
Joined: Sat Sep 09, 2006 5:21 am

Sending a file to the client withought creating it

Post by rajytsh »

Hi There,
I want to do the following:

I enter the following IP into my browser address:
http://myDomain/someDirectory/XYZ.txt

The file does not exist, A script creates and sends it to me.

I know there is a way to do this...
Can anyone help me?

Thanks
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

You'll need mod_rewrite I guess.
Post Reply