I've seen this type of creating a timestamp quite often now and was even so
often shaking my head about it. Guess i've seen it somewhere in the PHP
Documentation's user contributed notes on day. Just google for the term and
you will find many hits like this:
http://www.mail-archive.com/[EMAIL
Hello Red,
Tuesday, April 6, 2004, 3:40:07 PM, you wrote:
RW I've seen this type of creating a timestamp quite often now and was even so
RW often shaking my head about it. Guess i've seen it somewhere in the PHP
RW Documentation's user contributed notes on day. Just google for the term and
RW
Replace the above two lines with
$time = date('YmdHis', mktime(0,0,0,$month,$day,$year);
ok the function works now because when i echo the output of
$_SESSION['add']['start_date'] it shows the right 14 digit timestamp for the
date i wanted to create... now the problem is getting it to echo
From: Andy B [EMAIL PROTECTED]
Replace the above two lines with
$time = date('YmdHis', mktime(0,0,0,$month,$day,$year);
ok the function works now because when i echo the output of
$_SESSION['add']['start_date'] it shows the right 14 digit timestamp for
the
date i wanted to create...
date() expects a UNIX timestamp. MMDDHHMMSS is NOT a UNIX timestamp.
So,
instead of converting the UNIX timestamp to MMDDHHMMSS in your function,
why not leave it a UNIX timestamp? Then you can send it through date()
whenever you want it formatted.
yea...it works now...hmmm... dont know
Hello all,
I was going to build a function to check whether a selected date
exists, but thought that I would see if anyone has done this type of
thing already which would indeed save me some time.
I have a form where the users select the day of the week, month, date
and year from 4 pulldowns.
dear all,
I have a problem on using image function. I've download the zlib and lpng
file as it was told, but i still can't use the image function.
How can I install these files into php??
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi!
When I set the session.cache_expire to 60 minutes then on the webpage,
how do I get PHP to tell me that session had expired via PHP function or
something?
Thanks,
Scott F.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Scott Fletcher wrote:
Hi!
When I set the session.cache_expire to 60 minutes then on the webpage,
how do I get PHP to tell me that session had expired via PHP function or
something?
Thanks,
Scott F.
None, but you can take care of the cleanout yourself. Than you have
complete control over
Hello Scott,
Friday, February 13, 2004, 8:43:59 PM, you wrote:
SF When I set the session.cache_expire to 60 minutes then on the webpage,
SF how do I get PHP to tell me that session had expired via PHP function or
SF something?
Check for the existence of the session - if it's not there, it's
Does this mean I need to recompile from source code?
(seems an extreme measure to me but what do I know)
Is that difficult to do on a windows machine? I see it in some phpinfo's
out there like this: http://www.php.net/~jimw/info.php but that's not in
mine or at school or most hosting companies
http://uk.php.net/md5
Thanks,
Jon
jon bennett | [EMAIL PROTECTED]
new media creative
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
J b e n . n e t
91 Gloucester Rd, Trowbridge, Wilts, BA14 0AD
t: +44 (0) 1225 341039 w: http://www.jben.net/
On 23 Jan 2004, at 09:55,
Hi all,
are in PHP, functions for crypt and decrypt string?
I would to use this function in my script in PHP, how can I use this?
I need of an example for use this and a list of this function.
Thanks in advance.
On Friday, January 23, 2004, at 08:55 PM,
[EMAIL PROTECTED] wrote:
Hi all,
are in PHP, functions for crypt and decrypt string?
I would to use this function in my script in PHP, how can I use this?
I need of an example for use this and a list of this function.
Thanks in advance.
READ THE MANUAL
Hi List,
I have a self-made function that uses a MySql statement something like this:
Function MyFunc(){
sql = mysql_query(select * from table where somefield=\somevar\){
while(blah blah){
$var =blah blah;
}
}
return $blah;
}
This works ok but if I add a bit to the sql then I get a
Hello Dave,
Tuesday, January 13, 2004, 12:34:33 PM, you wrote:
DC sql = mysql_query(select *, count(id) as cnt from table where
DC somefield=\somevar\){
It's nothing to do with your function, simply that your SQL is invalid.
--
Best regards,
Richardmailto:[EMAIL
From: Dave Carrera [EMAIL PROTECTED]
I get a Warning:
mysql_fetch_array(): supplied argument is not a valid MySQL result
resource
Whenever you get this warning it's because your query failed for some reason
and you're trying to use a result that's not valid. Use mysql_error() to
see what the
On Tuesday 13 January 2004 20:34, Dave Carrera wrote:
[snip]
My Question is Why ?
Any help is a appreciated and I thank you fully in advance.
You're not checking for errors. Incorporate error checking code and make use
of mysql_error().
--
Jason Wong - Gremlins Associates -
would appreciate it.
Thank you
Dave C
-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED]
Sent: 13 January 2004 12:48
To: Dave Carrera
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Function Problem (Long-ish)
Hello Dave,
Tuesday, January 13, 2004, 12:34:33 PM, you wrote:
DC
: [EMAIL PROTECTED]
Subject: RE: [PHP] Function Problem (Long-ish)
Thanks for the reply Richard.
If I use this sql in my func:
$sql = mysql_query(select count(fieldtocount) as cnt, sum(fieldforsum)
as total from $tab3 where fieldtocompare =\$varcomparedwith\);
Then all is fine and works
Hello Dave,
Tuesday, January 13, 2004, 12:57:35 PM, you wrote:
DC If I use this sql in my func:
DC $sql = mysql_query(select count(fieldtocount) as cnt, sum(fieldforsum) as
DC total from $tab3 where fieldtocompare =\$varcomparedwith\);
DC Then all is fine and works as expected.
Is this MySQL?
-Original Message-
From: Vincent Jansen [mailto:[EMAIL PROTECTED]
Sent: 13 January 2004 13:05
To: 'Dave Carrera'; 'Richard Davey'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Function Problem (Long-ish)
I doubt that...
MySQL says:
Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns
Shawn McKenzie wrote:
Maybe a dumb question, but as good coding practice, should all functions
return something even if they don't need to???
Example:
function do_it()
{
echo hi;
}
--or--
function do_it()
{
return echo hi;
}
Also, if they do other things but really don't return anything,
Shawn McKenzie wrote:
Maybe a dumb question, but as good coding practice, should all functions
return something even if they don't need to???
Example:
function do_it()
{
echo hi;
}
--or--
function do_it()
{
return echo hi;
}
Also, if they do other things but really don't
]
Subject: RE: [PHP] Function returns
Shawn McKenzie wrote:
Maybe a dumb question, but as good coding practice, should all functions
return something even if they don't need to???
Example:
function do_it()
{
echo hi;
}
--or--
function do_it()
{
return echo hi;
}
Also
Maybe a dumb question, but as good coding practice, should all functions
return something even if they don't need to???
Example:
function do_it()
{
echo hi;
}
--or--
function do_it()
{
return echo hi;
}
Also, if they do other things but really don't return anything, should they
return
Hi!
Anyone know what is the php function for finding the length of the array?
I haven't found the answer at http://us3.php.net/manual/en/ref.array.php .
Thanks,
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 15:44 6-1-04, you wrote:
Hi!
Anyone know what is the php function for finding the length of the array?
I haven't found the answer at http://us3.php.net/manual/en/ref.array.php .
looking for the number of elements? -count($arrayname)
--
PHP General Mailing List (http://www.php.net
Ah! Thanks!!!
Chris Hayes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
At 15:44 6-1-04, you wrote:
Hi!
Anyone know what is the php function for finding the length of the
array?
I haven't found the answer at http://us3.php.net/manual/en/ref.array.php
.
looking
:44 6-1-04, you wrote:
Hi!
Anyone know what is the php function for finding the length of the
array?
I haven't found the answer at http://us3.php.net/manual/en/ref.array.php
.
looking for the number of elements? -count($arrayname)
--
--
www.curvedvision.com
Anyone know what is the php function for finding the length of the array?
I haven't found the answer at http://us3.php.net/manual/en/ref.array.php .
You are aware that all the available array functions are listed about
halfway down that page, right
--- Mike Migurski [EMAIL PROTECTED] wrote:
Anyone know what is the php function for finding the length of the
array? I haven't found the answer at
http://us3.php.net/manual/en/ref.array.php .
You are aware that all the available array functions are listed about
halfway down that page
Not sure why the last section won't work...
/* Function to search for hosts */
function search_dhcp() {
if ((empty($_POST['search'])) (empty($_POST['hosts01']))
(empty($_POST['hn'])) (empty($_POST['ma'])) (empty($_POST['i']))
(empty($_POST['v']))) {
unset($_SESSION['search']);
[snip]
Not sure why the last section won't work...
...so much code it made my head hurt
[/snip]
Not sure either. Did you have a question?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
MySQL version: 4.0.16
PHP version: 4.3.2
Problem code:
$query = SELECT * FROM tablename
WHERE columnname LIKE '%any_eight_digits%';
mysql_query($query);
Results:
query fails, mysql_errno() returns 1064 (syntax error)
I have tracked the problem down to the WHERE clause; using any other
number of
I call this function it checks a session variable then displays 1 of 3
menus... for some reason it will only display the first menu regardless
of the results of my decoded session var. Any help or just a new pair
of eyes would help. Thanks in advance.
jas
function menu() {
$lvl =
Hello Jas,
Wednesday, December 3, 2003, 6:15:20 PM, you wrote:
J I call this function it checks a session variable then displays 1 of 3
J menus... for some reason it will only display the first menu regardless
J of the results of my decoded session var. Any help or just a new pair
J of eyes
Hi,
Having some problems with multi-dimentional arrays.
I am creatng an array using some database data, and adding stuff like an image
tag, and hyperlink.
Then passing this to another function that creates an Html table from an array.
Here is the function to create the table from an
Hi all:
The money_format function does not do it for me. Is
there a simple php function which appends the '$'
symbol to a string value. Example
$money = 30
$money = some_php_function($money)
echo $money
//should show $30
thanks
__
Do you Yahoo!?
Free Pop
Joffrey Leevy wrote:
Hi all:
The money_format function does not do it for me. Is
there a simple php function which appends the '$'
symbol to a string value. Example
$money = 30
$money = some_php_function($money)
echo $money
//should show $30
thanks
How 'bout...
$money = '$' . 30
On Sat, 2003-11-22 at 23:35, John Nichel wrote:
Joffrey Leevy wrote:
Hi all:
The money_format function does not do it for me. Is
there a simple php function which appends the '$'
symbol to a string value. Example
$money = 30
$money = some_php_function($money)
echo $money
/*
Hmmm, that's prepending... how about:
$money = 30.'$';
or if he wants it at the beginning:
$money = strrev( strrev( '30' ).'$' );
*heheh*
Rob.
*/
Pretty damn good and didnt require the installation of Interjinn either!!!
Hehehe
Peace.
-Ryan
--
PHP General Mailing List
Hello,
How to test if a function has been disabled. I tried doing this:
if(function_exists(rmdir)) {
echo rmdir Function exists ;
} else {
echo rmdir Function DOES NOT exists ;
}
So the test says that the function exists, but if we use it, I get:
rmdir() has been disabled for security
hi,
while using ipman php script and come accross this problem...
function ip_mask_valid($mask)
{
$maskroot = (int)sqrt(abs(ip2long($mask)));
return ( (float)$maskroot == sqrt(abs(ip2long($mask))) );
}
this function is not returning true/successfull output when say given
255.255.254.0
function splitPageResults($query, $max_rows, $count_key = '*',
$page_holder = 'page') {
Am I wrong in assuming that $count_key is being explicitly set to '*' in
this instance?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Brian V Bonini [EMAIL PROTECTED]
function splitPageResults($query, $max_rows, $count_key = '*',
$page_holder = 'page') {
Am I wrong in assuming that $count_key is being explicitly set to '*' in
this instance?
Only if no value is passed when the function is called.
I'm trying to make this function work, but I'm not good at
functions. I have created a variable for testing payment equal
to 1 or 0 to see what would happen based on whatever the
condition is in my database (the sql stuff is not here because i
have to figure this thing out first). I get a
function $payment{
Change that to:
function payment{
$global $payment;
Regards,
-Gregory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Make that:
function payment{
global $payment;
-Gregory
-Original Message-
From: Gregory Kornblum [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 1:30 PM
To: 'Frank Tudor'; 1PHP
Subject: RE: [PHP] function problem (simple redirect)
function $payment{
Change
--- Frank Tudor [EMAIL PROTECTED] wrote:
function $payment{
You probably mean payment, not $payment.
header (location:test_page.html);
The Location header has an uppercase L, a space after the colon, and an
absolute URL after the space. Your example violates all three.
Hope that helps.
There's a PEAR (o PCLE, can't remeber, search at http://pear.php.net)
implementation of threads, though its experimental yet.
Manu.
Kb [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dear Mohamed
Yes, I am looking for multithreading process , thank you for the
suggestion
charles
Hi NG
I would like to intiate the same function many times, running in the
background using php,
Thank you in advance for any suggestion
Kind regards
Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I would like to intiate the same function many times, running in the
background using php,
[/snip]
for($i = 0; $i 1000; $i++){
foo($blork); // function runs one thousand times
}
Please RTFM, STFW, and STFA for PHP tutorials.
Thank you.
--
PHP General Mailing List
You're talking multithreading and/or forking extra processes? check the
docs for that... search for fork...
Mohamed~
On Tue, 2003-10-14 at 11:05, KB wrote:
Hi NG
I would like to intiate the same function many times, running in the
background using php,
Thank you in advance for any
Dear Mohamed
Yes, I am looking for multithreading process , thank you for the suggestion
charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
[snip]
I would like to intiate the same function many times, running in the
background using php,
[/snip]
for($i = 0; $i 1000; $i++){
foo($blork); // function runs one thousand times
}
Please RTFM, STFW, and STFA for PHP tutorials.
Thank you.
This is not what he
[snip]
This is not what he asked. He wants to run the process in the
background.
PHP's process control functions may do what you need
http://us3.php.net/manual/en/ref.pcntl.php
[/snip]
My badunder the influence of anti-histamines and other cold
medicines.
--
PHP General Mailing List
Jay Blanchard wrote:
[snip]
This is not what he asked. He wants to run the process in the
background.
PHP's process control functions may do what you need
http://us3.php.net/manual/en/ref.pcntl.php
[/snip]
My badunder the influence of anti-histamines and other cold
medicines.
Well, the
g:ia).br /\n;
echo Then: .date(m/d/y g:ia, $timesince).br /\n;
?
That should be right, I think...
- Original Message -
From: Chris W. Parker
To: [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 7:34 PM
Subject: [PHP] function to show time passed since event
Hiya.
Tried
Hello,
Is there any function which will remove extra spaces between each
words..??
for example if the user typed
asked his friend..
is there any function to remove the extra space between his and asked
except one space ??
Regards,
Uma
--
PHP General Mailing List
Well, you can make your own function to to that:
?php
function repairString($input) {
$string = NULL;
$iTmp=explode( ,$input);
foreach($iTmp as $word) { if($word!=) $string.=$word ; }
return trim($string);
}
print repairString(this is atest ); // prints this is a test
?
Javier
Or this one works too :)
?php
function repairString($input) {
while(($ninput=ereg_replace( , ,$input))!=$input) { $input = $ninput; }
return trim($ninput);
}
print repairString(this is atest ); // prints this is a test
?
Javier Tacón.
-Mensaje original-
De: Javier Tacon
You mean something like
ereg_replace(' +', ' ', 'asked his friend..');
or perhaps
preg_replace('/ +/', ' ', 'asked his friend..');
?
Of course, if you're getting this data from a luser, those may not be spaces.
They could be obscure, non-printing characters. Take a look at
FYI, preg_replace /should/ be the fastest of all these methods (including
Javier's).
On Tuesday 07 October 2003 02:25 am, Evan Nemerson wrote:
You mean something like
ereg_replace(' +', ' ', 'asked his friend..');
or perhaps
preg_replace('/ +/', ' ', 'asked his
Hi!
I got a problem with functions which I call before they're
defined. I get the error message:
Fatal error: Call to undefined function: view() in
/daten/www/midgard/cache/62.php on line 470
The code snippet:
8-
switch($argv[0]) {
case 'view':
I use mail() function in php, but there's no living mail from my system.
MUST be mail() function turn on in some special place (ini file, ...)
??
THANKS.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Set SMTP setting in php.ini to the smtp server of your provider (and
don't forget to restart web server).
[EMAIL PROTECTED] wrote:
I use mail() function in php, but there's no living mail from my system.
MUST be mail() function turn on in some special place (ini file, ...)
??
THANKS.
--
PHP
September, 2003 01:48
Subject: Re: [PHP] Function in php
Hi,
Wednesday, September 24, 2003, 3:27:48 PM, you wrote:
UST Hello,
UST I am using strpos function for finding the string position in a
UST particular string . if the searching string is empty it is showing this
UST warning error
UST
Hello,
I am using strpos function for finding the string position in a
particular string . if the searching string is empty it is showing this
warning error
Warning: Empty delimiter in filename text.php on line 33
is there any other way to avoid displaying this warning error..??
Hi,
Wednesday, September 24, 2003, 3:27:48 PM, you wrote:
UST Hello,
UST I am using strpos function for finding the string position in a
UST particular string . if the searching string is empty it is showing this
UST warning error
UST Warning: Empty delimiter in filename text.php on line
On Sun, Sep 21, 2003 at 09:10:16AM -0700, Raquel Rice wrote:
:
: On Wed, 17 Sep 2003 21:22:36 +1000
: Justin French [EMAIL PROTECTED] wrote:
:
: I posted a similar topic a few months back. I guess the answer is
: that the collaborative nature of open source, and the fact that
: PHP has grown
One thing that's always bothered me about PHP is that the function names
are not terribly consistent. For example, when are underscores okay?
strip_tags() has an underscore but stripslashes() does not. Also,
should inverse functions be named appropriately? htmlentities() and
I posted a similar topic a few months back. I guess the answer is that
the collaborative nature of open source, and the fact that PHP has
grown from very humble beginnings has meant that naming standards and
conventions are a little lacking.
It would've been nice if these issues were
:[EMAIL PROTECTED]
Sent: 17 September 2003 10:51
To: [EMAIL PROTECTED]
Subject: [PHP] consistent PHP function names?
One thing that's always bothered me about PHP is that the function names
are not terribly consistent. For example, when are underscores okay?
strip_tags() has an underscore
Am Mit, 2003-09-17 um 14.26 schrieb [EMAIL PROTECTED]:
In practice, I find that all my code is wrapped up in custom functions and
objects anyway - I name those quite carefully to avoid confusing myself and
others, but don't need to worry too much about the naming conventions of the
functions
* Thus wrote Ney André de Mello Zunino ([EMAIL PROTECTED]):
I seek to find out whether PHP also has a syntax to allow function calls
within a string, so that explicit concatenation is not needed. E.g.:
something like:
$s = The result is {getResult($foo)}.;
as opposed to
$s =
Hello.
PHP possesses what the manual calls complex syntax for allowing one to
include non-trivial expressions in strings, e.g.:
$s = The result is {$results[$foo]}.;
I seek to find out whether PHP also has a syntax to allow function calls
within a string, so that explicit concatenation is
How do I get a function to return an array? This code doesn't work:
function getData() {
function builds the array $theArray - tested ok
return $theArray;
}
Any help on the syntax would be appreciated.
Cheers
Leonie
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
Monday, September 8, 2003, 11:54:10 AM, you wrote:
L How do I get a function to return an array? This code doesn't work:
L function getData() {
L function builds the array $theArray - tested ok
L return $theArray;
L }
L Any help on the syntax would be appreciated.
L Cheers
L
Nothing. But it I run:
function getData() {
etc..
print_r ($theArray);
return $theArray;
}
the data is definitely there.
I should add that the function is within a class so it is like this:
class excel_com {
(all tested - it works well)
function getData() {
etc..
Hi,
Monday, September 8, 2003, 12:16:47 PM, you wrote:
L Nothing. But it I run:
L function getData() {
L etc..
L print_r ($theArray);
L return $theArray;
L }
L the data is definitely there.
L I should add that the function is within a class so it is like this:
L class excel_com {
Nothing. But it I run:
function getData() {
etc..
print_r ($theArray);
return $theArray;
}
the data is definitely there.
I think the example in the PHP manual goes something like...
function getData () {
// blah, blah
return array ('value1', 'value2', ...);
}
Then you would call it
Good morning!
I would like to call a function from a FORM's ACTION attribute. This is
what I'm trying to do:
FORM
ACTION=www.example.com/PHP_FILENAME/function_name?parameter1=xparameter2=y
etc...
I can include the PHP_FILENAME but passing parameters to the function I
can't figure out how to
call a PHP function using a form since a
form is on the client and PHP is on the server.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robin Kopetzky wrote:
I would like to call a function from a FORM's ACTION attribute. This is
what I'm trying to do:
FORM
ACTION=www.example.com/PHP_FILENAME/function_name?parameter1=xparameter2=y
etc...
I can include the PHP_FILENAME but passing parameters to the function I
can't figure out how
I know what you're trying to do you just don't quite know how to say
it...
I use something like:
if ($_GET['somevar'] AND $_GET['something_else'])
{
do_something($_GET['somevar'], $_GET['something_else']);
}
else
{
output_error_message();
}
-Dan
On Sat, 2003-09-06 at 13:19, Robin Kopetzky
Hi Group,
I have a question on overloaded function.
What is the best way to pass the arguments so it is
easy to maintain in future if function behaviour
changes by adding/removing one or more arguments?
Currently i am passing arguments in array. But i think
it is not the clean way to do it and
Hello,
If you are worried about this issue your best option is to switch to an
object oriented approach.
all the best
Hardik Doshi wrote:
Hi Group,
I have a question on overloaded function.
What is the best way to pass the arguments so it is
easy to maintain in future if function behaviour
What is the best way to pass the arguments so it is easy to maintain in
future if function behaviour changes by adding/removing one or more
arguments?
Currently i am passing arguments in array. But i think it is not the
clean way to do it and another approach i am using is functionName(arg1,
easy to work with functions formated like
this.
Jim Lucas
- Original Message -
From: Hardik Doshi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 15, 2003 8:53 AM
Subject: [PHP] Function arguments
Hi Group,
I have a question on overloaded function.
What is the best
* Thus wrote anders thoresson ([EMAIL PROTECTED]):
set_lock($table_name, $row_id), check_lock($table_name, $row_id) and
release_lock($table_name, $row_id). Whenever an editor opens some content
for editing, check_lock() will be called to se if table_lock contains a row
with the same
What happens when the user doesn't finish editing or the browser
simply crashes on him?
Well. Didn't think of that.
So how can I avoid that two editors loads the same record for editing at
the same time, while still making all records available for regular
visitors to read?
--
anders thoresson
Hi,
For an application that I'm working on, I wan't users to be able to show
content even while an editor/administrator makes changes in one of my
database's tables. But if another editor tries to load the same content for
editing, he/she shouldn't be able to do this.
I've been reading up on
Hi,
I was just thinking about functions, and I believe there were more than two
keywords like global and static, which could be used in functions...
does anybody know them and their functions?
thx for help
Michi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
* Thus wrote Michael Müller ([EMAIL PROTECTED]):
Hi,
I was just thinking about functions, and I believe there were more than two
keywords like global and static, which could be used in functions...
does anybody know them and their functions?
hm. I dont even know where global and static are
Curt Zirzow wrote:
* Thus wrote Michael Müller ([EMAIL PROTECTED]):
Hi,
I was just thinking about functions, and I believe there were more
than two keywords like global and static, which could be used in
functions... does anybody know them and their functions?
hm. I dont even know where
this is a reply on:
I am wondering how on php.net the search for functions is done.
You
can add
any function just behind the php.net
like php.net/phpinfo and it will point you right through it. I
know how to
redirect this as a 404 error in apache to another file, but then
the
url is
Use a path relative to your httpdocs for your error document, e.g.
ErrorDocument 404 /myerrorpage.php
instead of
ErrorDocument 404 http://mysite/myerrorpage.php
Unfortunatelly this is not what I mean.
I think it is. When you use a relative path in the .htaccess, the URL will
not change,
* Thus wrote Merlin ([EMAIL PROTECTED]):
this is a reply on:
I am wondering how on php.net the search for functions is done.
You
can add
any function just behind the php.net
like php.net/phpinfo and it will point you right through it. I
know how to
redirect this as a 404 error in
* Thus wrote Ivo Fokkema ([EMAIL PROTECTED]):
Use a path relative to your httpdocs for your error document, e.g.
ErrorDocument 404 /myerrorpage.php
instead of
ErrorDocument 404 http://mysite/myerrorpage.php
Unfortunatelly this is not what I mean.
I think it is. When you use a
401 - 500 of 830 matches
Mail list logo