Reply to transffering variables (NEWBIE)

Your name:

Reply:


Posted by g0c on 11/16/05 12:22

hi all,

i have one page with thumbnails and i want to when
clicked on thumbnail to open a new page called pop.php
with original image in it, its not a problem to open
the original image as new pop up window i know but
i want to open the image in pop.php so i can do some
other stuff with it ..

basicaly the code on thumbnail page looks like this

print "<img src=\"$f\" alt=\"Open in popup window\" border=\"5\"
class=\"brub\"
onClick=\"MM_openBrWindow('pop.php','$photo_name','scrollbars=no,resizable=no,width=$width,height=$height')\"/>";

how the pop.php page can be aware what image i want to display in it,
i assume it's possible with cookie or even a hidden form element
but this is not the way i want of course :-)

i tried with pop.php?$photo_name but ... :-(

pop.php looks something like this ...

print "<img src=\"$photo_name\" width=\"$width\" height=\"$height\"
border=\"0\">";

and that should be enough to display the right image, right ?

any clues ?

big TIA,

goc

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация