![](https://forums.phpfreaks.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
zq29
-
Posts
2,752 -
Joined
-
Last visited
-
Days Won
1
Posts posted by zq29
-
-
Done.
-
Best PHP resource (bar the manual) on the internet, in my opinion
Welcome!
-
PayPal IPN
-
Have you looked into using array_intersect() ? It might help you out.
-
I'd go with arrays, only because it is less code...
-
I meant to point out if you want to be responsible for something you can't control (IE.. another host's service).
It's an area you don't want to be cheap with - You get what you pay for!
-
Just to offer some perspective, my company has a number of dedicated servers that we host all of our clients web projects on (that we have developed) and we charge them a monthly (automated) fee. They're all turning a profit for us.
There are a number of benefits doing it this way:
- We're making money for not much work (They're managed by our provider)
- We have control of the environment
- Our clients have a single point of contact
Admittedly, you wont start out by making a profit using this model, you're pretty much guaranteed you'll be paying for a large proportion of the monthly bill until you have a few more projects under your belt. It's all about foresight.
- We're making money for not much work (They're managed by our provider)
-
Apache is generally configured to only run files with the .php extension through the PHP interpreter. You can configure it to parse .html files too, but why waste system resources on files that aren't going to require it?
I guess there are a number of reasons, efficiency (as outlined above), ease of identifying a files content without opening it, files can automatically be opened in an application that supports it without a "middleman" checking the file first to find a suitable app based on its content, et cetera.
-
-
Wouldn't it just be something like this?
<?php $now = time(); $dob = strtotime("1985-12-16"); $diff = $now - $dob; $m = $diff / 60; $s = $diff % 60; $h = round($m / 60); $m = $m % 60; echo "Approx. $h Hours, $m Minutes, $s Seconds"; ?>
-
-
<?php $id = 1; echo str_pad($id,6,"0",STR_PAD_LEFT); //Outputs 000001 ?>
-
You can generate unique member ids using a MySQL auto_increment field, and build barcodes with the GD Library or use something like the pro version of JPGraph to generate the barcodes for you.
-
<?php $show = array('message','post','reply'); if(in_array($_GET['page'],$show)) { echo 'foo'; } ?>
-
could i make an if statement to somehow check if the user is viewing that page?
Yes, you could.
FYI, you will most likely run into validation issues using '>' outside of a tag - Use > instead
-
You could store the POST submissions in a session variable...
-
You're on the right track with your third suggestion. Look into Database Normalization.
-
Doesn't the EeePC come with Linux? If so Linux cannot run win32 code, unless you're running some form of emulator such as Wine.
Even then, I'd imagine it would be contained...
-
May I ask why you registered here and made this your first post, rather than posting over at the Ubuntu forums?
Though, on-topic - I'm upgrading to 8.10 as we speak, I generally don't upgrade this soon after release so fingers crossed!
-
If they say they want SEO but you've never worked with it don't tell them you can try; tell them that's fine and you can do it. It'll be up to you to figure it out, but you will come off a lot more confident to them.
That's not very good advice in my opinion. If you're unsure how to do something, you shouldn't give the impression that you can - This will backfire and make you look unprofessional.
If you don't know how to do something, tell them you will research it and get back to them.
-
I'm not saying cloud computing is bad. I'm just saying I'd rather prefer to have my own workstation instead of just a terminal. Another example, how would you do computer games? You wouldn't have enough resources to do that.
I was just about to bring up gaming.
Although thin clients most likely will become popular for basic computing tasks, I very much doubt they will replace the workstation.
Impossible or impractical on the cloud:
- Video editing
- Full HD media streaming
- Heavy image editing
- "Next-Gen" Gaming
- 3D Rendering
- Audio production
- GIS
I'm sure there is tonnes more. Plus we don't have anywhere near the amount of bandwidth available, neither is the network infrastructure being invested in enough by far.
- Video editing
-
Quite a mixture...
Air, Arctic Monkeys, Avril Lavigne, Black Sabbath, Christina Aguilera, Citizen Cope, DJ Shadow, Death Cab for Cutie, Etta James, Jimi Hendrix, John Mayer Trio, Jurassic 5, Led Zeppelin, Maceo Parker, Oasis, Pink Floyd, Prince, Radiohead, Rage Against the Machine, Ray Charles, Talib Kweli, Tenacious D, The Beatles, The Black Keys, The Hoosiers, The Roots, The White Stripes, The Wombats
...theres more, but I can't be arsed.
-
Just saw a link on the Google homepage, not sure when they're released over here in the UK - But taking a quick look at it, it doesn't look to be made very well... Looks like a toy!
I've no idea what the spec is on it, as I don't keep up to speed on these things, but have been hearing about it coming for a while now.
-
Advertisements on PHP Freaks
in PHPFreaks.com Website Feedback
Posted
Every time they load for me, they're advertising hosting - Isn't that going against the grain a bit for Server Powered / Web Host Freaks?