sturbitt Posted February 20, 2007 Share Posted February 20, 2007 I have built a web site to display pictures in a directory structure (with the help of this forum). In the past I just called a php script (picture.php) from a HTML link to calculate and display the thumbnails i.e.: echo "<TD> <A HREF=\"picture.php?image=$passeddirectory/$file&size=1024\"> <img src=\"picture.php?image=$directory/$file&size=150\" alt=\"$file\" /> <A/>"; However I am to trying and speed up my web site I would like to store the resulting thumbnail. So how do I run my script and capture the resulting image? i.e.: $thumb = "picture.php?image=$passeddirectory/$file&size=150"; I know this is wrong but can it be done? Thanks again for your help! Cheers Steven Link to comment https://forums.phpfreaks.com/topic/39285-solved-calling-a-script-in-a-script/ Share on other sites More sharing options...
willpower Posted February 20, 2007 Share Posted February 20, 2007 collect it is a session var perhaps Link to comment https://forums.phpfreaks.com/topic/39285-solved-calling-a-script-in-a-script/#findComment-189361 Share on other sites More sharing options...
sturbitt Posted February 20, 2007 Author Share Posted February 20, 2007 I have just done some redesigning and work out a way of getting the info I need into the picture.php script. Cheers Steven Link to comment https://forums.phpfreaks.com/topic/39285-solved-calling-a-script-in-a-script/#findComment-189813 Share on other sites More sharing options...
willpower Posted February 28, 2007 Share Posted February 28, 2007 pehaps you could share this for others to view. Link to comment https://forums.phpfreaks.com/topic/39285-solved-calling-a-script-in-a-script/#findComment-196387 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.