borfast
Members-
Posts
3,271 -
Joined
-
Last visited
Everything posted by borfast
-
Welcome to the forums, icode
-
Robert, is this a "Where's Waldo" kind of game?
-
Good thinking, Andy. I was only thinking of a way to disable scripts via cPanel, I didn't even think of the possibility of using other methods Thanks for pointing those out
-
Hi Qinau. I don't think that's possible. PHP/Perl/Python are enable for your whole account and can't be disabled/enabled per sub-domain. Someone will correct me if I'm wrong but at least I have never seen anything that would allow me to do that.
-
You have to use PHP to output the <?xml stuff, because since PHP has short_open_tags turned on, when it sees a <? it immediately thinks that whatever is in between <? and ?> is PHP code and tries to interpret it that way. So replace the whole <?xml line with the following: ><?php echo '<?xml version="1.0" encoding="iso-8859-1"?>'; ?> And it should work without a problem
-
You could also use CSS instead of directly changing the align tag (which is deprecated, anyway). Instead of using <td align="center">, you could use <td class="centered"> (or some other name for the class, of course) and then, in a separate CSS file which you would include at the top of the HTML file, you'd just put the following: .centered { text-align: center; } This way, if you needed to change the text alignment, you'd just have to change the CSS file, not 249 HTML files
-
I agree with Don. You can define the base href in a config.php file and include it in every file.
-
I don't use Thunderbird on Windows much but I never had any problems with it.
-
Hi Adam. Depending on how big the site is (how much disk space, how much bandwidth, how much CPU it needs), a shared server account can be enough or you may need a semi-dedicated (or even a dedicated server). Since it depends on various factors, there's really no way to tell what type of account your site will require but if you talk to someone from the tech department, perhaps you can arrange so that your site is kept under watch and immediately upgraded to a semi-dedicated or dedicated server, if the need arises. If you work together with TCH and keep your site when you transfer it and immediately act if something wrong is noticed, I'm sure you can do the transfer without many problems
-
Exactly, I probably should have explained that better. PHP files that you want your visitors to access need (obviously) to be under the public_html directory. If some files are not supposed to be accessed by your visitors, then you can move them into a directory outsite public_html, which can be considered indeed a good security measure, as owatagal is saying
-
Very interesting page!! Thanks for the link, dkotchen!
-
owatagal, there is no difference at all, you can place the PHP files that to be included anywhere in the filesystem, as long as the webserver can read them Moving for organization.
-
Dick, "Hacking Exposed"?... I think we're going to have to keep an eye on you, and perhaps open an investigation when there are problems with the servers... (just kidding, of course ) Bruce, a Vaio Desktop?? I didn't know those existed. Looks pretty cool Serpentine, I love that Lego snowspeeder!!!
-
Try putting a space between the "echo" and the first quote. Both the examples you gave should work just fine.
-
Ed, you can also set that in .htaccess or using ini_set().
-
In your original code, you just missed the first closing PHP tag (right before the HTML string):
-
How To Upload Database Using *.frm *.myd Files?
borfast replied to falves's topic in CPanel and Site Maintenance
Olá Fernando Serpentine has already said everything and suggested a good alternative, so I'll just welcome you to the family: welcome! -
Glad you got it working
-
/usr/local/bin is the correct path for ImageMagick. That problem can be due to the new security restrictions recently imposed on the servers. If you open a Help Desk ticket, the techs can take care of it.
-
You should upgrade your phpBB instalation to the latest version. Also keep an eye out for new versions, so you can upgrade as soon as possible. phpBB has had version 2.0.13 released very shortly after 2.0.12 due to a serious discovered security flaw. Ideally, you should sign up for their mailing list or forum so you'll be automatically notified of new releases and security issues.
-
The referrer is not a term used exclusively when talking about Perl. It's a general web term used to refer to the "webpage you came from", as in "the webpage that referred you to the one you're visiting now". As for how can you tell where the script should send you, if it's not working I guess you'll have to take a look at the source code.
-
Here's an idea: let's start nominating the weirdest thread of the month. We could start by announcing this month's winner, already...
-
Well, if you're doing everything OK, I'm out of ideas, sorry. Perhaps you should open a Help Desk ticket, then...
-
Phpbb 2.0.13 Released - Critical Updatebb
borfast replied to OldTimer's topic in Software/Scripts/Other Alerts
Thanks for the heads-up This is a critical update, so everyone should upgrade their boards as soon as possible. Also, don't forget to run the update script from the "install" directory. It is not enough to replace the old files with the updated ones. -
Make sure you're using the correct database name and database username. Unless you're using your cpanel username and password, they should be in the form of yourcpanelusername_databasename and yourcpanelusername_databaseusername.
