View Single Post
Old 08-11-2010, 07:28 AM  
escoman
Confirmed User
 
escoman's Avatar
 
Join Date: Jun 2004
Posts: 597
Passing two variables localy in php includes

I want to pass

<?php include("http://www.domain.com/site/script.php?go=type&pid=1"); ?>

Locally like

<?php
$go = "type";
$pid = "1";
include("/usr/local/apache/sites/home/domain.com/public_html/site/script.php"); ?>

but it doens't work, please help. i can pass "type" but not pid.
__________________
Porn
escoman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook