tracdoor
Apr 10 2008, 10:32 AM
| | Hi, i've just signed up to your hosting over the last few days, and its been very fustrating that you don't allow the directive: allow_url_include.
Do you think that there could be anyway that you could turn it on? i've installed a login and hit counter script and i had to edit half of it.
I also want to 'include' my page list on all of my pages, to make it easier to update them, but the only way i would be able to do this is upload a page list to every directory, which defeates the purpose.
And i can't use SSI because i can't use PHP with SHTML for some reason.
Please help me with a solution, or just turn it on for me  |
Reply
BuffaloHELP
Apr 10 2008, 01:43 PM
QUOTE(tracdoor @ Apr 10 2008, 06:32 AM)  allow_url_include.
Do you think that there could be anyway that you could turn it on? i've installed a login and hit counter script and i had to edit half of it. This is turned off by server administrators for a reason. To contact further regarding this matter, please visit xistosupport.com and submit a support ticket.  QUOTE I also want to 'include' my page list on all of my pages, to make it easier to update them, but the only way i would be able to do this is upload a page list to every directory, which defeates the purpose. You can write a simple script to generate list of pages and dump it as a file. If you are performing a relative directory watch how you are referencing, i.e. include ../folder/file verses include ./folder/file Test your script by using a simple include function test. QUOTE And i can't use SSI because i can't use PHP with SHTML for some reason. Has it worked with other web hosting services? Again watch out for proper path, i.e. ../file.ext or ./file.ext If you can post your partial code perhaps we can figure it out together.
Reply
tracdoor
Apr 10 2008, 02:08 PM
Here is the part of the code where i put my SSI in: CODE <div class="menu"> <!--#include virtual="pagelist.html"--> </div> Am i doing something wrong? i save it as index.html. If i save it as .shtml the include works, but the php i use for the site login dissapears, so i either manually update every single one of my pages everytime i want to add a link in, or getting rid of my site login. Is there any comprimise? or am i doing things wrong? Thanks for any help
Reply
truefusion
Apr 10 2008, 02:19 PM
Why not save the file as index.php and use a PHP include instead? Isn't allow_url_include for remote files? You shouldn't have a problem using the following code for an extension that can process PHP and if the file is located in the same directory: CODE <div class="menu"> <?php include "pagelist.html"; ?> </div> If i'm not mistaken, on Trap17, index.php has more priority than index.html.
Reply
tracdoor
Apr 10 2008, 02:43 PM
I've just done that for all of my pages, now for some reason my page has gone completely messed up when i used the '>' symbol in some of my PHP login code: CODE Welcome back, <?php echo $qls->user_info['username']; ?>. It seems that the '>' has been interpreted as the php closing tag for some reason, now my page messes up: http://say-help.trap17.com/Any help with this? once thats sorted everything will be fine
Reply
truefusion
Apr 10 2008, 03:00 PM
That's odd. But it seems like you tried to "short cut" the code; i'm not entirely sure, since i can't see the rest of the code. But rather than placing the PHP ending tag after the left curly bracket, try something like this: CODE { echo "Welcome back, ".$qls->user_info['username']; } ?> (assuming there's no else.)
Reply
tracdoor
Apr 10 2008, 03:17 PM
QUOTE(truefusion @ Apr 10 2008, 04:00 PM)  That's odd. But it seems like you tried to "short cut" the code; i'm not entirely sure, since i can't see the rest of the code. But rather than placing the PHP ending tag after the left curly bracket, try something like this: CODE { echo "Welcome back, ".$qls->user_info['username']; } ?> (assuming there's no else.) Here's the full code: CODE <div class="topbar">
There have been <?php include ("counter.php"); ?> hits.<br> <?php // Look in the USERGUIDE.html for more info if ($qls->user_info['username'] != '') { ?>
Welcome back, <?php echo $qls->user_info['username']; ?>. Click <a href="http://say-help.trap17.com/login/logout.php">here</a> to logout.<br><br> Click <a href="#contactinfo">here</a> to view your contact information.<br> <a href="#membersonline">Click here to view the current members online.</a>
<?php } else { ?>
Welcome back, please click <a href="http://say-help.trap17.com/login/login.php">here</a> to Login, or <a href="http://say-help.trap17.com/login/register.php/">here</a> to Register.
<?php } ?> If its not to much trouble do you think you could sort any problems out?  I'm downloading a PHP debugger now so hopefully i can work errors out myself now.
Reply
truefusion
Apr 10 2008, 03:26 PM
Try the following and see if it works: CODE <div class="topbar">
There have been <?php include ("counter.php"); ?> hits.<br> <?php // Look in the USERGUIDE.html for more info if ($qls->user_info['username'] != ''){ echo "Welcome back, ".$qls->user_info['username'].". Click <a href=\"http://say-help.trap17.com/login/logout.php\">here</a> to logout.<br><br> Click <a href=\"#contactinfo\">here</a> to view your contact information.<br> <a href=\"#membersonline\">Click here to view the current members online.</a>"; } else { echo "Welcome back, please click <a href=\"http://say-help.trap17.com/login/login.php\">here</a> to Login, or <a href=\"http://say-help.trap17.com/login/register.php/\">here</a> to Register."; } ?>
Reply
tracdoor
Apr 10 2008, 03:44 PM
Duh, how stupid could i be? i saved it as .html not .php Thanks for all your help, one last thing though, can you recommend any free PHP debuggers? i think i'll be needing one
Reply
truefusion
Apr 10 2008, 04:01 PM
QUOTE(tracdoor @ Apr 10 2008, 11:44 AM)  Thanks for all your help, one last thing though, can you recommend any free PHP debuggers? i think i'll be needing one  I don't know of any. But i usually just let PHP itself tell me of any errors. There's a PHP function that allows you to modify what errors to output. http://www.php.net/manual/en/function.error-reporting.php
Reply
Recent Queries:--
login.php? url - 39.34 hr back. (1)
-
php settings allow url include - 76.95 hr back. (1)
-
allow url include - 80.45 hr back. (2)
-
url include - 14.02 hr back. (2)
Similar Topics
Keywords : php, url, include, admin, clarify,
- How Long Does It Take...
...for an admin to look through a request? (2)
Questions For Admin Or Tech Team Or Anyone Who Can Help
A few questions? (4) Just a few questions guys. 1. When/if i get my hosting, many sites dont last long. Can i trust this
service 100%? 2. I know it says no adds. Will it stay like this? 3. Can i upgrade my account at
any time? Please do not take these questions in offence it's just i want to be really carefull
with freehosts. As some people ( freehosts) are only up for like 6 months then they go. And leave
people without a site /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif"
/> Also if i made this in the wrong section sorry, Just i thought general would....
Which Mysql Version Does Trap17 Offer?
Please clarify this for me (4) I am trying to set up something that requires a Mysql database. I have made the account and user for
it and everything is OK, I just need to know what MySQL database type Trap17 offers to be able to
continue. I can select MySQL types between: 1. MySQL 3.x 2. MySQL 4.x/5.x Please help verify which
of these two Trap17 hosting package #2 offers /wink.gif" style="vertical-align:middle" emoid=";)"
border="0" alt="wink.gif" /> James....
Can Someone Clarify A Rule For Me?
(5) QUOTE You must not post any referral links to any services on the internet which may lead to any
personal advantage or profits. Posting such messages may get you banned. This is the rule i need
clarifying, I have joined a game where by giving out a link to people andthem clicking on it i will
get soldiers and gold (kingsofchaos.com if thats any use). If i posted this link in a no-credit
forum and clearly told readers what it does is this in violation of this or any other rules? This
was the only rule i fond that might be relevant. My plan was to make a thread wh....
Can I Post Again For Admin Aprove After My Host Danied?
(2) Hello support. Yesteday my host not aproved cause many of my post is small with litle contribuation,
admin said. But today i start more profissional posts with great articles and with more compose
words. I need only fee plan host 1. Can I post again for admin aprove after my host danied?....
Hi Board Admin Help Me
(0) hi board admin am gurpreet from india.am need your help can u please help me ? am using Invision
Power Board v2.1.6 in my site.i want to know how to i make topics in portal page. please don't
close this topic. because i realy need that now.i need help in real only u can help me because u are
the admin of this board.i want to show topicks like same as u.so please tell me hoe can i add topics
in portal page which always still in top on portal page.if u ll help ill be a great thanks 2 u 4 ur
this kindness. am new in here & don't close this topic please.thanks.hv a ....
Help Im Having Problems With The Hosting
Admin please help me! (5) Im posting this here because when I try to post in the hosted memebrs area I get"The error returned
was: Sorry, you do not have permission to start a topic in this forum" now my problem is that I got
approved and then I went the the process thing and went through the account creation process and the
screen where its teling you the progress of your account but mine stuck at waiting for reply for
like 10 mins so I just closed the browser geussing it wasn't gonna work and I went through the
process again and then it gave me an error telling me my account was already in ....
The Edited By Box From Admin And Mods
how do you create that? (3) I was just wondering how you created the little box whenever an admin or moderator edits a post?
I'm an admin at another forum i created for my school, and was wondering exactly how such a
thing is accomplished, as it helps to point out to other members what not to do, and how to fix it a
lot better than simply editing the post. Any help here would be appreciated.....
Hosting Credits Php Variable?
Mostly an admin question, maybe mods? (0) If someone could help me out... I'd like to know what variable you guys have the Hosting
Credits number stored in on the boards (or portal, w/e you want to call it) - -Reason I'd
like to the portal homepage into my blog. Henceforth, i'd call upon said variable in my
blog's page in order to post my current hosting credits amount as a updating variable. It could
be interesting if each member's variable is stored differently (or based MySQL) however,
It's still possible. I plan to create a tutorial about such after learning said information. ....
Cpanel Log File - Question... Problem ?
log file not logging traffic- ADMIN help requested (1) Hi all, Have my Cpanel "Log File Manager" settings set to "backup" the logfile daily(ie. I've
checked the first checkbox). QUESTION: This should give me a "cumulative" backup listing of all the
traffic to my webpages in a sequential date (ie. day by day) format..Right?? If this is correct..
then there is a problem.. PROBLEM: I'm only getting partial (many days of traffic are missing)
from the raw log files. The monthly file only contains a couple of days of logs. Can anyone clarify
(or help)?? RGPHNX....
Quality Of The Website
checked by Admin. (4) Does the quality of the website is checked by the administrator and if it is below some standard is
it allowed or not? Do you provide any suggestion for theme of the website or enhancement of the
features introduced in the website?....
Urgent-admin Help Requested******
Cpanel malfunction-& WEBSITE PROBLEMS (6) Admin, Have posted a PM 4X today for "Opaque" - each time Cpanel has refused to log my message in
the "Sent" folder. Tried replying to the the previous message from Opaque & tried composing a new
message to him- >> same result - NO MESSAGE SENT!! after clicking the send button. Please
advise as this message string is concerning getting my website functional after ftp upload. -IS
URGENT !! Thanks RGPHNX....
Question For Admin...
Am I allowed a free mini web host? (9) What I mean is, am I allowed to use my trap17 web hosting account to create a free web host on my
account where other people, (who aren't members of trap17) can sign up for a "free web hosting
account", hosted through on my account? All thier information, and files, and databases are held in
my own "xeek.trap17.com directory". I don't even know if this explaination makes sense to you.
(I don't really get this myself:huh:) Perhaps this grahpic will explain things better:
Obvoiusly, I am NOT profitting from this mini free hosting on my account, but merely....
Question For Admin...
Am I allowed a free mini web host? (0) omg, i posted twice, please delte this one. so sorry.....
Cpanel Question- For Admin
My Assistant - behaving funny?? (4) Hey Guys, Has "My Assistant" changed?? It used to open as a popup in the CPanel. Now it seems it
opens fullpage. When I click on my "Last 10 posts" or do a search OR anything else - the program
just sits there & does nothing (ie. it doesn't refresh to the new page). To refresh the screen &
see the info I requested I have to click th "X" to close the "My Assistant" window - then the info I
requested appears. Is this a scripting error on the server??? A program functionality change ?? (I
havn't changed anything on my puter re: browser, OS, config. etc.) Any ans....
How To Become An Admin Of Trap17?
...to get in that [ADMIN] group? (4) Hello all, now this is not just a question for administrator, it's for moderators too.. So here
it goes: how to become moderator / later administrator maybe.. ? what I must do? /rolleyes.gif'
border='0' style='vertical-align:middle' alt='rolleyes.gif' /> p.s. it's not that I really
really want to, im just curios.......
Group Problem
admin come in please (1) excuse me, i'm sorry to trouble you admin and admin group.i have a question...which is about
group problem.i am in group cause for my owning a free web hosting account.i want to know if i can
change my group to other like ,i hope that i could be useful to trap17.com,not only getting a
hosting.the most problem i want to realize is wether my hosting will dispear after out of the group
. it is just a my little silly prolem,hopfully getting your reply. my best regards to u dear
Admin Group. /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' />....
Looking for php, url, include, admin, clarify,
|
|
Searching Video's for php, url, include, admin, clarify,
|
advertisement
|
|