Re: [PHP] new lines in textareas?

2008-03-30 Thread jeffry s
On Mon, Mar 31, 2008 at 12:40 AM, Paul Scott <[EMAIL PROTECTED]> wrote: > > On Sun, 2008-03-30 at 12:29 -0400, tedd wrote: > > At 9:26 PM -0700 3/29/08, Mary Anderson wrote: > > >Hi all, > > >I have a php script which produces text which is to be displayed > > >in a textarea. I have the wrap

Re: [PHP] new lines in textareas?

2008-03-30 Thread jeffry s
On Sun, Mar 30, 2008 at 2:07 PM, TG <[EMAIL PROTECTED]> wrote: > > Is \n included literally because you're using single quotes for the > variable? > > $textdata = 'This is a test\nThis is the second line'; > > vs... > > $textarea = "This is a test\nThis is the second line"; > > I would guess a lot

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread jeffry s
On Thu, Mar 27, 2008 at 7:28 AM, Al <[EMAIL PROTECTED]> wrote: > Depends on the server and it's load. I've strung together some rather > large html strings and they > aways take far less time than the transient time on the internet. I used > to use OB extensively until > one day I took the time t

Re: [PHP] Re: algorithm of pages beaking

2008-03-19 Thread jeffry s
On Thu, Mar 20, 2008 at 7:35 AM, George J <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to resolve an issue with a pagination routine. Sounds like > we're > working on a similar routine. I have a query returning products from a > database and then display the results in a defined number of produ

Re: [PHP] Re: selling gpl software?

2008-03-19 Thread jeffry s
On Thu, Mar 20, 2008 at 1:19 AM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Wed, Mar 19, 2008 at 1:13 PM, jeffry s <[EMAIL PROTECTED]> wrote: > > > > forgive me for my stupidness. i am quite confuse with law thing > > and gpl, gplv2 and gplv3 or gnu proven hard

Re: [PHP] Re: selling gpl software?

2008-03-19 Thread jeffry s
On Thu, Mar 20, 2008 at 1:02 AM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Wed, Mar 19, 2008 at 12:55 PM, Colin Guthrie <[EMAIL PROTECTED]> > wrote: > > > > IANAL so apologies if I've gotten anything wrong here. > > Yes, we know you're anal. ;-P > >In all seriousness, looks like you g

[PHP] selling gpl software?

2008-03-19 Thread jeffry s
i know it is forbidden to sell open source software. let say i have costumer want me to modified an open source php script. i have the right to charge him the service to modified the software. but this costumer ask me to do one thing against the gpl software. he want me to remove all the link an

Re: [PHP] Fastest way to get table records' number

2008-03-19 Thread jeffry s
On Wed, Mar 19, 2008 at 10:57 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote: > On Wed, Mar 19, 2008 at 10:53 AM, tedd <[EMAIL PROTECTED]> wrote: > > > > > > > > > At 10:35 AM -0400 3/19/08, Nathan Nobbe wrote: > > >On Wed, Mar 19, 2008 at 9:42 AM, Andrew Ballard <[EMAIL PROTECTED]> > wrote: > > > >

Re: [PHP] General use of rewrite / redirect

2008-03-18 Thread jeffry s
On Tue, Mar 18, 2008 at 9:22 PM, Aschwin Wesselius <[EMAIL PROTECTED]> wrote: > Per Jessen wrote: > > Yes, that's a very typical setup. When the form is processed, you send > > a 303 redirect to the "Thank you" page. That way, if the user hits > > the "back" arrow, he's taken back to the form UR

Re: [PHP] save image in database vs folder

2008-03-11 Thread jeffry s
thanks Richard .. sorry dev.. i don't know this subject is quite sensitive here :( > I think I'm gonna dive into the archives then. To see for myself what > left such a scars upon that subject. i guess, i have to prepare my oxygen tank to dive into the archives. i am quite curious to find out wha

[PHP] save image in database vs folder

2008-03-11 Thread jeffry s
some friend of mine ague about this matter, this morning. they say, saving image in database is more professional. I am not really agree with that,since i am just a novice programmer. i am asking senior php programmer what you opinion about this? which one is better. save in database or in folder?

Re: [PHP] Sending SMS via PHP

2008-02-26 Thread jeffry s
i wonder how kannel.org work? do i need the specific device. i need the sim card form the phone company provider right? On Thu, Feb 21, 2008 at 4:18 PM, Per Jessen <[EMAIL PROTECTED]> wrote: > Paul Scott wrote: > > > What you need to do is ask yourself whether you are going to do high > > volume

Re: [PHP] Re: insert text with no specific format into database table

2008-02-26 Thread jeffry s
thank you all. it is a great help.. On Tue, Feb 26, 2008 at 1:15 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Shawn McKenzie wrote: > > jeffry s wrote: > >> i have text file and a table created with > >> > >> create table word( > >> id

[PHP] insert text with no specific format into database table

2008-02-25 Thread jeffry s
i have text file and a table created with create table word( id int not null auto_increment primary key, word varchar(50), definition text ) the text contain list of words but not really in specific format word, some text definition word, some text definition, some text definition, etc i want

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread jeffry s
can you tell me more about mod_rewrite? On Feb 4, 2008 10:52 AM, Richard Lynch <[EMAIL PROTECTED]> wrote: > > > On Sun, February 3, 2008 1:20 am, jeffry s wrote: > > i am wondering whether this can be done. i know it can. > > is it possible to make one website with t

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread jeffry s
.bigspacehosting.com > > > On Feb 3, 2008 2:20 PM, jeffry s <[EMAIL PROTECTED]> wrote: > > > i am wondering whether this can be done. i know it can. > > is it possible to make one website with the ability to host multiple > > website. > > it is somethi

[PHP] how to make multiple website on one host

2008-02-02 Thread jeffry s
i am wondering whether this can be done. i know it can. is it possible to make one website with the ability to host multiple website. it is something like website generator. eg: www.shopify.org let say for example i have a website www.example.org. i can point a domain name (www.example1.org) to th

[PHP] how to display photos of the day?

2008-01-29 Thread jeffry s
sorry if this question sound stupid. i need a good, simple and efficient function to display lets say photo of the day. i have a mysql table contain data about 1000 rows. i want to display any of the photos randomly and it is fixed for one day. anyone know how to write the function that return a

[PHP] generate letter combination..

2007-06-26 Thread jeffry s
i made a mistake when i say i can solve this problem to a friend. finally i realize it is not as simple as i appear to be. what he ask me to do is write a simple script that, given a word.. the script will generate a list of words combinaton from the each character in in that word. i am tired thi

[PHP] weird. iceweasel crash my laptop after i use costum sessions

2007-06-11 Thread jeffry s
i am using my laptop with PHP 4+ and mysql 5+, everything start to be weird after i implement my costume sessions (storing in database). i only use one database connection for the whole website. what i mean is, the session and every query connect to mysqlserver using the same user. I am not sure