![]() |
Quote:
https://vborg.vbsupport.ru/showpost....98&postcount=2 |
Hi, I baaaack :)
I have another question: I'd like to lock up an entire page based on vB usergroup, and it seems like there is a problem doing this... here is the error I get: Quote:
Quote:
|
Quote:
Once I do this, I can no longer login to the control panel. Are there any solutions to this? |
Quote:
Wrapping the HTML in those tags is fine, however when you wrapped the PHP inside the echo tags everything breaks as you have found out. If your wrapping a mix of HTML and PHO you need it in a format like this. PHP Code:
Hope thats a bit more clear. If your still having problems just post the first dozen lines or so of your page or so. |
Quote:
|
Quote:
|
Something maybe worth mentioning is that to prevent script issues from happenning(due to path changes) You can do something like this:
Code:
$cwd = getcwd(); |
Ok, now I am having trouble with any quotes being used within the document. Is there a way around this? I am using this code on a template, and my client is using quotes, which is causing an error.
Quote:
|
Since the chdir code must be first on the page, how do you handle the sending of headers (like cookies)?
|
I have a question...
I am using the script in other folders, and it wont then login... For example: Main directory: public_html/ Forum Directory: public_html/forums/ Say I have a page in public_html/support/ The script doesnt login, or logout properly, but If I login to a page before the /support/ directory it works okay. Otherwise only pages in the public_html folder works. Any help? I have changed the codes inserted in the page to reflect the change, (ie. ../forums/login_inc.php) like that. |
All times are GMT. The time now is 10:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|