On Thu, Apr 5, 2012 at 8:02 PM, Kirk Bailey wrote:
If you don't want to read the manual or a book, you could quickly do
some Google'ing as below:
> ok.
> filelist=inventory all files in directory "./"
>
filesystem site:php.net
> for file in filelist: // walk a listing of many items
loop site:
jim, I am a novice at this language as I said.
On 4/5/2012 10:44 PM, Jim Giner wrote:
As Tommy says - you sound like a total new user who doesn't know how to do
it and furthermore doesn't know how many things you are going to have to
pick up just to accomplish this task.
You have to:
determine
ok.
'
// notice that is a 'singlequote' immedately followed by a
"doublequote".
?>
Something like this. In python I would write something like:
#!/usr/bin/python
import string, glob
files=glob.glob("./*.*") # files is a
list variable (a 1 dimensional addressable ar
As Tommy says - you sound like a total new user who doesn't know how to do
it and furthermore doesn't know how many things you are going to have to
pick up just to accomplish this task.
You have to:
determine the folder your script is running from
collect an array of image file names from that
On Thu, Apr 5, 2012 at 7:26 PM, Kirk Bailey wrote:
>
> Now ai am still a novice at p[hp, how can I do this ?
>
Have you read any book on PHP? even the official from PHP.net? Learn
the tool so you know how to use it, efficiently. Otherwise how do you
know if the tool can do what you want... Wh
I need a page that will live in a directory and list all image files
in there. That is, the page has
tags emitted in it's structure, one per file in the directory with a
saught file type- .png, .gif, .jpg, you get the idea.
this should use relative addressing so once the tool is built I can
us
Send the code around line 198, say 170 to 210.
On Apr 5, 2012, at 8:42 PM, Al wrote:
>
>
> On 4/5/2012 4:15 PM, Ethan Rosenberg wrote:
>> Dear Lists -
>>
>> I know I am missing something fundamental - but I have no idea where to
>> start to
>> look.
>>
>> Here are code snippets:
>>
>> I hav
On 4/5/2012 4:15 PM, Ethan Rosenberg wrote:
Dear Lists -
I know I am missing something fundamental - but I have no idea where to start to
look.
Here are code snippets:
I have truncated the allowed_fields to make it easier to debug.
$allowed_fields = array( 'Site' =>'POST[Site]', 'MedRec' =>
And POST[] is not the same as $_POST[]
Karl
Sent from losPhone
On Apr 5, 2012, at 3:24 PM, "Jim Giner" wrote:
> I don't know about others, but I can't make sense of this - way too much
> presented with no idea of what I am looking at - code or output.
>
> One thing: $_Request is not the sam
I don't know about others, but I can't make sense of this - way too much
presented with no idea of what I am looking at - code or output.
One thing: $_Request is not the same var as $_REQUEST.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Dear Lists -
I know I am missing something fundamental - but I have no idea where
to start to look.
Here are code snippets:
I have truncated the allowed_fields to make it easier to debug.
$allowed_fields = array( 'Site' =>'POST[Site]', 'MedRec' =>
'$_POST[MedRec]', 'Fname' => '$_POST[Fnam
On Wed, Apr 4, 2012 at 6:16 AM, Bastien wrote:
>
>
> Bastien Koert
>
> On 2012-04-03, at 10:39 PM, Tim Dunphy wrote:
>
>> Hello list,
>>
>> I am quite sure that you've heard this question at least a few times
>> before. :) But I have been dabbling a bit in PHP for years and I've
>> decided that
Larry Garfield wrote:
[snip]
Donovan
Most major projects at this point leave it off, and their coding
standards say to as well. The official PHP docs are generally
non-commital by design, but outside of those I think it's pretty
well-established to just leave it off and be happy.
--Larry Garfi
On 4/4/12 12:14 AM, Donovan Brooke wrote:
Robert Cummings wrote:
[snip]
Could using ob_start and ob_end_flush eliminate the ambiguity of whether
or not to use '?>'?
In the generally recommended case of don't use them at the end of your
file... where's the ambiguity?
http://www.php.net/manua
14 matches
Mail list logo