You are here: include a file with parameters « PHP Programming Language « IT news, forums, messages
include a file with parameters

Posted by julian maisano on 10/20/31 11:22

What i want to do is the following:

include (pagecalled.php?argument1=x&argument2=x ..... );

(I need to place the page somewhere inside another one, as if it had
been called from another link)

Doesn't work this way, but it works providing full path

include 'www.somesite.com/dir1/dir2/pagecalled.php?argument1=x&argument2=x';

As you can see, it would be better without full path, in order to be
able to change server without code rewrite.

Is there any way to solve that situation?

sdos - jm

 

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

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