RE: [PHP] How can I write in a loop??

2002-06-28 Thread sunny AT wde
ve got? If so, line 11 shouldn't > be there > > -----Original Message- > From: sunny AT wde [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 28, 2002 1:24 PM > To: [EMAIL PROTECTED] > Subject: [PHP] How can I write in a loop?? > > > Hi all, > > woul

[PHP] How can I write in a loop??

2002-06-27 Thread sunny AT wde
Hi all, would be very greatful if someone could hlp. Basically I want to extract information from Mysql, and then write it to a file. I can write state pieces of text, but having trouble with writing when the information comes out in a while loop. This is what I hhave so far: --

Re: [PHP] Need high bandwidth provider for my Asian community site

2001-12-13 Thread sunny AT wde
r 20k file into a 3k file. That even more of an > improvement for a > little server side processing. (thats 20GB into 3GB :)). But I > guess your > Host wouldn't like to do this for you unless it was your own > dedicated box. > > Hope these suggestions help you some how >

Re: [PHP] Need high bandwidth provider for my Asian community site

2001-12-13 Thread sunny AT wde
I also forgot to ask: are messageboards really big bandwidth suckers?? I get about 2000 messages posted a day on my messageboard and I use up nealry 20 gigs with that. Is this normal? My site is - www.barfiCulture.com thanks sunny --- sunny AT wde <[EMAIL PROTECTED]> wrote: > Hi al

[PHP] Need high bandwidth provider for my Asian community site

2001-12-13 Thread sunny AT wde
Hi all, I manage an South-Asian community site from the UK (but hosted in USA) which is currently wolfing down 20 GB per month and is increasing to about 25 very soon as the popularity grows. I've searched the mailing lists, but couldn't find a good solution. How shall I go about increasing band

Re: [PHP] passing variables between pages without using url??

2001-11-03 Thread sunny AT wde
e get :( /sunny --- Steve Werby <[EMAIL PROTECTED]> wrote: > "sunny AT wde" <[EMAIL PROTECTED]> wrote: > > i've written a form, which passes value to a ph script to insert > them > > into mysql. from there on, i forward onto another page, but using >

[PHP] passing variables between pages without using url??

2001-11-03 Thread sunny AT wde
hi php'ers! just a quick question please, it would help me out a lot. i've written a form, which passes value to a ph script to insert them into mysql. from there on, i forward onto another page, but using : header("Location: http://www.foo.com/foo2.php?id=4&user=foo";); now i really don't want

[PHP] how do i give optional arguments to functions??

2001-10-24 Thread sunny AT wde
hi all!! i'm writing functions like - --- function top () { echo "blah blah blah";} --- what i want to do is make it so that i can do - --- function top($image) { echo "blah blah $image blah"; } --- but also make the $image parameter in the top() as optional. so if its not t

[PHP] how do i remove non html special characters??

2001-08-20 Thread sunny AT wde
hi all! i'm building a registration system, and i want to strip all funky character map symbols from the username as well. i know strip_tags() gets rid of html, but how do i get rid of them?? :( i just want simple a-z, A-Z and 0-9 allowed in the username. please help!! sunny _

[PHP] Need people's advice on a web registration system.

2001-08-14 Thread sunny AT wde
Hi all! I'm trying to build a registration system for a community site that I'm building, and was wondering if people could give me advice or tell me about problems they've been having?? I'm planning to let people register with a username and password (encrypted), and then make them login with t

[PHP] Need advice on building website registration system!

2001-08-13 Thread sunny AT wde
Hi all! I'm trying to build a registration system for a community site that I'm building, and was wondering if people could give me advice or tell me about problems they've been having?? I'm planning to let people register with a username and password (encrypted), and then make them login with t

[PHP] how do you use a CLASS ???

2001-07-20 Thread sunny AT wde
ok, this must be the simplest question alive, but help me please?? i've seen loads of classes all over the net, and i want to use them, but not sure where to start! are class files independent of platform?? do you have to name your variables same as them? or do i just call it or something? the

[PHP] how can i creat a file and write a string to it!

2001-07-15 Thread sunny AT wde
i've been looking for an adequate answer all morning in the archives, but can't find one, neithr can i understand the manual. all i want to do is for php to take the strong sent to it through a form, and create a new file with a name "2.html" for example, and write the string to it. how can i qu

[PHP] need a *very simple* email checker or help to design one!

2001-07-10 Thread sunny AT wde
hi all! i'm looking for a very basic and simple web based mail checker which just downloads pop email and thats it. tne i could change the look and feel, plus delete the messages (off the database) however i want. anyone have something? reason being i've already written an addressbook and email

[PHP] simple messageboard released!

2001-06-19 Thread sunny AT wde
hi all! firstly a BIG thanks to rasmus for bringing the mailing lists back up :) secondly, seeing as there is always a big demand here and lot of questions asked about available PHP message boards / forums, I thought I'd point mine out. Wrote this one myself, very simple to configure and instal