Hello all,
I was wondering if there is any way to tell PHP4 to load a specific MIB
file? PHP5 has a snmp_read_mib(), but php4 lacks this function.
Any help would be apreciated.
Thanks,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I have been asked to add a "pagination" to one page as
the data gets updated to one extra row around every
10-35 seconds.
Thats no problem for me as I am used to the pagination
concept and have done it before...but never in smarty.
I usually did it using classes from phpclasses, I have
the
> Zoran wrote:
>
> >Hi
> >
> >How can I parse HTML page which I fetched by PHP so some part of text
would be replaced by other text.
> >
> >
> As ucfirst(jim) has pointed out strip_tags is a good first step. However I
have
> always believed that the best language for parsing html is perl and not
>
Zoran wrote:
Hi
How can I parse HTML page which I fetched by PHP so some part of text would be replaced by other text.
As jim has pointed out strip_tags is a good first step. However I have
always believed that the best language for parsing html is perl and not
PHP that's because there is a pe
T UmaShankari wrote:
A user on the client side types the URL of a mpeg file on the
location bar. The same file is also existing in $DIR of the
client (windows) system.
Now, since the file is already there on the local hard disk
of the client, the file need not be downloaded through the
PPP link, in
On Friday 03 September 2004 11:16 pm, Chris Martin wrote:
> Justin French wrote:
> > Hi all,
> >
> > I'm working with a bunch of users who hardly ever use correct
> > punctuation in their submitted content. I realise there's very little I
> > can do, but I'm trying to do *something* to make things
Mark wrote:
--- Jack Gates <[EMAIL PROTECTED]> wrote:
Greetings,
This is my first post here and I am still new to PHP and learning.
I just
joined this list last night.
Javascript can open a separate and specifically sized window from a
web page
when a user clicks on a link that might reference
Justin French wrote:
Hi all,
I'm working with a bunch of users who hardly ever use correct
punctuation in their submitted content. I realise there's very little I
can do, but I'm trying to do *something* to make things a little more
presentable. At the very least, ensuring that all "sentences"
A server and client are connected using a 35kbps PPP link.
A user on the client side types the URL of a mpeg file on the
location bar. The same file is also existing in $DIR of the
client (windows) system.
Now, since the file is already there on the local hard disk
of the client, the file need not
* Thus wrote Werthmann, Stefan:
> Helo!
>
> I' m just in trouble with bcompiler.
> I want to compile a new bcompiler.so and this is the result:
> Any suggestions?
>
> /opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2336: error: `zend_uchar'
> undeclared (first use in this function)
you migh
Using win32, Win2k. PHP 4.3.6
Tried installing PEAR. But "pear" is an unknown command after the
install in my DOS box. There's no "pear.bat" file anywhere. There's an
"pear.bat_old" file but no "pear.bat".
Thought I installed PEAR according to the instructions by running
"go-pear.bat", it was i
* Thus wrote Paul Danko:
>
> What should the headers be for a client to download a PDF document and
> have it open using adobe i.e. pluggin??
>
> Here is code I am using, it works on some versions of I.E., but not all:
>
>
> $pdfdoc = $__BASE_PDF_BUILD_DIRECTORY.$_GET['FID'];
>
* Thus wrote M. Sokolewicz:
> Pedro irán méndez pérez wrote:
> >Thank you for your help, My question is:
> >
> >How can I know the version of a file, I mean, in Windows if you press click
> >with the mouse right button you can see the file properties,
> that is correct
> in those
> >properties you
* Thus wrote Sam Hobbs:
> "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >* Thus wrote Sam Hobbs:
> >> It took me a while to find an explanation of what a PECL is. I kept
> >> reading
> >> comments about things being moved to a PECL but I saw nothing about what
> >
I just installed PHP 5 and Apache 2 on Windows XP. The
extensions ext/php_curl.dll and ext/php_mysql.dll
cause this error when starting Apache:
PHP Startup: Unable to load dynamic library
'D:/Program Files/Apache Group/PHP/ext/php_mysql.dll'
- The specified procedure could not be found.
These dll
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> [snip]
> black whole?
> [/snip]
>
> As in, "Is PECL the wholeness of black?" or "Is PECL all that is black?"
>
> *snicker* It just struck me funny, but everyone knew that you meant
> "black hole".
I already replied to
"Sam Hobbs" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> foreach($ContentsDocument->childNodes as $Node)
>$Cell->appendChild($Node);
If there is not a different solution that should be used instead, then can
anyone confirm this should work? In other words, does this appear
> >> It took me a while to find an explanation of what a PECL is. I kept
> >> reading
> >> comments about things being moved to a PECL but I saw nothing about what
> >> is
> >> in a PECL or how to get anything out of a (the?) PECL. As far as I knew,
> >> there is a danger of all of PHP being in a
greetings
i'm looking for good/free Knowledge Base/ FAQ system
any recommendation ?
--
http://www.jadmadi.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>* Thus wrote Sam Hobbs:
>> It took me a while to find an explanation of what a PECL is. I kept
>> reading
>> comments about things being moved to a PECL but I saw nothing about what
>> is
>> in a PECL or how to get anythi
Pedro,
Your question is difficult to answer because it is not specific enough.
First I tried to identify what you meant by version number. I tried right
clicking on the desktop, no version number. I opened windows explorer and
tried right clicking on a file listed there, and got modification da
Pedro irán méndez pérez wrote:
Thank you for your help, My question is:
How can I know the version of a file, I mean, in Windows if you press click
with the mouse right button you can see the file properties,
that is correct
in those
properties you can see the version.
you can? I can't find any me
Thank you for your help, My question is:
How can I know the version of a file, I mean, in Windows if you press click
with the mouse right button you can see the file properties, in those
properties you can see the version.
how can I see, the same thing in php?
=
"¿Acaso se olvidará la mujer
I've done a number of these and the choice depends on many things but
perhaps the biggest factor is;
Is server 1 and server 2 behind the same firewall or are they exposed to the
internet?
Behind a firewall you can probably get away with running any one of the
following commands to remotely execut
John Nichel wrote:
$output = array();
exec ( "locate whatever" $output );
And loop thru the $output array.
It's all in the manual
http://us4.php.net/manual/en/function.exec.php
Oops, I forgot the comma...
exec ( "locate whatever", $output );
--
By-Tor.com
It's all about the Rush
http://www.by-t
On Fri, 2004-09-03 at 15:27, Dennis Gearon wrote:
> I am designing my own 'usr' class that takes care of logins. I need
> to know the following to finish it.
> ---
> A/ Does anybody use sessions for users who are not logged into the si
Hi Dennis, see below
"Dennis Gearon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Please CC me
> -
>
> I am designing my own 'usr' class that takes care of logins. I need
> to know the following to finish it.
> --
This has nothing to do with PHP or the server, but with the way the client
computer is configured.
If the user doesn't want to open a .pdf file in the browser but to be
prompted for saving the file, that's the way he will have it.
...fortunately.
Teddy
Teddy
- Original Message -
From: "
Scenario:
Server 1 is a LAMP webserver
Server 2 is an email server
I have a php script on server 2 that creates user accounts. It works
great when your logged into the server and running it from the CLI.
I have a GUI on server 1 that is used to input user info into a database.
Question:
What I'd
Scenario:
Server 1 is a web server
Server 2 is an email server
I have a php script on Server 2 that creates user accounts from the CLI
just fine.
I have a GUI on Server 1 with several forms for user data stored in a
database.
What I'm trying to do is have Server 1 call the script on Server 2 an
Scenario
Server 1 is a LAMP webserver.
Server 2 is an email server.
I have a php script on Server 2 that creates user accounts and echos the
UID, GID, and HOME. It works great when your logged into Server 2 and
run it from the CLI.
What I'm trying to do is have my GUI on Server 1 call the script
[snip]
According to the manual, exec() "does not output anything. It simply
returns the last line from the result of the command." The OP wants to
display the output of 'locate' to the browser, so he should use
passthru(), which displays all raw output.
[/snip]
Cool
--
PHP General Mailing
Please CC me
-
I am designing my own 'usr' class that takes care of logins. I need
to know the following to finish it.
---
A/ Does anybody use sessions for users who are not logged into the site, and why?
B/ If a user goes
BOOT wrote:
Thanks for all the replies.
Regarding security, I use a script to ensure (hopefully LOL) that only
requests from inside our network are accepted both hostnames and IP's
are checked.
I did find lonewolf's reply most usefull, but now I need to come up with way
to make each result (a h
* Jack Gates <[EMAIL PROTECTED]>:
> On Friday 03 September 2004 01:11 am, Sam Hobbs wrote:
> > "Jack Gates" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> > > Javascript can open a separate and specifically sized window from
> > > a web page when a user clicks on a link that
> I have searched the net, and found tons of developers with different
> solutions to this problem, none of which I have found to work.
>
> What should the headers be for a client to download a PDF document and
> have it open using adobe i.e. pluggin??
>
> Here is code I am using, it works on some
From: "Zoran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 03, 2004 12:35 PM
Subject: [PHP] Web Fetch & Process
Hi
How can I parse HTML page which I fetched by PHP so some part of text would
be replaced by other text.
For example, if I have bold text on HTML page (Some te
> $pdfdoc = $__BASE_PDF_BUILD_DIRECTORY.$_GET['FID'];
>
> $filesize = filesize($pdfdoc);
> header("Pragma: ");
> header("Expires: 0");
> header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
> header("Content-type: application/pdf");
> header("Content-Length: ".$filesize);
> header("
On Friday 03 September 2004 01:11 am, Sam Hobbs wrote:
> "Jack Gates" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> > Javascript can open a separate and specifically sized window from a web
> > page
> > when a user clicks on a link that might reference a note or picture etc.
> >
Aww, I answered this one already too... I thought I beat everyone in as well, but
maybe the list is still slow??
Passthru() is better then exec() in this case, since he wants everything from locate,
I couldn't get the explode to work on my system because it didn't catch the "\n"
character ver
Thanks for all the replies.
Regarding security, I use a script to ensure (hopefully LOL) that only
requests from inside our network are accepted both hostnames and IP's
are checked.
I did find lonewolf's reply most usefull, but now I need to come up with way
to make each result (a href...) an
On Fri, 2004-09-03 at 12:46, BOOT wrote:
> Does anyone have a script that can be used to call linux's locate command
> and display the results in a browser?
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have searched the net, and found tons of developers with different
solutions to this problem, none of which I have found to work.
What should the headers be for a client to download a PDF document and
have it open using adobe i.e. pluggin??
Here is code I am using, it works on some versions
I assume you mean locating something on the server, as this would be a
serious breech of security otherwise. anyways, bickticks will run
shell comand line programs and return the output..
ie
print `locate myFile'`;
jason
"BOOT" <[EMAIL PROTECTED]> wrote:
>
> Does anyone have a script that can
Great thanks... now I just work on a form and a hrefs
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: September 3, 2004 1:49 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Linux "locate" to html script?
";
echo $items;
echo "";
?>
---
[snip]
Thanks but that's no good if there are multiple results!
...
Does anyone have a script that can be used to call linux's locate
command
and display the results in a browser?
...
[/snip]
exec("locate foo");
[/snip]
So you want something like
while(bar == exec("locate foo"))
barArra
";
echo $items;
echo "";
?>
- Original Message -
From: BOOT <[EMAIL PROTECTED]>
Date: Friday, September 3, 2004 1:46 pm
Subject: [PHP] PHP Linux "locate" to html script?
> Does anyone have a script that can be used to call linux's locate
> commandand display the results in a browser?
>
According to the manual, exec() "does not output anything. It simply
returns the last line from the result of the command." The OP wants to
display the output of 'locate' to the browser, so he should use
passthru(), which displays all raw output.
Jay Blanchard wrote:
[snip]
Does anyone have a s
Thanks but that's no good if there are multiple results!
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: September 3, 2004 1:40 PM
To: BOOT; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP Linux "locate" to html script?
[snip]
Does anyone have a script that can be used t
[snip]
Does anyone have a script that can be used to call linux's locate
command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
[/snip]
exec("locate foo");
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
Have you taken a look at the passthru() function?
http://www.php.net/passthru
Boot wrote:
Does anyone have a script that can be used to call linux's locate command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
--
Regards,
Ben Ramsey
http:
BOOT wrote:
Does anyone have a script that can be used to call linux's locate command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
Thanks!
http://us4.php.net/manual/en/function.exec.php
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.967
Pedro Irán Méndez Pérez wrote:
Hello everybody, I am a new in this list, and I can´t find the form of read
from file his file version, I am working with php 4.3.2, Apache 1.3.x,
Win32 (XP).
Can you help me??
PD. Sorry for my english, but I am Mexican :)
=
"¿Acaso se olvidará la mujer de su be
Luis Miguel González Fernández wrote:
I need to execute PHP scripts from Apache/mod_php using the owner of scripts
as user/group for execution. I have included the 'User' and 'Group'
directives into the virtualhost declaration in my httpd.conf but scripts
keep on executing with user/group from Apac
Does anyone have a script that can be used to call linux's locate command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
How can I parse HTML page which I fetched by PHP so some part of text would be
replaced by other text.
For example, if I have bold text on HTML page (Some text) how can I manage that
all bold text on that page is replaced by some other text.
Also, I managed to delete all HTML code from page
Hello everybody, I am a new in this list, and I can´t find the form of read
from file his file version, I am working with php 4.3.2, Apache 1.3.x,
Win32 (XP).
Can you help me??
PD. Sorry for my english, but I am Mexican :)
=
"¿Acaso se olvidará la mujer de su bebé, y dejará de compadecerse
How can i force PHP scripts been executed using their owner user/group with
Apache and PHP loaded as module ? Now my scripts use Apache`s user/group
(wwwrun/www in my ditribution). I've included User an Group directives in
the virtualhost configuration.
I need any kind of help refered to this issu
I need to execute PHP scripts from Apache/mod_php using the owner of scripts
as user/group for execution. I have included the 'User' and 'Group'
directives into the virtualhost declaration in my httpd.conf but scripts
keep on executing with user/group from Apache.
Urgent help needed.
Thanks.
Qki
--- Jason Davidson <[EMAIL PROTECTED]> wrote:
> Read up on 'named sessions'
>
> I think that may be your solution
Interesting... here's a link to php.net. I assume this is what you're
talking about... Looks promising.
http://us4.php.net/manual/en/function.session-name.php
>
> jason
>
> Mark
> > It is the same thing than pear, but most of extensions are written with
> > C in order to increase performance.
Increases in performance aren't the only reason, but it is a reason.
> > tidy is a php extension (PECL), for example.
Yes.
> > Php extensions are all that is not in the php core.
Read up on 'named sessions'
I think that may be your solution
jason
Mark <[EMAIL PROTECTED]> wrote:
>
>
> --- Octavio Herrera <[EMAIL PROTECTED]> wrote:
>
> > No, I do not store two items with the same key, I just open another
> > session
> > in other page and it just overwrite session data
> Unfortunately, since they are coming in through a socket and not actual
> telnet/ssh I don't think $fp=fopen("/dev/stdin", "r"); works? Isn't that
> only for terminal based input?
>
> Donald Myers
oops... forgot this:
http://www.php.net/manual/en/ref.pcntl.php
Jim Grill
>
>
> on 9/2/04 10:31
On Friday 03 September 2004 22:56, Jesus wrote:
> I wish to know how I can list my email user I used imap to control the
> individual mailbox information but i need to adminitratiton propurse list
> all the user but i cant find a function to do this
Because there are no generic methods to get the
> Unfortunately, since they are coming in through a socket and not actual
> telnet/ssh I don't think $fp=fopen("/dev/stdin", "r"); works? Isn't that
> only for terminal based input?
>
> Donald Myers
Have you tried it? Every process will have access to its own STDIN and
STDOUT.
since your MUD serv
You'll need to be generally familiar with Cardservice's lphp class to
answer this one:
I'm properly setting the $myorder array (as verified by outputting it
with a while loop) - but upon executing the next step:
$charge_result = $mylphp->curl_process($myorder);
I then attempt to display the f
> Hi all,
>
> I'm working with a bunch of users who hardly ever use correct
> punctuation in their submitted content. I realise there's very little
> I can do, but I'm trying to do *something* to make things a little more
> presentable. At the very least, ensuring that all "sentences" begin
Helo!
I' m just in trouble with bcompiler.
I want to compile a new bcompiler.so and this is the result:
Any suggestions?
/opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2336: error: `zend_uchar'
undeclared (first use in this function)
/opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2336:
--- Octavio Herrera <[EMAIL PROTECTED]> wrote:
> No, I do not store two items with the same key, I just open another
> session
> in other page and it just overwrite session data of a previous
> session
This is because (I believe) you can't open two cookie-based sessions
with two browser windows
[snip]
black whole?
[/snip]
As in, "Is PECL the wholeness of black?" or "Is PECL all that is black?"
*snicker* It just struck me funny, but everyone knew that you meant
"black hole".
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Jack Gates <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> This is my first post here and I am still new to PHP and learning.
> I just
> joined this list last night.
>
> Javascript can open a separate and specifically sized window from a
> web page
> when a user clicks on a link that might re
On Fri, 2004-09-03 at 10:29, Dave Restall - System Administrator,,,
wrote:
> > It took me a while to find an explanation of what a PECL is. I kept reading
> > comments about things being moved to a PECL but I saw nothing about what is
> > in a PECL or how to get anything out of a (the?) PECL. As
Hi
I wish to know how I can list my email user I used imap to control the individual
mailbox information but i need to adminitratiton propurse list all the user but i cant
find a function to do this
Octavio Herrera wrote:
No, I do not store two items with the same key, I just open another session
in other page and it just overwrite session data of a previous session
hi,
again this does not provide enough information,you will need to more
clearly state the problem please are you using cooki
* Thus wrote Sam Hobbs:
> It took me a while to find an explanation of what a PECL is. I kept reading
> comments about things being moved to a PECL but I saw nothing about what is
> in a PECL or how to get anything out of a (the?) PECL. As far as I knew,
> there is a danger of all of PHP being i
Frédéric Hardy wrote:
What is PECL ?
PECL is a repository for PHP Extensions, providing a directory of all
known extensions and hosting facilities for downloading and development
of PHP extensions.
The packaging and distribution system used by PECL is shared with its
sister, PEAR.
...
Is it cl
* Thus wrote Daniel Schierbeck:
> I think this basically sums up the problems of the current handling of
> existence-checking in overloaded objects: We have an object that has
> user-defined methods for getting and setting object properties (__get()
> and __set(), respectively). These methods ge
[snip]
NOW:
The question arises: where does the browser store this info, and can I
get
it back from there on the page that got called via the href html? I
would
like to avoid some rather unnecessary server side selects to retrieve
the
previous page.
[/snip]
The browser really doesn't store the in
> It took me a while to find an explanation of what a PECL is. I kept reading
> comments about things being moved to a PECL but I saw nothing about what is
> in a PECL or how to get anything out of a (the?) PECL. As far as I knew,
> there is a danger of all of PHP being in a PECL.
>
> I could
What is PECL ?
PECL is a repository for PHP Extensions, providing a directory of all
known extensions and hosting facilities for downloading and development
of PHP extensions.
The packaging and distribution system used by PECL is shared with its
sister, PEAR.
...
Is it clear ?
It is the same t
I think this basically sums up the problems of the current handling of
existence-checking in overloaded objects: We have an object that has
user-defined methods for getting and setting object properties (__get()
and __set(), respectively). These methods get and set the properties in
a private a
Paul Reinheimer wrote:
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
The PHP Manual states that the function is available in PHP 5
(http://www.php.net/manual/en/function.imagettftext.php), and I have
compiled with GD suppo
Frédéric Hardy wrote:
Marek Kilimajer wrote:
> See recent discusion on this list about this behavior. You can find
it in the archives if you look for __isset.
I know, I am the author of this recent discussion.
Current discussion is an "extension".
isset($foo['bar']) tests for existance of $foo['
Hi there,
I am not sure if that is a common request, so I will post it here without
checking the archives . ;-)
I have a page which has its details from the $_POST array (ID, etc). On it
there is a small link about people, this is done via href link in html. This
link takes you to another page
It took me a while to find an explanation of what a PECL is. I kept reading
comments about things being moved to a PECL but I saw nothing about what is
in a PECL or how to get anything out of a (the?) PECL. As far as I knew,
there is a danger of all of PHP being in a PECL.
I could not (and cann
No, I do not store two items with the same key, I just open another session
in other page and it just overwrite session data of a previous session
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Marek Kilimajer wrote:
raditha dissanayake wrote:
Syed Ghouse wrote:
Hi All
i have to transfer files from one server to another server thru php
program.will anybody tell me how to do it?
PHP is not the way to do it! use SCP you don't have to write a single
line of code. Don't look at FTP. even
> Just to be pedantic, that would be pedantry ;) !
Is this thread ever going to die? Or would that be dye? ;)
alex hogan
*
The contents of this e-mail and any files transmitted with it are confidential and
int
raditha dissanayake wrote:
John Nichel wrote:
Is the list about two hours behind in delivering email today for
everyone, or is it just me? Of course, if it is just me, I'll have to
wait two hours to find out. ;)
The servers are probably clogged wiht mysql questions and flames at
people who poi
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
The PHP Manual states that the function is available in PHP 5
(http://www.php.net/manual/en/function.imagettftext.php), and I have
compiled with GD support. What am I missing?
Marek Kilimajer wrote:
> See recent discusion on this list about this behavior. You can find
it in the archives if you look for __isset.
I know, I am the author of this recent discussion.
Current discussion is an "extension".
>
> echo (isset($foo->array) == true ? 'array is set' : 'array is not s
Well alright, then I ought to read the suggested sources. Thanks for the
advice.
Anyway, doesn't it cause trouble to have $array as a private member?
Frédéric hardy wrote:
Moreover, $foo['bar'] = 'bar' work perfectly...
Fred.
Frédéric Hardy wrote:
WRONG !
Read the manual about __set() and __get()
On 03 September 2004 06:46, Justin French wrote:
> If I use strtotime(), I'm handed back a GMT timestamp,
> whereas I need a
> *local* timestamp.
No such thing as a *local* timestamp. UNIX timestamps are in GMT by definition --
it's the functions that work with them that do the timezone adjustm
and how could I do that?
thanks in advance.
"Ligaya Turmelle" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Session variables maybe
>
> Respectfully,
> Ligaya Turmelle
>
>
>
> devil_online wrote:
> > Hi have this code, that I print two or more things ate a diferente time,
and
> >
Moreover, $foo['bar'] = 'bar' work perfectly...
Fred.
Frédéric Hardy wrote:
WRONG !
Read the manual about __set() and __get().
And read http://www.php.net/~helly/php/ext/spl/index.html about
arrayAccess.
Php 5 allow you to "overloading" property dynamicaly with __set() and
__get(). And you can ac
Frédéric Hardy wrote:
Hello -
I think there is a bug or a paradox in the php 5 object model
implementation.
This is an example :
class foo implements arrayAccess
{
private $array = array();
function __construct() {}
function __get($key)
{
return $this->offsetGet($key);
}
"Lester Caine" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> So don't know what goes wrong, but were running Apache 2.0.50, PHP5.0.0 on
> XP-SP1 and probably style sheets were going wrong. Switch back to W2k SP3
> and all is fine (SP4 screws up various other network apps) so we
WRONG !
Read the manual about __set() and __get().
And read http://www.php.net/~helly/php/ext/spl/index.html about arrayAccess.
Php 5 allow you to "overloading" property dynamicaly with __set() and
__get(). And you can access an object like an array with arrayAccess
interface.
There is no nonsen
On 02 September 2004 19:41, Nick Wilson wrote:
> You know guys? I think you all take this a bit too seriously,
> perdanticness (is there such a word?)
Just to be pedantic, that would be pedantry ;) !
Cheers!
Mike
-
Mike Ford
Hello Frédéric.
This is neither a bug nor a paradox. The code you've posted just
contains some nonsense.
$foo['bar'] = 'bar'; cannot work since $foo is an object and not an
array. And even $foo->bar = 'bar'; cannot work because there is no
property $bar.
Frédéric hardy wrote:
Hello -
I think t
1 - 100 of 128 matches
Mail list logo