![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jun 2001
Location: Queens NY
Posts: 1,407
|
php4 question
i heard this language is fast but i think its making my server load higher than before!
any one here uses php scripts? or php in your html? anything happened to your server? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2001
Location: Pac-land
Posts: 858
|
Depends on what you use it for. Anything that has to be processed by the server before it gets sent to the browser will increase server load.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Ask me about negative cash flow
Join Date: Feb 2001
Posts: 533
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2001
Posts: 144
|
It surely will increase the server load a bit but you could as well say I am just serving static pages because of that.
Php is great, I'd strongly recommend that you start using it. The thing I like most is it is pretty easy to learn, there is no chmod stuff as with perl scripts, and you have all the code right in the html pages, not in separate files distributed all ver the place. I have almost no page WITHOUT php and can't see a huge difference in server speed. And you always could upgrade the cpu and RAM in case you need it. ------------------ AVS that converts AND sends traffic. Be a good guy and use my link: ProAdult (Fairly new, so you won't share the link list traffic with 10,000 other webmasters over there :D ) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Mar 2001
Location: Indiana
Posts: 265
|
I like PHP because it works no matter what browser the surfer has. They can disable javascript, but not PHP.
What are you using it for? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
php is cool
a lot better than perl i heard its even faster than C/Cgi in some cases |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Snow's Parole Officer
Join Date: Sep 2001
Location: mud hut next to Bin Laden's
Posts: 1,161
|
I come a Microsoft background using ASP/SQL and found that the switch to PHP/MySQL was pretty easy..in alot of cases I like PHP more so. Most of my site is coded in it and more bang for your dollar PHP has ASP beat hands down..thank-god for open source
![]() FADE oh PS....That there PERL is the Devil's work ![]() ------------------ Admin HTTP://www.itsyourass.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Registered User
Join Date: Jul 2001
Location: Central IL
Posts: 19
|
I have nothing but good to say about php. I have done some incredible things with it. Plus like every one says, it is EASY to learn. Have'nt found much I can't do with it. It can also do alot more than serve dynamic code on a html page.
ronnie |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Sep 2001
Location: UK
Posts: 99
|
Quote:
Firstly, make sure that the webserver has the Zend Optimizer installed, it makes a noticable difference in speed, get it free from http://www.zend.com Secondly, to speed things up further, and protect your code from others if you're on a poorly secured virtual host, cough up some cash for Zend Encoder Unlimited ($50 a month as part of the zend developer's suite) and it'll encrypt and run the first couple of optimizer passes on your code, which will also speed things up and reduce the load on your server. Oh, and this is my first post, be gentle with me ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
Tip: Never try to program at 2 AM when plastered. It just doesn't work.
![]() I'd just like to point out, if something is poorly coded whether it be using perl, c/c++, asp*cough-crap-cough*, or php, it will increase the load time. So there is a possibility that you have a script that eats away at the memory. Or maybe your server just has problems with setup/memory leak. Cheers Nysus Hosting - Starts @ $1.75/GB - As low as $1.27/GB icq: 129060301 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Jul 2001
Location: The Netherlands
Posts: 3,400
|
The PHP-mod will double the server load for your httpd connection!!!!!!! Somebody said it's even faster than C++. Well I can tell you it's certainly not. PHP is very popular because it's so easy to learn, but is certainly slow down your server. Perl and C++ rules! If you don't have a high traffic site then PHP could work fine for you.....
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Jun 2001
Location: Queens NY
Posts: 1,407
|
HAHHA! I KNEW IT!
thx |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Jan 2001
Location: The Netherlands
Posts: 1,207
|
PHP is not faster than C++, but it sure is better than some other server-side software. It's stable and not very hard to learn. I've been programming pretty much everything in C and C++ 'till I found PHP. PHP has all features that many webmasters are looking for included in it.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Sep 2001
Location: UK
Posts: 99
|
The Hun's correct. PHP is slower than C/C++, uses more server resources etc, but it's a shitload faster to get stuff done using PHP.
After all, if you only care about speed you'd be using Tux as your webserver with all static content ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
Quote:
![]() OH -- and I'd most likely be able to put a stop to all those auto-submitters, if you'd want to. Of course lazy people would hate me then. ![]() Cheers Nysus Hosting - Starts @ $1.75/GB - As low as $1.27/GB icq: 129060301 [This message has been edited by Nysus (edited 09-09-2001).] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Join Date: Jun 2001
Location: Houston, Texas
Posts: 329
|
I love php and use it extensively on my site. You can see some good examples of it in use at http://www.i-blowjob.com
Kisses, Jade |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: May 2001
Location: Sweden
Posts: 137
|
php is too easy, not realy a sport but then again its the best if you dont use it on really high trafic sites. If you do there are only one option and that is C++
check out http://www.php.net |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Industry Role:
Join Date: Apr 2001
Posts: 1,738
|
Quote:
Just to let you know my experience with php, it can be much faster than a perl or c++ script depending on what you are doing since php is tied into apache and does not have to create a userspace to run within, so if you are doing lot's of little things with php it will be much faster that a perl / c++ script any day of the week!!! If you are opening up an sql DB and crunching a lot of data then spitting it back out, you might be better off rewriting in C++ to gain some speed and reduce system performance issues. I've written sites that get 50K unq a day that the whole site was pulled from an SQL database and was 100% php and we had no performance issues. A lot of it might be your code!! Tim |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Registered User
Join Date: Sep 2001
Location: Boneified Land
Posts: 24
|
There are lots of free scripts and resources on PHP at http://php.resourceindex.com/
Just an extra tip ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |