View Single Post
Old 08-11-2010, 04:37 PM  
escoman
Confirmed User
 
escoman's Avatar
 
Join Date: Jun 2004
Posts: 597
I've noticed that I'm only able to pass http://www.domain.com/site/script.php?go because register globals is off so i need to use _GET instead. I have tried this

<?php
$go = $_GET['type'];
include '/usr/local/apache/sites/home/domain.com/public_html/site/script.php';
?>

but it only passes go without the value

http://www.domain.com/site/script.php?go

what am i doing wrong?
__________________
Porn

Last edited by escoman; 08-11-2010 at 04:40 PM..
escoman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook