Is there a way to get __call to work for static methods? It doesn't
seem to work by default and the docs are pretty sparse.
Thanks,
-Jackson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So, now you have found the static method docs, and you have found the
very minimal __call() docs but you have not come close to answering
anything about using call with static methods.
For those who seem to miss the point, a static method call would be like:
$a = Caller::test(1, 2, 3.4, true);
I
I want to be able to set a base class in a settings file, and then have other
classes extend the base class, but PHP won't let me do what I have tried.
I get the following error:
Fatal error: Class cepweb: Cannot inherit from undefined class my_base_class
in /home/me/my_child_class.php on line
On Thursday 30 October 2003 12:29 pm, Marek Kilimajer wrote:
php is not c, you can't use constants this way.
but why? Is there a work around?
-Jackson
Jackson Miller wrote:
I want to be able to set a base class in a settings file, and then have
other classes extend the base class
;
define(MY_BASE_CLASSFILE,base_class.php);
// require the class file
require_once(MY_BASE_CLASSFILE);
class my_child_class extends $MY_BASE_CLASS {
// yada yada
}
?
Jackson Miller wrote:
On Thursday 30 October 2003 12:29 pm, Marek Kilimajer wrote:
php is not c, you can't use
On Thursday 30 October 2003 02:15 pm, Marek Kilimajer wrote:
Can you show it once again. In your first email you use a constant, not
variable.
Sure. In my first email I said that I had tried with a variable too (but
didn't show the code).
Ex1 gives a cannot inherit from undefined class error
: +33 1-30-03-47-83 * Fax : +33 1-30-03-42-10
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
Learn more @ http://www.myemma.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
particularly
interested in the part of the sync with Evolution. The closest I've seen
to getting started in the right direction is MultiSync on sourceforge.
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
in $array
aCheckBoxes is also an array
$iIndex is an item in the aCheckBoxes array
$iIndex is an array.
Hope this helps.
-Jackson
Thank you in advance.
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
jackson miller
cold feet creative
615.321.3300
/
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
Learn more @ http://www.myemma.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know of any projects to bring QT/KDE GUI bindings to PHP?
It would be VERY cool to have something like PyKDE for PHP. Especially once
PHP5 is released and SQLite is part of the KDe interpreter.
I know there is PHP-GTK, but it's development appears stale.
-Jackson
--
jackson
values in the script? Should I construct the
link differently? Is there a completely different method I'm missing
altogether?
Thanks so much in advance for any help you could provide!
Jared
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold
Is there a way to output PHP to MS Excel format?
-Jackson
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
Learn more @ http://www.myemma.com
--
PHP General Mailing List (http://www.php.net
On Tuesday 16 September 2003 4:17, Payne wrote:
Jackson Miller wrote:
Is there a way to output PHP to MS Excel format?
-Jac
One you can do a dump with mysqladmin save the file as myfile.csv ,
excel can read cvs formatted files.
Two you can use phpMyAdmin to do the save things.
Yes, I am
pconnect it was a crap shoot as to whether you would get the
same connection on the next page load.
Temporary tables should only be used (from within PHP) for the current page
view.
-Jackson
Regards, Andu Novac
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL
The only timeout (that I *know of!*) that I don't know how to change is the
Apache timeout of 300 seconds. It appears that it is indeed timing out
after 300 seconds (five minutes). It shows as HTTP_KEEP_ALIVE = 300 in
phpinfo().
There is also a setting in Apache for the maximum size of a
[mailto:[EMAIL PROTECTED]
Search the archives or ask google.
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
Learn more @ http://www.myemma.com
--
PHP General Mailing List (http://www.php.net
header(Location: $url);
hope this helps.
-Jackson
On Thu, 2003-09-04 at 00:32, DougD wrote:
I've seen this somewhere (or I've gone crazy), but a function in PHP that
automatically forwards you to another web page. If want to do an 'if x=5
then jump to this other page on the site or an
Why is it that when you forget a } the error says:
Unexpected $ on line [last line of file]
Why can't it just say:
Missing } on or before (best guess).
-Jackson
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest
report. ;)
Still, it would be nice...
-Jackson
It definitely sucks... almost as badly as a stray backtick. Try finding
that little bugger at 1600x1280...
Jackson Miller wrote:
Why is it that when you forget a } the error says:
Unexpected $ on line [last line of file]
Why can't
.
This particular script is not doing anything out of the ordinary. It is
opening a database connection, opening a .csv file and inserting rows into
the database. How in the world could this Seg Fault?
-Jackson
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL
advise.
Thank you.
TR
---
[This E-mail scanned for viruses by gonefishingguideservice.com]
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
Learn more @ http://www.myemma.com
--
PHP General
basic question but still couldn't find the answer.
Is php Interpreted language or Compiled Language like C or C++.
Thanks in advance
Binay
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
.
_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
.
Unfortunately I cannot find any way to do this. Session destroy seems to
first create the session and then destroy it. I want there to be no session
started when this file is loaded.
thanks,
-Jackson
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED
at one time?
What I'm looking for is a way to select multiple files and then have them
written into a form. I can do it with individual files but not more than 1
file as I can't figure out a way to get the form Browse ability to allow
selecting multiple files.
thanks
--
jackson miller
cold
the
process starts.
Is there a faster way to start a background process?
-Jackson
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
Learn more @ http://www.myemma.com
--
PHP General Mailing List
it).
It is a great bill that in part makes harvesting email addresses illegal.
-Jackson
Matt
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003
--
jackson miller
cold feet creative
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest email marketing
Learn more @ http://www.myemma.com
--
PHP General Mailing List (http://www.php.net
25,
verify your SMTP and smtp_port setting in php.ini or use ini_set() in
c:\program files\apache group\apache\htdocs\do_feedback.php on line 12
what's that means? Is anyone got a clue. please help
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold
; For Win32 only.
sendmail_from= [EMAIL PROTECTED] ; for Win32 only
but i got warning: mail(): Failed to connect to mailserver at POP port
25, verify your SMTP and smtp_port setting in php.ini or use ini_set()
in c:\program files\apache group\apache\htdocs\do_feedback.php on line 12
--
jackson
Is there a way to read excel files for parsing with PHP?
I see there is a PEAR package for writing excel files, but I want to be able
to parse .xls files.
(Please no comments about comma-delimited or tab-delimited exports, I am doing
that too).
Thanks in advance,
-Jackson
--
PHP General
I think I know the answer to this, but I have no technical reason to back it
up.
Is it possible to store a db connection resource id as a $_SESSION variable?
It would be nice to have one connection per user/session that carries over
multiple page views.
I am guessing this is impossible, but
I am trying to create a text only version of an HTML formatted message.
I would like to convert all links from:
a href=http://domain.tld.page.ext;link name/a
to:
link name [http://domain.tld/page.ext]
The problem is that some links may have additional modifiers and onthers
may not.
I have seen
Lucas
- Original Message -
From: Jackson Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 9:43 AM
Subject: [PHP] preg_replace help
I am trying to create a text only version of an HTML formatted message.
I would like to convert all links from:
a href
) to learn more about me.
Visit memigo (http://memigo.com) to learn about current events.
stripping the HTML is easy, but before I do I want to convert the links.
Thanks,
-Jackson
On Tue, 2003-06-03 at 11:59, Ernest E Vogelsinger wrote:
At 18:43 03.06.2003, Jackson Miller said
Try using #!/usr/local/bin/php
My guess is that when you run:
ls -ls /usr/bin | grep php
you will see that php is a symlink to /usr/local/bin/php
-Jackson
On Tue, 2003-06-03 at 16:54, Brian Paulson wrote:
I have been looking for answer but have not located any thing that will
solve my
Is it possible to reference two instances of an object at once with a
single variable name while retaining the ability to reference the
objects seperately?
I am using the PEAR Template IT package and need to generate two similar
but different results at the same time. I am doing this with two
I would like to store some code in a database and load/execute that code
based on a query.
Is it possible to execute the value of a variable in a php script?
I am aware of several other ways to accomplish the same task, but I just
want to see if there is in fact a performance hit from storing
I am curious what method of authentication is preferred by people on
this list. Are you using PHP scripts for authentication and limiting
access, or are you using HTTP header info. Maybe it is best to use
both.
For my sites I usually store user info in a database and use php and
sessions to
microtime();
will return microseconds. That is not milliseconds, but it may or may
not solve your problem.
I don't think there is a way to get milliseconds.
-Jackson
On Wed, 2002-09-04 at 14:47, DonPro wrote:
Using the following code,
date(His)
I get the hours, minutes and seconds.
with UniVerse).
Any help will be greatly appreciated. Replies can be off-list since
there doesn't seem to be much interest in PHP/UniVerse.
Thanks,
-Jackson
-Forwarded Message-
From: Jackson Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DB] IBM UniVerse + PHP
Date
Is there a way to create IMAP accounts using PHP? I have looked through
all of the IMAP functions in PHP and do not see one for creating a new
account.
I would like to create a new IMAP account when a user registers for a
website account.
Thanks in advance.
-Jaxn
--
PHP General Mailing
I want to do something along the lines of:
$type = basic;
$$type_user = jaxn;
echo $basic_user;
and have the output be jaxn.
I have tried everything I can think of, and I have looked in all my
books.
I know how to:
$type = basic;
$$type = jaxn;
echo $basic;
but this won't do what I need. I
There is a PHP plugin for Dreamweaver from AlphaSigma.
http://www.alphasigma.com
-Jackson
On Fri, 2002-04-26 at 13:33, Tom Beidler wrote:
Could someone suggest a good php editor for the mac? I'm currently using
Dreamweaver because I like the site management and a wysiwyg html editor.
But
When storing dates and times in databases is it better to store them as
UNIX timestamps or in one of the SQL date/time types?
I am working on an application that takes school attendance and has
homework assignments, so I am doing a fair amount of date work.
Currently I am storing everything as
I crashed a server yesterday from PHP code that was trying to create an
image with GD. The same scenerio happened in that my entire box froze.
No keyboard control, no mouse, no CTRL-ALT-F2, nothing.
This was also due to a header() in an infinite loop. From my
perspective I thought that was
I am working on am application that is using the GD library to create
the navigation menu. I would like to check for TTF support in a script
before I declare the image size.
The reason for this is so I can create width based on the length of the
string if TTF is enabled and take a guess if
That seems like over complicating the problem to me.
Why not just include the original query string that was passed from
fooa.php by:
header(Location:foa.php?$QUERY_STRING)
-Jackson
On Mon, 2002-04-01 at 12:28, Simos Varelakis wrote:
Here is a problem :-)
A php post form fooa.php
I am having a hard time
finding recent mentions of
using MCAL or ICAP with PHP.
I need to add some shared
calendaring to an project I am
working on. I have been
looking at MCAL and ICAP
hoping to find out if they are
viable.
Is the best way to do
calendaring in PHP to use a
database or is there
I am working on a site that I
would like to be able to
update content (basically news
stories) on via email. I am
sitting with the problem
trying to figure out the best
way to do this before I start
coding.
I am curious if anyone else
has done this and has a list
of lessons learned that they
I thought that you do have to recompile if you are running PHP as a module,
but not if you are running PHP as CGI. I could be wrong.
-Jackson
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 12:28 PM
To: PHP List; php
Subject: Re: [PHP]
I have been playing around with creating images in php using GD, and I
have some questions for the list.
How much more processing power does it take to create an image versus
just sending the image?
Aside from photo album type apps, how are people using GD?
Is GD well suited for navigational
I am using Komodo from Active State. http://www.activestate.com
It runs in windows and Linux.
On Sat, 2002-02-16 at 09:17, Matthew Darcy wrote:
there is a way of using vi/vim to highlight syntax with PHP and HTML.
I am playing with it at the moment.
Matt,
-Original Message-
I am looking for advanced books on PHP. I have read many tuts and a
couple of books, but I am looking for a big heavy detailed book on php
and everything about coding php.
any suggestions are welcomed.
-Jackson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have been using http://www.cedant.com for about a year now. They have
different packages for different needs.
-Jackson
-Original Message-
From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 12:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Cheap, PHP,
56 matches
Mail list logo