You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(159) |
Nov
(123) |
Dec
(27) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(6) |
Feb
(11) |
Mar
(21) |
Apr
(29) |
May
(13) |
Jun
(2) |
Jul
(13) |
Aug
(5) |
Sep
(14) |
Oct
(21) |
Nov
(71) |
Dec
|
2004 |
Jan
(18) |
Feb
(12) |
Mar
|
Apr
(6) |
May
(29) |
Jun
(9) |
Jul
(3) |
Aug
(4) |
Sep
(7) |
Oct
(6) |
Nov
|
Dec
(20) |
2005 |
Jan
(6) |
Feb
(27) |
Mar
(4) |
Apr
(16) |
May
(61) |
Jun
(6) |
Jul
(4) |
Aug
(18) |
Sep
(19) |
Oct
(5) |
Nov
(55) |
Dec
(30) |
2006 |
Jan
(11) |
Feb
(9) |
Mar
(9) |
Apr
(26) |
May
(17) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(20) |
Oct
|
Nov
(6) |
Dec
(9) |
2007 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
(8) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
(17) |
Mar
(11) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2009 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(4) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chad <ch...@ch...> - 2002-10-22 22:27:01
|
Well, seems better where you had it. hehe. Send me your code and I will find some elegant way of presenting it. :-) You can turn it off in week view by adding something like: if ($view == "day") { *code* } -C On Tuesday, October 22, 2002, at 02:43 PM, Bill Fenner wrote: > > Ok, I moved it over to the top right-hand sidebar box. It's easy to > make > configurable there, too. > > This makes it show up in the week view too, which ends up being a > little > odd because the week view already has ways to jump to the right days, > but > I figured since the little forward and back buttons at the top of this > sidebar go to the day view, it's OK for this to do the same. > > Bill > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/ > javavote > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Bill F. <fe...@re...> - 2002-10-22 21:43:19
|
Ok, I moved it over to the top right-hand sidebar box. It's easy to make configurable there, too. This makes it show up in the week view too, which ends up being a little odd because the week view already has ways to jump to the right days, but I figured since the little forward and back buttons at the top of this sidebar go to the day view, it's OK for this to do the same. Bill |
From: Chad <ch...@ch...> - 2002-10-22 20:58:50
|
Drei - Event times seem to always round down, like 7:13 will round to 7:00. Is there anything we can do about this is or is it needed to properly figure out overlapping events? -C |
From: Chad <ch...@ch...> - 2002-10-22 20:54:35
|
Well I had intended on using that space for "list view" (or printer friendly) with a little printer icon. My suggestion would be to take something similar the bar in week view (Sunday ... Saturday) and use it on day, as a configurable option on and off. You could then see what day of week your on and click on another day, while staying in day view. This would also be configurable on and off in the config file. Or you could make a list_days.php showing just the days of the week, in the Jump box. You can also package it up as a mod if you like and we can put it on the site, too. It is rather nifty the more I play with it, just need to find a better spot for it. :-) -C On Tuesday, October 22, 2002, at 01:27 PM, Bill Fenner wrote: > > I noticed that I'm missing "jump to a certain day this week" in the day > view. I know I can go down to the side bar, figure out which week is > this week, and jump to that day. However, there is just enough free > space in the upper left corner of the day view for this, and it's what > I > use a lot on my palm pilot. It helps me answer "Can I do this thing on > Thursday?" quickly. > > I implemented clickable letters for the days of the week in the upper > left corner of the day view; check out > http://rtg.ietf.org/~fenner/test/phpicalendar/day.php . If people are > OK with it, I'd like to commit it. > > Bill > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/ > javavote > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Bill F. <fe...@re...> - 2002-10-22 20:27:45
|
I noticed that I'm missing "jump to a certain day this week" in the day view. I know I can go down to the side bar, figure out which week is this week, and jump to that day. However, there is just enough free space in the upper left corner of the day view for this, and it's what I use a lot on my palm pilot. It helps me answer "Can I do this thing on Thursday?" quickly. I implemented clickable letters for the days of the week in the upper left corner of the day view; check out http://rtg.ietf.org/~fenner/test/phpicalendar/day.php . If people are OK with it, I'd like to commit it. Bill |
From: Chad <ch...@ch...> - 2002-10-22 19:21:56
|
In the set-up for the list its one or the other, both would be nice. Will look at alternatives. On Tuesday, October 22, 2002, at 12:01 PM, Bill Fenner wrote: > > Part of the problem is that this list is set up with > a "Reply-To:" pointing back to the list. This makes > it pretty hard to cc the originator of the message with > normal MUAs. > > Bill > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/ > javavote > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Bill F. <fe...@re...> - 2002-10-22 19:01:30
|
Part of the problem is that this list is set up with a "Reply-To:" pointing back to the list. This makes it pretty hard to cc the originator of the message with normal MUAs. Bill |
From: Jared <xe...@si...> - 2002-10-22 14:42:45
|
When people e-mail this list and ask for help, let's try to remember to add the sender's e-mail address in the CC field. The reason for this is people might be sending questions to the list but not be on the list themselves. So if we reply with answers, they might not even get them. A good example was the e-mail sent to us asking how to enable PHP. A few replies were sent to the list and I sent an e-mail to him asking if he got the answers. He replied this morning that he did not. I already sent him the answer to that question, though, so he got it now. But we wouldn't have known that he isn't on the list so we should try to make it habit to reply to the person as well as the list. -Jared |
From: Jared <xe...@si...> - 2002-10-22 09:13:29
|
Well, I already built a "search.php" that works pretty well. It doesn't yet have a <form> interface anywhere so the page itself does no good, but that's all there is left on it. So, that's going to be in 0.8. What else are we going to do? Do we have a list of things we want in upcoming releases? Maybe after search is done, I'll add support for the individual recurring events that are different from the rest. I have an idea for implementing those and we really should support them by now. What else are we missing for core functionality? -Jared On Monday, October 21, 2002, at 03:50 PM, Chad wrote: > Waitman was working on parsing the vtodos, not sure if he was doing > alarms as well. Both would be nice for 0.8 > > As I look at where we are headed, this is what I see. > > 0.7 - Tons of bug fixes, this is very evident as there was only one > new bug after 2000 downloads this morning, which I have already > patched in CVS. > > 0.8 - New features > > 0.9 - New features > > 1.0 - Zero Bugs. > > ----------------------- > > So 0.8 discussions, I guess can begin now. I myself will work on the > following in no particular order: > > 1) PHP-Nuke module - In efforts to expand our audience I will build a > nuke module (mod download). > 2) Email this event - Somehow slipped fro 0.7, still want it. > 3) Clean up themes and style sheets - More maintenance for themes. > 4) RSS feeds for Day, Week, Month, Year, and Tomorrow's events. - Let > anyone subscribe to your calendar from any RSS client. > > 5) Week view - Drei and I need to figure something out for overlapping > week view events. While I was trying to stay away from what .Mac does, > we'll probably do the same. > > 6) Summary page. - This page will list all your days events from all > your calendars, as well as valarms, vtodos. > > > So what do *you* want to see in 0.8? > > -Chad > > > On Monday, October 21, 2002, at 06:53 AM, dre wrote: > >> I lost track of the discussion about integrating the alarm >> functionality... >> What is the state of the alarm parsing? >> >> I played around with cron/crontab and figured out a way to directly >> add >> alarms to the crontab (of the user running the web server that >> is...). If I >> look at CVS I come to the conclusion that there isn't yet a full alarm >> parser, is there? >> I'd gladed write and integrate the code to handle the cron >> manipulation. >> >> Cheers, >> David. >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of Java(TM) > technology. Join the Java Community Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/ > javavote > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Jared <xe...@si...> - 2002-10-22 08:48:57
|
Of course, I sent *this e-mail* back to the list only and wouldn't help if he's not on it. Oops! Anyway, I actually e-mailed him now. -Jared On Tuesday, October 22, 2002, at 03:41 AM, Jared wrote: > Jackson, > > Did you receive the replies to your question? They were sent back to > the developer list so if you're not a member you wouldn't have seen > them. I'm curious because I want to make sure you got the answer you > are looking for. > > -Jared > > On Monday, October 21, 2002, at 08:49 AM, Jackson Myers wrote: > >> I cant figure out how to enable PHP. The apple document says to >> edit, ltconfig, but I can't find this tile... >> any help would be appreciated! >> >> -Jackson >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of Java(TM) > technology. Join the Java Community Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v? > http://www.sun.com/javavote > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Jared <xe...@si...> - 2002-10-22 08:48:55
|
In explanation, the reason is that link <http://localhost/~eveatley/phpicalendar/calendars/Home.ics> is the direct download link of the iCal file itself. You need to point your browser to one of the PHP pages which will parse that iCal file and display it. For example: http://localhost/phpicalendar http://localhost/phpicalendar/index.php http://localhost/phpicalendar/day.php http://localhost/phpicalendar/week.php http://localhost/phpicalendar/month.php http://localhost/phpicalendar/year.php Any of those pages would work to display your calendar. As Chad said, you need only to point it at the first one and PHP will redirect you. -Jared On Monday, October 21, 2002, at 09:36 PM, Eve Atley wrote: > > I have been unable to access any SourceForge project page (but I can > access > Sourceforge itself), which I think is due to my firewall. I am new to > firewalls, having recently set up my own network, so I couldn't begin > to > tell you why this is... I can't traceroute, but I can ping. > > Regardless, my question is this. I have PHP 4.1.2 running on Mac OS X > 10.2.1. I installed phpicalendar 0.7 as indicated. When I attempt to > view my > calendars in the default directory (ie. > http://localhost/~eveatley/phpicalendar/calendars/Home.ics), I do not > receive a calendar - instead, I get only code, i.e.: > > > BEGIN:VCALENDAR > CALSCALE:GREGORIAN > X-WR-TIMEZONE;VALUE=TEXT:US/Pacific > PRODID:iCal > X-WR-CALNAME;VALUE=TEXT:Home > X-WR-RELCALID;VALUE=TEXT:BB9B43C2-C373-11D6-BB9D-003065C59510 > VERSION:2.0 > BEGIN:VEVENT > Etc. > Etc. > > Can anyone explain why this is happening? > > Thanks. > > - Eve Atley > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/ > javavote > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Jared <xe...@si...> - 2002-10-22 08:42:37
|
Jackson, Did you receive the replies to your question? They were sent back to the developer list so if you're not a member you wouldn't have seen them. I'm curious because I want to make sure you got the answer you are looking for. -Jared On Monday, October 21, 2002, at 08:49 AM, Jackson Myers wrote: > I cant figure out how to enable PHP. The apple document says to edit, > ltconfig, but I can't find this tile... > any help would be appreciated! > > -Jackson > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Chad <ch...@ch...> - 2002-10-22 02:48:20
|
Just point your browser here: http://localhost/~eveatley/phpicalendar/ On Monday, October 21, 2002, at 07:36 PM, Eve Atley wrote: > > I have been unable to access any SourceForge project page (but I can > access > Sourceforge itself), which I think is due to my firewall. I am new to > firewalls, having recently set up my own network, so I couldn't begin > to > tell you why this is... I can't traceroute, but I can ping. > > Regardless, my question is this. I have PHP 4.1.2 running on Mac OS X > 10.2.1. I installed phpicalendar 0.7 as indicated. When I attempt to > view my > calendars in the default directory (ie. > http://localhost/~eveatley/phpicalendar/calendars/Home.ics), I do not > receive a calendar - instead, I get only code, i.e.: > > > BEGIN:VCALENDAR > CALSCALE:GREGORIAN > X-WR-TIMEZONE;VALUE=TEXT:US/Pacific > PRODID:iCal > X-WR-CALNAME;VALUE=TEXT:Home > X-WR-RELCALID;VALUE=TEXT:BB9B43C2-C373-11D6-BB9D-003065C59510 > VERSION:2.0 > BEGIN:VEVENT > Etc. > Etc. > > Can anyone explain why this is happening? > > Thanks. > > - Eve Atley > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/ > javavote > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: Eve A. <ev...@st...> - 2002-10-22 02:38:55
|
I have been unable to access any SourceForge project page (but I can access Sourceforge itself), which I think is due to my firewall. I am new to firewalls, having recently set up my own network, so I couldn't begin to tell you why this is... I can't traceroute, but I can ping. Regardless, my question is this. I have PHP 4.1.2 running on Mac OS X 10.2.1. I installed phpicalendar 0.7 as indicated. When I attempt to view my calendars in the default directory (ie. http://localhost/~eveatley/phpicalendar/calendars/Home.ics), I do not receive a calendar - instead, I get only code, i.e.: BEGIN:VCALENDAR CALSCALE:GREGORIAN X-WR-TIMEZONE;VALUE=TEXT:US/Pacific PRODID:iCal X-WR-CALNAME;VALUE=TEXT:Home X-WR-RELCALID;VALUE=TEXT:BB9B43C2-C373-11D6-BB9D-003065C59510 VERSION:2.0 BEGIN:VEVENT Etc. Etc. Can anyone explain why this is happening? Thanks. - Eve Atley |
From: Chad <ch...@ch...> - 2002-10-21 20:50:28
|
Waitman was working on parsing the vtodos, not sure if he was doing alarms as well. Both would be nice for 0.8 As I look at where we are headed, this is what I see. 0.7 - Tons of bug fixes, this is very evident as there was only one new bug after 2000 downloads this morning, which I have already patched in CVS. 0.8 - New features 0.9 - New features 1.0 - Zero Bugs. ----------------------- So 0.8 discussions, I guess can begin now. I myself will work on the following in no particular order: 1) PHP-Nuke module - In efforts to expand our audience I will build a nuke module (mod download). 2) Email this event - Somehow slipped fro 0.7, still want it. 3) Clean up themes and style sheets - More maintenance for themes. 4) RSS feeds for Day, Week, Month, Year, and Tomorrow's events. - Let anyone subscribe to your calendar from any RSS client. 5) Week view - Drei and I need to figure something out for overlapping week view events. While I was trying to stay away from what .Mac does, we'll probably do the same. 6) Summary page. - This page will list all your days events from all your calendars, as well as valarms, vtodos. So what do *you* want to see in 0.8? -Chad On Monday, October 21, 2002, at 06:53 AM, dre wrote: > I lost track of the discussion about integrating the alarm > functionality... > What is the state of the alarm parsing? > > I played around with cron/crontab and figured out a way to directly add > alarms to the crontab (of the user running the web server that is...). > If I > look at CVS I come to the conclusion that there isn't yet a full alarm > parser, is there? > I'd gladed write and integrate the code to handle the cron > manipulation. > > Cheers, > David. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: <ev...@ly...> - 2002-10-21 14:29:43
|
He would probably add index.php after a line in the httpd.conf so that "DirectoryIndex index.html" would become "DirectoryIndex index.php index.html" Hope this helps further :) On Monday, October 21, 2002, at 04:04 PM, Jakob Peterh=E4nsel wrote: > Hi.. > > On mandag, okt 21, 2002, at 15:49 Europe/Copenhagen, Jackson Myers=20 > wrote: > >> I cant figure out how to enable PHP. The apple document says to=20 >> edit, ltconfig, but I can't find this tile... >> any help would be appreciated! > > If you're running OS X, you need to enable PHP in the Apache config=20 > file: > /private/etc/httpd/httpd.conf > > Un-comment (or add) > > #LoadModule php4_module -> LoadModule php4_module > #AddModule mod_php4.c -> AddModule mod_php4.c > > and add: > > AddType application/x-httpd-php .php > > Hope it helps.. > > Jakob Peterh=E4nsel > > "Tell me why, don't we try, not to break our hearts > and make it so hard for our selfs" > P.S.B. 1987 > > Email: ja...@hj... > AIM: Marook |
From: <ja...@hj...> - 2002-10-21 14:04:59
|
Hi.. On mandag, okt 21, 2002, at 15:49 Europe/Copenhagen, Jackson Myers=20 wrote: > I cant figure out how to enable PHP. The apple document says to edit,=20= > ltconfig, but I can't find this tile... > any help would be appreciated! If you're running OS X, you need to enable PHP in the Apache config=20 file: /private/etc/httpd/httpd.conf Un-comment (or add) #LoadModule php4_module -> LoadModule php4_module #AddModule mod_php4.c -> AddModule mod_php4.c and add: AddType application/x-httpd-php .php Hope it helps.. Jakob Peterh=E4nsel "Tell me why, don't we try, not to break our hearts and make it so hard for our selfs" P.S.B. 1987 Email: ja...@hj... AIM: Marook |
From: Waitman C. G. <wa...@em...> - 2002-10-21 14:02:23
|
hmmm, don't recall seeing an "ltconfig" file on the x-server rackmounts i have put together. you need to edit /etc/httpd.conf or /etc/httpd/httpd.conf - look for anything with "php" in it and remove the comment char (#) off the front of the line. there should be a line to add the module, associate the module and define the mime type. if you don't find the line to add the mime type then it may be in mime.conf, in which case it is probably NOT commented out but you might want to check anyhow. restart apache. this of course assumes you are using a newer os x machine, like 10.2. the older ones may have php however i seem to recall having to download php from the link for mac on php.net site, or bulding it from source. best Waitman Gobble EMK Design Buena Park CA +1.7145222528 http://emkdesign.com On Mon, 2002-10-21 at 06:49, Jackson Myers wrote: I cant figure out how to enable PHP. The apple document says to edit, ltconfig, but I can't find this tile... any help would be appreciated! -Jackson ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Phpicalendar-devel mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: dre <dr...@an...> - 2002-10-21 13:53:42
|
I lost track of the discussion about integrating the alarm functionality... What is the state of the alarm parsing? I played around with cron/crontab and figured out a way to directly add alarms to the crontab (of the user running the web server that is...). If I look at CVS I come to the conclusion that there isn't yet a full alarm parser, is there? I'd gladed write and integrate the code to handle the cron manipulation. Cheers, David. |
From: Jackson M. <jac...@ma...> - 2002-10-21 13:49:09
|
I cant figure out how to enable PHP. The apple document says to edit, ltconfig, but I can't find this tile... any help would be appreciated! -Jackson |
From: Chad <ch...@ch...> - 2002-10-21 01:57:23
|
check it out phpicalendar.sourceforge.net Also, Jared, don't forget to update versiontracker. We should also look at where else we can drum up attention, so if you know somewhere pass it along or get us mentioned. 1.0 is coming up fast. Cheers, Chad |
From: Chad L. <ch...@ch...> - 2002-10-20 03:13:21
|
I've installed PHP Nuke on the sourceforge site, though its not live to anyone who doesnt know its there. We'll take a few days to a week to prep it before launch. Please take some time to visit, sign up, and fill out some information on the site. Thanks, Chad http://phpicalendar.sourceforge.net/nuke |
From: Chad <ch...@ch...> - 2002-10-19 06:42:01
|
I'm releasing 0.7 this weekend (sooner than later), finish up whatever bugs you were working on and let's get this thing shipped, its been two weeks since the last release and our adoring fans are waiting. I may squeeze one or two more themes in tomorrow, we'll see. -Chad |
From: Waitman C. G. <wa...@em...> - 2002-10-18 14:03:57
|
not much info on the php site with regards to this item, at least not that I could find. the pass by reference thing changed fairly recently, my guess is that the documentation is not updated. most of the comments on the sscanf page were posted before the change. i looked through the php source, in ext/standard there are two files: string.c scanf.c the sscanf function IS declared without the pass-by-reference, thus we get the warning when trying to pass by reference. it appears to me that the fellow working on implementation of the c level extensions sscanf and fscanf in the php engine had trouble registering the pass-by-reference arguments. from what i have read in other ng postings: when zend changed the php pass by reference thing, this caused problems with functions that accept a variable number of arguments that are passed by reference (such as sscanf). basically you have to either put the pointers in an array before sending them to the function like this $a = array(&$a, &$b, &$c); my_function ($a) //sending three args as one, without pass-by-reference which would likely make the sscanf function look weird compared to what people are used to working with. or you have to magically grab the variables from inside the function. it looks like the php people decided on the second option. they are using an internal function to grab the references to the variables and process them correctly. i do agree that it is an awkward situation, and i have seen other complaints. take care waitman On Fri, 2002-10-18 at 03:55, ja...@si... wrote: OK, I understand it now. So if sscanf() isn't designed to take pass by references, why do all the examples in the PHP manual use them? What good does it do? -Jared > hello jared! > > passing by reference is sending a pointer to a variable to the function, > instead of actually sending the variable to the function, which it uses > to create a local variable within the function. when the function makes > a change to it's variable, it updates the variable outside the function > (The one you pointed to) since it's local copy is really "pointing" to > your variable. > > function($arg) passing the value > function(&$arg) passing the reference > > basically, if you have code like this: > > my_function(&$arg) > { > $arg=4; //no need to return > } > > $a=7; > my_function(&$a); > echo $a; > > it would print "4"... > > NOW the error php now generates is "call time pass by reference is > deprecated" > > which means you can't define a function like this: > > my_function($arg) { > blah > } > > and call it like this: > > my_function(&$a); > > in this case you would be stuffing the reference down the function's > throat. the php guys really think that we should let php know that we > actually want the reference sent to our function. In the case of the > error message that was posted to this ng, the function declaration > doesn't ask for references. the message points out that you can go in > and modify the declaration if you want and rebuild php, or simply turn > the warning off altogether. But if you do either you can't count on your > program working in the future, or on someone else's machine. > > The php people are probably are looking to streamline the engine, and > provide some good ole safe sanity enforcement to the reckless jungle one > can create in php. > > But these are just my opinions. > > back in the old days you could practically walk into to town and get > into a gun slinging fight in the middle of town, and hop back on your > horse and head out without too much trouble. what i really mean is there > was so much "slop" in php that most of the serious programmers wouldn't > touch it with a ten foot pole. > > one day we will probably even have to define variable types in php > beforehand. > > when i started using Personal Home Page ;-) i think it was actually > refreshing programming in the slop. it even felt powerful. i mean, in > real structured languages it sometimes feels like you spend more time > typing all this extra crap in that is mostly meaningless - than doing > real coding. but you learn that there are lots of really good reasons > for the structure, and the type-checking and all that Alte Schule bars, > bricks and stones stuff that php is slowing drifting toward. > > and i am pretty much still a young feller. > > > Take care > > Waitman > > > > > On Thu, 2002-10-17 at 17:25, Jared wrote: > I don't understand exactly what "passing by reference" is and why I > can't find any information about it being deprecated on the PHP > website. I also want to know why all sscanf() function examples in > the function list on the PHP website use references like we did and > you say removing the & still allows the script to function > normally. I don't understand the purpose of the & in the first > place, then. > > I understand what & does, but I've never used it before and I'm not > sure why it is or is not needed in that case. > > Anyway, Chad rewrote it so it doesn't even use sscanf so it no > longer uses the & either. > > -Jared > > On Thursday, October 17, 2002, at 06:49 PM, Waitman C. Gobble > wrote: > > > no, he is likely running a newer version of php. > > > > the fix is simple. pass by reference is deprecated, and support > may cease in future builds of php. removing the & signs will > remove the error (does not send references to the variables), and > the script functions properly... > > > > take care > > > > waitman > > > > > > On Thu, 2002-10-17 at 16:40, Chad wrote: > > Your probably running an older version of PHP. You have four > > options: > > > > 1) Update your PHP build > > 2) Set allow_call_time_pass_reference to true in your INI > file. 3) Download the latest version of PHP iCalendar from > CVS. 4) Wait for 0.7, which should be out in a day or three. > > > > > > On Thursday, October 17, 2002, at 09:50 PM, Steve Klenert > wrote: > > > >> Just installed and i get this : > >> > >> Warning: Call-time pass-by-reference has been deprecated - > argument passed > >> by value; If you would like to pass it by reference, modify the > declaration > >> of sscanf(). If you would like to enable call-time > pass-by-reference, you > >> can set allow_call_time_pass_reference to true in your INI file. > However, > >> future versions may not support this any longer. > >> in /home/sites/site3/web/calendars/functions/ical_parser.php on > line 563 > >> > >> Warning: Call-time pass-by-reference has been deprecated - > argument passed > >> by value; If you would like to pass it by reference, modify the > declaration > >> of sscanf(). If you would like to enable call-time > pass-by-reference, you > >> can set allow_call_time_pass_reference to true in your INI file. > However, > >> future versions may not support this any longer. > >> in /home/sites/site3/web/calendars/functions/ical_parser.php on > line 563 > >> > >> Parse error: parse error, expecting `')'' > >> in > /home/sites/site3/web/calendars/functions/overlapping_events.php > on line > >> 69 > >> > >> Fatal error: Call to undefined function: checkoverlap() > >> in /home/sites/site3/web/calendars/functions/ical_parser.php on > line 548 > >> > >> Please help ASAP> > >> > >> -- > >> Best Regards, > >> Steve Klenert > >> Digital Princeton > >> "Quality in Service and Support is our #1 GOAL!" > >> -=Hosting=--=Web Design=--=Dedicated Servers=--=Co-Location=- > -=High Bandwidth Hosting Options=--=Load Balanced Servers=- > www.digitalprinceton.net > >> Emergency Contact: Pag...@Di... > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > >> http://ad.doubleclick.net/clk;4749864;7604308;v? > >> http://www.viaverio.com/consolidator/osdn.cfm > >> _______________________________________________ > >> Phpicalendar-devel mailing list > >> Php...@li... > >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Phpicalendar-devel mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Phpicalendar-devel mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Phpicalendar-devel mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |
From: <ja...@si...> - 2002-10-18 11:13:04
|
OK, I understand it now. So if sscanf() isn't designed to take pass by references, why do all the examples in the PHP manual use them? What good does it do? -Jared > hello jared! > > passing by reference is sending a pointer to a variable to the function, > instead of actually sending the variable to the function, which it uses > to create a local variable within the function. when the function makes > a change to it's variable, it updates the variable outside the function > (The one you pointed to) since it's local copy is really "pointing" to > your variable. > > function($arg) passing the value > function(&$arg) passing the reference > > basically, if you have code like this: > > my_function(&$arg) > { > $arg=4; //no need to return > } > > $a=7; > my_function(&$a); > echo $a; > > it would print "4"... > > NOW the error php now generates is "call time pass by reference is > deprecated" > > which means you can't define a function like this: > > my_function($arg) { > blah > } > > and call it like this: > > my_function(&$a); > > in this case you would be stuffing the reference down the function's > throat. the php guys really think that we should let php know that we > actually want the reference sent to our function. In the case of the > error message that was posted to this ng, the function declaration > doesn't ask for references. the message points out that you can go in > and modify the declaration if you want and rebuild php, or simply turn > the warning off altogether. But if you do either you can't count on your > program working in the future, or on someone else's machine. > > The php people are probably are looking to streamline the engine, and > provide some good ole safe sanity enforcement to the reckless jungle one > can create in php. > > But these are just my opinions. > > back in the old days you could practically walk into to town and get > into a gun slinging fight in the middle of town, and hop back on your > horse and head out without too much trouble. what i really mean is there > was so much "slop" in php that most of the serious programmers wouldn't > touch it with a ten foot pole. > > one day we will probably even have to define variable types in php > beforehand. > > when i started using Personal Home Page ;-) i think it was actually > refreshing programming in the slop. it even felt powerful. i mean, in > real structured languages it sometimes feels like you spend more time > typing all this extra crap in that is mostly meaningless - than doing > real coding. but you learn that there are lots of really good reasons > for the structure, and the type-checking and all that Alte Schule bars, > bricks and stones stuff that php is slowing drifting toward. > > and i am pretty much still a young feller. > > > Take care > > Waitman > > > > > On Thu, 2002-10-17 at 17:25, Jared wrote: > I don't understand exactly what "passing by reference" is and why I > can't find any information about it being deprecated on the PHP > website. I also want to know why all sscanf() function examples in > the function list on the PHP website use references like we did and > you say removing the & still allows the script to function > normally. I don't understand the purpose of the & in the first > place, then. > > I understand what & does, but I've never used it before and I'm not > sure why it is or is not needed in that case. > > Anyway, Chad rewrote it so it doesn't even use sscanf so it no > longer uses the & either. > > -Jared > > On Thursday, October 17, 2002, at 06:49 PM, Waitman C. Gobble > wrote: > > > no, he is likely running a newer version of php. > > > > the fix is simple. pass by reference is deprecated, and support > may cease in future builds of php. removing the & signs will > remove the error (does not send references to the variables), and > the script functions properly... > > > > take care > > > > waitman > > > > > > On Thu, 2002-10-17 at 16:40, Chad wrote: > > Your probably running an older version of PHP. You have four > > options: > > > > 1) Update your PHP build > > 2) Set allow_call_time_pass_reference to true in your INI > file. 3) Download the latest version of PHP iCalendar from > CVS. 4) Wait for 0.7, which should be out in a day or three. > > > > > > On Thursday, October 17, 2002, at 09:50 PM, Steve Klenert > wrote: > > > >> Just installed and i get this : > >> > >> Warning: Call-time pass-by-reference has been deprecated - > argument passed > >> by value; If you would like to pass it by reference, modify the > declaration > >> of sscanf(). If you would like to enable call-time > pass-by-reference, you > >> can set allow_call_time_pass_reference to true in your INI file. > However, > >> future versions may not support this any longer. > >> in /home/sites/site3/web/calendars/functions/ical_parser.php on > line 563 > >> > >> Warning: Call-time pass-by-reference has been deprecated - > argument passed > >> by value; If you would like to pass it by reference, modify the > declaration > >> of sscanf(). If you would like to enable call-time > pass-by-reference, you > >> can set allow_call_time_pass_reference to true in your INI file. > However, > >> future versions may not support this any longer. > >> in /home/sites/site3/web/calendars/functions/ical_parser.php on > line 563 > >> > >> Parse error: parse error, expecting `')'' > >> in > /home/sites/site3/web/calendars/functions/overlapping_events.php > on line > >> 69 > >> > >> Fatal error: Call to undefined function: checkoverlap() > >> in /home/sites/site3/web/calendars/functions/ical_parser.php on > line 548 > >> > >> Please help ASAP> > >> > >> -- > >> Best Regards, > >> Steve Klenert > >> Digital Princeton > >> "Quality in Service and Support is our #1 GOAL!" > >> -=Hosting=--=Web Design=--=Dedicated Servers=--=Co-Location=- > -=High Bandwidth Hosting Options=--=Load Balanced Servers=- > www.digitalprinceton.net > >> Emergency Contact: Pag...@Di... > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > >> http://ad.doubleclick.net/clk;4749864;7604308;v? > >> http://www.viaverio.com/consolidator/osdn.cfm > >> _______________________________________________ > >> Phpicalendar-devel mailing list > >> Php...@li... > >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Phpicalendar-devel mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > > http://ad.doubleclick.net/clk;4749864;7604308;v? > > http://www.viaverio.com/consolidator/osdn.cfm > > _______________________________________________ > > Phpicalendar-devel mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |