[thelist] Use PHP for content?
djinn at darkdesigns.org
djinn at darkdesigns.org
Thu Nov 21 16:11:19 CST 2002
Thank you for the comments! I really appreciate it.
Jean Peterson
-------- Original Message --------
Subject: RE: [thelist] Use PHP for content?
From: Rob Whitener <rwhitener at DesignOptions.com>
Date: Thu, November 21, 2002 2:50 pm
To: "'thelist at lists.evolt.org'" <thelist at lists.evolt.org>
Its hard to tell why the page loads so slow. There don't seem to be
any huge image files to load, there isn't any flash or anything. PHP
itself wouldn't slow the page down, but how it is used might. Looking
at the PHP source (whoever built this didn't do very good job of
securing it) in the config.camst.inc file, I see $test="<img
src='images/dragon.gif'>"; I assume this $test variable is used in
one of the three framesets to load an image. Since I don't see any
images of dragons anywhere on the page, or any images for that matter,
the server is probably unable to find it. That could be why the page
is loading so slow. Try looking for the image manually on the server
to see if it exists and is in the proper place. Also, if you want
images to load a little faster, you may use JavaScript on the client
side to preload them. Here is link:
http://www.js-examples.com/example/?ex=515&mode=1&COLOR_OFF=YES If
you can't discern how to preload images from the code, I think I found
alot of examples on the web by going to google and searching with
"javascript + images + preload"
Enjoy
-----Original Message-----
From: djinn at darkdesigns.org [mailto:djinn at darkdesigns.org]
Sent: Thursday, November 21, 2002 4:28 PM
To: thelist at lists.evolt.org
Subject: [thelist] Use PHP for content?
Thank you for your descriptions and websites. Now that I have read the
"What is PHP" and "What is it good for?" as well as your responses, I
have a specific question. A website that I am only peripherally
responsible for seems to be calling all of it's text using PHP (could
be wrong)
http://www.camst.net/. The text isn't contextual or contantly changing
or anything else that I could see using script for. The page also
takes *ages* to load (when I first loaded it I thought there was going
to be one heck of an image file or something).
First, is it common/good practice to use PHP this way?
Second, could this use of PHP be why the page takes so long to load?
Thanks.
Jean Peterson
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list