Re: [PHP] Store PHP Code in MySQL?

2001-06-19 Thread J Smith
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

[PHP] An idea

2001-06-19 Thread TunkeyMicket
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

[PHP] automatic page view

2001-06-19 Thread Taline Makssabo
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.

RE: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Christopher Ostmo
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,

[PHP] php and flash 5 books?

2001-06-19 Thread Jay Paulson
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

[PHP] list of included file names

2001-06-19 Thread Tim McGuire
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

RE: [PHP] email forms

2001-06-19 Thread Philip Olson
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

[PHP] Problem with MySQL String limits?

2001-06-19 Thread Null
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',

[PHP] PHP Support (was: Re: SV: [PHP] Re: Lists are back up)

2001-06-19 Thread Andreas D. Landmark
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

[PHP] PHP Discussion Forums ?

2001-06-19 Thread Rob Goodwin
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.

[PHP] PHP with JAVA support

2001-06-19 Thread Robert Vetter
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

Re: [PHP] Starting session

2001-06-19 Thread Andrew Halliday
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_*

[PHP] Want To Know about Databse Connection

2001-06-19 Thread Manisha
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

RE: [PHP] PHP Interact with DreamWaver

2001-06-19 Thread Andrew Hill
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

RE: [PHP] [php]using sendmail with php

2001-06-19 Thread Chris Cocuzzo
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:

<    1   2