|
-
Hosting with php v5.0x
Date: 09/22/04
Keywords: php, web, hosting
So I am about to start on a project for a customer, and I would like to use PHPv5 for it. However my standard hosting provider (powweb) only uses php v4. Does anyone know if there is an inexpensive hosting company that supports v5 of php? As well as generally has good service.
Source: http://www.livejournal.com/community/php_dev/48460.html
-
Global Data in PHP
Date: 09/09/04
Keywords: php
I have a large ammount of global data that I need to access in a PHP script. Imagine the following file data.php:
But instead of three lines there are 100,000. If I include(data.php) in another script, does that mean the whole 100,000 line file will be read and parsed on every request, or will the content be kept in memory somehow? Is there some way that I can force it to stay in memory?
Source: http://www.livejournal.com/community/php_dev/47935.html
-
Co-Lo Hosting
Date: 08/27/04
Keywords: php, java, hosting
Hey guys, just wondering if any of you recommend any particular co-lo providers.
Looking at hosting one box (maybe 2 in the future). At the moment I haven't talked to the customer enough to find how much traffic we're looking at, but somewhere between 50-100 GB a month max I'd have thought, possibly less.
Being located in the UK (particularly london) would be particularly useful, although I'm willing to consider other options.
X-Posted to php, php_dev java_dev livejournal_uk
EDIT: Dedicated hosting may also be possible, depending on how much flexibility we get...
Source: http://www.livejournal.com/community/php_dev/47594.html
-
cheap webhosting w/ php provided?
Date: 08/26/04
Keywords: php, software, html, asp, hosting
i've been using pair networks to host my html only page for www.fablesoft.com for a few years now, but i'm going to need php hosting soon and would rather not pay upwards of $20 just to have php enabled.. i've come across doteasy.com for $9.95 a month... but i dunno, any suggestions? any horror stories?
one thing i can say for pair is that they are RELIABLE, not that my silly software site needs ultra-reliability hosting or anything, but that's a nice aspect of pair.
Source: http://www.livejournal.com/community/php_dev/47192.html
-
Log out
Date: 08/25/04
Keywords: web
Hi all.
This is probably a dead simple problem, as I'm sure just about every 's3kr3t' website does it.
I'm trying to make a "members only" part of my web site. I use HTTP Basic Authentication to get a username and password and store that in a session. The problem I've got is when it comes to log out. In my log out script, I unregister the username, password etc and destroy the session. That's fine, session_is_registered() returns false. But now, if the user clicks "Members Area" they get straight back into the private area.
What I'd like to happen is the user clicks log out and then when they go back to the private area they're asked for their username again.
Any suggestions for how to sort that out?
Source: http://www.livejournal.com/community/php_dev/46985.html
-
how to make an ecard?
Date: 08/25/04
Keywords: php, html, database, web
Hello! Sorry if this is an inappropriate place to post this, I'm in a hurry and other places have been little help as of yet.
I need advice. I am trying to create e-cards. I have the images, I need a way of sending them to people. This is for a friend's site that I'm building, and unfortunately she'd really like it within the next two weeks, so I'm trying to find something reletively easy.
I have found many tutorials on the web - this one seemed fairly straightforward with the exception of the MS Access database. I am new to databases of any kind, and don’t have MS Access. I’d like to be able to convert it to PHP but don’t even have a clue how. I did this tutorial as well, but when I used the PHP file that came with it, no text would appear in the card. When I replaced the PHP file with a new one that supposedly fixes that issue from the message forums, I got an error that a lot of users on the site got, but all of them fixed it without explaining how. I am very new to PHP and don’t know how to edit it correctly. I’ve included the PHP file under a cut tag at the end of the post just in case any of you can see what’s wrong with it out of context.
In theory I’d like to find either a very basic tutorial or something I can plug my images/info into, if such a thing exists. Thanks in advance for your help, it’s very much appreciated.
I have this error "Parse error: parse error, unexpected T_STRING, expecting T_CASE or T_DEFAULT or '}" on line 9. I only included the first part of the text after HTML,HEAD, & TITLE since the error is somewhere in line 9. I’ve tried switching the quotes around and using single quote marks instead of double quotes, etc, etc.
$ENum = $_GET["ENum"]; $EcardText = $_GET["EcardText"]; switch ($ENum) {
case '1': $goto = "Ecard1.swf?EcardText=".$EcardText; $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=1"; $Dimensions = "WIDTH=700 HEIGHT=525"; $DimensionsFooter = "WIDTH=700 HEIGHT=250"; break;
case '2': $goto = "Ecard2.swf?EcardText=".$EcardText; $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=2"; $Dimensions = "WIDTH=700 HEIGHT=525"; $DimensionsFooter = "WIDTH=700 HEIGHT=250"; break;
case '3': $goto = "Ecard3.swf?EcardText=".$EcardText; $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=3"; $Dimensions = "WIDTH=700 HEIGHT=525"; $DimensionsFooter = "WIDTH=700 HEIGHT=250"; break;
case '4': $goto = "Ecard4.swf?EcardText=".$EcardText; $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=4"; $Dimensions = "WIDTH=700 HEIGHT=525"; $DimensionsFooter = "WIDTH=700 HEIGHT=250"; break;
case '5': $goto = "Ecard5.swf?EcardText=".$EcardText; $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=5"; $Dimensions = "WIDTH=700 HEIGHT=525"; $DimensionsFooter = "WIDTH=700 HEIGHT=250"; break; }
Source: http://www.livejournal.com/community/php_dev/46594.html
|