to the appropriate place and not the list's
responsibility to second-guess where a reply should be directed.
So what do I do if I have one account only? Should I keep changing the
Reply-To for each email I send so that replies to other unrelated mail
don't end up on php list? The list should second-guess
to other unrelated mail
don't end up on php list? The list should second-guess members of the list
want to reply to the list 99% of the time without being wrong.
I disagree. Oddly, I've known people who have been operating using the
correct methodology for well over a decade with no ill effects
[confirm: d4f4e96b28db80982ba1cdf3572dbcee [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: John Wulff [mailto:[EMAIL PROTECTED]
Sent: 30 June 2003 21:40
I want to write a function that manipulates each piece of
data in an array
(except for the first). Right now I'm using list as follows from this
array:
$cdata = array(
I want to write a function that manipulates each piece of data in an array
(except for the first). Right now I'm using list as follows from this
array:
$cdata = array(
array(Apr-03,12747.17,23486.55,319062.24,257828.73,0.00),
array(Sep-02,12379.46,10246.92,482295.71,618131.35,14.99)
);
Hi,
is there any way to get a list of all defined variables?
It is intended to be used to get and identify all defined objects to call
some costum decunstructor at the scripts end.
Thanks!
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PHP General Mailing List
print_r(get_defined_vars());
On Fri, 2003-06-27 at 09:07, Thomas Weber wrote:
Hi,
is there any way to get a list of all defined variables?
It is intended to be used to get and identify all defined objects to call
some costum decunstructor at the scripts end.
Thanks!
Thomas 'Neo' Weber
$GLOBALS
Thomas Weber wrote:
Hi,
is there any way to get a list of all defined variables?
It is intended to be used to get and identify all defined objects to call
some costum decunstructor at the scripts end.
Thanks!
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PHP General
Yea thanks, we must have been blind when searching the php-docs ;)
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
- Original Message -
From: Adam Voigt [EMAIL PROTECTED]
To: Thomas Weber [EMAIL PROTECTED]
Cc: PHP-List [EMAIL PROTECTED]
Sent: Friday, June 27, 2003 3:09 PM
Hi all...
Is there any way of reading the contents of a directory into an array so I
can generate a listing from it?
I can't see a filesystem function for this, how about with ftp functions? Am
looking around at the moment but would appreciate some help.
I am looking to read each file in the
On Thu, 2003-03-20 at 17:09, Alin wrote:
if you are using mysql try:
$query=show tables;
$result=mysql_db_query(database-name,$query) or die(Query error);
whlie(list($table-name)=mysql_fetch_row($result)){
echo Columns from $table-name: br;
$query=show columns from $table-name;;
use mysql_list_tables ?
= Original Message From shaun [EMAIL PROTECTED] =
Hi,
i would like to list all of the tables and field names in my database
e.g.
table 1
field 1
field 2
field 3
table 2
field 1
field 2
field 3
table 3
field 1
field 2
field 3
etc
is there a
Hi,
i would like to list all of the tables and field names in my database
e.g.
table 1
field 1
field 2
field 3
table 2
field 1
field 2
field 3
table 3
field 1
field 2
field 3
etc
is there a simple way to do this?
thanks for your help
--
PHP General Mailing List
As noted earlier, in the manual
and please don't cross post.
Miles
At 05:37 PM 3/26/2003 +, shaun wrote:
Hi,
i would like to list all of the tables and field names in my database
e.g.
table 1
field 1
field 2
field 3
table 2
field 1
field 2
field 3
table 3
field 1
field
hi there , is there any way to possibly get the list via email ? i can only
access it via the newsgroup viewer in outlook and my firewall guy at work
persists not to let me have access and you guys are very important to have
in the community while i am @ work, not saying i cant do anything my self
Yes. http://www.php.net/mailing-lists.php
electroteque wrote:
hi there , is there any way to possibly get the list via email ? i can only
access it via the newsgroup viewer in outlook and my firewall guy at work
persists not to let me have access and you guys are very important to have
in the
do i add my email in the subsription box for the ezlm ? if so i have tried
it before and never got an email, the others are links to archives and
newsservers
Leif K-Brooks [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yes. http://www.php.net/mailing-lists.php
electroteque wrote:
Daniel --
...and then electroteque said...
%
% hi there , is there any way to possibly get the list via email ? i can only
...
Um, yeah. Look at the bottom of every post, including the very one you
just made:
% --
% PHP General Mailing List (http://www.php.net/)
% To unsubscribe, visit:
shit i'm a dope this is the email address [EMAIL PROTECTED], as i
access the group via newsgroup i never knew :|, but what i am saying is , as
like mysql it is downloading all the messages to my inbox i cannot do this
with the php list i can only post, and can only read them in the newsgroup
they get to your newsgroup?
% like mysql it is downloading all the messages to my inbox i cannot do this
% with the php list i can only post, and can only read them in the newsgroup
% viewer, and also what i'm saying is the firewall dude has blocked newsgroup
% port access so i cant access
Sebastian --
...and then Sebastian said...
%
% every so often i get a blank email that contains an attachment, a ATTxyz.dat
% and ATTxyz.txt why?
Don't know that for sure, but ...
%
% I just got a reply from David T-G, Thread Deleting a page after viewing it
% and its blank with an
[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 8:24 AM
Subject: Re: [PHP] PHP list problems?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: Thursday, February 27, 2003 8:24 AM
Subject: Re: [PHP] PHP list problems?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
every so often i get a blank email that contains an attachment, a ATTxyz.dat
and ATTxyz.txt why?
I just got a reply from David T-G, Thread Deleting a page after viewing it
and its blank with an attachment..
warm regards,
Sebastian - [BBR] Gaming Clan
http://www.broadbandreports.com
Hi,
how can i sort names by first letter, like, show only names starting
with a, then b, c .. etc
tnx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
how can i sort names by first letter, like, show only names starting
with a, then b, c .. etc
Where is the data? In an array? database? file?
If it's a database, then you can just do
SELECT * FROM table WHERE column LIKE 'a%'
or
SELECT * FROM table WHERE LEFT(column,1) = 'a'
---John
Is it possible to display the contents of a given folder, list them , and
make them links?
--
Mike Yrabedra
President
323, Inc.
Home of The MacDock and The MacSurfshop
[http://macdock.com] : [http://macsurfshop.com]
VOICE: 770.382.1195
iChat/AIM: ichatmacdock
On Thu, 20 Feb 2003 11:33:19 -0500, you wrote:
Is it possible to display the contents of a given folder, list them , and
make them links?
http://www.php.net/manual/en/function.readdir.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it possible to display the contents of a given folder, list them , and
make them links?
Yes.
---John Holmes...
PS: www.php.net/readdir
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 2/20/03 11:49 AM, David Otton at [EMAIL PROTECTED] wrote:
Is it possible to display the contents of a given folder, list them , and
make them links?
http://www.php.net/manual/en/function.readdir.php
Thanks :-)
--
Mike Yrabedra
President
323, Inc.
Home of The MacDock and The
You can also take a look at:
http://www.php.net/manual/en/function.opendir.php
Hope this helps.
At 11:54 AM 2/20/2003 -0500, you wrote:
on 2/20/03 11:49 AM, David Otton at [EMAIL PROTECTED] wrote:
Is it possible to display the contents of a given folder, list them , and
make them links?
please remove [EMAIL PROTECTED] from the list.
-Original Message-
From: David T-G [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 06:06
To: PHP General list
Cc: Beauford.2002
Subject: Re: [PHP] List problem
Beauford --
...and then Beauford.2002 said...
%
% Does anyone else
Does anyone else get bounced messages saying they can't send email to
[EMAIL PROTECTED] when sending email to the list? Every email I send to
the list I get this. I don't get this when sending email to anyone else or
any other list.
TIA
--
PHP General Mailing List (http://www.php.net/)
To
On Monday 17 February 2003 01:54, Beauford.2002 wrote:
Does anyone else get bounced messages saying they can't send email to
[EMAIL PROTECTED] when sending email to the list? Every email I send
to the list I get this. I don't get this when sending email to anyone else
or any other list.
Yes,
At 18:54 16.02.2003, Beauford.2002 said:
[snip]
Does anyone else get bounced messages saying they can't send email to
[EMAIL PROTECTED] when sending email to the list? Every email I send to
the list I get this. I don't get this when sending email to anyone
Beauford --
...and then Beauford.2002 said...
%
% Does anyone else get bounced messages saying they can't send email to
% [EMAIL PROTECTED] when sending email to the list? Every email I send to
Yep. Looks like that person was subscribed to this list and died but the
list hasn't yet kicked out
``List-Unsubscribe''
hey!
this is the code I'm using to get into array all filenames in a directory:
$mydir = mydir //the directory name
$output_file = fopen($data_file, w);
$begin = ?
\$files_name = array(;
fwrite($output_file, $begin);
$output_file
An easy way would be to to convert your code to a function and use
recursion with an is_dir conditional.
Here is a quick example, there are also a few examples in the user notes
at the PHP manual for opendir or readdir.
function lsdir($dir) {
if ($handle = opendir($dir)) {
I have been looking for an example of how to create a listing of items
in a table where you have the first item in the list have a link so
that when you click on it, it will open a page for editing the contents
of that item. So for instance you have a list of employees, and you
want to change
a.php
?php
list($a) = $_GET;
print $a;
?
and I typed a.php?b=c
I expected c would be printed, What the problems have I made?
--
Regards,
Ns_Andy, [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Have another look here:
http://www.php.net/list
Note that the list construct only works
on numerical arrays and assumes 0-n. You
may want to use import_request_variables()
or extract() though.
Regards,
Philip Olson
On Wed, 18 Dec 2002, Ns_Andy wrote:
a.php
?php
list($a) = $_GET
ic,
thanks all.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Besides Google, is there any other site that archives
this list? I checked PHP Builder but I can't seem to
find a thread (or message) dated after April...
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Looking for this?
http://marc.theaimsgroup.com/?l=php-general
- E
Chris Boget [EMAIL PROTECTED] wrote:
Besides Google, is there any other site that archives
this list? I checked PHP Builder but I can't seem to
find a thread (or message) dated after April...
...[snip]...
--
PHP
Is there some var that does this automaticly? I don't really know what to
search for on php.net.. :P
If there isn't, is there any other way to do this? I know it's possible with
asp but I have no plans on using asp :P
Håkan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Tuesday 21 May 2002 02:24, Hawk wrote:
Is there some var that does this automaticly? I don't really know what to
search for on php.net.. :P
If there isn't, is there any other way to do this? I know it's possible
with asp but I have no plans on using asp :P
Download the manual and look for
I have a problem.
I am fetching rows from a MySQL table called temp. Each row has four
fields: Name, 1, 2 and 3
Then I do this function which will eventually generate records for a
lookup table for any skills in the 1, 2 or 3 fields that equal the string
YES associated with the Name (right
I forgot to show you some output from this thing...
---{0,BLOW, JOE}---Name is BLOW, JOE, Key = 0 |
---{Name,BLOW, JOE}---Name is BLOW, JOE, Key = Name |
---{1,YES}---1 |
---{2,}---
---{3,YES}---3 |
The way I see it, that first line should have not printed because $key is
equal to 0 not
Amazing things happen when you compare values of different types. The
numerical value of Name is zero. Try using === to compare type as well
as value.
miguel
On Tue, 23 Apr 2002, John S. Huggins wrote:
I forgot to show you some output from this thing...
---{0,BLOW, JOE}---Name is BLOW,
The Earth shook, Angles sang, there was much rejoicing.
Behold Miguel is correct. === did the trick.
It sure is nice to know I am not going nuts.
Much thanks.
John
On Tue, 23 Apr 2002, Miguel Cruz wrote:
-Amazing things happen when you compare values of different types. The
-numerical
Wow, I didn't know Angles could sing...:-) Sorry, bad attempt at humor.
-Original Message-
From: John S. Huggins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 11:53 AM
To: Miguel Cruz
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] List, Key, Value oh my.
The Earth shook, Angles
Since no one seems to have heard of a php driven list server could someone
get me started on writting my own by telling me who I would read from stdin.
-Jim
_
Join the worlds largest e-mail service with MSN Hotmail.
On Tuesday 02 April 2002 22:10, Anzak Wolf wrote:
Since no one seems to have heard of a php driven list server could someone
get me started on writting my own by telling me who I would read from
stdin.
fopen(php://stdin, r);
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
/*
On Tuesday 02 April 2002 22:10, Anzak Wolf wrote:
Since no one seems to have heard of a php driven list server could
someone
get me started on writting my own by telling me who I would read from
stdin.
fopen(php://stdin, r);
How does that relate to readline()?
On Wednesday 03 April 2002 01:05, Anzak Wolf wrote:
On Tuesday 02 April 2002 22:10, Anzak Wolf wrote:
Since no one seems to have heard of a php driven list server could
someone
get me started on writting my own by telling me who I would read from
stdin.
fopen(php://stdin, r);
I thought I remember reading somewhere about a list server written in PHP.
Does anyone know of something like this and is it any good?
-Jim
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
--
Ok, I've got to be doing something wrong here. I've been
beating my head up against the wall for some time and I
just cannot figure out what it is. Before I say it's a bug with
list(), could someone tell me what I'm doing wrong?
?
$policy = 1016726726--1--1016643856;
// problematic
list(
Why do you put each(explode()) ? Just list() = explode() is what you
want.
-Rasmus
On Mon, 25 Mar 2002, Chris Boget wrote:
Ok, I've got to be doing something wrong here. I've been
beating my head up against the wall for some time and I
just cannot figure out what it is. Before I say it's
Why do you put each(explode()) ? Just list() = explode() is what you
want.
I did that because I thought they were complimentary functions? Just about
every example I've seen of list() uses each(). Just using explode() makes it
work. Obviously I'm going to have to go back and read more
change to:
list( $policy_num, $policy_year, $application_reference ) = explode( --,
$policy );
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 11:22 AM
To: PHP General
Subject: [PHP] list(), each()
Ok, I've got to be doing something wrong
Hello,
disable_functions still works ONLY via setting in php.ini.
I think this is a bug.
ini_set(disable_functions, phpinfo);
has no effect,
php_value_admin disable_functions phpinfo
shows the correct output from phpinfo with one line for
disable_functions phpinfo...
At least this is a bug.
: Thyago Consort [EMAIL PROTECTED]
To: Adam Baratz [EMAIL PROTECTED]; PHP List
[EMAIL PROTECTED]
Sent: Tuesday, January 15, 2002 12:00 PM
Subject: [PHP] quit me off the php list
-Original Message-
From: Adam Baratz [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 11 de janeiro de 2002
-Original Message-
From: Adam Baratz [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 11 de janeiro de 2002 01:40
To: PHP List
Subject: Re: [PHP] PHP Parsing Database Text
Is it possible to have PHP parse text queried from
a database (security issues notwithstanding)?
If so, how?
Yes
-Original Message-
From: Adam Baratz [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 11 de janeiro de 2002 01:40
To: PHP List
Subject: Re: [PHP] PHP Parsing Database Text
Is it possible to have PHP parse text queried from
a database (security issues notwithstanding)?
If so, how?
Yes
-Original Message-
From: Adam Baratz [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 11 de janeiro de 2002 01:40
To: PHP List
Subject: Re: [PHP] PHP Parsing Database Text
Is it possible to have PHP parse text queried from
a database (security issues notwithstanding)?
If so, how?
Yes
-Original Message-
From: Adam Baratz [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 11 de janeiro de 2002 01:40
To: PHP List
Subject: Re: [PHP] PHP Parsing Database Text
Is it possible to have PHP parse text queried from
a database (security issues notwithstanding)?
If so, how?
Yes
-Original Message-
From: Adam Baratz [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 11 de janeiro de 2002 01:40
To: PHP List
Subject: Re: [PHP] PHP Parsing Database Text
Is it possible to have PHP parse text queried from
a database (security issues notwithstanding)?
If so, how?
Yes
-Original Message-
From: Adam Baratz [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 11 de janeiro de 2002 01:40
To: PHP List
Subject: Re: [PHP] PHP Parsing Database Text
Is it possible to have PHP parse text queried from
a database (security issues notwithstanding)?
If so, how?
Yes
-Original Message-
From: Adam Baratz [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 11 de janeiro de 2002 01:40
To: PHP List
Subject: Re: [PHP] PHP Parsing Database Text
Is it possible to have PHP parse text queried from
a database (security issues notwithstanding)?
If so, how?
Yes
/Quit Thyago Consort
:D
Hey I tried!
- Original Message -
From: Thyago Consort [EMAIL PROTECTED]
To: Adam Baratz [EMAIL PROTECTED]; PHP List
[EMAIL PROTECTED]
Sent: Tuesday, January 15, 2002 12:00 PM
Subject: [PHP] quit me off the php list
-Original Message-
From: Adam
The bottom of EVERY MESSAGE has instructions for removing yourself from the
list. Please follow them.
c
--
Chris Lott -- http://www.chrislott.org/
-Original Message-
From: Thyago Consort [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 10:01 AM
To: Adam Baratz; PHP List
Hi,
I 'd like to know how can we list all the sessions concurrently
active on a web site. If anyone out there knows how to do the
trick please help. Thanks in advance!
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I have to subscribe to the mailing list now, in order to use the news group?
Somebody has some work to do :)
Sorry for the hassle, but the volume of unsolicited commercial
email sent to PHP mailing lists has made this step necessary.
Yeah but it's supposed to be a news server??!!
Here's my
OK so I'vebeen reading about reading and writing to/from files, but what I
want to do is (I think) simpler than this.
Basically I want to look at a directory and be able to get a list of all
subdirectories and then a list of the files in each directory. Can someone
give me a hint?
cheers
On Tue, Aug 21, 2001 at 01:26:27PM +0100, Seb Frost wrote:
OK so I'vebeen reading about reading and writing to/from files, but what I
want to do is (I think) simpler than this.
Basically I want to look at a directory and be able to get a list of all
subdirectories and then a list of the
Here is some code that I use to do what you wanted and attach is the files
for the folders.
This uses javascript that works well with Internet Explorer and creates
sublist that appear in the folder.
?
error_reporting (E_ALL ^ E_NOTICE);
?
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0
how about readdir() in a while loop.
- Original Message -
From: Seb Frost [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 21, 2001 5:26 AM
Subject: [PHP] List of files?
OK so I'vebeen reading about reading and writing to/from files, but what I
want to do is (I think
Hi!
this is half OT :-[
I want to list all files, that are included in my script with include() or
require().
I am convinced I can do this in Linux with some command, that listes all
files, that have been accessed the last xxx hours or minutes or seconds ... (and
this would be exactly what I
remove yourself. :)
To unsubscribe, e-mail: [EMAIL PROTECTED]
- Original Message -
From: danny brown [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 12:25 PM
Subject: [PHP] remove me from php list
thanks
--
PHP General Mailing List (http
Little note not only to you: Getting no answer after ~3 hours
does *not* mean you have to resubmit the question.
Agreed.
No answer usually means:
1) We don't know
2) We don't know anyone who knows
3) We're asleep
or
4) We don't care (hey, most of us have our own interests)
This
-Original Message-
From: Tim McGuire [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 2:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP] List of included file names.
Hi,
I searched the archives for this.
For debugging purposes, I want to see a list of the included files
: [EMAIL PROTECTED]
Subject: [PHP] List of included file names.
Hi,
I searched the archives for this.
For debugging purposes, I want to see a list of the included files on a
page in HTML comments.
PHP_SELF and HTTP_SERVER_VARS[SCRIPT FILENAME] only returns the name
-
From: Tim McGuire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 2001. június 19. 17:42
Subject: [PHP] list of included file names
Hi,
I searched the archives for this.
For debugging purposes, I want to see a list of the included files on a page in HTML
comments.
PHP_SELF and HTTP_SERVER_VARS
Hi,
I searched the archives for this.
For debugging purposes, I want to see a list of the included files on a page in HTML
comments.
PHP_SELF and HTTP_SERVER_VARS[SCRIPT FILENAME] only returns the name + path of the
file calling the included files.
I want each included file to contribute
I miss the feeling of having over a hundred mails a day, glad it is back
again.
Jack[EMAIL PROTECTED]"Love
your enemies, it will drive them nuts"
Try using $PHP_SELF to get the name of the PHP script.
- Original Message -
From: Tim McGuire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 11:30 AM
Subject: [PHP] List of included file names.
Hi,
I searched the archives for this.
For debugging purposes
On Tuesday 19 June 2001 17:42, Tim McGuire wrote:
For debugging purposes, I want to see a list of the included files on a
page in HTML comments.
http://php.net/get_included_files
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Very funny, Scotty! Now beam up my clothes...
On Tuesday 19 June 2001 20:30, Tim McGuire wrote:
I searched the archives for this.
For debugging purposes, I want to see a list of the included files on a
page in HTML comments.
Little note not only to you: Getting no answer after ~3 hours does *not*
mean you have to resubmit the
PROTECTED]
Subject: [PHP] List of included file names.
Hi,
I searched the archives for this.
For debugging purposes, I want to see a list of the included files on a
page in HTML comments.
PHP_SELF and HTTP_SERVER_VARS[SCRIPT FILENAME] only returns the name +
path of the file calling
Hi,
I searched the archives for this.
For debugging purposes, I want to see a list of the included files on a page in HTML
comments.
PHP_SELF and HTTP_SERVER_VARS[SCRIPT FILENAME] only returns the name + path of the
file calling the included files.
I want each included file to contribute
Hi,
Does anyone know how I can list all the files begining with help in one of my
pages.
So I have a dir which has various files, like so:
help_me.php
help_you.php
help_us.php
Is there some command I can use to select all the files and then print them
out?
TIA
Ade
--
PHP General Mailing
01 8:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] List Files
Hi,
Does anyone know how I can list all the files begining with help in one
of my
pages.
So I have a dir which has various files, like so:
help_me.php
help_you.php
help_us.php
Is there some command I can use to select all the files a
$foo = `ls help*`;
$files = explode("\n",$foo);
while(list(,$fname) = each($files))
echo $fname."\n";
--Joe
On Thu, Apr 19, 2001 at 08:25:19AM -0400, [EMAIL PROTECTED] wrote:
Hi,
Does anyone know how I can list all the files begining with help in one of my
pages.
So I have a dir
I have a little mysql question. I'm using php to list a table from mysql.
I'm doing: $result=mysql_query("select * from messagem where flag=1 order
by
date");
But The first list of the "mysql_fetch_row($result)" is the first date. I
want to start printing by the last date.
But I want to know
You can sort in descending order in your sql statement
select * from messagem where flag-1 order by date desc
Seung-woo Nam
Augusto Cesar Castoldi wrote:
I have a little mysql question. I'm using php to list a table from mysql.
I'm doing: $result=mysql_query("select * from messagem
How can I list the files in a diretory?
Something like, get the files name in an array...
http://www.php.net/manual/en/class.dir.php
Chris
How can I get PHP (version 3) to list all the CGI parameters it was passed?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] This PHP list
Being a newbie, and as i'm sure is the case with alot of other newbies, one
that doesn't have a lot of programming back ground, ask stupid questions to
this list because for some things that you find easy others, like my self,
don't know
PROTECTED]
Subject: [PHP] This PHP list
I was hoping that this PHP list would be of people developing
with PHP, who
have reached some level of familiarity with the product and when they have
had a fair go at solving a problem, they then posted it to the list. For
example, we have
301 - 400 of 427 matches
Mail list logo