Re: [PHP] script stoped working over christmas ?

2007-12-29 Thread Joker7
In news: [EMAIL PROTECTED] - "Zoltán Németh" wrote : >> 2007. 12. 29, szombat keltezéssel 11.23-kor Joker7 ezt írta: >>> Can anyone see why this has stopped working... >> >> what does it mean stopped working? >> what error message do you get? >> etc etc >> >> greets >> Zoltán Németh >> >>> latest.

Re: [PHP] Re: [PHP-DEV] Sayonara PHP

2007-12-29 Thread tedd
At 1:17 AM -0300 12/29/07, Martin Alterisio wrote: That's all. I don't think that rant may be of use to anyone, but at least it felt nice to let go of some steam. Best Regards and Happy New Year, Martin Alterisio Good luck with your gaming programming -- not that I regret my decision, but I

Re: [PHP] Re: Unix date (even more bazaar)

2007-12-29 Thread Børge Holen
On Saturday 29 December 2007 17:59:01 Daniel Brown wrote: > On Dec 29, 2007 11:43 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-12-29 at 11:37 -0500, tedd wrote: > > > At 4:58 PM +0100 12/29/07, Zoltán Németh wrote: > > > >2007. 12. 29, szombat keltezéssel 09.42-kor Daniel Brown e

Re: [PHP] php.ini in php5.2.1

2007-12-29 Thread jekillen
On Dec 28, 2007, at 10:40 PM, Jochem Maas wrote: jekillen schreef: Hello; I have not had the necessity to deal with php.ini files for some time. Now, because I switch from Sendmail to Postfix on one system I need to adjust the sendmail path variable. are you sure you need to change it? doesn

Re: [PHP] Re: Unix date (even more bazaar)

2007-12-29 Thread Daniel Brown
On Dec 29, 2007 11:43 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Sat, 2007-12-29 at 11:37 -0500, tedd wrote: > > At 4:58 PM +0100 12/29/07, Zoltán Németh wrote: > > >2007. 12. 29, szombat keltezéssel 09.42-kor Daniel Brown ezt írta: > > > > > > > > I wish to create my website www.manoniva

[PHP] Re: fopen() for http:// sometimes working, sometimes not

2007-12-29 Thread Albert Wiersch
""Dan"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > You really need to filter your input more, have a list of what is > acceptable not what is unacceptable. That being, make it a requirement > that the url input has a TDL(.com, .net, .org, etc.) or is a valid IP(ping > it)

Re: [PHP] Re: Unix date (even more bazaar)

2007-12-29 Thread Robert Cummings
On Sat, 2007-12-29 at 11:37 -0500, tedd wrote: > At 4:58 PM +0100 12/29/07, Zoltán Németh wrote: > >2007. 12. 29, szombat keltezéssel 09.42-kor Daniel Brown ezt írta: > > > > > > I wish to create my website www.manonivas.org so as i f anyone wish to > > > > enter in it they should pay a payment t

Re: [PHP] Re: Unix date (even more bazaar)

2007-12-29 Thread tedd
At 4:58 PM +0100 12/29/07, Zoltán Németh wrote: 2007. 12. 29, szombat keltezéssel 09.42-kor Daniel Brown ezt írta: > > I wish to create my website www.manonivas.org so as i f anyone wish to > > enter in it they should pay a payment to my bank > > account online. As soon as they transfered mon

Re: [PHP] Unix date (even more bazaar)

2007-12-29 Thread tedd
Yeah, and to what bazaar are you going, old man? Look, I'm so loopy right now, I'm top-posting. How bizarre Ohhh, I hate it when that happens -- but, I have had even more embarrassing moments. As to the problem I posted about strings being different, it was a gremlin I fo

Re: [PHP] Re: Unix date (even more bazaar)

2007-12-29 Thread Zoltán Németh
2007. 12. 29, szombat keltezéssel 09.42-kor Daniel Brown ezt írta: > On Dec 28, 2007 11:06 PM, mano <[EMAIL PROTECTED]> wrote: > > N.Manohara Kurup, > > Thoppil House, Pollethai P.O, > > Mararikulam, > > Alappuzha- 688567, Kerala, India. > > Tel: 0478- 2865432 > > Mob; 9495211159 > > E-mail: [EMAIL

Re: [PHP] Re: [PHP-DEV] Sayonara PHP

2007-12-29 Thread Nathan Nobbe
On Dec 28, 2007 11:17 PM, Martin Alterisio <[EMAIL PROTECTED]> wrote: > 2007/12/26, Colin Guthrie <[EMAIL PROTECTED]>: > > 3) I'm not so sure anymore if PHP is profitable as a language choice for > web > development. The small and medium projects market is becoming infested > with > developers who

