Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

passing variables via redirect

$
0
0

Hi Professionals

 

 

I have the following piece of code on my Upload page

 

<td width="33%" align="left"> <?php if ($result==1) header("Location: import1.php?$imagename");  ?></td>

 

 

which then goes to import1.php

 

in my browser address bar it shows http://localhost/import1.php?uploads/ExtTypes Test.csv

 

 

In my import1.php file i have the following code which shows nothing?

 

echo "the filename is " . $imagename;

 

Alll it shows is "the file name is"

 

 

any ideas?

 

thanks in advance

 

 


Viewing all articles
Browse latest Browse all 13200

Latest Images

Trending Articles



Latest Images