Re: [PHP] File_get_contents()

2005-04-07 Thread Franklin van de Meent
If you have set allow_url_fopen to On in your php.ini, file_get_contents('php://stdin'); should work On Apr 7, 2005 2:21 PM, Jeff McKeon <[EMAIL PROTECTED]> wrote: > > Sorry, > > What I'm actually doing is this. > > $handle=fopen("php//stdin/","r"); > file_get_contents($handle); > > I should

Re: [PHP] Easy way to grab a value out of XML?

2005-04-01 Thread Franklin van de Meent
If you are using PHP5 check out SimpleXML (http://php.net/simplexml) On Apr 1, 2005 10:53 PM, Brian Dunning <[EMAIL PROTECTED]> wrote: > I've been looking at the XML commands and am feeling a bit overwhelmed. > My needs are simple and I'm hoping there's an easy solution that I'm > just missing.

Re: [PHP] php: "else if" problem

2005-03-22 Thread Franklin van de Meent
In PHP you should write it as "} elseif {", so there's no space between else and if. Read http://php.net/elseif for more details On Tue, 22 Mar 2005 22:48:00 +0200, Leonidas Savvides <[EMAIL PROTECTED]> wrote: > to: 'php-general@lists.php.net' > > from: Leonidas Savvides > > Please see my pro

Re: [PHP] Using switch() to process a set of forms

2005-03-08 Thread Franklin van de Meent
On Mon, 07 Mar 2005 19:19:24 -0600, Greg Dotts <[EMAIL PROTECTED]> wrote: > Sure enough Kirk! That was it. Seems strange that you can set a > name/value pair on the tag, but they aren't used. Guess they > were just kidding ;-) The name attribute is used in javascript, for example when you are

Re: [PHP] ftp upload via web form - problem getting the file name correct

2005-03-08 Thread Franklin van de Meent
Hello Steve, I tried this on my own servers and after replacing "" with $ftp_server it works perfectly, all ASCII files get uploaded the way they should with the correct filenames. Do you get any errors? (add error_reporting(E_ALL); above the login vars to show them all) -- PHP General Mailing

Re: [PHP] How to change font attributes in dropdown?

2004-09-12 Thread Franklin van de Meent
Hello Jeff, You can use the style attribute in like you have done in the So this: echo " $row[0] "; Could look like this: echo " $row[0] "; -- Franklin van de Meent [EMAIL PROTECTED] On Sun, 12 Sep 2004 19:46:51 -0700, Jeff Swanberg <[EMAIL PROTECTED]>