Re: [PHP] when does php stop php executing when user clicks stop

2007-12-29 Thread Daniel Brown
On Dec 28, 2007 8:43 PM, Eric Wood <[EMAIL PROTECTED]> wrote: > Eric Wood wrote: > > If database operations are underway when a user accesses a web page, > > then user clicks stop on the browser, does the php stop immediately too? > > > > I'd rather the php continue behind the scenes to fullfill al

[PHP] Re: Unix date (even more bazaar)

2007-12-29 Thread Daniel Brown
On Dec 28, 2007 11:06 PM, mano <[EMAIL PROTECTED]> wrote: > N.Manohara Kurup, > Thoppil House, Pollethai P.O, > Mararikulam, > Alappuzha- 688567, Kerala, India. > Tel: 0478- 2865432 > Mob; 9495211159 > E-mail: [EMAIL PROTECTED] > Web: http://mano.bizhat.com > > Sir, > > I wish to create my website

Re: [PHP] script stoped working over christmas ?

2007-12-29 Thread Zoltán Németh
2007. 12. 29, szombat keltezéssel 11.23-kor Joker7 ezt írta: > Can anyone see why this has stopped working... what does it mean stopped working? what error message do you get? etc etc greets Zoltán Németh > latest.php is used with include("/home/sever2/public_html/teaup/article/article_summary.

Re: [PHP] is_prefix() - checking wheather $A is prefix for $B

2007-12-29 Thread Zoltán Németh
2007. 12. 29, szombat keltezéssel 15.36-kor AmirBehzad Eslami ezt írta: > In case you haven't realized it, I have already written two functions > to check > for a prefix !! The question is: Which function is better? > (is_prefix1() or is_prefix2()) ehh, sorry I did not read your mail carefully bef

[PHP] Re: [PHP-DEV] Sayonara PHP

2007-12-29 Thread Colin Guthrie
Martin Alterisio wrote: > Well, it was my intent not to say that in particular because is rather > personal. I just wanted to pass on all the things that may be of some use to > another developer. Sorry I didn't mean to drag it out of you :) > If you must know, there are three reasons why I'm dis

Re: [PHP] is_prefix() - checking wheather $A is prefix for $B

2007-12-29 Thread Silvio Porcellana
You should benchmark and tell us - anyway, just looking at the code, I'd say 'is_prefix2()' is faster since there's 1 function call instead of 2 AmirBehzad Eslami wrote: In case you haven't realized it, I have already written two functions to check for a prefix !! The question is: Which functi

Re: [PHP] is_prefix() - checking wheather $A is prefix for $B

2007-12-29 Thread AmirBehzad Eslami
In case you haven't realized it, I have already written two functions to check for a prefix !! The question is: Which function is better? (is_prefix1() or is_prefix2()) On 12/29/07, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > 2007. 12. 29, szombat keltezéssel 13.39-kor AmirBehzad Eslami ezt írta:

[PHP] Re: script stoped working over christmas ? (whoops)

2007-12-29 Thread Joker7
Whoops sorry the include should be include("/home/sever2/public_html/teaup/article/latest.php") Chris In news: [EMAIL PROTECTED] - "Joker7" wrote : >> Can anyone see why this has stopped working... >> latest.php is used with > include("/home/sever2/public_html/teaup/article/article_summary.p

[PHP] script stoped working over christmas ?

2007-12-29 Thread Joker7
Can anyone see why this has stopped working... latest.php is used with to show the latest news articles. Cheers Chris config.php latest.php ", $old_news); $i=0; foreach ( $articles as $article ){ if(count($articles)>$i){ if($max_latest >= $i++){ print $article; } } } ?> --

Re: [PHP] is_prefix() - checking wheather $A is prefix for $B

2007-12-29 Thread Zoltán Németh
2007. 12. 29, szombat keltezéssel 13.39-kor AmirBehzad Eslami ezt írta: > I want to write a function to check > whether string $A is a prefix for string $B or not. if (strpos($B, $A) === 0) { echo '$B begins with $A'; } else { echo '$B does not begin with $A'; } greets Zoltán Németh > > I w

[PHP] is_prefix() - checking wheather $A is prefix for $B

2007-12-29 Thread AmirBehzad Eslami
I want to write a function to check whether string $A is a prefix for string $B or not. I writing this function in order to prevent directory traversal during a download request. (e.g., download.php?file=..\index.php) I want to make sure that the realpath() of the requested file is within the rea