You are here: Variable Passing Not Sending Complete Name « PHP Programming Language « IT news, forums, messages
Variable Passing Not Sending Complete Name

Posted by Jerim on 08/15/07 13:17

I have a PHP script which simply calls another PHP script using
include(). Let's call them website.php and website_include.php, with
website.php simply including website_include.php. I can pass the
variable to website.php fine. Using an echo command, I can see that it
has the complete phrase such as "Permission Denied." When I call the
website_include.php, which is the page that actually does all the
work, the variable has changed to just "Permission." This happens with
any phrase I send. I am using the following syntax to call
website_include.php:

include("http://www.domain.com/website_include.php?variable=$phrase)

Right now, at the top of website.php and website_include.php I have a
$_GET statement to capture the variable. I have tried various
combinations of one page having it and the other not having. Having
the $_GET statement on both pages is the only way it has worked for me
so far. Any help will be greatly appreciated.

 

Navigation:

[Reply to this 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

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