<?xml version="1.0"  encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>Php-general Mailing List Threads</title>
<link>http://readlist.com</link>
<description>Php-general Mailing List - New Threads feed</description>
<language>en</language>
<image>
  <url>http://readlist.com/readlist-logo-tiny.gif</url>
  <title>ReadList.com</title>
  <link>http://readlist.com/</link>
  <width>156</width>
  <height>30</height>
</image>
<item>
  <title>Plugins... (like wordpress?)</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43161.html</link>
  <pubDate>Fri, 16 May 2008 05:47:48 GMT</pubDate>
  <description>Hey, Have just started screwing around with wordpress and I must say... it has a lot of really really nice bits and pieces... two of my favourites are widgets and plugins... not a hundred percent certain exactly what the diff is though! :) Anyway, was thinking it would be a great way to program for my next project... instead of jumping into the code again and again... write specific code and throw the file into the directory... then it either gets read ...</description>
</item>
<item>
  <title>$_SESSION lost</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43159.html</link>
  <pubDate>Fri, 16 May 2008 04:38:15 GMT</pubDate>
  <description>Hi, I've just installed PHP 5.2.4 on a FC 7 with a web server. $ php -v PHP 5.2.4 (cli) (built: Sep 18 2007 08:50:58) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies It seems some PHP module might be missing, I tested it with a page1.php: session_start(); $_SESSION['favcolor'] = 'green'; Then I click a link in page1.php to go another page2.php: ...</description>
</item>
<item>
  <title>fsockopen + fputs</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43151.html</link>
  <pubDate>Thu, 15 May 2008 23:05:23 GMT</pubDate>
  <description>Hello, I use fsockopen and fputs to call a distant URL, but I have the following error : The requested URL /registration/test was not found on this server. This is my code: $req = 	'username=' . $usr . '&amp;password=' . $pass . 	'&amp;date_of_birth=' . $year . "-" . $month . "-" . $day . 	'&amp;email=' . $email . '&amp;country=' . $country; $fp = fsockopen("www.example.com", 80, $errno, $errstr, ...</description>
</item>
<item>
  <title>question about validation and sql injection</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43149.html</link>
  <pubDate>Thu, 15 May 2008 22:27:33 GMT</pubDate>
  <description>A) validating username in php as part of a registration form a user fills there desired username and this is stored in a mysql. there are certain conditions for the username. a) the username should only begin either letters or numbers, and Underscore character example = user123, 123user, u_ser123, user_123 = completely case insensitive b) a user may choose not to have an underscore or numbers sometimes. example = ...</description>
</item>
<item>
  <title>changing order of items</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43142.html</link>
  <pubDate>Thu, 15 May 2008 18:08:47 GMT</pubDate>
  <description>this one bugs me for a while. how to change order. I have a list of tasks. by status, task could be 1 (todo) or 0 (done) - status value stored in mysql. I can list tasks per status or all. order number is stored in mysql too. the easiest way to change order is to have form for each task where you will enter manually number and then submit (one submit button for whole form). but, if you change order number for any task you have to change ...</description>
