what are the machanics of passing a local file to a scritpt on the web page ...
is it blabla.php?file.txt ??
or the '?' isn't used
Printable View
what are the machanics of passing a local file to a scritpt on the web page ...
is it blabla.php?file.txt ??
or the '?' isn't used
Um, I don't understand your question. What I THINK you are trying to ask is how to compile a txt file to a php file, or vice-versa...you don't need a complier, you just rename the file to .php, if when you try to rename it in notepad, and it comes up as "index.php.txt" then you have to add .php as an extension, tell me if you need that.
if you're using $_GET['blah'], then you want index.php?blah=whatever_blah_is but i don't understand what you mean by passing a file.. you're passing a value for the var blah.
If by passing a file you mean uploading a file via a web script, just check out the following in the PHP Manual: http://ca.php.net/manual/en/features...ad.post-method