cvs: presentations / fossin06.xml /slides/extending ext11.xml /slides/intro atom_google_data.xml geoflickr.xml ossworks.xml web2_summary.xml
web2works.xml xml_eg.xml
| From: | Rasmus Lerdorf | Date: | Fri, 24 Nov 2006 19:57:06 +0000 |
| Subject: | cvs: presentations / fossin06.xml /slides/extending ext11.xml /slides/intro atom_google_data.xml geoflickr.xml ossworks.xml web2_summary.xml web2works.xml xml_eg.xml |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1361@lists.php.net to get a copy of this message | ||
rasmus Fri Nov 24 19:57:06 2006 UTC
Added files:
/presentations fossin06.xml
/presentations/slides/intro atom_google_data.xml ossworks.xml
web2_summary.xml web2works.xml
Modified files:
/presentations/slides/extending ext11.xml
/presentations/slides/intro geoflickr.xml xml_eg.xml
Log:
Foss.in talk
http://cvs.php.net/viewvc.cgi/presentations/slides/extending/ext11.xml?r1=1.4&r2=1.5&diff_format=u Index: presentations/slides/extending/ext11.xml diff -u presentations/slides/extending/ext11.xml:1.4 presentations/slides/extending/ext11.xml:1.5 --- presentations/slides/extending/ext11.xml:1.4 Tue Jan 20 18:38:59 2004 +++ presentations/slides/extending/ext11.xml Fri Nov 24 19:57:06 2006 @@ -43,7 +43,11 @@ 'a' array 'o' any object 'O' specific object -'z' mixed]]></example> +'z' zval +'Z' zval-ref +'|' next arg is optional +'/' arg is separated if not a reference +'!' next arg returns null if type IS_NULL]]></example> <blurb> So, for example, a function that takes a string, an integer, and array and an http://cvs.php.net/viewvc.cgi/presentations/slides/intro/geoflickr.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/geoflickr.xml diff -u presentations/slides/intro/geoflickr.xml:1.2 presentations/slides/intro/geoflickr.xml:1.3 --- presentations/slides/intro/geoflickr.xml:1.2 Wed Sep 20 21:24:52 2006 +++ presentations/slides/intro/geoflickr.xml Fri Nov 24 19:57:06 2006 @@ -17,7 +17,7 @@ $minlon = $lon-(($y*cos($minlat)/6371) * $rad); $maxlon = $lon+(($y*cos($maxlat)/6371) * $rad); $params = array('bbox'=>"$minlon,$minlat,$maxlon,$maxlat", - 'min_upload_date'=>time()-4*24*3600); + 'min_upload_date'=>time()-30*24*3600); $photos = $flickr->photosSearch($params); if($photos['photos']) foreach($photos['photos'] as $photo) { $url = $flickr->getPhotoURL($photo); http://cvs.php.net/viewvc.cgi/presentations/slides/intro/xml_eg.xml?r1=1.5&r2=1.6&diff_format=u Index: presentations/slides/intro/xml_eg.xml diff -u presentations/slides/intro/xml_eg.xml:1.5 presentations/slides/intro/xml_eg.xml:1.6 --- presentations/slides/intro/xml_eg.xml:1.5 Thu Jul 27 17:37:28 2006 +++ presentations/slides/intro/xml_eg.xml Fri Nov 24 19:57:06 2006 @@ -30,6 +30,7 @@ <example title="SimpleXML" result="1" marginleft="2em"><![CDATA[<?php $menu = simplexml_load_file('menu.xml'); +# echo "<pre>"; print_r($menu); echo "</pre>"; foreach ($menu->food as $item) { echo $item['itemno'] . ") "; echo $item->price . " ... "; http://cvs.php.net/viewvc.cgi/presentations/fossin06.xml?view=markup&rev=1.1 Index: presentations/fossin06.xml +++ presentations/fossin06.xml <presentation template="php2" navmode="html" titlecolor="#1111aa" navbarbackground="url(images/trans-ffffff.png)" logo1="images/php-med-trans-light.gif" titlesize="2em" navbarheight="4.1em" > <topic>PHP</topic> <title>Getting Rich with PHP 5</title> <event>Foss.in</event> <location>Bangalore</location> <date>Nov 24, 2006</date> <url>http://talks.php.net/show/fossin06</url> <speaker>Rasmus Lerdorf</speaker> <email>rasmus@php.net</email> <slide>slides/intro/titlepage.xml</slide> <slide>slides/intro/ossworks.xml</slide> <slide>slides/intro/ego.xml</slide> <slide>slides/intro/web20.xml</slide> <slide>slides/intro/web2works.xml</slide> <slide>slides/intro/rich.xml</slide> <slide>slides/intro/rich2.xml</slide> <slide>slides/bm06/profit.xml</slide> <slide>slides/bm06/initial.xml</slide> <slide>slides/bm06/pg.xml</slide> <slide>slides/bm06/pg_persist.xml</slide> <slide>slides/bm06/mysql.xml</slide> <slide>slides/bm06/apc.xml</slide> <slide>slides/bm06/apc2.xml</slide> <slide>slides/intro/php5.xml</slide> <slide>slides/intro/xml_eg.xml</slide> <slide>slides/intro/rss_flickr.xml</slide> <slide>slides/intro/offline_atom_google.xml</slide> <slide>slides/intro/ws1.xml</slide> <slide>slides/intro/ws2.xml</slide> <slide>slides/intro/ws6.xml</slide> <slide>slides/intro/geoflickr.xml</slide> <slide>slides/intro/ws7.xml</slide> <slide>slides/intro/web2_summary.xml</slide> <slide>slides/intro/web2_ref.xml</slide> </presentation> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/atom_google_data.xml?view=markup&rev=1.1 Index: presentations/slides/intro/atom_google_data.xml +++ presentations/slides/intro/atom_google_data.xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?> <feed xmlns="http://www.w3.org/2005/Atom"> <id>http://groups.google.com/group/comp.lang.php</id> <title type="text">comp.lang.php Google Group</title> <subtitle type="text"> PHP, server side scripting. </subtitle> <link href="http://groups.google.com/group/comp.lang.php/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.php feed"/> <updated>2006-11-24T18:44:38Z</updated> <generator uri="http://groups.google.com" version="1.99">Google Groups</generator> <entry> <author> <name>bill nob...@spamcop.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T18:44:38Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/892e1f54265784e3</id> <link href="http://groups.google.com/group/comp.lang.php/msg/892e1f54265784e3"/> <title type="text">$_FILE variables returning null when in body of page.</title> <summary type="html" xml:space="preserve"> I am a relative newbie to PHP, but not to other languages. <br> I wrote a test script to upload files. In the php section above <br> the page I get the expected content of the $_FILES array. <br> When I have a php section in the body, the $_FILES array <br> variables return nothing. <br> --------here is the page that is the action of the post------- </summary> </entry> <entry> <author> <name>eholz1 ewh...@gmail.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T17:44:10Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/1f35584342f4ed69</id> <link href="http://groups.google.com/group/comp.lang.php/msg/1f35584342f4ed69"/> <title type="text">driver not found error when trying to use PDO, PHP (5.2) and mysql</title> <summary type="html" xml:space="preserve"> Hello Newsgroup, <br> I have &quot;installed&quot; pdo using &quot;pecl install pdo&quot; (it intalled version <br> 1.0.3), <br> I have added the line &quot;extension=pdo.so&quot; to my php.ini file, but when I <br> try to use <br> the PDO db connect string &quot;$db = new <br> PDO('msql:server=dbserver;dbna me=menagerie',$dbuser,$dbpass) ; &quot; <br> i get a &quot;driver not found&quot; error. </summary> </entry> <entry> <author> <name>sahm sahm...@gmail.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T17:41:54Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/0b78f42b3467647b</id> <link href="http://groups.google.com/group/comp.lang.php/msg/0b78f42b3467647b"/> <title type="text">I need some help here</title> <summary type="html" xml:space="preserve"> Hi evry one <br> I need some help with my code <br> What's wrong in this code <br> &lt;?php <br> header('Content-Type: text/xml'); <br> $dom = new DOMDocument(); <br> $response = $dom-&gt;createElement('response' ); <br> $dom-&gt;appendChild($response); <br> $sub_categorys = $dom-&gt;createElement('sub_Categ orys'); <br> $response-&gt;appendChild($sub_ca tegorys); </summary> </entry> <entry> <author> <name>Erwin Moller since_humans_read_this_I_am_spammed_too_m...@spamyourself.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T17:35:34Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/f5587eb524101fe9</id> <link href="http://groups.google.com/group/comp.lang.php/msg/f5587eb524101fe9"/> <title type="text">Re: the script wont work and i cant find anything wrong please help</title> <summary type="html" xml:space="preserve"> &lt;snip&gt; <br> This approach id possibly vunarable to SQL-injection. <br> That is bad. <br> NEVER trust data coming from GET, POST or COOKIE. <br> Possibly you have magic quotes enabled in php.ini, but you should at least <br> check for that. <br> It is much better to set up your applicatie right from the start than fixing <br> it afterward (after some funny guy gave the command to delete the database </summary> </entry> <entry> <author> <name>Pedro Graca hex...@dodgeit.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T17:17:02Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/01668d64dc1373ad</id> <link href="http://groups.google.com/group/comp.lang.php/msg/01668d64dc1373ad"/> <title type="text">Re: treat large string like file</title> <summary type="html" xml:space="preserve"> Mark wrote: <br> Index into the whole chunk? <br> $two_chars = substr($whole_chunk, 17655, 2); <br> switch ($two_chars) { <br> case 'C3': $three_chars = substr($whole_chunk, 17657, 3); <br> break; <br> case '--': $three_chars = '---'; <br> break; <br> default: $three_chars = substr($whole_chunk, 17655, 3); </summary> </entry> <entry> <author> <name> lhen...@gmail.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:58:57Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/a6eb92c1054ef10b</id> <link href="http://groups.google.com/group/comp.lang.php/msg/a6eb92c1054ef10b"/> <title type="text">Array length in SimpleXML</title> <summary type="html" xml:space="preserve"> This is idiotic, but I can't figure this out: <br> I can do this: <br> $xml = new SimpleXMLElement('&lt;items&gt; <br> &lt;item&gt;&lt;name&gt;Lee&lt;/name&gt;&lt;count&gt;1 &lt;/count&gt;&lt;/item&gt; <br> &lt;item&gt;&lt;name&gt;Bill&lt;/name&gt;&lt;count&gt; 5&lt;/count&gt;&lt;/item&gt;&lt;/items&gt;'); <br> foreach ($xml-&gt;item as $item) { <br> echo $item-&gt;name, '&lt;br /&gt;'; <br> But I can't figure how to tell I have 2 items. The obvious: </summary> </entry> <entry> <author> <name>Oliver Heins o...@sopos.org</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:39:13Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/6cc2e81bfb6452cb</id> <link href="http://groups.google.com/group/comp.lang.php/msg/6cc2e81bfb6452cb"/> <title type="text">session management hangs firefox on mac</title> <summary type="html" xml:space="preserve"> Hello, <br> I have a somewhat strange problem. The firefox browser on a mac (tested <br> 1.5.0.4) hangs after the third or fourth call in a session. This <br> happens both with cookies enabled and by passing the session via links. <br> It seems that this happens while starting the session, after commenting <br> session_start() out, firefox behaves just fine. A recent 2.0 is also </summary> </entry> <entry> <author> <name>Jerry Stuckle jstuck...@attglobal.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:22:40Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/08666e96fb95fc01</id> <link href="http://groups.google.com/group/comp.lang.php/msg/08666e96fb95fc01"/> <title type="text">Re: playing music across pages</title> <summary type="html" xml:space="preserve"> Gnarl, <br> Listen to the others. You completely ignore what the user might have <br> going on their own machine. <br> For instance, what happens if I'm carrying on a conversation? Or <br> listening to a radio show? Or other music? <br> When that happens to me, I leave the site immediately, never to return. <br> I don't even stop long enough to see what it has to say. </summary> </entry> <entry> <author> <name>Pedro Graca hex...@dodgeit.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:17:03Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/86d92e4692b9211b</id> <link href="http://groups.google.com/group/comp.lang.php/msg/86d92e4692b9211b"/> <title type="text">Re: the script wont work and i cant find anything wrong please help</title> <summary type="html" xml:space="preserve"> &lt;snip&gt; <br> &lt;snip&gt; <br> Check the return value of mysql_* calls. <br> Where I snipped add <br> if (!$r) { <br> // There was an error <br> // for simplicity sake, I'll just print it and exit <br> exit('Error in query (' . $query . '): ' . mysql_error()); <br> } <br> Add similar code after *all* relevant mysql_* calls. <br> When you run the script and there is an error, the script itself will </summary> </entry> <entry> <author> <name>Schroeder, AJ a...@qg.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:08:37Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/a8a80d4f8b556ed3</id> <link href="http://groups.google.com/group/comp.lang.php/msg/a8a80d4f8b556ed3"/> <title type="text">snmprealwalk questions</title> <summary type="html" xml:space="preserve"> Hello group, <br> I am using snmprealwalk() to scan for interface types and descriptions on <br> some Cisco routers. What I am doing is two calls to walk the routers; one <br> walk for ifDescr.x and the other for locIfDescr.x so that I get the <br> interface index and our user defined descriptions. <br> That returns back two arrays which I then combine into one array with a </summary> </entry> <entry> <author> <name>Kim André Akerø kiman...@NOSPAMbetadome.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:06:48Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/d109c746697b1a69</id> <link href="http://groups.google.com/group/comp.lang.php/msg/d109c746697b1a69"/> <title type="text">Re: 2 documentroots set up possible</title> <summary type="html" xml:space="preserve"> This is actually more of an Apache configuration issue, and doesn't <br> have anything to do with PHP. However, your httpd.conf (or wherever the <br> virtual host configuration for your hostname(s) are in your Apache <br> configuration files) has to have something like this for your virtual <br> host: <br> &lt;VirtualHost 192.168.0.1:80&gt; </summary> </entry> <entry> <author> <name>Sandman m...@sandman.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T15:39:44Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/6dd8b1f0a9387e50</id> <link href="http://groups.google.com/group/comp.lang.php/msg/6dd8b1f0a9387e50"/> <title type="text">Re: Advice about fetching user information</title> <summary type="html" xml:space="preserve"> In article &lt;4566ebf8$0$336$e4fe5...@news. xs4all.nl&gt;, <br> Erwin Moller <br> &lt;since_humans_read_this_I_am_s pammed_too_m...@spamyourself.c om&gt; <br> wrote: <br> Ok, thanks for the info. I will think about it. :) </summary> </entry> <entry> <author> <name>Sandman m...@sandman.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T15:38:20Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/e26ab2be28a78f7f</id> <link href="http://groups.google.com/group/comp.lang.php/msg/e26ab2be28a78f7f"/> <title type="text">Re: Advice about fetching user information</title> <summary type="html" xml:space="preserve"> In article &lt;79udm2dclimq6ambad1kdo5mu8j8q c1...@4ax.com&gt;, <br> Yes, I apologize, I tested it the wrong way. My mistake. Sorry. <br> Doing it the same way as your way: <br> 1. Fetching 1000 members, randomly chosen, one at a time: <br> 0.254 seconds <br> 2. Fetching all 1000 members in one really big IN(): <br> 0.007 seconds </summary> </entry> <entry> <author> <name>howa howac...@gmail.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T15:37:47Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/c9c2c1388b966449</id> <link href="http://groups.google.com/group/comp.lang.php/msg/c9c2c1388b966449"/> <title type="text">Re: Why ini_set( "short_open_tag", 1 ) didn't work?</title> <summary type="html" xml:space="preserve"> Erwin Moller 寫éï¼ <br> Thanks. </summary> </entry> <entry> <author> <name>Sandman m...@sandman.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T15:22:11Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/69ff6a0e8355d237</id> <link href="http://groups.google.com/group/comp.lang.php/msg/69ff6a0e8355d237"/> <title type="text">Re: Advice about fetching user information</title> <summary type="html" xml:space="preserve"> In article &lt;q9vdm2lgir1co34ijp82utfg30ond in...@4ax.com&gt;, <br> Yes, I could - potentially, prefetch that list and then fetch member <br> info and then print the list. Sure. BUt there needs to be onlyh one <br> instance of member information being printed outside of this scope to <br> throw this off as a *solution* to my problem. </summary> </entry> </feed> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/ossworks.xml?view=markup&rev=1.1 Index: presentations/slides/intro/ossworks.xml +++ presentations/slides/intro/ossworks.xml <slide title="Open Source"> <break lines="2" /> <blurb fontsize="7em">Why do people contribute?</blurb> <break lines="2" /> <image filename="Oxytocin.jpg" align="right" marginright="2em" /> <list fontsize="5em"> <bullet>Self-interest</bullet> <bullet>Self-expression</bullet> <bullet>Hormones</bullet> <bullet>Improve the World</bullet> </list> <break lines="13" /> <blurb fontsize="4em" align="right" marginright="3em">Nature's Trust Hormone</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/web2_summary.xml?view=markup&rev=1.1 Index: presentations/slides/intro/web2_summary.xml +++ presentations/slides/intro/web2_summary.xml <slide title="Final Thoughts"> <break lines="5" /> <list marginleft="1em" fontsize="7em"> <bullet>Avoid Participation Gimmicks</bullet> <bullet>Get their Oxytocin flowing</bullet> <bullet>Solve *One* Problem</bullet> <bullet>Clean and Intuitive UI</bullet> <bullet>APIs</bullet> <bullet>Make it work!</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/web2works.xml?view=markup&rev=1.1 Index: presentations/slides/intro/web2works.xml +++ presentations/slides/intro/web2works.xml <slide title="Rich Web Apps"> <break lines="2" /> <blurb fontsize="7em">Why do users contribute?</blurb> <break lines="2" /> <image filename="Oxytocin.jpg" align="right" marginright="2em" /> <list fontsize="5em"> <bullet>Self-interest</bullet> <bullet>Self-expression</bullet> <bullet>Hormones</bullet> <bullet>Improve the World</bullet> </list> <break lines="13" /> <blurb fontsize="4em" align="right" marginright="3em">Nature's Trust Hormone</blurb> </slide>
http://cvs.php.net/viewvc.cgi/presentations/slides/extending/ext11.xml?r1=1.4&r2=1.5&diff_format=u Index: presentations/slides/extending/ext11.xml diff -u presentations/slides/extending/ext11.xml:1.4 presentations/slides/extending/ext11.xml:1.5 --- presentations/slides/extending/ext11.xml:1.4 Tue Jan 20 18:38:59 2004 +++ presentations/slides/extending/ext11.xml Fri Nov 24 19:57:06 2006 @@ -43,7 +43,11 @@ 'a' array 'o' any object 'O' specific object -'z' mixed]]></example> +'z' zval +'Z' zval-ref +'|' next arg is optional +'/' arg is separated if not a reference +'!' next arg returns null if type IS_NULL]]></example> <blurb> So, for example, a function that takes a string, an integer, and array and an http://cvs.php.net/viewvc.cgi/presentations/slides/intro/geoflickr.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/geoflickr.xml diff -u presentations/slides/intro/geoflickr.xml:1.2 presentations/slides/intro/geoflickr.xml:1.3 --- presentations/slides/intro/geoflickr.xml:1.2 Wed Sep 20 21:24:52 2006 +++ presentations/slides/intro/geoflickr.xml Fri Nov 24 19:57:06 2006 @@ -17,7 +17,7 @@ $minlon = $lon-(($y*cos($minlat)/6371) * $rad); $maxlon = $lon+(($y*cos($maxlat)/6371) * $rad); $params = array('bbox'=>"$minlon,$minlat,$maxlon,$maxlat", - 'min_upload_date'=>time()-4*24*3600); + 'min_upload_date'=>time()-30*24*3600); $photos = $flickr->photosSearch($params); if($photos['photos']) foreach($photos['photos'] as $photo) { $url = $flickr->getPhotoURL($photo); http://cvs.php.net/viewvc.cgi/presentations/slides/intro/xml_eg.xml?r1=1.5&r2=1.6&diff_format=u Index: presentations/slides/intro/xml_eg.xml diff -u presentations/slides/intro/xml_eg.xml:1.5 presentations/slides/intro/xml_eg.xml:1.6 --- presentations/slides/intro/xml_eg.xml:1.5 Thu Jul 27 17:37:28 2006 +++ presentations/slides/intro/xml_eg.xml Fri Nov 24 19:57:06 2006 @@ -30,6 +30,7 @@ <example title="SimpleXML" result="1" marginleft="2em"><![CDATA[<?php $menu = simplexml_load_file('menu.xml'); +# echo "<pre>"; print_r($menu); echo "</pre>"; foreach ($menu->food as $item) { echo $item['itemno'] . ") "; echo $item->price . " ... "; http://cvs.php.net/viewvc.cgi/presentations/fossin06.xml?view=markup&rev=1.1 Index: presentations/fossin06.xml +++ presentations/fossin06.xml <presentation template="php2" navmode="html" titlecolor="#1111aa" navbarbackground="url(images/trans-ffffff.png)" logo1="images/php-med-trans-light.gif" titlesize="2em" navbarheight="4.1em" > <topic>PHP</topic> <title>Getting Rich with PHP 5</title> <event>Foss.in</event> <location>Bangalore</location> <date>Nov 24, 2006</date> <url>http://talks.php.net/show/fossin06</url> <speaker>Rasmus Lerdorf</speaker> <email>rasmus@php.net</email> <slide>slides/intro/titlepage.xml</slide> <slide>slides/intro/ossworks.xml</slide> <slide>slides/intro/ego.xml</slide> <slide>slides/intro/web20.xml</slide> <slide>slides/intro/web2works.xml</slide> <slide>slides/intro/rich.xml</slide> <slide>slides/intro/rich2.xml</slide> <slide>slides/bm06/profit.xml</slide> <slide>slides/bm06/initial.xml</slide> <slide>slides/bm06/pg.xml</slide> <slide>slides/bm06/pg_persist.xml</slide> <slide>slides/bm06/mysql.xml</slide> <slide>slides/bm06/apc.xml</slide> <slide>slides/bm06/apc2.xml</slide> <slide>slides/intro/php5.xml</slide> <slide>slides/intro/xml_eg.xml</slide> <slide>slides/intro/rss_flickr.xml</slide> <slide>slides/intro/offline_atom_google.xml</slide> <slide>slides/intro/ws1.xml</slide> <slide>slides/intro/ws2.xml</slide> <slide>slides/intro/ws6.xml</slide> <slide>slides/intro/geoflickr.xml</slide> <slide>slides/intro/ws7.xml</slide> <slide>slides/intro/web2_summary.xml</slide> <slide>slides/intro/web2_ref.xml</slide> </presentation> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/atom_google_data.xml?view=markup&rev=1.1 Index: presentations/slides/intro/atom_google_data.xml +++ presentations/slides/intro/atom_google_data.xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?> <feed xmlns="http://www.w3.org/2005/Atom"> <id>http://groups.google.com/group/comp.lang.php</id> <title type="text">comp.lang.php Google Group</title> <subtitle type="text"> PHP, server side scripting. </subtitle> <link href="http://groups.google.com/group/comp.lang.php/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.php feed"/> <updated>2006-11-24T18:44:38Z</updated> <generator uri="http://groups.google.com" version="1.99">Google Groups</generator> <entry> <author> <name>bill nob...@spamcop.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T18:44:38Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/892e1f54265784e3</id> <link href="http://groups.google.com/group/comp.lang.php/msg/892e1f54265784e3"/> <title type="text">$_FILE variables returning null when in body of page.</title> <summary type="html" xml:space="preserve"> I am a relative newbie to PHP, but not to other languages. <br> I wrote a test script to upload files. In the php section above <br> the page I get the expected content of the $_FILES array. <br> When I have a php section in the body, the $_FILES array <br> variables return nothing. <br> --------here is the page that is the action of the post------- </summary> </entry> <entry> <author> <name>eholz1 ewh...@gmail.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T17:44:10Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/1f35584342f4ed69</id> <link href="http://groups.google.com/group/comp.lang.php/msg/1f35584342f4ed69"/> <title type="text">driver not found error when trying to use PDO, PHP (5.2) and mysql</title> <summary type="html" xml:space="preserve"> Hello Newsgroup, <br> I have &quot;installed&quot; pdo using &quot;pecl install pdo&quot; (it intalled version <br> 1.0.3), <br> I have added the line &quot;extension=pdo.so&quot; to my php.ini file, but when I <br> try to use <br> the PDO db connect string &quot;$db = new <br> PDO('msql:server=dbserver;dbna me=menagerie',$dbuser,$dbpass) ; &quot; <br> i get a &quot;driver not found&quot; error. </summary> </entry> <entry> <author> <name>sahm sahm...@gmail.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T17:41:54Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/0b78f42b3467647b</id> <link href="http://groups.google.com/group/comp.lang.php/msg/0b78f42b3467647b"/> <title type="text">I need some help here</title> <summary type="html" xml:space="preserve"> Hi evry one <br> I need some help with my code <br> What's wrong in this code <br> &lt;?php <br> header('Content-Type: text/xml'); <br> $dom = new DOMDocument(); <br> $response = $dom-&gt;createElement('response' ); <br> $dom-&gt;appendChild($response); <br> $sub_categorys = $dom-&gt;createElement('sub_Categ orys'); <br> $response-&gt;appendChild($sub_ca tegorys); </summary> </entry> <entry> <author> <name>Erwin Moller since_humans_read_this_I_am_spammed_too_m...@spamyourself.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T17:35:34Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/f5587eb524101fe9</id> <link href="http://groups.google.com/group/comp.lang.php/msg/f5587eb524101fe9"/> <title type="text">Re: the script wont work and i cant find anything wrong please help</title> <summary type="html" xml:space="preserve"> &lt;snip&gt; <br> This approach id possibly vunarable to SQL-injection. <br> That is bad. <br> NEVER trust data coming from GET, POST or COOKIE. <br> Possibly you have magic quotes enabled in php.ini, but you should at least <br> check for that. <br> It is much better to set up your applicatie right from the start than fixing <br> it afterward (after some funny guy gave the command to delete the database </summary> </entry> <entry> <author> <name>Pedro Graca hex...@dodgeit.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T17:17:02Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/01668d64dc1373ad</id> <link href="http://groups.google.com/group/comp.lang.php/msg/01668d64dc1373ad"/> <title type="text">Re: treat large string like file</title> <summary type="html" xml:space="preserve"> Mark wrote: <br> Index into the whole chunk? <br> $two_chars = substr($whole_chunk, 17655, 2); <br> switch ($two_chars) { <br> case 'C3': $three_chars = substr($whole_chunk, 17657, 3); <br> break; <br> case '--': $three_chars = '---'; <br> break; <br> default: $three_chars = substr($whole_chunk, 17655, 3); </summary> </entry> <entry> <author> <name> lhen...@gmail.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:58:57Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/a6eb92c1054ef10b</id> <link href="http://groups.google.com/group/comp.lang.php/msg/a6eb92c1054ef10b"/> <title type="text">Array length in SimpleXML</title> <summary type="html" xml:space="preserve"> This is idiotic, but I can't figure this out: <br> I can do this: <br> $xml = new SimpleXMLElement('&lt;items&gt; <br> &lt;item&gt;&lt;name&gt;Lee&lt;/name&gt;&lt;count&gt;1 &lt;/count&gt;&lt;/item&gt; <br> &lt;item&gt;&lt;name&gt;Bill&lt;/name&gt;&lt;count&gt; 5&lt;/count&gt;&lt;/item&gt;&lt;/items&gt;'); <br> foreach ($xml-&gt;item as $item) { <br> echo $item-&gt;name, '&lt;br /&gt;'; <br> But I can't figure how to tell I have 2 items. The obvious: </summary> </entry> <entry> <author> <name>Oliver Heins o...@sopos.org</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:39:13Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/6cc2e81bfb6452cb</id> <link href="http://groups.google.com/group/comp.lang.php/msg/6cc2e81bfb6452cb"/> <title type="text">session management hangs firefox on mac</title> <summary type="html" xml:space="preserve"> Hello, <br> I have a somewhat strange problem. The firefox browser on a mac (tested <br> 1.5.0.4) hangs after the third or fourth call in a session. This <br> happens both with cookies enabled and by passing the session via links. <br> It seems that this happens while starting the session, after commenting <br> session_start() out, firefox behaves just fine. A recent 2.0 is also </summary> </entry> <entry> <author> <name>Jerry Stuckle jstuck...@attglobal.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:22:40Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/08666e96fb95fc01</id> <link href="http://groups.google.com/group/comp.lang.php/msg/08666e96fb95fc01"/> <title type="text">Re: playing music across pages</title> <summary type="html" xml:space="preserve"> Gnarl, <br> Listen to the others. You completely ignore what the user might have <br> going on their own machine. <br> For instance, what happens if I'm carrying on a conversation? Or <br> listening to a radio show? Or other music? <br> When that happens to me, I leave the site immediately, never to return. <br> I don't even stop long enough to see what it has to say. </summary> </entry> <entry> <author> <name>Pedro Graca hex...@dodgeit.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:17:03Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/86d92e4692b9211b</id> <link href="http://groups.google.com/group/comp.lang.php/msg/86d92e4692b9211b"/> <title type="text">Re: the script wont work and i cant find anything wrong please help</title> <summary type="html" xml:space="preserve"> &lt;snip&gt; <br> &lt;snip&gt; <br> Check the return value of mysql_* calls. <br> Where I snipped add <br> if (!$r) { <br> // There was an error <br> // for simplicity sake, I'll just print it and exit <br> exit('Error in query (' . $query . '): ' . mysql_error()); <br> } <br> Add similar code after *all* relevant mysql_* calls. <br> When you run the script and there is an error, the script itself will </summary> </entry> <entry> <author> <name>Schroeder, AJ a...@qg.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:08:37Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/a8a80d4f8b556ed3</id> <link href="http://groups.google.com/group/comp.lang.php/msg/a8a80d4f8b556ed3"/> <title type="text">snmprealwalk questions</title> <summary type="html" xml:space="preserve"> Hello group, <br> I am using snmprealwalk() to scan for interface types and descriptions on <br> some Cisco routers. What I am doing is two calls to walk the routers; one <br> walk for ifDescr.x and the other for locIfDescr.x so that I get the <br> interface index and our user defined descriptions. <br> That returns back two arrays which I then combine into one array with a </summary> </entry> <entry> <author> <name>Kim André Akerø kiman...@NOSPAMbetadome.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T16:06:48Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/d109c746697b1a69</id> <link href="http://groups.google.com/group/comp.lang.php/msg/d109c746697b1a69"/> <title type="text">Re: 2 documentroots set up possible</title> <summary type="html" xml:space="preserve"> This is actually more of an Apache configuration issue, and doesn't <br> have anything to do with PHP. However, your httpd.conf (or wherever the <br> virtual host configuration for your hostname(s) are in your Apache <br> configuration files) has to have something like this for your virtual <br> host: <br> &lt;VirtualHost 192.168.0.1:80&gt; </summary> </entry> <entry> <author> <name>Sandman m...@sandman.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T15:39:44Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/6dd8b1f0a9387e50</id> <link href="http://groups.google.com/group/comp.lang.php/msg/6dd8b1f0a9387e50"/> <title type="text">Re: Advice about fetching user information</title> <summary type="html" xml:space="preserve"> In article &lt;4566ebf8$0$336$e4fe5...@news. xs4all.nl&gt;, <br> Erwin Moller <br> &lt;since_humans_read_this_I_am_s pammed_too_m...@spamyourself.c om&gt; <br> wrote: <br> Ok, thanks for the info. I will think about it. :) </summary> </entry> <entry> <author> <name>Sandman m...@sandman.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T15:38:20Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/e26ab2be28a78f7f</id> <link href="http://groups.google.com/group/comp.lang.php/msg/e26ab2be28a78f7f"/> <title type="text">Re: Advice about fetching user information</title> <summary type="html" xml:space="preserve"> In article &lt;79udm2dclimq6ambad1kdo5mu8j8q c1...@4ax.com&gt;, <br> Yes, I apologize, I tested it the wrong way. My mistake. Sorry. <br> Doing it the same way as your way: <br> 1. Fetching 1000 members, randomly chosen, one at a time: <br> 0.254 seconds <br> 2. Fetching all 1000 members in one really big IN(): <br> 0.007 seconds </summary> </entry> <entry> <author> <name>howa howac...@gmail.com</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T15:37:47Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/c9c2c1388b966449</id> <link href="http://groups.google.com/group/comp.lang.php/msg/c9c2c1388b966449"/> <title type="text">Re: Why ini_set( "short_open_tag", 1 ) didn't work?</title> <summary type="html" xml:space="preserve"> Erwin Moller 寫éï¼ <br> Thanks. </summary> </entry> <entry> <author> <name>Sandman m...@sandman.net</name> <email>comp.lang.php@googlegroups.com</email> </author> <updated>2006-11-24T15:22:11Z</updated> <id>http://groups.google.com/group/comp.lang.php/msg/69ff6a0e8355d237</id> <link href="http://groups.google.com/group/comp.lang.php/msg/69ff6a0e8355d237"/> <title type="text">Re: Advice about fetching user information</title> <summary type="html" xml:space="preserve"> In article &lt;q9vdm2lgir1co34ijp82utfg30ond in...@4ax.com&gt;, <br> Yes, I could - potentially, prefetch that list and then fetch member <br> info and then print the list. Sure. BUt there needs to be onlyh one <br> instance of member information being printed outside of this scope to <br> throw this off as a *solution* to my problem. </summary> </entry> </feed> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/ossworks.xml?view=markup&rev=1.1 Index: presentations/slides/intro/ossworks.xml +++ presentations/slides/intro/ossworks.xml <slide title="Open Source"> <break lines="2" /> <blurb fontsize="7em">Why do people contribute?</blurb> <break lines="2" /> <image filename="Oxytocin.jpg" align="right" marginright="2em" /> <list fontsize="5em"> <bullet>Self-interest</bullet> <bullet>Self-expression</bullet> <bullet>Hormones</bullet> <bullet>Improve the World</bullet> </list> <break lines="13" /> <blurb fontsize="4em" align="right" marginright="3em">Nature's Trust Hormone</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/web2_summary.xml?view=markup&rev=1.1 Index: presentations/slides/intro/web2_summary.xml +++ presentations/slides/intro/web2_summary.xml <slide title="Final Thoughts"> <break lines="5" /> <list marginleft="1em" fontsize="7em"> <bullet>Avoid Participation Gimmicks</bullet> <bullet>Get their Oxytocin flowing</bullet> <bullet>Solve *One* Problem</bullet> <bullet>Clean and Intuitive UI</bullet> <bullet>APIs</bullet> <bullet>Make it work!</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/intro/web2works.xml?view=markup&rev=1.1 Index: presentations/slides/intro/web2works.xml +++ presentations/slides/intro/web2works.xml <slide title="Rich Web Apps"> <break lines="2" /> <blurb fontsize="7em">Why do users contribute?</blurb> <break lines="2" /> <image filename="Oxytocin.jpg" align="right" marginright="2em" /> <list fontsize="5em"> <bullet>Self-interest</bullet> <bullet>Self-expression</bullet> <bullet>Hormones</bullet> <bullet>Improve the World</bullet> </list> <break lines="13" /> <blurb fontsize="4em" align="right" marginright="3em">Nature's Trust Hormone</blurb> </slide>