</item>
<item>
  <title>RE:Windows Service Call from linux php server</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43138.html</link>
  <pubDate>Thu, 15 May 2008 15:51:05 GMT</pubDate>
  <description>I used soap to perfect the Windows service call and resolved the issue so simple it kills me. Not happy with the huge upgrade of php process but happy with final results. Resolution: &lt;?php $wsdl= "http://user:password?WSDL"; $soap = new soapclient($wsdl,"wsdl"); $soap-&gt;setCredentials("user","password"); $proxy = $soap-&gt;getProxy(); $parameters = array(Username=&gt;"",Password=&gt;"",caltalk=&gt;"",canum=&gt;"",audio=&gt;"",S ...</description>
</item>
<item>
  <title>My open source php CMS</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43135.html</link>
  <pubDate>Thu, 15 May 2008 15:23:35 GMT</pubDate>
  <description>Hello, first of all, sorry for this plug, I am looking for interested developers. I just want to let you know about my open source project that uses over 15 pear classes and uses pear installer as the primary means to install it I also wrote a web-based interface for using pear installer to install upgrades and modules I created some flash-based demos on how to install it. I really hope to find some interested developers to ...</description>
</item>
<item>
  <title>Flush file contents</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43134.html</link>
  <pubDate>Thu, 15 May 2008 15:21:43 GMT</pubDate>
  <description>Hi, How do I open a file and flush all it's contents to insert new ones and close again ? I've browsed through the fopen function aguments and didn't find one that do this (or I misunderstood one of them). Any help would be appreciated. Warm Regards, Mário Gamito -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ...</description>
</item>
<item>
  <title>Working with internal data formats</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43116.html</link>
  <pubDate>Thu, 15 May 2008 11:28:36 GMT</pubDate>
  <description>What technique can I use to take an 8-byte double precision value, as stored internally, and assign its value to a PHP float variable without having the bytes misinterpreted as a character string. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ...</description>
</item>
<item>
  <title>the class as a namespace</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43112.html</link>
  <pubDate>Thu, 15 May 2008 09:26:46 GMT</pubDate>
  <description>Is there a notion of the class as a namespace? My understanding is that the namespaces are intended to help organize the classes in large projects (and are not perfect). Is it considered good style to use a class simply to box related functions? For instance, a class called "files", contains functions I need for dealing with files - and the instantiated object is _simply_ used to access these functions - the instantiated ...</description>
</item>
<item>
  <title>SCanning text of PDF documents</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43109.html</link>
  <pubDate>Thu, 15 May 2008 08:21:20 GMT</pubDate>
  <description>Hi All. This is a quick question. A client of ours wants a solution that when a PDF document is uploaded that we use PHP to scan the documents contents and save it in a DB. I know you can do this with normal text documents using the file commands and functions. Is it possible with PDF documents? My feeling is NO, but perhaps someone will prove me wrong. Thanks in advance. Angelo ...</description>
</item>
<item>
  <title>Can I install a newer version of php over an older version</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43106.html</link>
  <pubDate>Thu, 15 May 2008 05:46:45 GMT</pubDate>
  <description>Can I install a newer version of php over an older version ? I am new to php and am in the process of installing it and reading various tutorials. I installed version php-5.2.5-win32-installer.msi I have just downloaded php-5.2.6-win32-installer.msi can I install over the first one or must I uninstall the php-5.2.5-win32-installer.msi version first. TIA Tony M ...</description>
</item>
<item>
  <title>Using SVN w/ Zend Studio for Eclipse</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43102.html</link>
  <pubDate>Thu, 15 May 2008 03:32:44 GMT</pubDate>
  <description>Hey all, Apologies ahead of time if this isn't the appropriate forum for my inquiry. I'm evaluating Zend Studio for Eclipse and it's certainly making some features that I'd hope would be trivial, extremely onerous. I'm simply trying to take an existing project which I started in TextMate and import it into ZS for Eclipse with Subversion controls attached to the project. I do not want to copy the project into a new directory as the ...</description>
</item>
<item>
  <title>Validating Form input</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43097.html</link>
  <pubDate>Thu, 15 May 2008 02:50:14 GMT</pubDate>
  <description>I was wondering what others think of my approach to form validation. I know many use Java script to do various validation. However, since there is no way to be sure the data sent to the server is actually valid, you have to check it in your php code on the server anyway. Granted you don't have to, but if you don't, you are just asking for someone to hack your system, or at the very least screw up your data. So my question is since you ...</description>
</item>
<item>
  <title>Variable Scope from child to parent</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43094.html</link>
  <pubDate>Wed, 14 May 2008 22:37:03 GMT</pubDate>
  <description>I am trying to get a child class to pass an array of valid keys to it's parent when the constructor is run, and the parent appends the data to one of it's array of valid keys. Then it walks through an array pulling out values that have valid keys, and putting them in an array for processing later. I have tried explicitly stating the variable scope. abstract class parentclass { protected $vkeys= ...</description>
</item>
<item>
  <title>Mic check 1, 2, 3...</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43086.html</link>
  <pubDate>Wed, 14 May 2008 20:51:31 GMT</pubDate>
  <description>Just wondering if the mailing list is working. I have not received anything from this list today. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ...</description>
</item>
<item>
  <title>Tracking down the elusive 'expecting T_PAAMAYIM_NEKUDOTAYIM'</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43080.html</link>
  <pubDate>Wed, 14 May 2008 20:16:46 GMT</pubDate>
  <description>I have a class that is throwing the error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM ... It is appearing in the constructor of a parent class abstract class parent { protected $titles = array('title1','title2','title3'); protected $a; 	 function __construct($set = NULL, $special = NULL) { self::$this-&gt;titles = array_merge(self::$this-&gt;titles, $special); ...</description>
</item>
<item>
  <title>Two word array Value</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43078.html</link>
  <pubDate>Wed, 14 May 2008 20:09:31 GMT</pubDate>
  <description>I am trying to use array's to populate a group of check boxes for a form. I am getting the checkboxes to print OK, but when the form is posted I am only getting part of the array. Form Page: $vars = array("Main Classroom" =&gt; "Main Classroom", "Break Out Classroom" =&gt; "Break Out Classroom", "Gym" =&gt; "Gym", "Firearms Range" =&gt; "Firearms Range", "EVOC Track" =&gt; "EVOC Track"); ...</description>
</item>
<item>
  <title>JavaScript and PHP</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43075.html</link>
  <pubDate>Wed, 14 May 2008 18:33:11 GMT</pubDate>
  <description>Hi, I have this HTML/JS page that switches images clicking on the radio buttons and call template.php with the image ID as parameter: http://portulan-online.net/einstein.html Now, I need to make it a PHP page, because it is going to receive a parameter from the URL that calls it and pass it as is to template.php So, einstein.php will be called with a parameter (satellite): ...</description>
</item>
<item>
  <title>Scottish Devs</title>
  <link>http://readlist.com/lists/lists.php.net/php-general/8/43073.html</link>
  <pubDate>Wed, 14 May 2008 16:41:15 GMT</pubDate>
  <description>Afternoon, Just had word of a freelance project on for the next 4 weeks, start immediately, basically 1 static site (design already done) - an easy job, and 1 static site + a bit of PHP, breadcrumb, site search - it's £200 GBP a day (so about £4k for the next 4 weeks), ideally for somebody who can pop into edinburgh to meet the client/agency and maybe work on site? I was offered but I'm committed at the minute, it's through a ...</description>
</item>
</channel>
</rss>
