php-general Digest 6 Aug 2008 20:42:28 -0000 Issue 5610

2008-08-06 Thread php-general-digest-help
php-general Digest 6 Aug 2008 20:42:28 - Issue 5610 Topics (messages 277758 through 27): Re: A specific(ish) request 277758 by: Richard Heyes 277762 by: Richard Heyes 277763 by: Per Jessen 277764 by: Richard Heyes iconv utf-8 to ucs-2 the endian not same

Re: [PHP] A specific(ish) request

2008-08-06 Thread Per Jessen
Richard Heyes wrote: Anything else I may have missed A backup script? :-) /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A specific(ish) request

2008-08-06 Thread Richard Heyes
Anything else I may have missed A backup script? :-) Lol. Point taken. II hink I may have finally got through to 1and1 though, I'm downloading my site now. Fingers crossed. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] iconv utf-8 to ucs-2 the endian not same

2008-08-06 Thread kimshell
Greetings! I used the iconv function translate UTF-8 to UCS-2 format but the endian of results not the same between Linux and Windows. Is there some way to configure and make the OS environment irrelevant to the result. thanks for your help. :P -- get along unaided. -- PHP General Mailing

Re: [PHP] Newbie problem: Php script not running in browser.

2008-08-06 Thread V S Rawat
On 8/6/2008 2:58 AM India Time, _Andrew Ballard_ wrote: On Tue, Aug 5, 2008 at 3:05 PM, V S Rawat [EMAIL PROTECTED] wrote: I have put the first php script to hello.php file: html head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html I am on xpsp3, wampserver

RE: [PHP] Newbie problem: Php script not running in browser.

2008-08-06 Thread Chetan Rane
Hi You need to check if your Apache is up and running do the following Right click on My Computer and select manage Next click on Services and Applications After that Click on Services And check if Apache is running Chetan Dattaram Rane | Software Engineer | Persistent Systems [EMAIL

Re: [PHP] A specific(ish) request

2008-08-06 Thread Richard Heyes
Hi, Well, seems I may have my site after all, so it's just a case of getting it up and running. My sincere thanks to those who have helped. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A specific(ish) request

2008-08-06 Thread Per Jessen
Richard Heyes wrote: Hi, Well, seems I may have my site after all, so it's just a case of getting it up and running. My sincere thanks to those who have helped. Ah, that's better. Good stuff, Richard. Now, about that backup-script ... /Per Jessen, Zürich -- PHP General Mailing List

Re: [PHP] A specific(ish) request

2008-08-06 Thread Richard Heyes
Now, about that backup-script ... Yes, think I may be getting me one of those... :-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: An appeal to your better nature

2008-08-06 Thread Chris Haensel
-Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 1:34 AM To: Ross McKay Cc: php-general@lists.php.net Subject: Re: [PHP] Re: An appeal to your better nature On Tue, Aug 5, 2008 at 7:28 PM, Ross McKay [EMAIL PROTECTED] wrote: Problems I

[PHP] being professional about IT. (was: An appeal to your better nature)

2008-08-06 Thread Per Jessen
Chris Haensel wrote: I never thought someone seriously would go the whole way from dev, test and prod servers AND use all the version control stuff. Oh, it's done quite a lot, I can assure you. And being a good IT professional to me means: know what you're doing, and take the hits you

RE: [PHP] being professional about IT. (was: An appeal to your better nature)

2008-08-06 Thread Chris Haensel
Chris Haensel wrote: I never thought someone seriously would go the whole way from dev, test and prod servers AND use all the version control stuff. Oh, it's done quite a lot, I can assure you. And being a good IT professional to me means: know what you're doing, and take the hits you get.

[PHP] make fails - PHP 5.2.6

2008-08-06 Thread Rees, Chris
Environment AIX 5.3 PHP 5.2.6 I'm trying to install PHP (1st time user so bear with me). Here is what I've done tar -xvf php-5.2.6.tar cd php-5.2.6 ../configure -with-apx2=/usr/local/apache2/bin/apxs make The make fails after a short time with /bin/sh

RE: [PHP] Newbie problem: Php script not running in browser.

2008-08-06 Thread Chetan Rane
Can you please check what the Document Root in http.conf Chetan Dattaram Rane | Software Engineer | Persistent Systems [EMAIL PROTECTED] | Cell: +91 94033 66714 | Tel: +91 (0832) 30 79014 Innovation in software product design, development and delivery- www.persistentsys.com -Original

Re: [PHP] Re: An appeal to your better nature

2008-08-06 Thread Ross McKay
Chris Haensel wrote: I never thought someone seriously would go the whole way from dev, test and prod servers [...] Really? You've never: * developed locally on your own server * uploaded to a published site, not the client's live site, for preview * uploaded the approved changes to the

[PHP] RSS Feed using PHP/MySQL errors

2008-08-06 Thread Don Mak
Trying to create an articles rss feed for my site and I keep getting an error that says: = A semi colon character was expected. Line: 7 Character: 60 linkhttp://www.chirunning.com/shop/pages.php?pageid=19id=383/link = I've tried every way imaginable to figure out why I am getting this

Re: [PHP] Re: An appeal to your better nature

2008-08-06 Thread Richard Heyes
Maybe if Richard picks up some proven software development procedures like those simple ones mentioned, he won't be bitten like this again. Maybe you won't be bitten likewise, unless you'd prefer to take umbrage at offers of advice you don't like. I just want to point out that I don't need to

Re: [PHP] Newbie problem: Php script not running in browser.

2008-08-06 Thread V S Rawat
On 8/6/2008 4:20 PM India Time, _Chetan Rane_ wrote: Hi You need to check if your Apache is up and running do the following Right click on My Computer and select manage Next click on Services and Applications After that Click on Services And check if Apache is running Yeah, that is

Re: [PHP] Newbie problem: Php script not running in browser.

2008-08-06 Thread V S Rawat
On 8/6/2008 7:28 PM India Time, _Chetan Rane_ wrote: Can you please check what the Document Root in http.conf windows explorer search didn't threw any file matching http.conf. The file E:\wamp\bin\apache\apache2.2.8\conf\httpd.conf has # DocumentRoot: The directory out of which you will

RE: [PHP] Re: An appeal to your better nature

2008-08-06 Thread Robert Cummings
On Wed, 2008-08-06 at 14:59 +0200, Chris Haensel wrote: -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 1:34 AM To: Ross McKay Cc: php-general@lists.php.net Subject: Re: [PHP] Re: An appeal to your better nature On Tue, Aug 5,

Re: [PHP] An appeal to your better nature

2008-08-06 Thread tedd
At 9:11 AM -0400 8/5/08, Daniel Brown wrote: On Tue, Aug 5, 2008 at 8:53 AM, Aschwin Wesselius [EMAIL PROTECTED] wrote: I wouldn't like to loose my stuff, but I can't afford much for the best solutions either. It's not that my job depends on it, but personal data is a big loss too.

[PHP] Version Control Software

2008-08-06 Thread Benjamin Darwin
After reading a topic on the list here about someone losing their website, and having a minor mistake on my own that cost me a week's work on a file (basically, tested the file, then uploaded to the live site and took the daily backup off the live site.. only to find the file was messed up.. and

[PHP] [scalability, performance, DoS] To or not to process images at runtime

2008-08-06 Thread Marcelo de Moraes Serpa
Hello, My next project will be a kind of online photo viewer. All of these photos will need to have watermark applied to them. The problem is that, depending on the picture, different watermarks need to be applied. The easiest solution would be to process these picture at runtime using GD, apply

Re: [PHP] Version Control Software

2008-08-06 Thread Waynn Lue
Does subversion meet your needs? You can check out a working copy that's your dev copy, then check in changes and push to production whenever you want. Waynn On 8/6/08, Benjamin Darwin [EMAIL PROTECTED] wrote: After reading a topic on the list here about someone losing their website, and

[PHP] Re: Variable number of parameters

2008-08-06 Thread Shawn McKenzie
Philip Thompson wrote: Is it possible to grab a variable number of parameters and send the appropriate amount to another function? ?php // Some class $this-db-prepare(SELECT * FROM `table` WHERE (`id`=?)); $this-db-bind('ii', $id1); $this-db-prepare(SELECT * FROM `table` WHERE (`id`=? AND

[PHP] Re: Version Control Software

2008-08-06 Thread Shawn McKenzie
Benjamin Darwin wrote: After reading a topic on the list here about someone losing their website, and having a minor mistake on my own that cost me a week's work on a file (basically, tested the file, then uploaded to the live site and took the daily backup off the live site.. only to find the

[PHP] Re: PHP Brain Teasers

2008-08-06 Thread tedd
At 12:51 PM -0400 8/5/08, Daniel Brown wrote: On Tue, Jun 26, 2007 at 1:44 PM, Daniel Brown [EMAIL PROTECTED] wrote: Try to use some really common phrases that all of us around the world should recognize, but feel free to get really elaborate with the code. function

Re: [PHP] An appeal to your better nature

2008-08-06 Thread Børge Holen
On Wednesday 06 August 2008 20:00:50 tedd wrote: At 9:11 AM -0400 8/5/08, Daniel Brown wrote: On Tue, Aug 5, 2008 at 8:53 AM, Aschwin Wesselius [EMAIL PROTECTED] wrote: I wouldn't like to loose my stuff, but I can't afford much for the best solutions either. It's not that my job depends

[PHP] Uploading Large Files - Strange Issue

2008-08-06 Thread Anna Vester
Hello group, I have a very strange issue coming up when uploading large files ( about 30MB). The problem is it works fine on my computer (and two others that I've tested), but it doesn't work on my client's laptop. It comes up with error code - 0 (which is upload successful), but the actual file

[PHP] Re: Version Control Software

2008-08-06 Thread Colin Guthrie
Benjamin Darwin wrote: Anybody have any suggestons/ideas on how this should be done, and what program is a good fit? Personally I think subversion is best suited for web projects (which can have high graphics churn) and git is best suited for code projects (which have text differences).

[PHP] Re: Version Control Software

2008-08-06 Thread Ross McKay
On Wed, 6 Aug 2008 16:42:23 -0400, Benjamin Darwin wrote: [...] I'm wondering if anybody knows of a version control software program that may fit my needs. Basically, I'm looking for something that runs locally, not on the live site, that I can edit the files on the dev computer, and store old

[PHP] Re: An appeal to your better nature

2008-08-06 Thread Shawn McKenzie
Richard Heyes wrote: Hi, Seems my 1and1 server has finally gone kaput taking my website with it, and in the tradition of all good IT professionals, I have no backups. :( So this is an appeal to you to ask if you have downloaded anything from phpguru.org at all, could you please send it to me so

Re: [PHP] An appeal to your better nature

2008-08-06 Thread Robert Cummings
On Thu, 2008-08-07 at 00:46 +0200, Børge Holen wrote: On Wednesday 06 August 2008 20:00:50 tedd wrote: At 9:11 AM -0400 8/5/08, Daniel Brown wrote: On Tue, Aug 5, 2008 at 8:53 AM, Aschwin Wesselius [EMAIL PROTECTED] wrote: I wouldn't like to loose my stuff, but I can't afford much

Re: [PHP] Re: Version Control Software

2008-08-06 Thread Robert Cummings
On Thu, 2008-08-07 at 09:43 +1000, Ross McKay wrote: On Wed, 6 Aug 2008 16:42:23 -0400, Benjamin Darwin wrote: [...] I'm wondering if anybody knows of a version control software program that may fit my needs. Basically, I'm looking for something that runs locally, not on the live site,

RE: [PHP] Uploading Large Files - Strange Issue

2008-08-06 Thread Jay Blanchard
[snip] I have a very strange issue coming up when uploading large files ( about 30MB). The problem is it works fine on my computer (and two others that I've tested), but it doesn't work on my client's laptop. It comes up with error code - 0 (which is upload successful), but the actual file is not

RE: [PHP] Uploading Large Files - Strange Issue

2008-08-06 Thread Anna Vester
[snip] -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 9:44 PM To: Anna Vester; php-general@lists.php.net Subject: RE: [PHP] Uploading Large Files - Strange Issue It is likely that it is not PHP causing the issue. What browser is he