Re: [PHP] Running Scripts from the Command Line in Linux

2006-06-10 Thread OOzy Pal
On 6/8/06, Venky <[EMAIL PROTECTED]> wrote: Even better... if you want to use GET/POST, and access PHP scripts thru the web server, it is recommended to use wget very useful tool, supports http auth, etc. Regards Venky On 08/06/06, Brad Bonkoski <[EMAIL PROTECTED]> wrote: > $ php scr

Re: [PHP] Re: How to re-order an array

2006-06-10 Thread Larry Garfield
On Saturday 10 June 2006 21:08, jekillen wrote: > You misunderstand my question. I know the limitations of javascript. > The server won't respond to events registered in the browser. I write > tons of forms that are all processed > by the client with javascript. I have written ferocious regex filt

Re: [PHP] Tables vs. databases

2006-06-10 Thread Anthony Ettinger
On 6/9/06, Antonio Bassinger <[EMAIL PROTECTED]> wrote: Hi gang, Situation: I've a HTTP server. I intend to run a file upload service. There could be up to 1 subscribers. Each saving files up to 10 MB. I made a proof-of-concept service using PHP & MySQL, where there is a single database, b

Re: [PHP] Re: How to re-order an array

2006-06-10 Thread jekillen
On Jun 10, 2006, at 5:32 PM, Rafael wrote: Since you asked for some theory... theorically, you won't rely on javascript to prepare/validate/whatever some data to the server, that's what server-side scripts are for. Note: you may use JS to make things quicker if possible, or to pre-digest the

Re: [PHP] sending mail via php and unix box-clients thinks it's spam

2006-06-10 Thread blackwater dev
Here is what I use as the header: $header="From:[EMAIL PROTECTED]: text/html"; Thanks! On 5/31/06, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, May 30, 2006 12:45 pm, blackwater dev wrote: > I have a site running on a linux box. If I use my mail server via an > email > client, the ema

[PHP] Re: How to re-order an array

2006-06-10 Thread Rafael
Since you asked for some theory... theorically, you won't rely on javascript to prepare/validate/whatever some data to the server, that's what server-side scripts are for. Note: you may use JS to make things quicker if possible, or to pre-digest the data, but you shall not rely entirely on JS.

Re: [PHP] Re: order of elements in $_POST super global

2006-06-10 Thread Ben Liu
Hi Richard, I'm basically building a custom mysql table to delimited text file function for a membership site. So I've got a lot of typical demographic info fields like name, address, etc. The site owners would like to dump the membership information for their own purposes, but they don't

Re: [PHP] HTML (php page) -> PDF recommendation

2006-06-10 Thread Frank Arensmeier
Depending on what you need (CSS support, good table support and so on) and which plattform you are working with it might be a good idea to have a look at: http://www.digitaljunkies.ca/dompdf/ There are also several on-line services available like: http:// www.pdfonline.com/ If you are on M

Re: [PHP] Tables vs. databases

2006-06-10 Thread tedd
At 10:40 PM +0530 6/9/06, Antonio Bassinger wrote: >Hi gang, > >Situation: > >I've a HTTP server. I intend to run a file upload service. There could be up >to 1 subscribers. Each saving files up to 10 MB. > >I made a proof-of-concept service using PHP & MySQL, where there is a single >database,

[PHP] HTML (php page) -> PDF recommendation

2006-06-10 Thread Ryan A
Hi, can anybody give me a recommendation on a good html->pdf converter. Checked google and there are loads of classes, this one looks like one of the best though (even in price): http://www.rustyparts.com/pdf.php Anybody else using this? if yes, would appreciate any "cons" of using this class. Or

Re: [PHP] Session puzzle... / why no new session?

2006-06-10 Thread Ryan A
Hey Chris, Thanks for replying. Dont worry about it, solved it, made a silly mistake on my part but corrected it by just copying the code from the session_destroy page on the manual...destroyed the session and the cookie and all works good now. Thanks! Ryan > If you're logging straight back in

Re: [PHP] Curio

2006-06-10 Thread tedd
At 11:31 AM +0100 6/10/06, Dave Goodchild wrote: >Just a question out of curiousity for the language lawyers out there. Why is >it illegal to begin a variable name with a number in php? > I don't know why in they do it in php, but I would guess that it's one of those legacy things. Back when I w

Re: [PHP] Mail sending program (beginner)

2006-06-10 Thread tedd
At 10:54 AM +0530 6/10/06, aci india wrote: >Dear group, > >Description: > >Following is the code which I tried for learning propuses. It is a mail >sending program -snip- I read what you wanted, try this: http://www.weberdev.com/get_example-503.html hth's tedd -- ---

RE: [PHP] Curio

2006-06-10 Thread Jay Blanchard
[snip] Just a question out of curiousity for the language lawyers out there. Why is it illegal to begin a variable name with a number in php? [/snip] This is fairly standard in programming languages. Years ago (sometime in the 70's) the reasoning was given to me, but I have long since replaced the

RE: [PHP] Restrict uploaded scripts

2006-06-10 Thread Mathias Bundgaard Svesson
Would it then be posible to restrict it in some other way, for example using chroot? Or do I just have to make sure that the modules come from a source that I trust or look through the code? fre, 09 06 2006 kl. 10:47 -0400, skrev Jim Moseby: > > > > Wouldn't it even be posible, if the script coul

[PHP] Curio

2006-06-10 Thread Dave Goodchild
Just a question out of curiousity for the language lawyers out there. Why is it illegal to begin a variable name with a number in php? -- http://www.web-buddha.co.uk dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css) look out for project karma, our new venture, coming soon

[PHP] 1,600,000 ��ª��������� �Ѵ������§�ӴѺ�ѡ���дǡ����Ѻ���¸�áԨ�ͧ��ҹ ��������������������ѹ���¨ҡ��ҧ�������ա�������ҧ �ҤҶ١�ҡ���������ա���� ��˹��¨ӹǹ�ӡѴ

2006-06-10 Thread 1,600,000 ��ª��������� �Ѵ������§�ӴѺ�ѡ���дǡ����Ѻ���¸�áԨ�ͧ��ҹ ��������������������ѹ���¨ҡ��ҧ�������ա�������ҧ �ҤҶ١�ҡ���������ա���� ��˹��¨ӹǹ�ӡѴ
1,600,000 ÃÒª×èÍÍÕàÁÅì ¤Ñ´ÊÃÃàÃÕ§ÅӴѺÍÑ¡ÉÃÊдǡÊÓËÃѺ¢ÂÒ¸ØáԨ¢Í§·èÒ¹ ¾ÃéÍÁ·Ñé§á¶Áâ»Ãá¡ÃÁ·Ñ¹ÊÁѨҡµèÒ§»ÃÐà·ÈÍÕ¡ËÅÒÂÍÂèÒ§ ÃÒ¤Ò¶Ù¡ÁÒ¡ËÒäÁèä´éÍÕ¡áÅéÇ ¨ÓËÂ

Re: [PHP] Mail sending program (beginner)

2006-06-10 Thread benifactor
i don't really understand what your trying to do here but if im correct there is a much easier way... if you are trying to make a newletter sign up this is simple. there is no reason to send the email to the database simply have the enter thier email address, use regex to check it, if it passes th

Re: [PHP] Mail sending program (beginner)

2006-06-10 Thread Rabin Vincent
On 6/10/06, aci india <[EMAIL PROTECTED]> wrote: NOTE: Sorry for the very long code Please paste long code snippets in a website like pastebin.com. Also, the code is hard to read because of the complete lack of indentation. I suggest you atleast attempt to debug your code before posting it her