TweezerMan
Members-
Posts
1,763 -
Joined
-
Last visited
Everything posted by TweezerMan
-
Welcome to the forums, mathias!
-
Welcome to the forums, Chris!
-
I found this explanation for why ob_start is faster than accumulating output text in a variable: Basically, PHP has to reallocate the variable's memory every time you add text to it, while the output buffer's memory is allocated in chunks (40K at first, then is increased in 10K increments as needed). Fewer memory reallocations = faster code.
-
Welcome to the forums, wes!
-
I've never used it, but it sounds like what you're looking for is Win XP Pro's built-in Policy Editor. You might take a look at this MSKB article: How To Use the Group Policy Editor to Manage Local Computer Policy in Windows XP
-
The images aren't showing because the paths are *not* right. In your mt.cfg file, it appears you have the following for StaticWebPath: >StaticWebPath /var/www/html/mt-static/ StaticWebPath is a relative URL, not a local file system path. You should use the following for StaticWebPath: >StaticWebPath /mt-static/
-
Url To Ssl.pl Or Real-time Processor
TweezerMan replied to monk707's topic in CPanel and Site Maintenance
Welcome to the forums, monk707! -
Have your user adjust the text size in her browser (View, Text Size on the menu). I believe I can replicate what you're describing by setting View -> Text Size -> Largest in Internet Explorer, or by clicking View -> Text Size -> Increase 2-3 times in Firefox. Setting View -> Text Size -> Medium in IE, or View -> Text Size -> Normal in Firefox, would fix this issue.
-
Welcome to the forums, panther!
-
Welcome to the forums, maggieroofus! Changing lastn="10" to "1" should indeed work, unless there's a problem preventing the Main Index page from being rebuilt so it will reflect the change. Assuming there were no errors when you did a rebuild, you might want to do a View, Refresh in your browser to make sure you're not looking at an old cached copy of your weblog page.
-
Welcome to the forums, sweet_star4!
-
How To Install Squirrelmail - The Ultimate Guide
TweezerMan replied to dlevens's topic in Client Written Tutorials
Welcome to the forums, Chris! -
Great minds think alike, and don't forget about TCH-Don! (It was his idea to start with.)
-
TCH-Raul had it right the first time: The code output by the include is indeed a table, and better than that, has a class of "ssi_table" assigned to that table: ><style type="text/css"> <!-- .ssi_table { font-family: verdana, arial, helvetica, sans-serif; font-size: 8px; } --> </style> <?php include('http://www.marveassistans.se/forum/SSI.php?ssi_function=recentTopics'); ?>
-
Looking For Online Resource To Check Ip Downtime
TweezerMan replied to kahill's topic in Looking for......
As TCH-Thomas notes, there's a number of sites that can perform monitoring. I would be surprised if any of them could tell you how long a site has been down after the fact, if they were not watching it before. -
I don't really have any experience with this, but it seems to me that you would need to benchmark scripts on your own server. One reason is access - some of the things you should be looking at aren't available to you on a shared server (no SSH access and no root access, for example). Also, some benchmark tests involve stress tests on a server - this is something that really can't be allowed on a shared server. If you're stressing the server, you're making the server unusable for every other user on that server.
-
There was a charity premier of the new Star Wars movie here in SF a week ago. You would've had to been a real fan to see it - tickets were $500 each. I'll probably be catching it on DVD myself.
-
Help: Multiple Site Transfer, Database, Yuck
TweezerMan replied to daphne's topic in Pre-Sales Questions
Welcome to the forums, Daphne! -
Welcome to the forums, Gordon!
-
Welcome to the forums, Peano2!
-
If your main index page is a PHP page, you definitely could use PHP to do this: ><?php if (strpos($_SERVER['HTTP_REFERER'], 'bad-domain.com') !== false) { echo('No naughty pics here for you!'); } ?> But if your main index page is not a PHP page, I think you'd have to use java script: ><script type="text/javascript"> if (document.referrer.indexOf('bad-domain.com') > 0) { document.write('No naughty pics here for you!'); } </script>
-
Coppermine actually does what you're asking by default. The key to this is a couple of config options (under "Files and thumbnails settings"): 1) Create intermediate pictures (enabled by default). 2) Max width or height of an intermediate picture/video (default: 400px). If an uploaded picture's height or width exceeds the maximum width/height setting for an intermediate picture, Coppermine will automatically create an intermediate picture (filename prefixed with 'normal_') in addition to creating the thumbnail when the picture is uploaded. People who view your album will first see the album's thumbnails. If they click on a thumbnail, they will be shown the intermediate picture. Clicking on the intermediate picture will then display the original, full-sized image.
-
Welcome to the forums, temiuo! Your problem isn't an MT problem - it's a MySQL one, so an MT "master" wouldn't necessarily be of much help. If it has not been disabled, you can use phpMyAdmin to add a user to a database. Look for a "Privileges" link on the phpMyAdmin home page, or a "Privileges" tab on the Databases page. If you don't have that option available, you'd really need to talk to your host, as they know what they've set up on the servers and what tools are available to you.
-
Welcome to the forums, stymie222!
-
I don't believe you can install or run 123 Flash Chat on TCH servers. From the 123 Flash Chat FAQ: TCH does not offer telnet or SSH access to accounts, as Serpentine noted. Even if you could install it, TCH does not allow users on shared hosting accounts to run persistent programs ("standalone server applications") on their accounts, which would preclude you from running 123 Flash Chat at all.
