note 68817 added to function.require

From: Date: Fri, 11 Aug 2006 19:29:26 +0000
Subject: note 68817 added to function.require
Groups: php.notes 
Request: Send a blank email to php-notes+get-115808@lists.php.net to get a copy of this message
I want to call a differnt php file within a function: function getqueue(){ Require_once("../.../.../fred.php"); ........ then, while still within the function I want to change the connection to: Require_once("../.../.../joe.php"); any help would be greatly appreciated. ---- Server IP: 203.220.0.234 Probable Submitter: 203.206.48.118 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.require.php Edit -- https://master.php.net/note/edit/68817 Del: integrated -- https://master.php.net/note/delete/68817/integrated Del: useless -- https://master.php.net/note/delete/68817/useless Del: bad code -- https://master.php.net/note/delete/68817/bad+code Del: spam -- https://master.php.net/note/delete/68817/spam Del: non-english -- https://master.php.net/note/delete/68817/non-english Del: in docs -- https://master.php.net/note/delete/68817/in+docs Del: other reasons-- https://master.php.net/note/delete/68817 Reject -- https://master.php.net/note/reject/68817 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115808) next »