heh..
y not u use the post method??
use a form..
put in the hidden form...
and
document.theformname.submit();
eg:
form name='theform' action='.../index.php'
input type='hidden' value='1'
/form
scriptdocument.theform.submit();/script
Jon Yaggie [EMAIL PROTECTED] wrote in message
I have a session variable called auth_user and want to put the variable into a form
field. I have tried the following and similar but am not succeeding.
INPUT TYPE=HIDDEN NAME=writer VALUE=?php echo $auth_user;?
how else might it be done
aa
--
PHP General Mailing List (http://www.php.net/)
Please advise me !
I have one problem with insert records to the mysql database.
If I run insert script in mysql command line I insert all 10801 records. If
I run insert script with php I insert only 10784 records. Do you know how to
solve this problem. In php.ini I have max_execution_time set
http://php.net/array_unique
-Original Message-
From: Aaron Bennett [mailto:[EMAIL PROTECTED]]
Sent: 8 iulie 2001 08:52
To: [EMAIL PROTECTED]
Subject: [PHP] Getting any possible value inside an array
Hi everyone...
Does someone have a quick and dirty way of returning _any_
Hi,
I am trying to write a web-based email client for my site (or are there
any samples) using php4 and POP3.
I have a book on professional PHP but that sample uses IMAP which is not
installed on my system.
Could anyone tell me where I can get some samples or how to proceed with
this
Hi all
is there anyone know where can I get a good php chat programme?
Jack
[EMAIL PROTECTED]
Love your enemies, it will drive them nuts
Hi All,
a for statment like below has been worked lowe php versions:
for ( $idx = 01; $idx = 12; $idx++ )
{
echo option value=\$idx\$idx\n;
}
like 01, 02, 03, 04, ... 12
but same statment on 4.0.6 version, it writes
01, 2, 3, 4, ... 12
what is the different between verisons? or
Hi All,
a for statment like below has been worked lowe php versions:
for ( $idx = 01; $idx = 12; $idx++ )
{
echo option value=\$idx\$idx\n;
}
like 01, 02, 03, 04, ... 12
but same statment on 4.0.6 version, it writes
01, 2, 3, 4, ... 12
what is the different between verisons? or
Hi all
I am new to php class, basically never use class before. Now I try to use a credit
card class from Zend, the class name is credit_card.pkg. How do I create the object
for this type of class and how do I call the functions from this class to use?
Jack
[EMAIL PROTECTED]
Love your enemies,
Hi all,
since long time ago i've been trying to configure php-4.0.6 with sybase
when i try ./configure --with-sybase=/sybase/directory
it compiles OK!
but when i write the initial function to sybase_connect() i get an error
messagefatal error, undeclared function :(
is there any other
Exactly what the title said, I have a class file, name credit_card.pkg, how do I
include that into another php page? The same way we do with normal include file?
Jack
[EMAIL PROTECTED]
Love your enemies, it will drive them nuts
substr($variable, 0, 3);
Doron [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
10x
--
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
Why don't you use an integer? For and strings don't like each other very
much...
?
for ($i = 0; $i 12; $i++ ) {
$idx = sprintf(%02d, $i + 1);
echo option value='$idx'$idx\n;
}
?
Bye! 8-)
Espeleta Tomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Mesut Tunga wrote:
Hi All,
a for statment like below has been worked lowe php versions:
for ( $idx = 01; $idx = 12; $idx++ )
{
echo option value=\$idx\$idx\n;
}
like 01, 02, 03, 04, ... 12
but same statment on 4.0.6 version, it writes
01, 2, 3, 4, ... 12
what is
To PHP-general group,
Is there a way to define specific variables as always global, without
needing to define them as global at each function separately? For
example, these variables are always global on my scripts, so I have to
include this line in each function:
// Global Variables.
Hya all,
I have a problem with the odbc drivers for PHP, I use a DBMaker database and when i
try to load
a binary field in the database PHP echoes the field when i use a SELECT query,
but I only want the data with odbc_result or something because it creates some
highly annoying problems.
Here is an opportunity that you can take up FREE. If you join as an
affiliate, we'll teach you how to build a profitable business on the
Internet, using our system to create an income stream and earn income
globally, 24 hours a day.
Don't let this opportunity slip past you - our organization
In previous versions I could comment in this way:
#font color=red%=$txt%/font
And now only consider #font color=red as the comment.
I think this is the proper way of working, But maybe other people could have
problems with this change ???
--
\|||/Guillermo Pérez Pérez
o
On Mon, 9 Jul 2001, Adrian D'Costa wrote:
Hi,
I am trying to write a web-based email client for my site (or are there
any samples) using php4 and POP3.
I have a book on professional PHP but that sample uses IMAP which is not
installed on my system.
Could anyone tell me where I can get
Hi,
Is there some way that I can check to see if a variable is present?
e.g.
if (variable is not present)
{
set variable to 0;
}
else
{
some code that uses variable;
}
Thanks for any advice.
James
Hello:
I would like to know if there's a PHP Banner system with the following
features:
-Allow insert the banners anywhere
-Advanced statistics page
-Limit on banner impressions/clicks
-Allow users (my customers) to see their banners statistics
-Run on MySQL
Best Regards.
http://php.net/isset
-Original Message-
From: James Bartlett [mailto:[EMAIL PROTECTED]]
Sent: 9 iulie 2001 14:44
To: [EMAIL PROTECTED]
Subject: [PHP] Help with a variable
Hi,
Is there some way that I can check to see if a variable is present?
e.g.
if (variable is not
Original message:
I am trying to write a web-based email client for my site (or are there
any samples) using php4 and POP3.
Reply:
The one which I use which matches your requirements (non-PHP, perl-module
driven) is NS WebMail,
He just said he was using PHP4, not Perl :)
- k
-
Sorry if question was asked, but i did not find any information
I use Apache/1.3.20 Win32 PHP/4.0.5 on a Windows ME
I can run commands built in command.com like dir or cd, using system() or passthru(),
but whenever i try to use external command, like pkunzip or gzip, the web server hangs
and
Thanks for the offer... trouble was I took over a poorly designed project
which had to be expanded v quickly I agree entirely .. syntax is
key.. ended up restructuring the code from scratch... quicker then
trying to hack the old.
PHP will roll over and die if you leave a ';' off the
isset() function
- Original Message -
From: James Bartlett [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 12:43 PM
Subject: [PHP] Help with a variable
Hi,
Is there some way that I can check to see if a variable is present?
e.g.
if (variable is not present)
{
set
I was simply looking for a way to easily develop re-usable components. I
know that functions can be used in php, however, the custom tag (xml type)
syntax is more clean and easy to view. I may try using xml with functions to
get what I desire.
I don't think custom tags will go away with
Hi,
Which db supports trigers and stored procedures and is also free ? I
thought mysql supports it but to my dismay it does not it will support it in
the near future
Please help as I need to find one out soon. wht abt interbase is it anygood
?
Regards,
Vishal
--
PHP General Mailing
http://www.PostgreSQL.org
-Original Message-
From: kachaloo [mailto:[EMAIL PROTECTED]]
Sent: 9 iulie 2001 16:58
To: [EMAIL PROTECTED]
Subject: [PHP] mysql, interbase, etc
Hi,
Which db supports trigers and stored procedures and is
also free ? I
thought mysql supports
I'm trying to backup a huge amount of data comming from a MySQL database.
It seems that my script times out before it is done.
I'm unable to persuade my ISP to raise the max_execution_time and thought of
using redirects instead (header).
I've written a script that backs up 500 rows and then
Hey,
What are some domain places that allow mass whois??? for like a few hundred domains
at once...?
- Jame ReDucTor Mitchell
on 7/9/01 8:17 AM, Peter Schumacher at [EMAIL PROTECTED] wrote:
I still run into the max_execution_time!!! I thought it would be reset as I
redirect to another page.
within your script
ini_set(max_execution_time, $some_bunch_of_seconds);
-- mike cullerton
--
PHP General Mailing List
Setting the open_basedir in the Apache conf file for each virtual host
should do the trick. At least on my server, with php_admin_value
open_basedir /home/david set under the section for my domain I can't see
any files outside my home directory.
With safe_mode turned on, I think that even
This works for me...
echo ' INPUT TYPE=HIDDEN NAME=writer VALUE= ' . $auth_user . ' ';
- Original Message -
From: Andrew Austin [EMAIL PROTECTED]
To: Php Lists (E-mail) [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 12:25 AM
Subject: [PHP] session variable name into form
I have a
Hi,
Is there any php download function for php. I am asking is the one like
downloading the file from the server when people click the link. Like
downloading php sources tar file.
Thank you
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
yes of course, you know your own anser :)
some_class.egn
?php
class some_class
{
// ...
}
?
index.php
?php
include_once('some_class.egn');
// ...
?
--
Chris Lee
[EMAIL PROTECTED]
Jack [EMAIL PROTECTED] wrote in message
021b01c108b1$ec596640$[EMAIL
include_once('some_class.egn');
$some_class = new some_class;
$some_class-some_function();
--
Chris Lee
[EMAIL PROTECTED]
Jack [EMAIL PROTECTED] wrote in message
020801c108af$36dc70c0$[EMAIL PROTECTED]">news:020801c108af$36dc70c0$[EMAIL PROTECTED]...
Hi all
I am new to php class,
To download a file from the server needs no special magic - just a link to
the file.
Mark C.
- Original Message -
From: Mark Lo [EMAIL PROTECTED]
To: php general [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 9:36 AM
Subject: [PHP] Download function for php
Hi,
Is there any php
why do you need a function for this ? why dont you just make a link to the
file ?
a href='some_src.tgz'some_src /a
as long as some_src.tgz is in the web root this will work. and if the file
is not in the web root, then why are you downloading something from the web
not int the web root ? make a
not exactly a php question. but to answer your question .. I have no answer.
--
Chris Lee
[EMAIL PROTECTED]
Reductor [EMAIL PROTECTED] wrote in message
005d01c10881$a8517a80$0200a8c0@ReDucTor">news:005d01c10881$a8517a80$0200a8c0@ReDucTor...
Hey,
What are some domain places that allow
-Original Message-
From: Adrian D'Costa [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 12:34 AM
To: php general list
Subject: [PHP] webmail
I am trying to write a web-based email client for my site (or
are there any samples) using php4 and POP3.
There are a few
I used similar and just put it into a function
function array_max($array)
{
asort($array);
return current($array);
}
this just gives me the first element of the array.
--
Chris Lee
[EMAIL PROTECTED]
Patrick Meisel [EMAIL PROTECTED] wrote in message
[EMAIL
We are writing a series of applications which will store a user 'profile'
between sessions as a serialized object in our Oracle database. We're storing
data like the output format a user prefers file downloads in and things like
that. If have to add certain things to this class, I'm assuming
Hey all
I'm not so sure if this is the correct place to ask this question, but I'm
hoping some of you will be able to give me some feedback. I am currently
toying around with php and mysql developing a website for myself, the
current one is partly php powered, but I am trying to move it over to
Mark Lo wrote:
Hi,
Is there any php download function for php. I am asking is the one like
downloading the file from the server when people click the link. Like
downloading php sources tar file.
Thank you
Mark
No download function that I know of, but it isn't hard to
you could use a simple assoc. array for all the user's information,
and store that serialized in the database rather than serialize
the entire object.
that way, you'd have to store less information in the DB,
and wouldnt have to worry about breaking any of your code
in the future (or the object
The way we do commonly this in Dreamtime is to have a container object
(essentially an associative array with a wrapper
(http://www.phptemplates.org/old/classref/dot_Container.html) that allows
you to get/set the profile data elements by name.
That whole object is then serialized as the (single)
James Bartlett wrote:
Hi,
Is there some way that I can check to see if a variable is present?
e.g.
if (variable is not present)
{
set variable to 0;
}
else
{
some code that uses variable;
}
Thanks for any advice.
James
isset function
variable is already 0 if !isset
--
ey guys.. anyone know of doing something like with
net.yahoo.com/cgi-bin/trace.sh?ip_here .. something that prints out every
result of the traceroute command... not showing the result after command
exited
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
This might help - straight from the PHP manual:
* * *
If track_vars is enabled and register_globals is disabled, only members of
the global associative array $HTTP_SESSION_VARS can be registered as session
variables. The restored session variables will only be available in the
array
this also works:
INPUT TYPE=HIDDEN NAME=writer VALUE=?= $auth_user ?
but the way you have it currently written is perfectly OK.
it seems as if the problem is with your variable not being
set, rather than with your PHP code.
try explicitly setting the variable a few lines above
the output of the
i just read an article in 2600 yesterday about supposed
PHP/CGI vulnerabilities. anyone else catch it?
personally, when i read the article, i started chuckling,
becuase the supposed vulnerability is not with PHP or
any particular language, but with shoddy secure
programming practises (which
/me unsubscribes : )
- Original Message -
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 11:40 AM
Subject: [PHP] a recent 2600 article about PHP/CGI vulnerabilities
i just read an article in 2600 yesterday about supposed
PHP/CGI
IE does some intelligent guessing based on filename extension that will
override headers. If you send enough headers in the right sequence you can
get it to work right - with a weird name if you want to save it and
sometimes a double query on whether or not you want to save it. Tricking it
Hey all,
I've run into a little problem:
Take, for example, combobox A and combobox B. Suppose B's options depend on what is
selected in A..
Is it possible to update B according to what is selected in A?
Thanks,
Alexander 'ad' Deruwe
--
PHP General Mailing List (http://www.php.net/)
To
mail something here:
[EMAIL PROTECTED]
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Robert Barrington [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 1:36 AM
To:
I have a php form which the user fills out with info like name, and email
address, stores the user input in a database and then it sends a link via
email to a friend. ow the form works fine as long as you are not coming from
an AOL address? when the aol user fills out the form all seems to go
Hello Maxim,
Basically I mean this: I load the page, it has two comboboxes (select with option).
The first one contains names of countries, the second names of cities within those
countries.
When I select Belgium in the first one, I only want to see all Belgian cities.
Now with JavaScript this
Hello:
My apologies if this has been covered before, or if i have missed it on
the php manual web pages. I am looking for some information on how to do
a perl like array with a *sql call in PHP.
Here is what I want to do:
table:
problem_class
_rid (tinyint)
description
Then still a JavaScript:
Find a code that loads or submits the page (passing a var) when
selecting/clicking on a country in the select list. Then using your
variable contains the country get the needed cities.
That is the only way to 'emulate' JS.
You could also provide an HTML text list of
Basically I mean this: I load the page, it has two comboboxes
(select with option).
The first one contains names of countries, the second names
of cities within those countries.
When I select Belgium in the first one, I only want to see
all Belgian cities.
Now with JavaScript this
If it's not prohibitive, you can pre-load all the possibilities into
javascript arrays via PHP, and decide which to subset to display using
javascript. I did this on a large on-line kid's encyclopedia, where the
page could display different lists of links using javascript depending on
where they
As a matter of fact you can create dynamic comboboxes, but not with
soley PHP. Because PHP is server-side, it has no idea what the user has
selected on a form, etc. JavaScript, on the other hand, is client-side, so
it keeps track of what the user is doing.
I've done this very thing for
I've done this very thing for a leasing company. I used
PHP and MySQL to create a series of arrays in Javascript.
When the user clicked on a value in the first combobox I
used onClick to call a function which loaded information
into the second box.
A definite possibility. The
That is why I am saying - loading two pages is cooler then do it all on one.
Some people are still scratching the web on 28 and 36 K - those gonna get
sick submitting your form.
Plus a page view.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
Can anyone direct me to a place where I can read up on how to use php as a
shell scripting language?
Thanks Kevin
Ouelong Group
www.ouelong.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
It's simple. Find your php binary (or build one if you don't have
one)... I think 'which php' will find it.
Then, write a php file with '#!/path/to/php -q' at the top. Use any one
of the various execution methods to run your programs. Done!
I've been doing this for quite a while. I find it
i dont quite think i understand the question, but if you
want to fetch results as an array with mysql, do this:
$result = mysql_query( sql );
mysql_fetch_array($result);
-Original Message-
From: Chris Oxenreider [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 12:39 PM
In addition, here's a POP3 class from the PHP Classes Repository...
--
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]
hey-
I know I've seen an article/tutorial on the zend website very recently about
parsing urls. It was about being able to use urls which are search engine
friendly and only use the forward slashes, and it also included the code to
interpret all of that. Does anyone know of this article who can
I am having a devil of a time getting any extensions to load on my Windows
machines.
I have the php.ini set up as follows:
[...]
extension_dir = C:\PHP\extensions
[...]
;extension=php_fdf.dll
extension=php_gd.dll
I'm trying to load the php_gd.dll, but I get the same problem with any of
the
Michael,
First, try running php.exe from the command line. When you do that, it will
probably give you a message about not being able to find certain dll's it
needs. I believe most, if not all, of the dlls you need are in your PHP
directory under a dll directory. The best thing to do is to
Sometimes you have to add the dir on the php.ini, for example:
;extension=php_df.dll
Becomes:
extension=extensions/php_gd.dll
Can't remember if it is / or \ after 'extensions'
--
Julio Nobrega.
Yes, I am developing another 'Portal-System'
Have a look:
Hi, I follow bugtraq and recently there was a thread
regarding safe_mode of php and how to break it.
The thread was killed without a conclusion to where
this is really a new threat or the same problem
(scripts executed with sage uid/gid of the web
server).
So, I was wondering if the php-dev team
I need to echo the NAME of an array to the browser. when I try this all I get is
Array. when I try to : echo $$array_name; I get nothing.
How can I get the NAME of an array to the browser?
Thanks.
Extension Loading Directives
Hi,
While reading the english version of the manual I got
stucked in a part that seems a little confusing.
enable_dl boolean
This directive is really only
The main reason for turning dynamic loading off is
security. With dynamic loading, it's possible to
you mean output the name of the variable??
what are you trying to do with that?
-Original Message-
From: Dallas K. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 4:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Name of an array???
Importance: High
I need to echo the NAME
On 7/9/2001 2:07 PM this was written:
*heavy sigh* OK, let me rephrase my inquiry. What must I do to be able
to fopen an https url? For some reason, php tries to find it in the
path that the executing script resides in.
You have to use cURL http://curl.haxx.se/ with PHP
Hi all! New to the list and new to PHP. Im trying to create Image thumbnail
dynamically versus creasting them manually via my graphics program.
Thanks,
Steph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
You must have the gd library compiled into PHP for this
http://www.php.net/manual/en/ref.image.php
?
$directory = getcwd();
$directory = $directory./photos;
$size = GetImageSize($directory/$image); // feed the name of the
original image here.
$width = $size[0];
$height = $size[1];
Not quite sure what you're getting at here. As you discovered, if you have
$Thing = array(5,6,7,8);
and you 'echo $Thing;' you get 'Array.' However, in this case, you
know the variable name already - $Thing!
Are you thinking more along these lines:
$ArrayName = 'Thing';
BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!
Dear Friend:
Making over half million dollars every 4 to 5 months from your
home for an investment of only $25 U.S.Dollars expense one time
THANKS TO THE COMPUTER AGE AND THE INTERNET!
===
BE A
When you serialize() an object in PHP, it only stores the properties,
not the methods. This way you can change any of the methods in your
class definitions, or add new properties, and when the data is
unserialize()d, it will fit into the new class definition.
The latest (development) version
Why don't you add the $file to an array, then do a sort on the array?
sort($array)
Jeff
-Original Message-
From: kmurrah [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 2:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] sorting results of opendir()
Greetings.
I need to read
Here's one way:
$dir = opendir('.');
unset($FileList);
while ($file=readdir($dir)) {
if($file!= '.' $file != '..')
{
$FileList[] = $file;
}
}
sort $FileList;
reset($FileList);
while(list(, $F) = each($FileList)) {
echo $Fbr\n;
}
If you're using
Is there any special switches I have to pass to the compile of php to create
the php binary?
Kevin
- Original Message -
From: Ben Bleything [EMAIL PROTECTED]
To: 'Kevin Pratt' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 11:03 AM
Subject: RE: [PHP] PHP as a shell
Hi,
I'm doing project using php that will allow me to enter an ISBN number of a
book, and put that book info into my database.
Is there any free book database out there that I can query using ISBN, and
will return me the info such as the title, author, publisher? If I can just
get the title
The Library of Congress web site is good for that sort of thing. You can
search for an ISBN and have returned a formatted MARC record/etc which is
fairly easy to parse. I don't have code anymore, but I did exactly this at
one time.
c
-Original Message-
From: Reuben D Budiardja
i cannot seem to find any function that's similar to
perl's caller() function - to get information about the
file/function that is calling the current function.
for example, the test() function is called from scott.php
scott.php
? include('test.php'); ?
Hello there
?
test();
?
test.php
There are... but I'm not sure what they are. If you
build PHP _without_ any options, I believe you will get
the binary.
Read the documentation that comes with the source. It
will show you the way.
Ben
Quoting Kevin Pratt [EMAIL PROTECTED]:
Is there any special switches I have to pass to
Just store each $file into an array ($array[] = $file)
and the sort($array). Works dandy =
Ben
Quoting kmurrah [EMAIL PROTECTED]:
Greetings.
I need to read the contents of a directory, sort
it alphabetically, and
display it
i'm doing find on the reading and displaying,
but can
Just don't compile it with apache or some other web server. It should
create the executable then.
Tyler
- Original Message -
From: Kevin Pratt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 12:01 PM
Subject: [PHP] PHP as a shell script
Can anyone direct me to a
Not sure if this helps but how about?
?
$months=array(January=array(31,has 1 day holiday),
February=array(28,is very cold));
for($i=0; $i count($months); $i++) {
while(list($key,$val)=each($months)) {echo $key.' has
'.$val[0].' days, it '.$val[1].' BR';}
dont use --with-apxs or --with-apache
./configure --my-options
make
make test
make install
that should do it.
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 3:07 PM
To: Kevin Pratt; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP as a shell
on 7/9/01 2:27 PM, Steph at [EMAIL PROTECTED] wrote:
Hi all! New to the list and new to PHP. Im trying to create Image thumbnail
dynamically versus creasting them manually via my graphics program.
There's a nice one here:
http://www.brokenchair.org/projects/snippets/
Susan
--
PHP
Yep all done thanks...
Kevin
- Original Message -
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 1:26 PM
Subject: RE: [PHP] PHP as a shell script
dont use --with-apxs or --with-apache
./configure --my-options
make
make test
make install
There's a search engine optimization tutorial at Webmonkey:
http://hotwired.lycos.com/webmonkey/01/23/index1a.html?tw=e-business
It mentions doing the Amazon-style search-engine friendly URLs and links to
a page about mod_rewrite for Apache:
http://httpd.apache.org/docs/mod/mod_rewrite.html
Try reading the directory contents into an array, sorting it, *then*
outputting the contents of the array:
$dir = opendir(.);
$dirlist = array();
$index = 0;
while($file = readdir($dir) $file != . $file != ..){
$dirlist[$index++] = $file;
}
sort($dirlist);
foreach($dirlist as
On 09-Jul-01 Andrew Chase wrote:
Try reading the directory contents into an array, sorting it, *then*
outputting the contents of the array:
$dir = opendir(.);
$dirlist = array();
$index = 0;
while($file = readdir($dir) $file != . $file != ..){
$dirlist[$index++] = $file;
}
hey-
I'm writing my band's website mostly in PHP. My original idea was to use a
switch statement to compensate for all the different functions i would need
to use, for example a function to stream songs, download songs, display
links, display shows, etc...
I wanted to have all these functions
1 - 100 of 168 matches
Mail list logo