![]() |
Quote:
AddType application/x-httpd-php .html Been using it for a long time. Put any php on your html pages and it runs fine. ronnie |
No way! It's not that easy is it? There must be some catch to this technique :)
|
Quote:
There have been people that say it can cause a slight load on the server, as it parses every html page for php before outputting, but I have not seen a problem myself. Nor have I heard any one else that has had a problem. ronnie |
hmmm it's not working.
I put this in my .htaccess in the root and the folder, but it doesn't work. I see no phpadsnew calls on the page at all. |
I put this in my .htaccess file
AddType application/x-httpd-php .html on a test page and had no problem. How did you upload the banners? local banner(Sql) is were I put mine unless its a text ad. EDIT: ronnie thankyou for the info great |rock| |
hmm I still can't get this to work.
I put that snippet in my .htaccess file and then use the local invocation codes... but nothing appears :( Phpadsnew admin runs kinda slow it seems, too. |
Quote:
|
I'm also with Webair. Anything HTML is pretty fast, big movies load zippy, but if there's a database involved it's like watching paint dry (slowly). :(
|
Whew. Glad to know it's not just me. :D
|
Quote:
|
Same here...HTML pages load at lightening speeds but pages with PHP can take 30 seconds to load. I tried to sort this out but seems they can't find the solution.
Also, I have some files in /stats/ directory that are already indexed by google/yahoo, and webair has a quirky setup where any call to /stats/ directory on a domain redirects to the webair login page, which makes moving one of my main domains over to webair pretty much impossible. Quote:
|
Quote:
|
Quote:
PHP Code:
ronnie |
Maybe this will work faster if I store the banners in a folder in the domain instead of in mysql?
|
I've always stored/pulled banners from my sites, never stored them in MYSQL. Not sure if there is a real benifit to storing them in the DB. My thought, the more you store in the db, the more info it has to go through to run. The bigger the DB, the more chance it will be slower.
ronnie |
I've tried storing images in MYSQL DB, but I don't know if they get stored in cache like regular images. Seemed like they get downloaded every time I refresh the page, i.e. a big waste in bandwidth. Also, I have heard people say storing images in MYSQL will bog down the server.
I suspect wherever you put the banners, your pages will still load slower since the host we're on doesn't seem to like php/mysql. |
Quote:
|
I don't understand? If the banners are pulled from my site instead of the MYsql database, It should be faster, no?
|
Quote:
ronnie |
My banners come pretty quick, depends on your database I guess
|
Quote:
I have a support ticket in about this, we'll see what they say. Preacher |
dedicated mysql databases in your dedicated host, plus they have to set the MySql to unlimited...Then you won't have any problems
|
Quote:
|
Quote:
|
well, webair just said they restarted sql5, which supposedly will make it run faster. We'll see.
|
All times are GMT -4. The time now is 05:40 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc