The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
Hi guys,
thanks for your advices , regarding the first two replies , i tried to do that and since am not good at php i wasnt able to , and when i tried playing around , it returned variables messed up Or it returned blank files ! Another thing , the cache file is one listed above , for example the imdbsearch file gets posted data ( method post in search box ) and the imdbsearch uses _GET , Adding global.php somehow stops the rest from being parsed and i dont know why ! As for logician suggestion i will try now , but logically speaking cache.php code (above code) will work but as for imdbsearch .php am confused if it will work because example : imdbsearch.php?name=Rock ( is a sample of a posted request ) Logician templates will require | /forum/view.php?pg=test So if i parse the search within it , how should i post the data to url ? Is it possible logician ? If its not , is there a way to just include the header to other sections of my website located outside of it ! The problem is i have many free sections outside my forum and movies search is one of them , i wish to include headers so users ( might be tempted to register ) and widen my users database ! Just an update , Logician advice made the cache.php work fine , But as i expected that wouldnt just work for the search.php ! imdbSearch gets variables from a post like : <FORM ACTION="imdbsearch.php" METHOD=get> <p> <INPUT TYPE="text" NAME="name" SIZE=30 MAXLENGTH=50><BR> <INPUT TYPE="submit" VALUE="Submit"> Even if i included the imdbsearch in ob_start as above example and changed the form to post name=pg and value=movies (for example ) And the link will show as view.php?pg=movies&name=rock (for example ) but the variable is not passed to the included moviesearch and will not be excuted . Again my whole porpuse is to include the HEADER to a PHP file and making a VB page example using templates works when ur adding HTML page , anything including codes or php GET or POST will not be passed , unlike what i want . |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|