Try looking at the eval() function. It's pretty similar to the eval keyword
in perl.
http://www.php.net/manual/en/function.eval.php
J Smith
code, dba and linux guy
Tutorbuddy Inc.
The Magic Lantern Group
mailto:[EMAIL PROTECTED]
Joseph Koenig [EMAIL PROTECTED] wrote in message
[EMAIL
Humor me, how useful would a Regex switch statement
be?
Like:
ereg_switch($filename) {
case "/\.jpg$/":
echo "JPEG
Image"; break;
case "/\.gif$/";
echo "GIF
Image"; break;
case "/\.zip$/":
echo
"Compressed File"; break;
default:
echo "Unkown
File Type"; break;
}
That is just
Hello all!
I am working on a admin page where companies log in to there own company
admin page. Can anyone help out with a script to have the username and
password directly linked to there own company admin page.
Simon Kimber pressed the little lettered thingies in this order...
Christopher Wrote...
You need to be able to tie at least one field from each table to
one other
field in another table, and then you can have a query like:
SELECT videos.*, links.*, actors.*
FROM videos, links,
Anyone know of any good books that actually deal with php interfacing with
flash 5? I've found one book but just curious if there are others out
there...
thanks,
jay
Hi,
I searched the archives for this.
For debugging purposes, I want to see a list of the included files on a page in HTML
comments.
PHP_SELF and HTTP_SERVER_VARS[SCRIPT FILENAME] only returns the name + path of the
file calling the included files.
I want each included file to contribute
On Tue, 19 Jun 2001, Jason Murray wrote:
Hi tim,
Change this:
mail($toaddress, $subject, $mailcontent, $fromaddress);
mail ($toaddress, $subject, $mailcontent,
From: Real Name $fromaddress\nReply-to: $fromaddress\n);
Yeah, notice where you'll be adding various mail
In a script I have an update query adding on to a
LONGTEXT field in my database. Strangely it will no longer work after seemingly
random string lengths. So far, one row stopped adding at 440 bytes and another
at 1049 bytes.
mysql_query("UPDATE dod_news SET
Comments='$comments',
At 19.06.2001 11:20, Mattias Segerdahl wrote:
For all those that's seeking support for php, there are two options,
zend.com sells SOS, you could also join #php on efnet for help..
I doubt #php would attract the big bad corporations using php, I've seen
people give rm -rf / millions of times on
Can someone here tell me who is responsible for the set up and maintenance
of the PHP forums? I've yet to find anyone who does it better and I'd like
to do something similar for the site I am responsible for. That is, the
way the NNTP, mailing list and digest all works together so nicely.
Hello,
I'm trying to run PHP with Java support and don't get it to work. First
I compiled PHP '--with-java=/usr/local/jdk1.2.2/'. Then I added this to
the PHP.ini file:
[Java]
java.home=/usr/local/jdk1.2.2
java.class.path=/usr/local/lib/php/extensions/php_java.jar:/usr/local/jdk1.2.2/src.jar
Just make it so that a successful login process involves setting a session
variable.
In all pages that require a login, check that the session variable exists.
In any other pages, just ignore it.
Simple as that! Now just read the php documentation on how to do it ... (ie
using the session_*
Hi,
We are developing web application. The client wants it to get connected to
their central database server in USA. Web server is in Singapore.
Web server configuration - Situated in Singapore, unix / php / mysql -
this database is only for some special cases where application does not
Jack,
Check out www.interakt.ro
Best regards,
Andrew
-Original Message-
From: Jack [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 6:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Interact with DreamWaver
Dear All
I'm fresh on the php, but i just want to ask what
the problem is that you get an email saying unauthorized user or something
like that, as the from field of the email, or you get the email in the
regular way, and then ANOTHER email with the unauthorized user crap
-Original Message-
From: Jamie Thompson [mailto:[EMAIL PROTECTED]]
Sent:
101 - 115 of 115 matches
Mail list logo