I'm trying to pass some variables to another script and have it return to strings . Right now, I have it set as a reture and variable passing via $GET:
"require($SERVER['DOCUMENT_ROOT']."/script.php?v1=$v2&v2=$v2&v3=$v3");
when the parent script runs I get this error: Warning: main(/home/httpd/html/newFrameShop/htdocs/custom_frame.php?img_pic=http://artfinale.com/store/img/2400-3859-EU-fs.jpg&hgt=36.00&wdt=24.00&prc=10.59&frame=596&mat1=&mat1size=&mat2=&mat3=): failed to open stream: No such file or directory in /home/httpd/html/newFrameShop/htdocs/frame_art_main.php on line 92
and then a fatal error, becuase the required script didn't run.
Is there a problem requiring scripts and passing them variables? becuase when I don't pass them, it finds the script.
What is the best way to do this if I can't go this route?
Thanks.