Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
>you won't be able to use $PHP_SELF, and you will encounter problems with >passing values via the querystring, but other than that you can use SSI >to >call a PHP page. I don't really need any of this, the script is a simple 15-lines-of-code image randomizer that shows a random image from a list.

Re: [PHP] Custom Session Handlers with Oracle?

2001-03-21 Thread Hardy Merrill
There's a pretty good tutorial on this here: http://www.zend.com/zend/tut/session.php and Ying Zhang's "Customer Session Handlers in PHP4" can be adapted to MySQL - see http://www.phpbuilder.com/columns/ying2602.php3 And www.php.net's session page is OK for reference at http://php.

[PHP] register_globals & PHP_SELF

2001-03-21 Thread Steve Haemelinck
Does the PHP_SELF variable only work if you have your register_globals on? Is their an another for still using it ? Thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrat

[PHP] Apache +Php -----help

2001-03-21 Thread OBB
I have problem making apache1.3.17win32 and php4.0.4 to work on win98se I am able to load both apache and php on startup,did a few php and apache cofiguration i read from the manual and i wrote a script in php and when I execute the php script in apache i got the same php script that i wrot

[PHP] Daemon with a PHP file

2001-03-21 Thread Renzi, Sebastian
> Hello my name is Sebastian ,i'm from Argentina ,this is my first question > in this list.I would like to know how to run a php file every day at 8 AM > , my intention was to create a cron with the crontab command.Something > like this ... > > 0 8 * * * /home/users/sebas/citas.php3 > > but this

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Phillip Bow
When I first started playing with PHP I had been using SSI's. I tried to find a way that I could get a file that contained SSI's and php to be parsed, but I haven't seen it done. In Apache it seems like it would be as easy as adding a handler that parses shtml files as php files, but that causes

Re: [PHP] Daemon with a PHP file

2001-03-21 Thread Phillip Bow
Unless you have the php executable associated with the .php3 extension(not the web server association mind you) then you would need to pass the file as a command line argument to the executable. 0 8 * * * "/usr/local/bin/php /home/users/sebas/citas.php3" Depending on the location of the php exec

Re: [PHP] register_globals & PHP_SELF

2001-03-21 Thread Alexander Wagner
Steve Haemelinck wrote: > Does the PHP_SELF variable only work if you have your > register_globals on? Probably. > Is their an another for still using it ? $putitinhere = getenv("PHP_SELF"); might work. Or, if track_vars is ON (default since PHP 4.03 I think), you might find it in $HTTP_SERVER

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
>When I first started playing with PHP I had been using SSI's. I tried to >find a way that I could get a file that contained SSI's and php to be >parsed, but I haven't seen it done. In Apache it seems like it would be >as >easy as adding a handler that parses shtml files as php files, but that >

[PHP-I18N] Apache _PHP----Help

2001-03-21 Thread OBB
I have problem making apache1.3.17win32 and php4.0.4 to work on win98se I am able to load both apache and php on startup,did a few php and apache cofiguration i read from the manual and i wrote a script in php and when I execute the php script in apache i got the same php script that i wrot

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Joe Sheble (Wizaerd)
virtual (PHP 3, PHP 4 ) Perform an Apache sub-request int virtual (string filename) Virtual() is an Apache-specific function which is equivalent to in mod_include. It performs an Apache sub-request. It is useful for including CGI scripts or .shtml files, or anything else that you would parse thr

Re: [PHP] MySQL "DISTINCT" query

2001-03-21 Thread Mark Maggelet
On Wed, 21 Mar 2001 11:04:48 -0700, Jared Howard ([EMAIL PROTECTED]) wrote: >I need to retrive all column information from a DISTINCT query. But >so >far, I only can get one column to show by using this: > >SELECT DISTINCT my_column FROM my_table; > >which then gives me a list of my_column inform

php-i18n Digest 21 Mar 2001 19:13:06 -0000 Issue 59

2001-03-21 Thread php-i18n-digest-help
php-i18n Digest 21 Mar 2001 19:13:06 - Issue 59 Topics (messages 140 through 145): Re: Encoding detection 140 by: Gustav Foseid 141 by: Atanas Vassilev 142 by: Gustav Foseid 143 by: Atanas Vassilev A NETWORK MARKETER? 144 by: timmyralley8627.juno.com

[PHP-CVS] cvs: php4 / EXTENSIONS

2001-03-21 Thread Sterling Hughes
sterlingWed Mar 21 11:46:13 2001 EDT Modified files: /php4 EXTENSIONS Log: Remove experimental status from bz2 Index: php4/EXTENSIONS diff -u php4/EXTENSIONS:1.15 php4/EXTENSIONS:1.16 --- php4/EXTENSIONS:1.15Fri Jan 19 08:12:36 2001

Re: [PHP] Simple PHP 4 and MySQL question about query

2001-03-21 Thread Chris Worth
To follow on, one thing this newbie learned is that it is usually best to build the query string and then pass it to the mysql_query funcion. i had some odd results when I had several ( ) in there for my where clause I made it a separate string and presto it works every time. chris On Tue,

[PHP] Form variables

2001-03-21 Thread Michael George
According to the docs, when creating form variables which will be passed as globals to the next PHP script invocation, one can make single dimensional arrays, but not multi-dimensional arrays. I read this after I'd created a script which generates a form with a 2D array on it. But as I test it,

[PHP-CVS] cvs: php4 /ext/bz2 EXPERIMENTAL

2001-03-21 Thread Sterling Hughes
sterlingWed Mar 21 11:47:05 2001 EDT Removed files: /php4/ext/bz2 EXPERIMENTAL Log: Remove experimental status from bz2 (as of 4.0.6) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-21 Thread Frank M. Kromann
fmk Wed Mar 21 11:56:34 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: changed arg types from pval* to zval** Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.3 php4/ext/fbsql/php_fbsql.c:1.4 --- php4/ext/fbsql/php_fbsq

Re: [PHP] Form variables

2001-03-21 Thread Alexander Wagner
Michael George wrote: > I read this after I'd created a script which generates a form with a > 2D array on it. But as I test it, it seems to work. > > In short, it the 1D array a limitation of > HTML or PHP? I think it is a limitation of PHP 3. It should work with PHP 4. HTML is not responsible

[PHP-CVS] cvs: php4 /ext/pfpro pfpro.c php_pfpro.h

2001-03-21 Thread Andi Gutmans
andiWed Mar 21 12:07:18 2001 EDT Modified files: /php4/ext/pfpro pfpro.c php_pfpro.h Log: - Fix spelling error Index: php4/ext/pfpro/pfpro.c diff -u php4/ext/pfpro/pfpro.c:1.9 php4/ext/pfpro/pfpro.c:1.10 --- php4/ext/pfpro/pfpro.c:1.9 Sun Feb 25 22:

[PHP-CVS] cvs: php4 /ext/pdf pdf.c php_pdf.h

2001-03-21 Thread Rainer Schaaf
rjs Wed Mar 21 12:55:35 2001 EDT Modified files: /php4/ext/pdf pdf.c php_pdf.h Log: Beta2 of PDFlib V4.0 will introduce on new function (PDF_place_pdi_page) and PDF_close_pdi_page will lose one parameter. These changes are done for the phpwrapper now

Re: [PHP] URIs as variables

2001-03-21 Thread almir
try with uri= ""Issac Goldstand"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 99at42$5be$[EMAIL PROTECTED]">news:99at42$5be$[EMAIL PROTECTED]... > Newbie question here. I am trying to pass a varaible containing a URI > across a few scripts. Basically, the first script get's a query string > in

[PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
Hi, I'm trying to get this combo to work "Informix + PHP + Apache + Solaris 8". But, i'm having some trouble compiling php4.0.4p1. ./configure fails when trying to run esql to test for version and lib dir. I have the latest version of IDS 2000 which supports solaris 8. From the IDS 2000 CD

[PHP] Form variables

2001-03-21 Thread Sascha Andres
Hi, i want to build up a form dynamicly which posts always to one php script. how can i get all the variavbles - best with name ? sascha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] PHP an WinNT-Filesystem

