[PHP-DEV] how to call a website from within a php script

2003-02-16 Thread christian tischler
Can anybody tell me how to call a website from within a php script. Meaning: "how to forward to a website", or if something happens then goto that website. hope it is clear now not just new to php but news groups also... christian -- PHP Development Mailing List

[PHP-DEV] Re: call website from php script

2003-02-16 Thread christian tischler
please delete "Christian Tischler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can anybody tell me how to call a website from within aphp script. > > not just new to php but news groups also... > > christian > > -- PHP Development Mailing List

[PHP-DEV] Re: call a website from within a php script

2003-02-16 Thread christian tischler
please delete "Christian Tischler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > From: "christian tischler" <[EMAIL PROTECTED]> > Subject: call website from php script > Date: 14 February 2003 21:59 > > Can anybody tell me how to call a website from within a

[PHP-DEV] Re: how to call a website from within a php script

2003-02-16 Thread christian tischler
please delete "Christian Tischler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can anybody tell me how to call a website from within a php script. > > > Meaning: "how to forward to a website", or if something happens then goto > that website. > >

[PHP-DEV] Re: iopy,

2003-02-16 Thread christian tischler
please delete "Christian Tischler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > yu,pu > > -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] database select

2003-02-16 Thread Hans Prins
Hello, Im trying to select only one row in a mysql database (in this case a poll with the smallest pollID)... Each row has a field called "pollID" which is the primary key and is auto incremented when a new row is inserted. I could possible do the following but I think its a bit extensive

Re: [PHP-DEV] how to call a website from within a php script

2003-02-16 Thread Sebastian Bergmann
christian tischler wrote: > Can anybody tell me how to call a website from within a php script. Please ask user questions on the [EMAIL PROTECTED] list. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://

Re: [PHP-DEV] database select

2003-02-16 Thread Sebastian Bergmann
Hans Prins wrote: > [...] Please ask user questions on the [EMAIL PROTECTED] list. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / run-tests.php /ext/curlinterface.c streams.c /ext/fbsql php_fbsql.c /ext/ftp ftp.c /ext/hyperwavehg_comm.c hw.c /ext/imap php_imap.c /ext/ldap ldap.c /ext/

2003-02-16 Thread Wez Furlong
Should be fixed now. If any more of these occur, the problem is that needs to be included before (which itself includes ). I noticed that some source files include the winsock headers twice, so there is probably some spring cleaning that can be done. I have included as one of the first things

[PHP-DEV] new Date extenstion

2003-02-16 Thread Pierre-Alain Joye
Hello, I made a new extension to work with dates, you may find infos&sources here: Docs: http://www.pearfr.org/php_date/docs/ Sources: http://www.pearfr.org/php_date/sources/ This is a alpha release, a first shot. I still have to create a full set of tests script. The idea is to provide a fullfe

Re: [PHP-DEV] [patch] solaris getcwd() brokeness

2003-02-16 Thread James E. Flemer
When getcwd() fails in certain places, we end up passing a zero length cwd_state to virtual_file_ex(). This causes virtual_file_ex() to assume the path to be "/", thus: include("foo.php"); ends up trying to open, "/foo.php", which is wrong. If you want to play with this problem, its very easy t

Re: [PHP-DEV] new Date extenstion

2003-02-16 Thread Pierre-Alain Joye
hello, As a side note, the date range starts on 1/1/1 and ends on 31/12/65535. pierre -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] new Date extenstion

2003-02-16 Thread Vlad Krupin
Looks interesting. A lot of functions though. Would it make sense to at least remove all date_sub_* () functions in favor of using the date_add_* () counterparts with negative values? E.g. date_add_days(-10) does the same as date_sub_days(10) ? One of the easy ways to reduce usability of an ext

Re: [PHP-DEV] new Date extenstion

2003-02-16 Thread Theo Spears
On Sun, 2003-02-16 at 16:17, Pierre-Alain Joye wrote: > hello, > > As a side note, the date range starts on 1/1/1 and ends on 31/12/65535. > > pierre What about BCE dates? Wouldn't it be more sensible to allow between 31/12/-32767 to 31/12/32767 Theo Spears -- PHP Development Mailing List

