Hi all.
I have the PHP manual in my PDA but its extraordinary large to search
for a function. Does anybody know a Functions list that I can download
for my PDA? Im looking for something which shows the function and a
short description of what it works for.
function_name() =
On Tue, 9 Jul 2002 15:05:21 -0300, you wrote:
I have the PHP manual in my PDA but its extraordinary large to search
for a function. Does anybody know a Functions list that I can download
for my PDA? Im looking for something which shows the function and a
short description of what it works for.
calls to php functions.
I was thinking of writting a hack that uses a lock file on the server put
if there is a proper way to do it then I would
rather use that.
Any suggestions would be good.
Shared memory may be faster than lock files...
*WHY* you think you need synched PHP functions
On Wednesday, July 3, 2002, at 04:08 AM, Philip MacIver wrote:
The problem is that sessions are local to the clients machine
Huh?
so if I tried to put this information in the session then the only
information that I would get back is the people that
are
logged in on my machine, not the
Well I have a system that people can login to, and I want to produce an
array (or something of the sort)
that holds who is logged in so that I can monitor it.
Aha!
The who's logged in right now feature! :-)
Problem #1.
First, you need to clearly define logged in
Am I logged in for the less
Does anyone know anyway to synchronize calls to php functions.
I was thinking of writting a hack that uses a lock file on the server put if there is
a proper way to do it then I would
rather use that.
Any suggestions would be good
Does anyone know anyway to synchronize calls to php functions.
I was thinking of writting a hack that uses a lock file on the server put
if there is a proper way to do it then I would
rather use that.
Any suggestions would be good.
Shared memory may be faster than lock files...
*WHY* you think
I am trying to define a function that is *like* the standard PHP include()
function but is slightly different, but I am running into trouble with
varible scoping. The idea is this:
I want to mimic include() in a way such that when I include a file, it can
then include files relative to itself,
hi
i would like now how can we call a function within another function in
php?
thx a lot
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
function firstfunction(){
code;
code;
code;
secondfunction();
}
-Original Message-
From: Alia Mikati [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2002 06:38
To: [EMAIL PROTECTED]
Subject: [PHP] functions
hi
i would like now how can we call a function within another function in
php
Hi Alia,
i would like now how can we call a function within another function in
php?
The same way you'd call it from outside a function :-)
?php
function hello () {
echo hello ;
}
function world () {
hello ();
echo world;
}
hello();
echo br;
world();
?
...should output
hello
?php
function say_hello(){ print Hello; }
function welcome() { say_hello(); }
welcome();
?
HTH
Regards,
Andrey Hristov
- Original Message -
From: Alia Mikati [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 4:37 PM
Subject: [PHP] functions
hi
i would like now
may offer
-Original Message-
From: margehair.terra.es [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 5:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] New php functions?
I love that manual! And what about the one in win help format? Not too bad,
int it? They say it now works
: Re: [PHP] New php functions?
I love that manual! And what about the one in win help format? Not too bad,
int it? They say it now works under MSLinux. Probably Mandrake too, but not
tested yet.
Extended info at http://www.mslinux.org
See ya,
Marga
Vas escriure:
I've got the PHP manual
It begs the question, why don't you just download the manual?
It's available in a myriad of different formats, one of which
must suit you. It may not be bang up-to-date and it may not have
the (sometimes) useful user comments but it sure saves you a lot
of time and bandwidth.
Heheh ...
is.
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 4:52 PM
To: 'Jason Wong'; [EMAIL PROTECTED]
Subject: RE: [PHP] New php functions?
It begs the question, why don't you just download the manual?
It's available in a myriad of different formats
I've got the PHP manual as a series of hyper-linked HTML
pages. Searchig is is very fast. And, I don't need to wait
for download of single page.
Each to their own, each to their own ... :)
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 4:52 PM
To: 'Jason Wong'; [EMAIL PROTECTED]
Subject: RE: [PHP] New php functions?
It begs the question, why don't you just download the manual?
It's available in a myriad of different formats, one of which
must suit you. It may
Extended info at http://www.mslinux.org
ROFLMAO
-Original Message-
From: margehair.terra.es [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 5:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] New php functions?
I love that manual! And what about the one in win help format
It was probably the last thing you looked for there. I know I
constantly go back to look up Date() placeholders.
I know the feeling! In the end I printed the Date page out, folded it up and
stapled it into my PHP pocket ref book
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952
On Thursday 28 March 2002 17:13, Jon Farmer wrote:
It was probably the last thing you looked for there. I know I
constantly go back to look up Date() placeholders.
It begs the question, why don't you just download the manual? It's available
in a myriad of different formats, one of which
I went to php.net wnating info on the date() function. To my surprise the word date
was already in the search for field.
Has PHP developed some new functions?
Possible code
?
$question = read_psychic_aura(user);
$answer = answer_question($question);
echo $answer;
?
If not are these ever
I went to php.net wnating info on the date() function. To my
surprise the word date was already in the search for field.
It was probably the last thing you looked for there. I know I
constantly go back to look up Date() placeholders. :)
J
--
PHP General Mailing List
Is there a website that lists all the default functions and variables?
EI: $REMOTE_ADDR AND $PHP_SELF
--
Jason Whitaker
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.php.net/manual/en/language.variables.predefined.php
http://www.php.net/manual/en/funcref.php
-Original Message-
From: Jason Whitaker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 4:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Functions
Try the phpinfo() function:
Example:
htmlheadtitlePHP Test/title/head
body
?php phpinfo()?
/body/html
-Teresa
-Original Message-
From: Jason Whitaker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 4:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Functions
Okay, my goal is to compile an array of *all* functions currently
defined and available in PHP 4.1.1.
That's a simple task if all I want is functions for the extensions I
chose to compile into PHP (get_defined_functions()), but what about the
other ones? Is there a place somewhere that has a
On Saturday 02 February 2002 02:29, Mike Eheler wrote:
Okay, my goal is to compile an array of *all* functions currently
defined and available in PHP 4.1.1.
That's a simple task if all I want is functions for the extensions I
chose to compile into PHP (get_defined_functions()), but what
That'll do! Thanks!
Mike
Jason Wong wrote:
On Saturday 02 February 2002 02:29, Mike Eheler wrote:
Okay, my goal is to compile an array of *all* functions currently
defined and available in PHP 4.1.1.
That's a simple task if all I want is functions for the extensions I
chose to compile into
More about this here:
http://www.php.net/manual/en/function.func-get-arg.php
Robert Zwink
http://www.zwink.net/daid.php
-Original Message-
From: Chris Hall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 9:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] functions...
function
function lala() {
do i HAVE to define a variable or argument eg
function lala($var) {
or can i use it like:
lala($stmt);
will $stmt become part of the function?
--
Chris Hall
hardwired industries
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] functions...
function lala() {
do i HAVE to define a variable or argument eg
function lala($var) {
or can i use it like:
lala($stmt);
will $stmt become part of the function?
--
Chris Hall
hardwired industries
--
PHP General Mailing List (http
Hi there !
I just want to know what is the max size that a function can be before it
becomes out of range for the function that follows?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Hi there !
I just want to know what is the max size that a function can be before it
becomes out of range for the function that follows?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
I need to solve the following problem, but I can't figure out how:
Let's assume we have a server called www.test.com
When a user access http://www.test.com/path/username,
I want a php script to execute, as if the url entered was
http://www.test.com/path.php?value=username.
I'm running PHP 4.0.6
Try method=GET in Your form to submit if You want to url be like
url?var=value. Or php function header( 'Location: ' .rul . 'var=value' );
That's all You need I hope. Sorry but Your question is not good explained.
Krzysztof Kocjan
Martin Lindhe wrote:
I need to solve the following problem,
Try method=GET in Your form to submit if You want to url be like
url?var=value. Or php function header( 'Location: ' .rul .
'var=value' );
No, i'm not using a form, and i cant execute any php scripts whatsoever
if there are no php script specified to execute.
That's all You need I hope.
Hi Martin,
Take a look at the Apache mod_rewrite docs.
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
I added this to my httpd.conf:
---snip---
RewriteEngine on
RewriteCond %{HTTP_HOST}^nu\.osd\.dk$
RewriteRule ^.*$http://www.osd.dk/main.php?m=nu
[R=301,L]
Note: The example I wrote is only 3 lines, each starting with RewriteX!
Beware of unintended line breaks caused by newsposting. :)
--
Tais M. Hansen
Tais M. Hansen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
---snip---
RewriteEngine on
RewriteCond
Hi Martin,
Take a look at the Apache mod_rewrite docs.
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
Thanks alot!
I made a similar solution which works
RewriteEngine on
RewriteRule ^/x/(.*) http://www.server2.com/users/$1;
takes www.server1.com/x/martin to
I think I remember doing it a while ago. But I think you need to use
mod_alias instead. Take a look here:
http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect
The Redirect/RedirectMatch/RedirectTemp might do it.
--
Tais M. Hansen
Martin Lindhe [EMAIL PROTECTED] wrote in message
I think I remember doing it a while ago. But I think you need to use
mod_alias instead. Take a look here:
http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect
The Redirect/RedirectMatch/RedirectTemp might do it.
RedirectMatch permanent ^/x/(.*)
[EMAIL PROTECTED] (Martin Lindhe) writes:
Hi Martin,
Take a look at the Apache mod_rewrite docs.
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
Thanks alot!
I made a similar solution which works
RewriteEngine on
RewriteRule ^/x/(.*)
useful link: http://www.apache.org/docs-2.0/misc/rewriteguide.html
RewriteEngine on
RewriteRule ^/x/(.*)http://www.server2.com/users/$1 [P]
Hm, what does the [P] do? I played around a bit and figured that
a [T] does the trick for me, thanks!
/Martin
--
PHP General Mailing List
I think if you use RedirectMatch temp ... it'll work...
-tais
Martin Lindhe [EMAIL PROTECTED] wrote in message
831D8A28AF18D5119EAA00E018C5B81C23BA11@MAIL1">news:831D8A28AF18D5119EAA00E018C5B81C23BA11@MAIL1...
I think I remember doing it a while ago. But I think you need to use
mod_alias
AFAIR it's [P]ermanent and [T]emporary... But I could be wrong!!
-tais
Martin Lindhe [EMAIL PROTECTED] wrote in message
831D8A28AF18D5119EAA00E018C5B81C23BA13@MAIL1">news:831D8A28AF18D5119EAA00E018C5B81C23BA13@MAIL1...
useful link: http://www.apache.org/docs-2.0/misc/rewriteguide.html
I am wrong! ;)
Tais M. Hansen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
AFAIR it's [P]ermanent and [T]emporary... But I could be wrong!!
-tais
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
This is what they mean:
(from http://www.apache.org/docs-2.0/mod/mod_rewrite.html)
***
'proxy|P' (force proxy)
This flag forces the substitution part to be internally forced as a proxy
request and immediately (i.e., rewriting rule processing stops here) put
through the proxy module.
Let's assume we have a server called www.test.com
When a user access http://www.test.com/path/username,
I want a php script to execute, as if the url entered was
http://www.test.com/path.php?value=username.
I'm running PHP 4.0.6 on Apache 1.3.20.
Step 1: Rename path.php to
On Fri, 7 Sep 2001 13:28:16 +0200 impersonator of
[EMAIL PROTECTED] (\ Tais M. Hansen) planted I saw in
php.general:
Hi Martin,
Take a look at the Apache mod_rewrite docs.
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
I added this to my httpd.conf:
Or if you don't have access to
-
From: Frank Loewenthal [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 24, 2001 11:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] functions returning arrays II
A lot of answers about the typing error
$r[ i ] resp. $r[ $i ]
Sorry, this was only wrong in my mail. But this is not the solution.
Hi
A lot of answers about the typing error
$r[ i ] resp. $r[ $i ]
Sorry, this was only wrong in my mail. But this is not the solution.
Hi
Perhaps I am confused, but is it not possible to return arrays in PHP?
Example:
function getArray() {
$ret = array('hallo','you');
return
Hi,
A lot of answers about the typing error
$r[ i ] resp. $r[ $i ]
Sorry, this was only wrong in my mail. But this is not the solution.
Okay this was really the mistake. Hm... it is Friday, sorry for this
stupid question.
Regards
Frank
--
SFI Technology Services AG
Dr. F.
i'm working on a site that is going to require some fancy image switching
based on URL called...thats part isn't a problem...the problem comes in the
way that i'm passing the HTML from the function.
My main concern here is speed with the second being workload on the server.
right now the
Okay there is a file called global.inc
?php
// display a list from the DB
function list_of_maps () {
db_connect ();
$sql = SELECT mapname,rowid FROM maps;
$result = mysql_query($sql);
while ($row = mysql_fetch_row ($result)) {
return a
]
Sent: Friday, July 06, 1979 8:27 AM
Subject: [PHP] functions?
Okay there is a file called global.inc
?php
// display a list from the DB
function list_of_maps () {
db_connect ();
$sql = SELECT mapname,rowid FROM maps;
$result = mysql_query($sql);
while ($row
on 7/6/01 11:36 AM, rick at [EMAIL PROTECTED] wrote:
while ($row = mysql_fetch_row ($result)) {
$map_list .= a href='viewonly.php3?mapid=$row[1]'$row[0]/abr; }
}
return $map_list;
Thanks Rick! This worked great.
I guess I'm right in assuming that all you can get back from a function is
Hi,
Is there a tutorial of some sort on how I add function sets to PHP4?
I've searched the net for more info about this other than what the PHP4.x
manual says, and I saw some reference to freshmeat, but I couldn't find
that.
Any help appreciated, thanks!
--
/\ ASCII ribbon | Anders Clerwall *
On Tue, Apr 24, 2001 at 03:06:40PM +0200, Anders Clerwall wrote:
Hi,
Is there a tutorial of some sort on how I add function sets to PHP4?
I've searched the net for more info about this other than what the PHP4.x
manual says, and I saw some reference to freshmeat, but I couldn't find
that.
Hi,
I'm running a small web hosting server on my machine and offering
PHP+MySQL to virtual hosting clients.
I've coded an additional PHP module, which I want to be a paid
add-on feature to the clients. Is there a way to disable the
module or functions (it contains 2 functions) globally and
On Mon, Apr 16, 2001 at 12:42:50PM +0200, indrek siitan wrote:
I've coded an additional PHP module, which I want to be a paid
add-on feature to the clients. Is there a way to disable the
module or functions (it contains 2 functions) globally and then
specifically enable them to certain
On Mon, Apr 16, 2001 at 07:17:24PM +0200, indrek siitan wrote:
but is there an enable_functions keyword to explicitly enable
those functions in httpd.conf (this should be possible with
the php_value keyword, as far as I understood from the manual).
no. But you can put a .htaccess in the
Edit Plus, which uses a list of PHP functions to know
what words to highlight in the code.
Well now that I have a seriously throbbing headache, I've done it.
Finally.
If you use a program that needs a list of functions for syntax
highlighting,
I've finally got one that has eve
06, 2001 12:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Nearly all (1755) PHP functions in a text file
First of all I use Edit Plus, which uses a list of PHP functions to know
what words to highlight in the code.
Well now that I have a seriously throbbing headache, I've done
it. Finally
So, now that you've seen 'em all, which one is your favorite? :)
Kirk
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 1:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Nearly all (1755) PHP functions in a text file
In any case, there are 1755
AIL PROTECTED]">news:[EMAIL PROTECTED]...
So, now that you've seen 'em all, which one is your favorite? :)
Kirk
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 1:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Nearly all (1755) PHP functi
Hi
I guess I was sleeping when this had happened but I still have to ask :
1. When were all of the php functions that hade a "_" in them renamed to
have a "-" instead?
For example "aspell-suggest" instead of "aspell_suggest".
2. When were these func
functions
Hi
I guess I was sleeping when this had happened but I still have to ask :
1. When were all of the php functions that hade a "_" in them renamed to
have a "-" instead?
For example "aspell-suggest" instead of "aspell_suggest".
2. When were these func
Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 18, 2001 7:31 PM
To: PHP General (E-mail)
Subject: [PHP] PHP functions
Hi
I guess I was sleeping when this had happened but I still have to ask :
1. When were all of the php functions that hade a "_&quo
In article 961qbm$hbj$[EMAIL PROTECTED], [EMAIL PROTECTED]
("Kato Strandjord") wrote:
HI is it possible to do what i have shown with the 3 php files under? I want
that a variable stored in a another php file like this, and then i want to
get the stored variable from a 3rd php file. How can
Is there a way to call php functions in perl? or call perl functions from
PHP codes?
?php
exec("/full/path/to/script.pl", $output, $error);
while (list(,$line) = each($output)){
echo $line, "BR\n";
}
if ($error){
echo "OS Err
Is there a way to call php functions in perl? or call perl functions from
PHP codes?
Thanks,
David
_
Get your FREE download of MSN Explorer at http://explorer.msn.com
--
PHP General Mailing List (http://www.php.net
Hi,
What are the advantages/disadvantages of functions returning by reference?
TIA
--
Richard Heyes
--
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:
On Sun, 28 Jan 2001, Kumanan wrote:
Hi,
i got problem with functions
when i call the files with url//filename.php?action=pal
all the time it says
Fatal error: Call to unsupported or undefined function pal_edit() in
/cfiles/memberlink.php on line 7
Declare your functions
Sent: Saturday, January 27, 2001 4:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] functions
Hi,
i got problem with functions
when i call the files with url//filename.php?action=pal
all the time it says
Fatal error: Call to unsupported or undefined function pal_edit() in
/cfi
o
thanks
kumanan
"Nick Winfield" [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Sun, 28 Jan 2001, Kumanan wrote:
Hi,
i got problem with functions
when i call the files with url//filename.php?action=pal
all the time it says
Hey there,
is there a way that you can get a function to return multiple values. e.g.:
{and also how to access them}
function VarTest() {
return $var = 10;
return $var2 = 20;
}
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
echo foo(dog);// outputs "This is a dog"
This is an example of using a "bareword" - PHP doesn't recognize _dog_ as
any sort of reserved word or constant, so it sends it like a quoted string.
I don't recommend using this because it's ambiguous whether you mean "dog"
or if _dog_ is a
Hi
not the () after the function name
function ShowMessage() {
echo "Show message...\n";
}
How can I call the function now?
echo ShowMessage();
:: Emil
---
Emil Rasmussen
http://www.noget.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Hi!
ShowMessage();
regards
Marcelo Gulin
Augusto Cesar Castoldi escribi:
How do I use a function?
I did:
function ShowMessage {
echo "Show message...\n";
}
How can I call the function now?
thanks,
Augusto Cesar Castoldi
--
PHP General Mailing List
201 - 280 of 280 matches
Mail list logo