2001-03-21 Thread almir
try giving all rights to all users for short time just to check if it is going to work at least in this case, i never had problems localy (only in network) it works fine with me wich php are you using ""Dirk Ritters"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 99arbh$ior$[EMAIL PROTECTED]">news:99

Re: [PHP] MySQL "DISTINCT" query

2001-03-21 Thread almir
select distinct * from mytable is functioning just as it should what the answer is not group by try pleas to explain better what do you want almir "Jared Howard" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need to retrive all column information from

Re: [PHP] Simple question about mail() limitations (if any :)

2001-03-21 Thread almir
on IIS it is much better solution for more than few mails is to put them simply in pickup directory of smtp server, I am also sure that there is a similar possibility on linux -almir ""SED"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Before I

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread almir
you can include through http ,I did it even remotly and it works fine but slow, see in manual how to read files through http -almir ""Christian Dechery"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can't I or or ??? I'm trying to, the script wor

Re: [PHP] file height and width

2001-03-21 Thread almir
1) why put it into db , i dont think it is good idea to do it, put it in file sytem , check it with image funrtions and than do what you want to or even easier use stiles to format it with html so that it doesn´t metter how big file actualy is -almir ""george"" <[EMAIL PROTECTED]> schrieb im Ne

[PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Brooks, Ken
I have seen -many- messages and spent an entire day reading, and haven't found what I'm looking for so i hope this is the correct place to ask. When I try to make an ora_logon or ocilogon, I get the error: Fatal error: Call to undefined function: ora_logon() Is this an incorrect PHP setup or

[PHP] addslashes Question

2001-03-21 Thread Jeff Oien
I have a form to modify a record in a MySQL database. The record contains this: 3" Brush The code in question is like this: while ($row = mysql_fetch_array($result)) { $desc1 = $row['desc1']; -- "> I've tried using addslashes to the variable in various ways and it always returns: 3\

Re: [PHP] Attachment problem with web based mail - CODE SAMPLE

2001-03-21 Thread almir
if you want to change the behaviour of IE or NN with save, then you have to change header of the page you are sending with header comand -almir ""Grant Walters"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 001101c0b1f8$d7c52080$[EMAIL PROTECTED]">news:001101c0b1f8$d7c52080$[EMAIL PROTECTED]...

Re: [PHP] Daemon with a PHP file

2001-03-21 Thread Douglas Winslow
On Wed, 21 Mar 2001, Renzi, Sebastian wrote: > > Hello my name is Sebastian ,i'm from Argentina ,this is my first > question in this list.I would like to know how to run a php file every > day at 8 AM , my intention was to create a cron with the crontab > command.Something like this ... > > 0 8 *

Re: [PHP] Optional Parameter ?

2001-03-21 Thread almir
function print_this( $value1, $value2, $maybe3="somethin") { } -almir "Jack Sasportas" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is it possible to have a function that looks something like > > function print_this( $value1, $value2, $maybe3) { > >

Re: [PHP] addslashes Question

2001-03-21 Thread Tobias Talltorp
This seems to be more of a HTML problem. Form fields simply can´t print out ". You need to change the " to " in order for it to appear. This can be done using the function htmlspecialchars(): http://www.php.net/manual/en/function.htmlspecialchars.php In your case: "> You can test these two thing

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Sam Masiello
It sounds like PHP was not compiled with the -with-oracle directive when the configure script was run. This will compile in support for the PHP Oracle functions. HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Brooks, Ken [ma

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-21 Thread Frank M. Kromann
fmk Wed Mar 21 13:53:45 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: setting right params to zend_get_parameters_ex Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.4 php4/ext/fbsql/php_fbsql.c:1.5 --- php4/ext/fbsql/

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Sam Masiello
After reading my last post, I realized that I am a dope :) You DO need to compile in Oracle support, but you don't do it with -with-oracle. That is in Linux :) Sorry about that! Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Sa

Re: [PHP] addslashes Question

2001-03-21 Thread Hardy Merrill
Jeff, here's what I do: 1. set magic_quotes_gpc On in php.ini * this will automatically quote all GET, POST, and COOKIE variables - read up on magic_quotes_gpc. 2. at the top of each script, stripslashes all the COOKIE, GET, and POST variables, since they will have been

Re: [PHP] Header Problem

2001-03-21 Thread almir
are you using cookies together with header , i had problems with that -almir <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I`m having whats probably a very basic problem but just can`t get my head > around it this late in the day, anyone have an

Re: [PHP] Header Problem

2001-03-21 Thread Keith Vance
What happens when it doesn't work, any error messages? Try: header ("Location: http://www." . $URL . "/members/index.php"); or $loc = "Location: http://www." . $URL . "/members/index.php"; header ($loc); The first suggestion should work. K E I T H V A N C E Software Engineer n-Link Corporatio

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Chris Fry
For SCO I had to download the ESQL package separately - I think you have to do the same (if it's available). Chris Joe Rice wrote: > Hi, > I'm trying to get this combo to work "Informix + PHP + Apache + Solaris 8". > But, i'm having some trouble compiling php4.0.4p1. ./configure fails when >

[PHP] linking classes together

2001-03-21 Thread Tobias Talltorp
I have two classes, one with mysql-connections and one with session-stuff. The session-class relies on the mysql to check if the user is registered and such. What is the proper way to connect/link these classes together? I got it working if I created a $db = new mysql_connect; in the function, b

[PHP] trim string

2001-03-21 Thread Wen Ni Leong
I need help in this basic string function. I query from the database by using while loop and the result in in array. I separated them by using "," . I want at the end of the string to be trim off. Unfortunately I tried all the string function such as chop,trim and substr but they seem like can'

[PHP] trim string

2001-03-21 Thread Wen Ni Leong
I need help in this basic string function. I query from the database by using while loop and the result in in array. I separated them by using "," . I want at the end of the string to be trim off. Unfortunately I tried all the string function such as chop,trim and substr but they seem like can'

Re: [PHP] trim string

2001-03-21 Thread Keith Vance
You might be able to use substr. http://www.php.net/substr K E I T H V A N C E Software Engineer n-Link Corporation On Wed, 21 Mar 2001, Wen Ni Leong wrote: > I need help in this basic string function. > I query from the database by using while loop and the result in in > array. I separated t

RE: [PHP] trim string

2001-03-21 Thread James Moore
> -Original Message- > From: Wen Ni Leong [mailto:[EMAIL PROTECTED]] > Sent: 21 March 2001 10:10 > To: [EMAIL PROTECTED] > Subject: [PHP] trim string > > > I need help in this basic string function. > I query from the database by using while loop and the result in in > array. I separa

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
i ended up downloading the SDK for solaris 7 and it seems to have work...well, kind of. It compiled, but i can't start apache. apache is trying to find libifsql.so which isn't anywhere on my system. Do you have this file? is it part of the ESQL SDK or is part of php? any help would be great

RE: SV: [PHP] Booking by Date/Time in mySQL

2001-03-21 Thread Jon Snell
Yes, I would recommend locking your tables before doing this just in case. Another solution would be to create a unique-key based on the bed field and date field. This way you are guaranteed never to double book, and can just check for errors after insert rather than do an additional select state

Re: [PHP] load DB from other server

2001-03-21 Thread almir
are you trying only to connect to database or to transport data from one db to another (LOAD) connect will do just fine to export and inport data between two databases use mysql programms mysqldump and mysqlimport or for smaller DB phpMyAdmin is ok -almir ""McShen"" <[EMAIL PROTECTED]> schrieb

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Chris Fry
Joe, >From memory I had to create a symlink for libifsql.o - I'll boot up the SCO box and >see if I can find it and let you know. Chris Joe Rice wrote: > i ended up downloading the SDK for solaris 7 and it seems to have work...well, > kind of. It compiled, but i can't start apache. apache i

[PHP] Authenticated without Authenticating???

2001-03-21 Thread Brandon Orther
Hello, Is there a way to have a script authenticate with out me haveing to fill out the pop-up windows ? This way my script can do things without me having to be there to type the password for each website that needs to be authenticated. I hope I made a bit of sense. Thank you, --

[PHP] irix compile error (4.0.4pl1): libpq

2001-03-21 Thread Paul Schreiber
okay, i'm trying to compile on an irix 5.3 box ... configure gives some sort of warning/error, and this is what's in debug.log: --- - CONFIGURE: './configure' '--with-mysql' '--with-apache=../apache_1.3.19/' '--w ith-open

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Chris Fry
Joe, The answer is you need to set the following in your profile:- LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:/usr/lib or: SHLIB_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:/usr/lib I have both set on mine - not sure which one works. Chris Joe Rice wrote: > i ended up downloadi

[PHP] mysql backup

2001-03-21 Thread McShen
hi how do i back up a mysql DB table? Can you please write me the code? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] mysql backup

2001-03-21 Thread Peter Houchin
-Original Message- From: McShen [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: [PHP] mysql backup hi how do i back up a mysql DB table? Can you please write me the code? Thanks. --__

[PHP] Help!

2001-03-21 Thread Fred
I got this error when i try to ran a script of mine: "PHP caused a stack fault in module MSVCRT.DLL at 0177:7800f75d. Registers: EAX=005421f4 CS=0177 EIP=7800f75d EFLGS=00010202 EBX=00542254 SS=017f ESP=00541f94 EBP=005421dc ECX=00542244 DS=017f ESI=019dab14 FS=7f67 EDX=006a ES=017f EDI=00

[PHP] Pre-Written Script ?

2001-03-21 Thread Jack Sasportas
Has anyone found a good prewritten (gpl) script that helps you to create the php code to add/edit/modify based on selecting a table that you want to put data into ? I want to use this both to get some data in the computer as well as to learn other coding techniques. Thanks ! ___

Re: [PHP] trim string

2001-03-21 Thread Gary Huntress
Perform the trim as part of the query: "Select rtrim(app_name) , rtrim( status) from approval_list where doc_no='6'" "Wen Ni Leong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need help in this basic string function. > I query from the database by using

RE: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
>You could just do a rename *.shtml *.php under >DOS or UNIX or cp *.shtml ./*.php then >use some sort of regex program/function to replace >the internal links. I'm not willing to change my entire site (which have over 3.000 html files) just because PHP can't do something... I'd rather work som

[PHP] Problems with PDF_open_gif

2001-03-21 Thread Steffen Wieschalla
Hi! I have PHP 4.0.4pl1, pdflib 3.0.3 (with bugfix), apache 1.3.19 under Redhat 7. The code is: *snip* $img = PDF_open_gif($pdf, "some.gif"); *snip* I got the following message every time: Warning: Could not open image in /home/apache/pdf_create.phtml on line 12 T tried it with realtiv and abs

Re: [PHP] trim string

2001-03-21 Thread Mark Maggelet
On Wed, 21 Mar 2001 18:09:47 +0800, Wen Ni Leong ([EMAIL PROTECTED]) wrote: >I need help in this basic string function. >I query from the database by using while loop and the result in in >array. I separated them by using "," . > >I want at the end of the string to be trim off. Unfortunately I >

Re: [PHP] session destroy???

2001-03-21 Thread Yasuo Ohgaki
Use session_unset() http://www.php.net/manual/en/function.session-unset.php Regards, -- Yasuo Ohgaki ""Miguel Loureiro"" <[EMAIL PROTECTED]> wrote in message 015d01c0b237$61e86720$[EMAIL PROTECTED]">news:015d01c0b237$61e86720$[EMAIL PROTECTED]... Hello all, when using sessions, if use command

RE: [PHP] Pre-Written Script ?

2001-03-21 Thread ..s.c.o.t.t..
phpmyadmin http://www.phpwizard.net/projects/phpMyAdmin/ > -Original Message- > From: Jack Sasportas [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 21, 2001 16:17 > To: php > Subject: [PHP] Pre-Written Script ? > > > Has anyone found a good prewritten (gpl) script that helps you

Re: [PHP] linking classes together

2001-03-21 Thread Yasuo Ohgaki
SNIP > // This does not work --> > class sessions { > function sessions { > $db = new mysql_connect; > } > > function testprint() { > $db-> connect() > } > } This does not work as it shouldn't. You create $db in another function => other function cannot use. Make it

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
What ended up working for me is; LD_RUN_PATH=$INFORMIXDIR/lib then i recompiled php and when i started apache everything seemed to work. I didn't go the LD_LIBRARY_PATH way because of http://www.visi.com/~barr/ldpath.html titled "Why LD_LIBRARY_PATH is bad" Thanks for all the help, joe web

Re: [PHP] irix compile error (4.0.4pl1): libpq

2001-03-21 Thread Yasuo Ohgaki
Do you have llibpq in your system? Is it under path /usr/lib or /usr/local/lib? If not, get PostgreSQL source, create lib, specify Pgsql install location for configure. If this does not help, I don't know Regards, -- Yasuo Ohgaki "Paul Schreiber" <[EMAIL PROTECTED]> wrote in message [EMAIL

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Keith Vance
That's sounds like a good task for you to take on, you will learn a lot about writing PHP code. I don't really know what you are talking about, but you can look at phpMyAdmin or something. K E I T H V A N C E Software Engineer n-Link Corporation On Wed, 21 Mar 2001, Jack Sasportas wrote: > Has

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
>this will work, however: > > > > > > that is the problem... THIS is not working... I have my html file like this: index.shtml ... stuff... and it's not working... there are 4 "include virtual"'s on this page... this would be the 5th... all of them work,why not this one? _

[PHP] Benchmark single page

2001-03-21 Thread Jason Granum
I'm wanting to benchmark a single PHP page to the millisecond (if possible) that basicly just will put a This page generated in X.XXX seconds at the bottom of every page. I've tried looking through the past messages on the group but havn't found any threads relating to this. Anyone have any

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Chris Fry
Joe, Thanks for the info! Glad it's working for you. Chris Joe Rice wrote: > What ended up working for me is; > > LD_RUN_PATH=$INFORMIXDIR/lib > > then i recompiled php and when i started apache everything > seemed to work. I didn't go the LD_LIBRARY_PATH way > because of http://www.visi.com

[PHP] executables (.exe)

2001-03-21 Thread Christian Dechery
Correct me if I'm completely out of my mind here (often I am). But I think, I read somewhere that u can compile .php files and make executables of them to run in the command line like programs... is this true? How can I get it to work? WHat do I need? . Christian De

[PHP] Ack! Cookie Problems!

2001-03-21 Thread Michael Champagne
Ok, I'm going through a cookie nightmare. I'm trying to create a session and then cut the user off from the session by setting the expiration of the cookie that I send out using session_set_cookie_params(). Here's my code: /* Start session and unset any previous session variables */ session_sta

Re: [PHP] Authenticated without Authenticating???

2001-03-21 Thread Yasuo Ohgaki
I think there is a article about passing variables site to site in www.phpbuilder.com. I think it will help want you want to do. Regards, -- Yasuo Ohgaki "Brandon Orther" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > Is there a way to have a scri

[PHP] Getting a header without ANY mime type

2001-03-21 Thread Spunk S. Spunk III
I've got a situation where I'm interested in returning a header without ANY mime type specified. It looks like the default Mime type is set by the server (plain text)? Or at least when I don't specify the type that's what my server is returning. I'd also like to ensure that there is no content len

Re: [PHP] Help!

2001-03-21 Thread Yasuo Ohgaki
I think this should go to BugDB. http://bugs.php.net Try older versions if you in hurry. Regards, -- Yasuo Ohgaki ""Fred"" <[EMAIL PROTECTED]> wrote in message 99be8l$m4u$[EMAIL PROTECTED]">news:99be8l$m4u$[EMAIL PROTECTED]... > I got this error when i try to ran a script of mine: > "PHP caused

Re: [PHP] Benchmark single page

2001-03-21 Thread Mark Maggelet
On Wed, 21 Mar 2001 17:09:17 -0800, Jason Granum ([EMAIL PROTECTED]) wrote: >I'm wanting to benchmark a single PHP page to the millisecond (if >possible) that basicly just will put a > >This page generated in X.XXX seconds > >at the bottom of every page. > >I've tried looking through the past mess

Re: [PHP] Apache +Php -----help

2001-03-21 Thread Yasuo Ohgaki
Your Apache is not handling PHP scripts as PHP script. That's why you get script on your browser. Read these sections in PHP Manual. http://jp.php.net/manual/en/install-windows.php http://jp.php.net/manual/en/install.apache.php Regards, -- Yasuo Ohgaki ""OBB"" <[EMAIL PROTECTED]> wrote in messa

Re: [PHP] Benchmark single page

2001-03-21 Thread Floyd Piedad
Hi Jason, At the very start of the page to be outputted, even before the HTML tags, put this in. Then at the very bottom of the generated page, before the tag: This takes into account all of the php codes executed to generate all the contents inbetween these two sections, including databas

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Rasmus Lerdorf
Doesn't make a whole lot of sense to do so, but include virtual should work just fine. -Rasmus On Wed, 21 Mar 2001, Christian Dechery wrote: > Can't I > > or > or > ??? > > I'm trying to, the script works fine if I load it normally, but as an include > in a shtml (server parsed) file it alwa

Re: [PHP] executables (.exe)

2001-03-21 Thread Nuno Silva
Hi, just make the cgi version of php and feed some script to it ;) in unix you can start the script with: #!/path/to/php -q good luck, Nuno Christian Dechery wrote: > Correct me if I'm completely out of my mind here (often I am). > > But I think, I read somewhere that u can compile .php

Re: [PHP] irix compile error (4.0.4pl1)

2001-03-21 Thread Paul Schreiber
Yasou wrote: >Do you have llibpq in your system? Is it under path /usr/lib or >/usr/local/lib? >If not, get PostgreSQL source, create lib, specify Pgsql install location for >configure. >If this does not help, I don't know okay, I removed --with-pgsql ... but I'm still getting this error:

Re: [PHP] Benchmark single page

2001-03-21 Thread Jason Granum
Thanks. This was exactly what I was needing. - Original Message - From: "Floyd Piedad" <[EMAIL PROTECTED]> To: "Jason Granum" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001 5:53 PM Subject: Re: [PHP] Benchmark single page > Hi Jason, > > At the very start of

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Jack Sasportas
PhpMyAdmin is to manage MySQL, I want to take an existing table lets say phone_book and then have a script generate the add/edit/modify scripts so I don't have to code it, and look at how it is coded... Any Ideas ? Thanks! Keith Vance wrote: > That's sounds like a good task for you to take on,

[PHP] reading microsoft word document text in php?

2001-03-21 Thread Erick Papadakis
hello, i need to read a microsoft Word document on the server through my file system. is there a way i can read the text of a word document? thanks/erick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Kurth Bemis
At 09:08 PM 3/21/2001, Jack Sasportas wrote: ah - true laziness.this is what gave birth to wysiwyg editors like frontpage :-) do your self a favor and get off your ass and write code like everybody else. I bet that you use frontpage too. Christ! if your going to develop then you can't b

RE: [PHP] executables (.exe)

2001-03-21 Thread Jonathan Sharp
If you're on windows, (which i'm assuming you are) you can call the PHP binary with the path to your php script... so (assuming you have C:\php\bin\ as part of your PATH enviromental variables for windows) you could do PHP C:\path\to\php-script.php and it will run on the command line...or just gi

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Jack Sasportas
Did you read what I wrote ? First I do code, and I have coded projects with as many as 60,000 lines (clipper). In this case I run an ISP, work about 85 hours a week ( if that's lazy then I the laziest ). I have read most of the wrox PHP book (600 pages+), as well as havinging coded a complete UAS

Re: [PHP] Pre-Written Script ?

2001-03-21 Thread Gfunk
Yeah i know how you feel man... I think what you're looking for is codecharge http://www.codecharge.com/ it generate add/edit/modify scripts eventually, but the interface sucks the bag. perhaps some people on the list could write a better version in php? or even one people can use online that can

RE: [PHP] Pre-Written Script ?

2001-03-21 Thread Jason Lotito
> Did you read what I wrote ? > First I do code, and I have coded projects with as many as 60,000 > lines (clipper). > > In this case I run an ISP, work about 85 hours a week ( if that's > lazy then I the > laziest ). I have read most of the wrox PHP book (600 pages+), as well as > havinging code

[PHP] IBill - Can you recommend a script?

2001-03-21 Thread Matt Friedman
I have a client who wants to set up iBill. Has anyone had any good experiences with any of the commercially avaliable or open source iBill administration scripts out there? Good Bad or Otherwise, please let me know. Many thanks for any light you can shed on this topic. Matt Friedman -- PHP G

RE: [PHP] Pre-Written Script ?

2001-03-21 Thread Kurth Bemis
At 01:12 AM 3/22/2001, Jason Lotito wrote: wysiwyg is generally a bad thing. using tools such as allaire homesite i can code a full site such as jrehomes.com in about 70 hours - start to finish. it took twice as long with dreamweaver 3 due to the wonderful ppl at MS going against the grain (

[PHP] not working

2001-03-21 Thread Wade DeWerff
this is opening home.php instead of the test include file..whats wrong? Test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Pre-Written Script ?

2001-03-21 Thread Peter Houchin
R u 2 gonna knock it off and stop invloving the rest of us in your sledging of each other?? if you wanna continue pls keep it between your selves and not involve the rest of us cheers -Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 2:09 PM T

Re: [PHP] not working

2001-03-21 Thread Philip Olson
What are you wanting to do? Let's assume : a. You want soon-to-be-included file names to depend on values passed through the url QUERY_STRING (links). (also, be careful) b. The file containing this code is called home.php Let's slightly modify your code : Test Is that what you're wanting

Re: [PHP] not working

2001-03-21 Thread Wade DeWerff
Well Im trying to use a template system for pages. php4 bible lists it as sort of a GET method of handling links rather than creating all of the pages, you just use template with includes >What are you wanting to do? Let's assume : > >a. You want soon-to-be-included file names to depend on val

[PHP-CVS] cvs: php4 /pear/HTML Common.php

2001-03-21 Thread Adam Daniel
adaniel Wed Mar 21 20:14:43 2001 EDT Added files: /php4/pear/HTML Common.php Log: orginal commit. class containing common html tools Index: php4/pear/HTML/Common.php +++ php4/pear/HTML/Common.php http://www.php.net/license/2_02.txt.

Re: [PHP] PHP & MYSQL BOOKS

2001-03-21 Thread YoBro
Thanks Luke, I have ordered your book. ""Luke Welling"" <[EMAIL PROTECTED]> wrote in message 9975hj$has$[EMAIL PROTECTED]">news:9975hj$has$[EMAIL PROTECTED]... : It is $39.95 at barnesandnobel.com and at fatbrain.com. : : That GST is a killer. It will probably have an RRP around $110 here in :

php-general Digest 22 Mar 2001 04:20:14 -0000 Issue 581

2001-03-21 Thread php-general-digest-help
php-general Digest 22 Mar 2001 04:20:14 - Issue 581 Topics (messages 44964 through 45070): Re: file height and width 44964 by: Chris Lee 44967 by: george 45003 by: almir Re: header redirection 44965 by: Chris Lee include virtual, file or exec cgi? 4

[PHP] Installing PEAR

2001-03-21 Thread RalphGzman
Ok, IM a bit confused as to how PEAR is installed. I read through the README file in the php source but found no explanation. I am tryin to use the PEARs DB abstracion. I have DB.php and DB/ in /usr/local/lib/php. I added: 'include_once(DB/mysql.php);' to the top of my script but it failed si

<    1   2   3   >