Re: [PHP-DEV] [patch] solaris getcwd() brokeness

2003-02-16 Thread Andi Gutmans
At 03:41 PM 2/13/2003 -0500, James E. Flemer wrote: RCS file: /repository/TSRM/tsrm_virtual_cwd.c,v retrieving revision 1.41 diff -u -b -r1.41 tsrm_virtual_cwd.c --- TSRM/tsrm_virtual_cwd.c 6 Nov 2002 18:07:22 - 1.41 +++ TSRM/tsrm_virtual_cwd.c 13 Feb 2003 20:40:07 - @@ -303,

Re: [PHP-DEV] [patch] solaris getcwd() brokeness

2003-02-16 Thread James E. Flemer
On Sun, 16 Feb 2003, Andi Gutmans wrote: > At 03:41 PM 2/13/2003 -0500, James E. Flemer wrote: > >RCS file: /repository/TSRM/tsrm_virtual_cwd.c,v > >retrieving revision 1.41 > >diff -u -b -r1.41 tsrm_virtual_cwd.c > >--- TSRM/tsrm_virtual_cwd.c 6 Nov 2002 18:07:22 - 1.41 > >+++ TSRM/

Re: [PHP-DEV] new Date extenstion

2003-02-16 Thread Pierre-Alain Joye
On Sun, 16 Feb 2003 11:58:52 -0800 Vlad Krupin <[EMAIL PROTECTED]> wrote: > Looks interesting. A lot of functions though. Would it make sense to > at least remove all date_sub_* () functions in favor of using the > date_add_* () counterparts with negative values? E.g. > date_add_days(-10) does th

[PHP-DEV] Re: new Date extenstion

2003-02-16 Thread moshe doron
Pierre, u catching me a moment before i'm commiting date_sunrise(), date_sunset() functions, as agreed on the list. do we have a naming conflict here? moshe. -- "Pierre-Alain Joye" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I mad

Re: [PHP-DEV] new Date extenstion

2003-02-16 Thread Pierre-Alain Joye
On 16 Feb 2003 20:17:13 + Theo Spears <[EMAIL PROTECTED]> wrote: > On Sun, 2003-02-16 at 16:17, Pierre-Alain Joye wrote: > > hello, > > > > As a side note, the date range starts on 1/1/1 and ends on > > 31/12/65535. > > > > pierre > > What about BCE dates? Wouldn't it be more sensible to al

Re: [PHP-DEV] Re: new Date extenstion

2003-02-16 Thread Pierre-Alain Joye
On Mon, 17 Feb 2003 00:04:50 +0200 "moshe doron" <[EMAIL PROTECTED]> wrote: > Pierre, > u catching me a moment before i'm commiting date_sunrise(), > date_sunset() functions, as agreed on the list. do we have a naming > conflict here? No, I answered for 2 reasons, the 1st was to respect the new n

[PHP-DEV] [PATCH] make the win32 project working again after date_sun*()'s

2003-02-16 Thread moshe doron
http://212.199.221.100/moshe/win32project-sunfuncs.patch.txt --

Re: [PHP-DEV] [PATCH] make the win32 project working again afterdate_sun*()'s

2003-02-16 Thread Wez Furlong
I'll do this now. On Mon, 17 Feb 2003, moshe doron wrote: > http://212.199.221.100/moshe/win32project-sunfuncs.patch.txt > > -- > > -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: php4 /ext/standard/tests/general_functions sunfuncts.phpt

2003-02-16 Thread moshe doron
looks to me unnecessary, since the sixts parameter is the offset. -- "Jani Taskinen" <[EMAIL PROTECTED]> wrote in message news:cvssniper1045461063@cvsserver... > sniper Mon Feb 17 00:51:03 2003 EDT > > Modified files: > /php4/ext/standard/tests/general_functions su

Re: [PHP-DEV] Re: php4 /ext/standard/tests/general_functionssunfuncts.phpt

2003-02-16 Thread Jani Taskinen
On Mon, 17 Feb 2003, moshe doron wrote: >looks to me unnecessary, since the sixts parameter is the offset. It affects mktime() and as that timestamp is used to generate the SUNFUNCS_RET_TIMESTAMP part of the test, if it differs, the test fails. --Jani -- PHP Development M