vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Tutorial: How to run vBulletin onto your PC (https://vborg.vbsupport.ru/showthread.php?t=39482)

assassingod 10-05-2003 12:46 PM

Quote:

Originally Posted by kill_emma
ok, so now i'm using:

PHP Code:

            <?php  
                 
if ($_REQUEST['page'] != "")
                {  
                     include (
"$page");  
                 } 
                 else
                 {
                     include(
"news/news.php"); 
                 }
             
?>

this is an improvment. now the page changes when i go to index.php?page=stuff
now my only problem is that i get this error:


line 39 is
PHP Code:

                     include ("$page"); 


Try using single quotes rather than double

Dean C 10-05-2003 03:39 PM

No you can't use single quotes. It has to be double quotes. You don't have have the $page variable set. That's why it's not working buddy ;)

kill_emma 10-05-2003 03:47 PM

thanks :)

eDiT:
hey bastard :D

assassingod 10-05-2003 03:53 PM

Quote:

Originally Posted by Mist
No you can't use single quotes. It has to be double quotes. You don't have have the $page variable set. That's why it's not working buddy ;)

Single quotes have worked for me :shrug:

@kill_emma: heya prick:p ;)

Dean C 10-05-2003 04:16 PM

Cut that out both of you :)

Steve you can't single quote a variabe inside a function. Single quotes = complete parsing as text. Double quotes = parsing text + variables :)

assassingod 10-05-2003 04:23 PM

Ah right, I didn't see that variable in there.

kill_emma 10-05-2003 05:38 PM

hah, did i not tell you such things bastard?

assassingod 10-05-2003 05:56 PM

Yead m, but i dints likook at the code mcuhn

Dean C 10-05-2003 05:58 PM

Quote:

Originally Posted by kill_emma
hah, did i not tell you such things bastard?

Please refrain from making such rude remarks in future towards any members here at vBulletin.org

kill_emma 10-05-2003 06:27 PM

sorry, lol. it wasnt meant as a rude remark, its our uninomial nomenclature, or private nicknames if you will. i change my name alot and it's our way of knowing who we are ;)


All times are GMT. The time now is 09:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02084 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete