Re: [PHP] include_path, permissions question

2008-07-10 Thread Thodoris
O/H dg ??: Hello, I'd greatly appreciate some help with some problems I'm hitting. I have a site set up on a dev server and it works fine. In transferring it to the clients server, it's getting all weird. When I first transferred created files, the owner was "joe". And they worked fine

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 22:49 -0700, dg wrote: > On Jul 10, 2008, at 10:31 PM, Robert Cummings wrote: > > > http://www.interjinn.com/bleh/snapshot.20080711.png > > very kewl. Maybe I'll ask Rich Siegel to pose shirtless for my BBedit > background... > > I'm used to line numbers along the side, e

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread dg
On Jul 10, 2008, at 10:31 PM, Robert Cummings wrote: http://www.interjinn.com/bleh/snapshot.20080711.png very kewl. Maybe I'll ask Rich Siegel to pose shirtless for my BBedit background... I'm used to line numbers along the side, especially given all my errors, how do you zoom in on the

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 21:45 -0700, dg wrote: > > Be cool to see screenshots of people's set-ups. The light grey is the > only alteration I've ever made from BBedit's default settings. http://www.interjinn.com/bleh/snapshot.20080711.png Cheers, Rob. -- http://www.interjinn.com Application and

Re: [PHP] scalable web gallery

2008-07-10 Thread paragasu
> As long as all the servers use the > same physical path, then it's a no brainer. well, for now, it might look no brainer. but in the future, i can move the images to another servers with few changes on dns configurations (i think so).. On 7/11/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > On

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread dg
On Jul 10, 2008, at 9:33 PM, Robert Cummings wrote: On Thu, 2008-07-10 at 16:29 -0500, Philip Thompson wrote: On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: Is there any reason to pick a black background en white fonts in your editor (for example writability)? I think a black background is

Re: [PHP] how to change session timeout output text

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 20:08 -0500, Luis Cordova wrote: > I have been hunting for it for hours and seems like it is not there... > It should but do you know how can I trace to which file is it pointing > or what function? Is there anything close to debugging in php? I hope you're not using Winblows

Re: [PHP] scalable web gallery

2008-07-10 Thread Robert Cummings
On Fri, 2008-07-11 at 07:55 +0800, paragasu wrote: > what Robert suggest, is something exactly what the big-big photos > gallery out there used > to store their image. Distributing the image into many servers. But i > am not very sure, how > they store the image location information inside the dat

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 23:47 +0100, Colin Guthrie wrote: > Dan Joseph wrote: > > You could probably save even more if you didn't use those unneeded returns > > also: > > > > > aFunction($a,$b){if($a-$b<0){while($a+$b>0){if($c){$c++;}else{$c++;}}return > > 'negative';}else{return 'possitive';}} ?>

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 16:29 -0500, Philip Thompson wrote: > On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: > > > Is there any reason to pick a black background en white fonts in > > your editor (for example writability)? > > I think a black background is much easier on the eyes And on the

