[PHP-CVS] cvs: php4 /ext/pgsql pgsql.dsp

2001-03-20 Thread Daniel Beulshausen
dbeuTue Mar 20 09:45:11 2001 EDT Modified files: /php4/ext/pgsql pgsql.dsp Log: fix dsp Index: php4/ext/pgsql/pgsql.dsp diff -u php4/ext/pgsql/pgsql.dsp:1.16 php4/ext/pgsql/pgsql.dsp:1.17 --- php4/ext/pgsql/pgsql.dsp:1.16 Thu Sep 28 13:25:03 2000

[PHP] dbase functions still supported?

2001-03-20 Thread Don Pro
Hi, Using PHP 4.04pl1 I am getting an error executing the dbase_create function. Th elines of code are: if (!dbase_create($export_file, $dbf_def)) echo "Error creating DBF file"; my error message is: Fatal error: Call to undefined function: dbase_create() in my_prog. php on line 59 I fou

Re: [PHP] phpinfo() doesn't list compiled --with

2001-03-20 Thread Christian Reiniger
On Tuesday 20 March 2001 14:59, you wrote: > I compiled php --with-pgsql, but phpinfo() doesn't list that.is > this a problem with php.ini? Are you sure you didn't have a typo in that? Configure silently ignores unknown opitons. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/

[PHP] Dynamically build a form from mySQL table

2001-03-20 Thread Martin E. Koss
Hi, I've been trying to figure this out by looking through the code in phpMyAdmin but I'm not getting very far. There's probably some help about it somewhere. What I want to do is dynamically generate a form where I get a table row containing the field name in one cell and the input field in the

RE: [PHP] dbase functions still supported?

2001-03-20 Thread Jack Dempsey
you need to compile php with dbase support... http://www.php.net/manual/en/function.dbase-create.php checkout the fourth userpost... jack -Original Message- From: Don Pro [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 1:01 PM To: php list Subject: [PHP] dbase functions still su

RE: [PHP] files with html extension

2001-03-20 Thread Rick VanNorman
On 3/20/2001 at 12:29 PM Jack Dempsey wrote: >You can tell apache to have the php interpreter parse files with an html >extension, thereby letting you use the tags in html files...whether >this >is a good solution or not is another question.that would mean that each >file would get parse

RE: [PHP] files with html extension

2001-03-20 Thread Mark Maggelet
for php4: AddType application/x-httpd-php .html for php3: AddType application/x-httpd-php3 .html On Tue, 20 Mar 2001 10:12:56 -0800, Rick VanNorman ([EMAIL PROTECTED]) wrote: >On 3/20/2001 at 12:29 PM Jack Dempsey wrote: > >>You can tell apache to have the php interpreter parse files with an >>h

Re: [PHP] files with html extension

2001-03-20 Thread Phillip Bow
Personally I recommend people don't do this unless their web server is going to serve only(or mostly) php pages, and very few straight html pages. It will save you time mucking around on the server, but the increase in overhead isn't really worth it. IMHO of course. -- phill -- PHP General Ma

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

2001-03-20 Thread Jeff Armstrong
the logic goes: $start = some_start_date_a_keen_punter_entered(); $end = the_date_he_wants_to_leave(); select * from booking where ('$start'>=startdate and '$start'<=enddate) or ('$end'>=startdate and '$end'<=enddate) if (uh_ohh_I_got_a_row_back()) echo "Someone else is sleeping i

[PHP] where to learn to make a shopping cart

2001-03-20 Thread Jerry Lake
What are some good resources I can look at to learn how to make a shopping cart, that will function with php3/MySQL ? I know of the one at Devshed, but any other resources are certainly appreciated. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.

[PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/fastcgi CREDITS Makefile.in README.FastCGI config.m4 fastcgi.c php.sym php_fastcgi.h

2001-03-20 Thread Andi Gutmans
andiTue Mar 20 10:13:21 2001 EDT Added files: (Branch: PHP_4_0_5) /php4/sapi/fastcgi CREDITS Makefile.in README.FastCGI config.m4 fastcgi.c php.sym php_fastcgi.h Log: - MFH Index: php4/sapi/fastcgi/Makefile.in +++ php4/sapi/

RE: [PHP] where to learn to make a shopping cart

2001-03-20 Thread Jerry Lake
Now that I take a look, the one at devshed assumes PHP4... of course. and that would be great if I could get my sysadmin to upgrade. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original M

[PHP] Q: NSAPI support

2001-03-20 Thread Joe Rice
Hi, I have a funny situation where i can't use apache due Macromedia's ARIA software and lack of it's support for apache. So, i'm stuck with using iPlanet. My question is how stable,fast,usable is the PHP4 NSAPI support? Thanks, joe rice Web Admin www.bigidea.com -- PHP General Mailing Li

RE: [PHP] files with html extension

2001-03-20 Thread Jeff Armstrong
I agree with Phill, don't make all your HTML into PHP unless you aint got much - but hey if you aint got much then you can fix the real problem! soapbox: { The issue here seems to derive from the fact that all the internal HREFs point to xxx.html This is exactly why http://www.w3.org recommen

Re: [PHP] PHP Web-based server-side mail client

2001-03-20 Thread Rouvas Stathis
Check SquirelMail (I'm propably spelling it wrong) on freshmeat.net -Stathis. Steven Katz wrote: > > I'm looking for a PHP web-based POP/IMAP mail client to install on my > RH7 machine. Anyone know of any with really good looking interfaces? > I found a few that I like, but they're CGI, and com

[PHP] How to convert '2001032018' -> '2001 03 20 18' ? (Fomating Date)

2001-03-20 Thread SED
Hi, I'm trying to convert the timestamp '2001032018' into '2001 03 20 18' or an Array which I can easily format. Do you remember any date or string function I can use? Regards, Sumarlidi Einar Dadason SED - Graphic Design -- Phone: (+354) 4615501 M

RE: [PHP] How to convert '2001032018' -> '2001 03 20 18' ? (Fomating Date)

2001-03-20 Thread Altunergil, Oktay
function sql_to_unix_time($timeString) { return mktime(substr($timeString, 8,2), substr($timeString, 10,2), substr($timeString, 12,2), substr($timeString, 4,2), substr($timeString, 6,2), substr($timeString, 0,4)); } you can use the above funct

[PHP] escaping php syntax within perl

2001-03-20 Thread Clayton Dukes
Hey everyone,   Doesn anyone know how to escape the following line in a perl print statement?   if(!isset($mainfile)) { include("mainfile.php"); }   ie:   sub header{    print "\n"; }   What all needs to be escaped?     Thanks! Clayton DukesCCNA, CCDA, CCDP, CCNPInternetwork Solutions En

RE: [PHP] files with html extension

2001-03-20 Thread Rick VanNorman
This is the best idea I've heard/read yet. Thanks Jeff! Rick VanNorman *** REPLY SEPARATOR *** On 3/20/2001 at 6:49 PM Jeff Armstrong wrote: > This is exactly why http://www.w3.org recommend that you DONT > SPECIFY A FILE TYPE TYPE in your HREFs. > > Cool URIs Dont change - htt

[PHP] enum and set possible values

2001-03-20 Thread Michael George
I'm looking here at the mysql functions for PHP4.0.4 and I'm not finding what I seek... I see that mysql_fetch_field() will get information about a field in the result set from a mysql_db_query(). What I'm wanting to find out is what the possible values are for an enum or a set. So if I have an

RE: [PHP] How to convert '2001032018' -> '2001 03 20 18' ? (Fomating Date)

2001-03-20 Thread Hoover, Josh
You could try this: function convertTimeStamp($yourTimeStamp) { $strTime[0] = substr($yourTimeStamp, 0,4); $strTime[1] = substr($yourTimeStamp, 4,2); $strTime[2] = substr($yourTimeStamp, 6,2); $strTime[3] = substr($yourTimeStamp, 8,2); return $strTime; }

[PHP-CVS] cvs: php4(PHP_4_0_5) / Makefile.in README.Zeus configure.in /sapi/isapi config.m4

2001-03-20 Thread Andi Gutmans
andiTue Mar 20 10:15:10 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 Makefile.in README.Zeus configure.in /php4/sapi/isapiconfig.m4 Log: - MFH Index: php4/Makefile.in diff -u php4/Makefile.in:1.95 php4/Makefile.in:1.95.4.1 --- php4/M

Re: [PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/fastcgi CREDITS Makefile.inREADME.FastCGI config.m4 fastcgi.c php.sym php_fastcgi.h

2001-03-20 Thread Jani Taskinen
On Tue, 20 Mar 2001, Andi Gutmans wrote: >andi Tue Mar 20 10:13:21 2001 EDT > > Added files: (Branch: PHP_4_0_5) >/php4/sapi/fastcgi CREDITS Makefile.in README.FastCGI config.m4 > fastcgi.c php.sym php_fastcgi.h > Log: > - MFH > Are you sure

[PHP] PHP/Perl/CGI Question

2001-03-20 Thread Clayton Dukes
Howdy,   I have a search cgi form that has the following function:   sub header{    print "Content-type: text/html\n\n";    print "\n";    print "\n";    print "Search\n";}   When I use the function though, the web page (source) comes up as: Search...datainclude("footer.php

[PHP] Attachment problem with web based mail

2001-03-20 Thread lists
We hired a developer about a year ago to develop a web based email system for us in php. The developer is no longer around, so I am having to pick up the development on the project...When clicking on the attachment link of an email in Internet Explorer 5.5 in Windows 98, I get the save as dialog a

[PHP] mail() question

2001-03-20 Thread Wade DeWerff
is there a way to do this in a mail() ? I need to add the $Phone and $Email variables too the $message, but I need to format it so that it is on a new line in the emailI tried using and /n, but it formats as text not code function. $message = $Info ."". $Phone ."". $Email;

Re: [PHP] Couple Questions

2001-03-20 Thread CC Zona
In article <9984hb$c4e$[EMAIL PROTECTED]>, [EMAIL PROTECTED] (CC Zona) wrote: > And while I haven't actually tried this, I assume that anyone could write > their own HTTP_REFERER simply by using fsockopen(). Thanks to PHP's ease > of use, using fsockopen does not require one to have the skill

RE: [PHP] mail() question

2001-03-20 Thread Altunergil, Oktay
it's not /n .. it's \n -Original Message- From: Wade DeWerff [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 2:37 PM To: [EMAIL PROTECTED] Subject: [PHP] mail() question is there a way to do this in a mail() ? I need to add the $Phone and $Email variables too the $message, but

Re: [PHP] mail() question

2001-03-20 Thread Clayton Dukes
$message .= $Info; $message .=""; $message .=$Phone; $message .=""; $message .=$Email; This should append everything, but I could be wrong, I'm no Guru :-) Clayton Dukes - Download Free Essays, Term Papers and Cisco Training f

[PHP-CVS] cvs: php4 /ext/qtdom config.m4

2001-03-20 Thread Thies C. Arntzen
thies Tue Mar 20 11:19:30 2001 EDT Modified files: /php4/ext/qtdom config.m4 Log: make qtdom compile on Mandrake-cooker Index: php4/ext/qtdom/config.m4 diff -u php4/ext/qtdom/config.m4:1.2 php4/ext/qtdom/config.m4:1.3 --- php4/ext/qtdom/config.m4:1.2

Re: [PHP] PHP/Perl/CGI Question

2001-03-20 Thread Clayton Dukes
I was afraid you were going to say that... Anyone care to show me how to write that? Clayton Dukes - Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net - Original Message - From: "Andrew Rush" <

Re: [PHP] mail() question

2001-03-20 Thread CC Zona
In article <00be01c0b175$1cee4080$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Wade DeWerff") wrote: > is there a way to do this in a mail() ? I need to add the $Phone and $Email > variables too the $message, but I need to format it so that it is on a new > line in the emailI tried using and /

RE: [PHP] mail() question

2001-03-20 Thread Altunergil, Oktay
I don't think email messages care about html breaks ""..(unless it's HTML email or something) This is what I always use.. $message = "$Info \n$Phone \n$Email"; You can use the '\n' to also make your HTML sources more readable. -Original Message- From: Clayton Dukes [mailto:[EMAIL PRO

[PHP] Setting up mail() for WinXX

2001-03-20 Thread Todd Cary
I am getting a "Failed to connect" error when I try to send an email. In the php.ini, I have the IP of the ISP's mail server e.g. SMTP = 209.204.199.1 This IP works for other programs I use and for test programs I have created with Delphi. Any suggestions?? Many thanks.. Todd -- Todd

Re: [PHP] enum and set possible values

2001-03-20 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Michael George) wrote: > So if I have an enum with possible values "Yes" and "No" or a set with > possible values "Single", "Married", "Divorced", "Widowed", I seek a function > that will return an array of strings containing those possible valu

[PHP] ...And removing one line only?

2001-03-20 Thread Richard
Greetings. This is a part of my "reading one line" message... If one would need to remove one line in a flatfile, how would it be done? I know there is no simple solution, and one is going to increment through the chosen file.. But how is it done? My programming skills are quite OK, but I am

RE: [PHP] files with html extension

2001-03-20 Thread Jeff Oien
>From the doc: --- How can I remove the file extensions... ...from my URIs in a practical file-based web server? If you are using, for example, Apache, you can set it up to do content negotiation. -- How is this done? Jeff Oien > On 3/20/2001 at 6:49 PM Jeff Armstrong

[PHP] How do I check a php3 file.

2001-03-20 Thread Bill Mitcheson
I was wondering if there was a way to check output and syntax of a php3 file while in UNIX similar to perl: perl [file]. Bill Mitcheson (Network Admin, Pyramus Online). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [PHP] Putting php at end of html?

2001-03-20 Thread Boget, Chris
> > So if you mix PHP and HTML in a file, PHP will be slower > > to parse those files? I thought it was smart enough to > > parse only what was within the recognized start and end > > tags (, , , > > etc)? > PHP *is* smart enough, but it has to "look" in the HTML to > see any

[PHP] What does a ? do

2001-03-20 Thread Brandon Orther
heloo, Could someone plese explain this line if code??? What does the "?" do? $r = ($r < 1) ? $config['maxResults'] : $r; Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com ---

[PHP] dialtoneinternet experience???

2001-03-20 Thread Tobe Johnson
This is a little off topic, but has anyone had any experience using dialtoneinternet.com for either virtual or RaQ hosting? Please respond privately so as to not clutter up the list more. I'll be glad to forward on responses to anyone who is interested. Tobe -- PHP General Mailing List (ht

RE: [PHP] What does a ? do

2001-03-20 Thread Boget, Chris
> Could someone plese explain this line if code??? What does the "?" do? > $r = ($r < 1) ? $config['maxResults'] : $r; It's short circuit IF (I believe that's the right word for it). This is the same thing as doing this: if( $r < 1 ) { $r = $config['maxResults']; } else { $r = $r; } Chri

[PHP] parse error inside comment????

2001-03-20 Thread Jaxon
Hi Gurus - any suggestions here would be welcome, I'm baffled. I have a file that does this: but when I call this file, it gives me a parse error in function_definitions.php. No biggie, so I start trying to figure out what paren, quote, etc. I've forgotton, and I cannot. The line that PHP is

[PHP] Catch timeouts

2001-03-20 Thread CC Zona
I'm resetting set_time_limit() with each iteration of a rather long loop. Right now when the script reaches its time limit I sometimes end up getting just a blank page. Even though I call flush() within each iteration and do lots of error checking along the way, it seems to not be enough.

Re: [PHP] What does a ? do

2001-03-20 Thread Rick St Jean
http://www.php.net/manual/it/html/language.operators.comparison.html#AEN3156 called a trinary operator At 12:08 PM 3/20/01 -0800, Brandon Orther wrote: >heloo, > >Could someone plese explain this line if code??? What does the "?" do? > >$r = ($r < 1) ? $config['maxResults'] : $r; > >Thank you, >

RE: [PHP] What does a ? do

2001-03-20 Thread Altunergil, Oktay
It's called the 'ternary operator' (taking three arguments and stuff).. and I believe it is the only ternary operator at least in PHP. -Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 3:11 PM To: 'Brandon Orther'; PHP User Group Subject: RE: [

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

2001-03-20 Thread Frank M. Kromann
fmk Tue Mar 20 11:21:45 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Converting to c-style comments. Adding prototypes to all exported function Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.1 php4/ext/fbsql/php_f

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

2001-03-20 Thread Fredrik Öhrn
ohrnTue Mar 20 12:04:41 2001 EDT Modified files: /php4/ext/ypyp.c Log: really fix the build Index: php4/ext/yp/yp.c diff -u php4/ext/yp/yp.c:1.18 php4/ext/yp/yp.c:1.19 --- php4/ext/yp/yp.c:1.18 Tue Mar 20 04:50:26 2001 +++ php4/ext/yp/yp.c

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/midgard config.m4

2001-03-20 Thread Andi Gutmans
andiTue Mar 20 12:13:09 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/midgard config.m4 Log: - MFH - This is required for PHP to build. If anything else needs merging for midgard that is related then please do it or rollback the latest midgar

Re: [PHP] Catch timeouts

2001-03-20 Thread CC Zona
In article <998dqa$akd$[EMAIL PROTECTED]>, [EMAIL PROTECTED] (CC Zona) wrote: > I could have sworn I once saw a function that would check whether the > script was being cancelled because a timeout had occured, thereby allowing > you to make a more graceful exit from the script. But now I can'

Re: [PHP] files with html extension

2001-03-20 Thread Derek Sivers
>I recommend people don't do this unless their web server is going >to serve only(or mostly) php pages, and very few straight html pages. >the increase in overhead isn't really worth it. I've tried this in many real-world examples. I have PHP parsing ALL files on ALL of my 8 Linux servers.

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

2001-03-20 Thread Frank M. Kromann
fmk Tue Mar 20 12:25:55 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Fixing crash when result conrains 0 rows Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.2 php4/ext/fbsql/php_fbsql.c:1.3 --- php4/ext/fbsql/php_fbs

[PHP] Create a Bulletin Board

2001-03-20 Thread Jimmy Bäckström
Yo! I'm thinking of writing a bulletin board and I wonder about threads. I want the board to be built on threads but I don't know how to do it. I want it to look something like this: subject 1 | |__ reply1 to 'subject 1' | | | |__ reply1 to 'reply1 to subject 1' |

RE: [PHP] Create a Bulletin Board

2001-03-20 Thread Boget, Chris
> Yo! > I'm thinking of writing a bulletin board and I wonder about > threads. I want the board to be built on threads but I don't > know how to do it. I want it to look something like this: > subject 1 >| >|__ reply1 to 'subject 1' >| | >| |__ reply1 to 'reply1 to su

Re: [PHP] parse error inside comment????

2001-03-20 Thread andrew
Thanks for the pointer! It was actually a missing quote " in the function declaration ABOVE the one that the error was being reported in. Quite strange. regards, jaxon On 3/20/01 4:09 PM, "Johnson, Kirk" <[EMAIL PROTECTED]> wrote: > Look for a missing terminator (semi-colon or curly brace) ju

[PHP-CVS] cvs: php4 /ext/standard rand.c

2001-03-20 Thread Fredrik Öhrn
ohrnTue Mar 20 12:48:43 2001 EDT Modified files: /php4/ext/standard rand.c Log: Fix erronous out of bounds error message in rand(min,max) Index: php4/ext/standard/rand.c diff -u php4/ext/standard/rand.c:1.25 php4/ext/standard/rand.c:1.26 --- php4/ext/st

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

2001-03-20 Thread Sterling Hughes
sterlingTue Mar 20 13:30:43 2001 EDT Modified files: /php4/ext/curl curl.c Log: remove some unneccessary casts, remove unneccessary error casts, standardize the coding format for some of the stuff. Index: php4/ext/curl/curl.c diff -u php4/

[PHP] eregi not working???

2001-03-20 Thread Clayton Dukes
  I have a script that looks for tags, but it doesn't seem to be picking up the titles, can anyone tell me why?      Almost all of the web pages look like:   if(!isset($mainfile)) { include("mainfile.php"); } if(!isset($headers_sent)) { include("header.php"); } ?>   Some Title   

RE: [PHP] parse error inside comment????

2001-03-20 Thread Johnson, Kirk
Look for a missing terminator (semi-colon or curly brace) just *above* the line in the error message. Kirk > -Original Message- > From: Jaxon [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 20, 2001 1:18 PM > To: [EMAIL PROTECTED] > Subject: [PHP] parse error inside comment > > To

[PHP] load DB from other server

2001-03-20 Thread McShen
hi is it possible to load my DB from other servers? if yes, how? like mysql_connect("http://blah.com","username","pass"); 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

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Kath
> Just keep track of a parent message number. You should be able > to use that one field to trace any message back to a root message. > And with that information, you should be able to build a "thread". I concur on that. However, I am more fond of the UBB/vBulletin style of threads, personally.

RE: [PHP] Create a Bulletin Board

2001-03-20 Thread Boget, Chris
> > Just keep track of a parent message number. You should be able > > to use that one field to trace any message back to a root message. > > And with that information, you should be able to build a "thread". > I concur on that. Good to see it's not just me. :p > However, I am more fond of the

RE: [PHP] load DB from other server

2001-03-20 Thread Peter Houchin
Yes it is you just need to make sure you have the port open, to find out more read the manual -Original Message- From: McShen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 12:43 PM To: [EMAIL PROTECTED] Subject: [PHP] load DB from other server hi is it possible to load m

[PHP] Can I run a php3 file?

2001-03-20 Thread Bill Mitcheson
I don't know if anyone got my last message I was wondering if there was a way to execute a php3 file in UNIX so I can check for syntax, etc.? It would be similar to the command: perl [filename]. Thank you, Bill Mitcheson (Network Admin., Pyramus Online). -- PHP General Mailing List (http:

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Kath
http://fractalcore.com/cgi-bin/Ultimate.cgi?action=intro&number=1&category=1 vBulletin looks the same. - Kath - Original Message - From: "Boget, Chris" <[EMAIL PROTECTED]> To: "'Kath'" <[EMAIL PROTECTED]>; "'Jimmy Bäckström'" <[EMAIL PROTECTED]>; "PHP General List" <[EMAIL PROTECTED]> S

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Yoshi Melrose
You could also check out phpBB: http://www.phpbb.com - Original Message - From: "Boget, Chris" <[EMAIL PROTECTED]> To: "'Kath'" <[EMAIL PROTECTED]>; "'Jimmy Bäckström'" <[EMAIL PROTECTED]>; "PHP General List" <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 2001 4:40 PM Subject: RE: [PHP] C

Re: [PHP] Can I run a php3 file?

2001-03-20 Thread Henrik Hansen
Bill Mitcheson <[EMAIL PROTECTED]> wrote: > I don't know if anyone got my last message > > I was wondering if there was a way to execute a php3 file in UNIX so I > can check for syntax, etc.? It would be similar to the command: perl > [filename]. > just do /path/to/php/php script.ph

[PHP] time & session info

2001-03-20 Thread Peter Houchin
on my server in /tmp it saves the session details ... but for some reason it's keeping them there ... is there a way (hopefully with out doing a cron job) that i can tell em to delete them selves after x number of hrs/mins? Peter Houchin [EMAIL PROTECTED] =

RE: [PHP] Create a Bulletin Board

2001-03-20 Thread James Atkinson
Anyone who wants a threaded discussion board won't be satisfied with phpBB. It dosan't contain a threaded view and probably never will :) - James Atkinson Lead Developer, phpBB > You could also check out phpBB: > > http://www.phpbb.com > > > > Just keep track of a parent message number. You sho

[PHP-CVS] cvs: php4(PHP_4_0_5) / configure.in /main php_version.h

2001-03-20 Thread Zeev Suraski
zeevTue Mar 20 13:59:50 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 configure.in /php4/main php_version.h Log: 4.0.5RC2 Index: php4/configure.in diff -u php4/configure.in:1.221.4.3 php4/configure.in:1.221.4.4 --- php4/configure.in:1.221

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Yoshi Melrose
Ahh... that's right, my bad. =) - Original Message - From: "James Atkinson" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 2001 4:59 PM Subject: RE: [PHP] Create a Bulletin Board > Anyone who wants a threaded discussion board won't be satisfied w

[PHP-CVS] cvs: php4 /win32 php4dllts.dsp

2001-03-20 Thread Harald Radi
phanto Tue Mar 20 14:25:10 2001 EDT Modified files: /php4/win32 php4dllts.dsp Log: added com.h Index: php4/win32/php4dllts.dsp diff -u php4/win32/php4dllts.dsp:1.32 php4/win32/php4dllts.dsp:1.33 --- php4/win32/php4dllts.dsp:1.32 Fri Feb 23 14:55:28 2001

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Richard
Do you know anyone that doesn't use MySQL? I mean, that uses flatfiles? - Richard ""Yoshi Melrose"" <[EMAIL PROTECTED]> wrote in message 032601c0b192$1eaed610$0214a8c0@enterprise">news:032601c0b192$1eaed610$0214a8c0@enterprise... > Ahh... that's right, my bad. =) > > - Original Message

[PHP] Comparing two dates.. Which is the older one?

2001-03-20 Thread Richard
Greetings. (yes.. I am active) When a user loggs on, I pass the string $loggtime, that is written to a file. Whenever a this user refreshes any of the pages, certain tasks are performed, and a file's contents is checked, (which contents is a single line of time). If the $loggtime is newe

RE: [PHP] Create a Bulletin Board

2001-03-20 Thread James Atkinson
I don't know of any PHP bulletin boards that use flat files. I database is far better for storing data like this anyway. Ever seen a UBB board with over 1,000,000 posts? Doing a simple search on it crashes the server... The next version of phpBB will have support for MySQL, Postgres, MSSQL, ODBC

[PHP-CVS] cvs: php4 /ext/com COM.c com.h php_COM.h typedef_VARIANT.c

2001-03-20 Thread Harald Radi
phanto Tue Mar 20 14:35:28 2001 EDT Added files: /php4/ext/com com.h Modified files: /php4/ext/com typedef_VARIANT.c php_COM.h COM.c Log: @Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls @and even COM

[PHP-CVS] cvs: php4 / php.ini-dist php.ini-optimized

2001-03-20 Thread Harald Radi
phanto Tue Mar 20 14:45:10 2001 EDT Modified files: /php4 php.ini-optimized php.ini-dist Log: added [com] section Index: php4/php.ini-optimized diff -u php4/php.ini-optimized:1.33 php4/php.ini-optimized:1.34 --- php4/php.ini-optimized:1.33 Wed Mar 7 02:

Re: [PHP] Comparing two dates.. Which is the older one?

2001-03-20 Thread Phillip Bow
Depending on what sort of timestamp you are getting you should be able to just do: if ($loggtime > $oldLoggtime) then... With just a straight unix timestamp(via mktime();) this would work fine. -- phill ""Richard"" <[EMAIL PROTECTED]> wrote in message 998o75$aol$[EMAIL PROTECTED]">news:998o75$ao

Re: [PHP] Create a Bulletin Board

2001-03-20 Thread Richard
Oh...Well, learning something new every day. Seriously; I have never been coding against a database. - Richard ""James Atkinson"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I don't know of any PHP bulletin boards that use flat files. I database is > far b

Re: [PHP] Comparing two dates.. Which is the older one?

2001-03-20 Thread Richard
I forgot to mention that the timestamp is: $date_output = date("Y-m-d H:i A"); But that would work as fine correct? - Richard ""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message 998p9a$hqp$[EMAIL PROTECTED]">news:998p9a$hqp$[EMAIL PROTECTED]... > Depending on what sort of timestamp you ar

Re: [PHP] eregi not working???

2001-03-20 Thread David Robley
On Wed, 21 Mar 2001 08:46, Clayton Dukes wrote: > > I have a script that looks for tags, but it doesn't seem to be > picking up the titles, can anyone tell me why? > > > Almost all of the web pages look like: > >if(!isset($mainfile)) { include("mainfile.php"); } > if(!isset($headers_sent))

Re: [PHP] Comparing two dates.. Which is the older one?

2001-03-20 Thread Phillip Bow
If I were doing this for simplicity's sake I would alter this to be: $timestamp = mktime(); $date_output = date("Y-m-d H:i A", $timestamp); Then store the $timestamp in the (pseudo)database. Any operations I need to compare times will be done on the $timestamp data rather than the $date

Re: [PHP] How do I check a php3 file.

2001-03-20 Thread David Robley
On Wed, 21 Mar 2001 06:33, Bill Mitcheson wrote: > I was wondering if there was a way to check output and syntax of a php3 > file while in UNIX similar to perl: perl [file]. > > Bill Mitcheson (Network Admin, Pyramus Online). You would need to compile PHP as cgi (if not already done) then you can

Re: [PHP] Comparing two dates.. Which is the older one?

2001-03-20 Thread Richard
Thanks.. So $date_output should only be used to print out current time, and $timestamp is the one I should use to compare the dates? - Richard ""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message 998rej$16l$[EMAIL PROTECTED]">news:998rej$16l$[EMAIL PROTECTED]... > If I were doing this for s

[PHP] email an ms-word attachment (please)

2001-03-20 Thread Jen Hall
Hi there I am trying to build an application where a user can use an HTML form, fill out some fields, select a file from their hard drive, and have it emailed as an attachment with the contents of the form. (essentially, fill in your name and address, use my module to attach ms-word file of your

Re: [PHP] How to convert '2001032018' -> '2001 03 20 18' ? (Fomating Date)

2001-03-20 Thread Stephan Ahonen
> I'm trying to convert the timestamp '2001032018' into '2001 03 20 18' or an > Array which I can easily format. Do you remember any date or string function > I can use? Convert the timestamp into a string, then use substr() to get the dates out of it. Look at the on-line manual (http://www.php.n

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

2001-03-20 Thread Ulf Wendel
uw Tue Mar 20 15:45:33 2001 EDT Added files: /php4/pear/Experimental/HTMLMenu_Browser.php Log: Warning: alpha code! A simple filesystem scanner/browser that maps the filesystem structure into a menu hash so that you can build simple fusebox (

Re: [PHP] Problems connecting to remote mySQL server

2001-03-20 Thread Floyd Piedad
Hi Almir, Yes I checked the names and they are correct. Yes I am able to connect using the command prompt from the remote server as I am able to list the databases, tables, etc. remotely. Thanks, Floyd almir wrote: > when you connect to server issue > "show databases" -query then look inside

Re: [PHP] time & session info

2001-03-20 Thread Chris Lee
edit php.ini for the expiry and the gc (garbage collection) percentage. -- Chris Lee [EMAIL PROTECTED] ""Peter Houchin"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... on my server in /tmp it saves the session details ... but for some reason it's keepin

Re: [PHP] ...And removing one line only?

2001-03-20 Thread David Robley
On Wed, 21 Mar 2001 06:10, Richard wrote: > Greetings. > > This is a part of my "reading one line" message... > > If one would need to remove one line in a flatfile, how would it be > done? I know there is no simple solution, and one is going to increment > through the chosen file.. But how is

[PHP] Please Critique My Tutorial

2001-03-20 Thread Jeff Oien
If you have time please take a look and let me know there are any corrections you would make in terminology and accuracy. I'm fairly new to PHP. I want everything to be correct. http://www.webdesigns1.com/php/tutorial_test.php Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Cache bypass

2001-03-20 Thread Barry Russell
Can anyone point me at a way to pick up a url entered in a form and construct an HTTP request that will download the requested page into the browser window with an enforced refresh that bypasses a local cache ? (I have a tough local policy to get thru which doesn't take account of developers

[PHP] A NETWORK MARKETER?

2001-03-20 Thread timmyralley8627
ATTENTION: ANY SERIOUS NETWORK MARKETER TAKE A LOOK AT THE FOLLOWING OPPORTUNITY I CAME ACROSS!! IF YOU PLUG INTO THEIR PROVEN SYSTEM, THEY GUARANTEE YOU SUCCESS, AND PROVIDE YOU WITH FREE LEADS TO BUILD YOUR GROUP!! DO NOT LET THIS SLIP AWAY!! CLICK BELOW AND FIND OUT AS I DID, WHY THESE

Re: [PHP] Cookies

2001-03-20 Thread Nuno Silva
Ola, utiliza um numero mui grande! :) ;) Nuno Francesc Lladó wrote: > > > Utilizo este código para depositar una cookie en el cliente, lo único > que me caduca al cabo de un tiempo, ¿alguién sabe qué es lo que tengo > que poner para que la cookie no caduque nunca? > > Gracias > > -- > F

[PHP-I18N] A NETWORK MARKETER?

2001-03-20 Thread timmyralley8627
ATTENTION: ANY SERIOUS NETWORK MARKETER TAKE A LOOK AT THE FOLLOWING OPPORTUNITY I CAME ACROSS!! IF YOU PLUG INTO THEIR PROVEN SYSTEM, THEY GUARANTEE YOU SUCCESS, AND PROVIDE YOU WITH FREE LEADS TO BUILD YOUR GROUP!! DO NOT LET THIS SLIP AWAY!! CLICK BELOW AND FIND OUT AS I DID, WHY THESE

RE: [PHP] A NETWORK MARKETER?

2001-03-20 Thread Matt Stone
Leaders of the industry with a geocities address... whopdee do -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 21 March 2001 1:09 PM To: [EMAIL PROTECTED] Subject: [PHP] A NETWORK MARKETER? ATTENTION: ANY SERIOUS NETWORK MARKETER TAKE A LOOK AT

[PHP] Cache

2001-03-20 Thread Matt Stone
Hi, This might be a little of topic... I am having real trouble with cached PHP pages, they just never seem to refresh... I have dissabled my local cache (IE5.5 Win2k) to the best of my knowledge (suggestions on how to do this properly welcome) but are still having trouble. I am not sure whether i

RE: [PHP] Cache

2001-03-20 Thread Tyrone Mills
Hi Matt, For a very extensive solution, check this out: http://www.zend.com/codex.php?id=435&single=1 Or, if you just want all your pages to be forced to load all the time regardless... header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); head

php-general Digest 21 Mar 2001 03:53:22 -0000 Issue 579

2001-03-20 Thread php-general-digest-help
php-general Digest 21 Mar 2001 03:53:22 - Issue 579 Topics (messages 44763 through 44866): Re: Problems with Linux PHP 44763 by: Dennis Gearon Re: Editing Variables from another script. 44764 by: Neil Kimber Re: how do i get a variable type? - not that simple 44765

RE: [PHP] Cache

2001-03-20 Thread Matt Stone
That goes in the PHP code no? -Original Message- From: Tyrone Mills [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 21 March 2001 1:56 PM To: Matt Stone; PHPlist Subject: RE: [PHP] Cache Hi Matt, For a very extensive solution, check this out: http://www.zend.com/codex.php?id=435&single=1

<    1   2   3   >