RE: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 12:06 -0500, Boyd, Todd M. wrote: > > -Original Message- > > From: Robert Cummings [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 10, 2008 11:24 AM > > To: Boyd, Todd M. > > Cc: Daniel Brown; php-general@lists.php.net > > Subject: Re: [PHP] OT - RE: [PHP] scalable

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 12:33 -0400, tedd wrote: > At 12:24 PM -0400 7/10/08, Robert Cummings wrote: > >On Thu, 2008-07-10 at 11:47 -0400, tedd wrote: > >> At 11:12 AM +0100 7/10/08, Colin Guthrie wrote: > >> >tedd wrote: > >> >>Just out of curiosity, what font and size do you ppls use for your >

Re: [PHP] how to change session timeout output text

2008-07-10 Thread Luis Cordova
I have been hunting for it for hours and seems like it is not there... It should but do you know how can I trace to which file is it pointing or what function? Is there anything close to debugging in php? Encouragements, On Thu, Jul 10, 2008 at 6:48 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > Luis

Re: [PHP] scalable web gallery

2008-07-10 Thread paragasu
what Robert suggest, is something exactly what the big-big photos gallery out there used to store their image. Distributing the image into many servers. But i am not very sure, how they store the image location information inside the database. But i like the idea of using imageUId to determine wh

Re: [PHP] Relocating and POSTing

2008-07-10 Thread M. Sokolewicz
Shawn McKenzie wrote: Daniel Brown wrote: On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: 1. Use the query string. Eg header('Location: http://www.xxx.com?name=value&name2=value2'); That's GET, not POST, as the subject requests. ;-P 2. Use sessions

Re: [PHP] include_path, permissions question

2008-07-10 Thread Jim Lucas
dg wrote: Hello, I'd greatly appreciate some help with some problems I'm hitting. I have a site set up on a dev server and it works fine. In transferring it to the clients server, it's getting all weird. When I first transferred created files, the owner was "joe". And they worked fine. Wh

Re: [PHP] how to change session timeout output text

2008-07-10 Thread Jim Lucas
Luis Cordova wrote: A message "Session timeout! Please relogin again." appears after the session expires. I was looking in the php where can I: 1. modify the above text message 2. redirect after some seconds to another page. But I could not find anything in my code to do that. How can I

[PHP] include_path, permissions question

2008-07-10 Thread dg
Hello, I'd greatly appreciate some help with some problems I'm hitting. I have a site set up on a dev server and it works fine. In transferring it to the clients server, it's getting all weird. When I first transferred created files, the owner was "joe". And they worked fine. When I repub

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Colin Guthrie
Dan Joseph wrote: You could probably save even more if you didn't use those unneeded returns also: 0){if($c){$c++;}else{$c++;}}return 'negative';}else{return 'possitive';}} ?> I think that's still perfectly legible. And that looks like a suspiciously unnecessary " ?>" at the end there I

[PHP] how to change session timeout output text

2008-07-10 Thread Luis Cordova
A message "Session timeout! Please relogin again." appears after the session expires. I was looking in the php where can I: 1. modify the above text message 2. redirect after some seconds to another page. But I could not find anything in my code to do that. How can I do this? Any hints,

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 5:29 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: > >> Is there any reason to pick a black background en white fonts in your >> editor (for example writability)? > > I think a black background is much easier on the eyes

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Philip Thompson
On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: Is there any reason to pick a black background en white fonts in your editor (for example writability)? I think a black background is much easier on the eyes ~Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Omar Noppe
Is there any reason to pick a black background en white fonts in your editor (for example writability)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Shawn McKenzie
Daniel Brown wrote: On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: 1. Use the query string. Eg header('Location: http://www.xxx.com?name=value&name2=value2'); That's GET, not POST, as the subject requests. ;-P 2. Use sessions if you're not trying t

FW: [PHP] Relocating and POSTing

2008-07-10 Thread Alex Chamberlain
I've solved the problem by using a query string - whilst it is the same domain now - it won't always be and I a silly moment trying to POST data with the redirect! Thanks for the help, Alex > -Original Message- > From: Eric Butera [mailto:[EMAIL PROTECTED] > Sent: 10 July 2008 20:12 >

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Eric Butera
On Thu, Jul 10, 2008 at 2:58 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: >> >> 1. Use the query string. Eg >> >> header('Location: http://www.xxx.com?name=value&name2=value2'); > >That's GET, not POST, as the subject re

RE: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Jay Blanchard
[snip] ... [/snip] 220, 221whatever it takes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Eric Butera
On Thu, Jul 10, 2008 at 2:43 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > I think if you don't use indentation and unneeded spaces, you could save > lots of space too... > > function aFunction($a,$b) > { > if($a-$b<0){ > while($a+$b>0){ > if($c){ > $c++; > }else{ > $c++; > } > } > return 'nega

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Dan Joseph
On Thu, Jul 10, 2008 at 2:43 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > On Jul 10, 2008, at 9:53 AM, Jason Pruim wrote: > > On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote: >> >> Daniel Brown wrote: >>> On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote: >

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: > > 1. Use the query string. Eg > > header('Location: http://www.xxx.com?name=value&name2=value2'); That's GET, not POST, as the subject requests. ;-P > 2. Use sessions if you're not trying to POST the data a

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Philip Thompson
On Jul 10, 2008, at 9:53 AM, Jason Pruim wrote: On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote: Daniel Brown wrote: On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 2:20 PM, Alex Chamberlain <[EMAIL PROTECTED]> wrote: > I need to send a header('Location:') and send some data along with it - > how would I do this?? You probably want to use cURL: http://php.net/curl -- Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Richard Heyes
Alex Chamberlain wrote: I need to send a header('Location:') and send some data along with it - how would I do this?? Two methods: 1. Use the query string. Eg header('Location: http://www.xxx.com?name=value&name2=value2'); 2. Use sessions -- Richard Heyes Employ me: http://www.phpguru.

Re: [PHP] simplexml

2008-07-10 Thread Nathan Nobbe
On Thu, Jul 10, 2008 at 10:55 AM, Nate Tallman < [EMAIL PROTECTED]> wrote: > You have to handle the html special chars. > > & == & and if you use the SimpleXMLElement constructor, it will throw an exception, rather than just return false, which is useful, because it tells you what went wrong. -

[PHP] Relocating and POSTing

2008-07-10 Thread Alex Chamberlain
I need to send a header('Location:') and send some data along with it - how would I do this?? Thanks, Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.4.7/1544 - Release Date: 10/07/2008 07:37

RE: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Boyd, Todd M.
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2008 11:24 AM > To: Boyd, Todd M. > Cc: Daniel Brown; php-general@lists.php.net > Subject: Re: [PHP] OT - RE: [PHP] scalable web gallery > > On Thu, 2008-07-10 at 10:18 -0500, Boyd, Todd M. wr

Re: [PHP] What font/size do you use for programming?

2008-07-10 Thread T Lensselink
tedd wrote: > Hi gang: > > I'm running a Mac (so I know mine is a bit different size wise) but > I'm currently using Veranda at 14 point for coding. > > Just out of curiosity, what font and size do you ppls use for your > programming? > > Cheers, > > tedd > Envy Code R (Still in beta i believe) 10p

Re: [PHP] simplexml

2008-07-10 Thread Nate Tallman
You have to handle the html special chars. & == & On Thu, Jul 10, 2008 at 10:59 AM, Joakim Ling <[EMAIL PROTECTED]> wrote: > Hi > > > > I'm using simplexml to create some xml files. > > Here's a stripped example, how can I get this to work? Tried millions > different ways still no joy. > > > >

Re: [PHP] simplexml

2008-07-10 Thread Nate Tallman
You have to handle the html special chars. & == & On Thu, Jul 10, 2008 at 10:59 AM, Joakim Ling <[EMAIL PROTECTED]> wrote: > Hi > > > > I'm using simplexml to create some xml files. > > Here's a stripped example, how can I get this to work? Tried millions > different ways still no joy. > > > >

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread tedd
At 9:40 AM -0500 7/10/08, Philip Thompson wrote: On Jul 10, 2008, at 4:07 AM, Peter Ford wrote: I'm using Lucida Sans for code these days - I finally figured that it didn't really have to be a fixed-width font, since I couldn't find one that wasn't ugly. Are you sure you're a *coder*? =D I've

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 11:47 -0400, tedd wrote: > At 11:12 AM +0100 7/10/08, Colin Guthrie wrote: > >tedd wrote: > >>Just out of curiosity, what font and size do you ppls use for your > >>programming? > > > >I've got a lot of projects so I always use a really small font to > >save on disk space...

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 10:18 -0500, Boyd, Todd M. wrote: > > -Original Message- > > From: Daniel Brown [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 10, 2008 9:42 AM > > To: paragasu > > Cc: php-general@lists.php.net > > Subject: Re: [PHP] scalable web gallery > > ---8<--- snip > > >

[PHP] simplexml

2008-07-10 Thread Joakim Ling
Hi I'm using simplexml to create some xml files. Here's a stripped example, how can I get this to work? Tried millions different ways still no joy. '); $root = $xml->addChild('tests'); $root->addChild('test', 'test & test'); echo $xml->asXML(); ?> // cheers jo

Re: [PHP] scalable web gallery

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 15:46 +0800, paragasu wrote: > i am planning to create a web photo gallery. i know there is a lot > available out there, > but i really want to create my own. the problem is not about creating > the photo gallery. > i want it to be scalable. > > the plan is saving the image m

Re: [PHP] CURL de-bugging: So why am I not getting the results page on the target site?

2008-07-10 Thread ioannes
I would like someone to help me on this outside the group discussion. Is there anyone out there that would look at a curl problem with me? Thanks, John ioannes wrote: My current theory on this is that the initial input page creates a per-session cookie. Is CURL able to send this when the pa

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread tedd
At 12:24 PM -0400 7/10/08, Robert Cummings wrote: On Thu, 2008-07-10 at 11:47 -0400, tedd wrote: At 11:12 AM +0100 7/10/08, Colin Guthrie wrote: >tedd wrote: >>Just out of curiosity, what font and size do you ppls use for your >>programming? > >I've got a lot of projects so I always use a

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread tedd
At 10:07 AM +0100 7/10/08, Peter Ford wrote: tedd wrote: Hi gang: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? Cheers, tedd I'd lo

[PHP] cookie encoding/decoding

2008-07-10 Thread Jeff Demel
I have a situation where a cookie is being set elsewhere on a site by ASP.NET, and I want to read it in my PHP. However, when getting a cookie in PHP, it does an automatic urldecode (or some kind of decoding). Since the cookie is entered in its pure form, with no encoding, on the ASP.NET side, PH

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread tedd
At 11:12 AM +0100 7/10/08, Colin Guthrie wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really small font to save on disk space Col LOL Why is it that I always have to read your post twic

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Dan Joseph
On Thu, Jul 10, 2008 at 10:53 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote: > > Daniel Brown wrote: >> >>> On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie <[EMAIL PROTECTED]> >>> wrote: >>> tedd wrote: > Just out of curiosity, what

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 10:53 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > No wonder my files are so large... I have been saving them at 20 point > type... Easier to read from aways away :P aways = 37.126 feet ;-P -- Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $

Re: [PHP] PHP code will not work

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 11:07 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: >>$_ENV > >>$_SERVER > > $_ENV and $_SERVER are. Though their contents are doubtless different. Proof that old dogs can learn new tricks. As n00b and fundamental as it may be, I took for granted that th

[PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Boyd, Todd M.
> -Original Message- > From: Daniel Brown [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2008 9:42 AM > To: paragasu > Cc: php-general@lists.php.net > Subject: Re: [PHP] scalable web gallery ---8<--- snip > And for the record, in the "olden days," there was a limit of > about 20

Re: [PHP] PHP code will not work

2008-07-10 Thread Richard Heyes
$_ENV >$_SERVER $_ENV and $_SERVER are. Though their contents are doubtless different. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Jason Pruim
On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote: Daniel Brown wrote: On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really sm

RE: [PHP] phpmyadmin

2008-07-10 Thread Will Fitch
This is more of a SQL question that PHP. If you want to grant all privileges to abc to database xyz (minus GRANT), you should run these queries: CREATE DATABASE xyz; GRANT ALL PRIVILEGES ON xyz.* TO 'abc'@'somehost' IDENTIFIED BY 'somepassword'; -Original Message- From: Ronald Wiplinge

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Colin Guthrie
Daniel Brown wrote: On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really small font to save on disk space That doesn't

Re: [PHP] scalable web gallery

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 3:46 AM, paragasu <[EMAIL PROTECTED]> wrote: > > the plan is saving the image metadata in the database and keep the > original files > in a folder. while it work perfectly, i afraid how many files 1 > directory can keep. > in 1 year, there going to be more than 1000 photo up

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Philip Thompson
On Jul 10, 2008, at 4:07 AM, Peter Ford wrote: tedd wrote: Hi gang: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? Cheers, tedd I'd lov

Re: [PHP] phpmyadmin

2008-07-10 Thread Wolf
Ronald Wiplinger <[EMAIL PROTECTED]> wrote: > I would like to use this time phpmyadmin (2.11.3) to setup for a new > user a database, which he can use to setup his own tables for his web site. > > User abc should get his own database xyz. Yup, you can do this. Depending on how you are set

Re: [PHP] PHP code will not work

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 2:15 AM, Ted Wood <[EMAIL PROTECTED]> wrote: > > PHP at the command line doesn't run within a web server environment. Correct. EGPCS is inaccessible via the CLI (unless you force-populate the variables and arrays). Only via a web server will you have access to:

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote: > tedd wrote: >> >> Just out of curiosity, what font and size do you ppls use for your >> programming? > > I've got a lot of projects so I always use a really small font to save on > disk space That doesn't work, dum

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 5:07 AM, Peter Ford <[EMAIL PROTECTED]> wrote: >> >> I'm running a Mac (so I know mine is a bit different size wise) but I'm >> currently using Veranda at 14 point for coding. > > I'd love to be coding on the Veranda, but it's raining horizontally at the > moment and my keyb

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 9:46 AM, Eric Butera <[EMAIL PROTECTED]> wrote: > Here's how I roll. :) Consolas is the font. > > http://refraxion.com/pdt-eclipse.png Reminds me of Comic Sans Bold. ;-P -- Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no con

[PHP] phpmyadmin

2008-07-10 Thread Ronald Wiplinger
I would like to use this time phpmyadmin (2.11.3) to setup for a new user a database, which he can use to setup his own tables for his web site. User abc should get his own database xyz. I am not sure if I did it correct, and if it is safe to do so: A == 1. I created an empty database xyz (main

Re: [PHP] Need help with regular expression

2008-07-10 Thread Eric Butera
On Wed, Jul 9, 2008 at 5:21 AM, Maxim Antonov <[EMAIL PROTECTED]> wrote: > Hi, all! > > I try to use folowing regular expression: > $out = > preg_replace('#\{%%%.*?\{%bigfoto%\}.*?%%%\}#is','==REPLACEMENT==',$str); > > It not work as I need. Please tell me - what I do wrong? > > I have string: > >

Re: [PHP] Need help with regular expression

2008-07-10 Thread Al
Your description of the problem is confusing. Do you simply want to delete a table row if it contains a variable, e.g., $var='bigfoto' and append "==REPLACEMENT==" ? Where $var can be anything you assign. Maxim Antonov wrote: Hello. But I need no td and tr inside regular expression It is a

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Eric Butera
Here's how I roll. :) Consolas is the font. http://refraxion.com/pdt-eclipse.png -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Modbus

2008-07-10 Thread Tom Chubb
Hi List, Has anyone on this list had any application experience of polling Modbus devices with PHP? Thanks

RE: [PHP] Need help with regular expression

2008-07-10 Thread Boyd, Todd M.
> -Original Message- > From: Maxim Antonov [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2008 4:24 AM > To: php-general@lists.php.net; Daniel Brown > Subject: Re: [PHP] Need help with regular expression > > Hello. > > But I need no td and tr inside regular expression > It is a part

Re: [PHP] scalable web gallery

2008-07-10 Thread paragasu
Another solution that is better if you are not willing to categorize the images is to divide them by date. You may include a date or date-time field in the database that describes the creation date of the image (or the upload date if you like) and divide the images into directories per month or pe

[PHP] Error handling, apache and ErrorDocument

2008-07-10 Thread Daniele Grillenzoni
Hi, I'm having trouble with a framework I'm developing, apparently when a non-catchable error occurs (E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING types) not only I can't fire up my error handling function, I can't even display the static html page I set wit

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Colin Guthrie
tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really small font to save on disk space Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] scalable web gallery

2008-07-10 Thread Per Jessen
paragasu wrote: > i am planning to create a web photo gallery. i know there is a lot > available out there, but i really want to create my own. the problem > is not about creating the photo gallery. > i want it to be scalable. The first question is - how scalable? How many photos and how many u

Re: [PHP] Need help with regular expression

2008-07-10 Thread Maxim Antonov
Hello. But I need no td and tr inside regular expression It is a part of my templater. In real code it looks like: if(strlen($item[$key])<1){ return preg_replace('#\{%%%.*?\{%'.$key.'%\}.*?%%%\}#is','',$tpl); } if one of $key inside {%%% %%%} points to emp

[PHP] Re: Logic sought

2008-07-10 Thread Peter Ford
tedd wrote: Hi gang: Here's the logic problem. First the site: http://php1.net/b/zip-files/ Now, the site works well enough. The user selects what they want, clicks Submit, the order is assembled in zip file and presented to the user for downloading. However, as it stands now, before the

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Peter Ford
tedd wrote: Hi gang: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? Cheers, tedd I'd love to be coding on the Veranda, but it's raini

Re: [PHP] scalable web gallery

2008-07-10 Thread Thodoris
O/H paragasu ??: i am planning to create a web photo gallery. i know there is a lot available out there, but i really want to create my own. the problem is not about creating the photo gallery. i want it to be scalable. the plan is saving the image metadata in the database and keep the orig

Re: [PHP] scalable web gallery

2008-07-10 Thread mike
On 7/10/08, paragasu <[EMAIL PROTECTED]> wrote: > i am planning to create a web photo gallery. i know there is a lot > available out there, > but i really want to create my own. the problem is not about creating > the photo gallery. > i want it to be scalable. > > the plan is saving the image metad

AW: [PHP] scalable web gallery

2008-07-10 Thread Andreas J.
>> in 1 year, there going to be more than 1000 photo uploaded or more. That isn’t really much. A directory can held much more than a few thousand files. They use more than one Server because 1 Server can't handle the load. The don’t do that because of limited File system. But the file system may

Re: [PHP] Pear DB

2008-07-10 Thread Lester Caine
John Comerford wrote: Hi Folks, I have just successfully lobbied for the company I work for to use PHP/MySQL for our next website. My Question is regarding DB abstraction . I know there is a Pear DB module, is this the best to use ? I have a vague memory of reading somewhere that there is

[PHP] scalable web gallery

2008-07-10 Thread paragasu
i am planning to create a web photo gallery. i know there is a lot available out there, but i really want to create my own. the problem is not about creating the photo gallery. i want it to be scalable. the plan is saving the image metadata in the database and keep the original files in a folder.

RE: [PHP] Pear DB

2008-07-10 Thread Alex Chamberlain
> Hi Folks, > > I have just successfully lobbied for the company I work for to use > PHP/MySQL for our next website. My Question is regarding DB abstraction > . I know there is a Pear DB module, is this the best to use ? I have a > vague memory of reading somewhere that there is a newer lib o

Re: [PHP] Pear DB

2008-07-10 Thread Larry Garfield
PEAR::DB was deprecated years ago. Do not use it. PEAR::MDB2 is the preferred PEAR wrapper these days. Personally, I skip them both and prefer to go straight to PDO, available in PHP 5. http://www.php.net/pdo On Thursday 10 July 2008 1:47:34 am John Comerford wrote: > Hi Folks, > > I ha

Re: [PHP] Pear DB

2008-07-10 Thread Jason Norwood-Young
On Thu, 2008-07-10 at 16:47 +1000, John Comerford wrote: > Hi Folks, > > I have just successfully lobbied for the company I work for to use > PHP/MySQL for our next website. My Question is regarding DB abstraction > . I know there is a Pear DB module, is this the best to use ? I have a > va