[PHP] Re: [PHP-QA] Error in www.php.net (To site admin)

2001-03-08 Thread Zak Greant
Are you still encountering the error? I don't see it. --zak - Original Message - From: "Yasuo Ohgaki" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 8:06 PM Subject: [PHP-QA] Error in www.php.net (To site admin) There is a error on

Re: [PHP] ldap_search()

2001-03-08 Thread Nick Talbott
Mike The purpose of setting the basedn is to say "search in this branch of the directory". The only person who can really tell you what basedn to use is whoever designed or manages the structure of your LDAP server. Having said that, a base dn is commony something like ... o=Your

Re: [PHP] last inserted record

2001-03-08 Thread Christian Reiniger
On Thursday 08 March 2001 06:42, you wrote: Assuming that you do have a primary key, how can you grab the last record you inserted? Can you use @@IDENTITY, or something like that? For that I'd add another field - type "timestamp". In MySQL, timestamp fields are automatically set to NOW() on

RE: [PHP] parsing html / xml (more)

2001-03-08 Thread Bruin, Bolke de
Hi, I wrote php-lib-htmlparse doesn't do they arguments stuff, but should be easily added (code is there already although not functioning) go to www.phpbuilder.com for the code snippets Bolke -Oorspronkelijk bericht- Van: Nathaniel Hekman [mailto:[EMAIL PROTECTED]] Verzonden:

Re: [PHP] last inserted record

2001-03-08 Thread Soeren Staun-Pedersen
On Thursday 08 March 2001 06:42, you wrote: Assuming that you do have a primary key, how can you grab the last record you inserted? Can you use @@IDENTITY, or something like that? For that I'd add another field - type "timestamp". In MySQL, timestamp fields are automatically set to

Re: [PHP] Regex Masters: Please inspect this regex- Pulling urls out of page

2001-03-08 Thread Christian Reiniger
On Thursday 08 March 2001 09:19, you wrote: I'm putting together a regex to pull all of the urls out of a web page. Not the href tag, but just the url part of that tag. Here's what I've come up with: preg_match_all('/.*href\s*=\s*(\"|\')?(.*?)(\s|\"|\'|)/i', $html, $matches);

Re: [PHP] last inserted record

2001-03-08 Thread Christian Reiniger
On Thursday 08 March 2001 10:31, you wrote: On Thursday 08 March 2001 06:42, you wrote: Assuming that you do have a primary key, how can you grab the last record you inserted? Can you use @@IDENTITY, or something like that? For that I'd add another field - type "timestamp". In

[PHP] Fixed session prob with Netscape

2001-03-08 Thread Robert Fischler, Ph.D. ABD
I fixed the problem I had with Netscape not working well with sessions (whereas MSIE worked fine for me). Apparently, Netscape works well with cookies (and ironically, MSIE doesn't). Of course, many would probably disagree, but I'm ONLY speaking from MY recent experience and specifically on the

[PHP] RE: sending SMS messages via PHP

2001-03-08 Thread Greig, Euan
We send SMS messages from Oracle, but the method could be used in php I think. We use www.quios.com. They accept SMS messages as XML documents which you simply post to their site using http. The response, also by http, is an xml document. It is very easy to build your outgoing xml document,

RE: [PHP] PHP dll on NT - more reliable with Apache than IIS?

2001-03-08 Thread Greig, Euan
Thanks Lance. The file is there, though I didn't put it there! -Original Message- From: Lance Koh [mailto:[EMAIL PROTECTED]] Sent: 07 March 2001 14:20 To: Greig, Euan Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP dll on NT - more reliable with Apache than IIS? did you copy this file

[PHP] Max Number of require_once()ed files? [BUG or SPEC?]

2001-03-08 Thread Yasuo Ohgaki
I included definition files using require_once(), I noticed the last definition file is not included w/o any error messages. I tested with include() and require(), it worked fine but not with require_once() or include_once(). Require_once() and include_once() silently fails to include files.

RE: [PHP] PHP dll on NT - more reliable with Apache than IIS?

2001-03-08 Thread Greig, Euan
Thanks Paulo, that is very interesting and useful. I will give apache a try. Euan -Original Message- From: Paulo Parola [mailto:[EMAIL PROTECTED]] Sent: 07 March 2001 20:18 To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP dll on NT - more reliable with Apache than IIS? We have started

[PHP] Sessions, and timeout

2001-03-08 Thread Bård Farstad
Hi all, I have a timeout problem with sessions. I use the PHP session handling (4.0.4pl1). It works, but it times to fast out. I've set: ini_alter("session.gc_maxlifetime", "172800"); and phpinfo() says: session.cache_expire: local=172800, global=180 session.gc_maxlifetime: local=172800,

[PHP] RE: explode question

2001-03-08 Thread Tim Ward
in what way did the previous responses not answer this? if you really want a loop then foreach($arrLoginName as $element) or for($x = 0; $x sizeof($arrLoginName); $x++) will do, but why not just use if(in_array())? Are you really holding all of your user names in a single "@" delimited string?

Re: [PHP] Sessions, and timeout

2001-03-08 Thread Yasuo Ohgaki
I guess your clients PC's clock is not accurate. How about set timeout to 0? Then session cookie will not timeout until browser is closed. You can compile PHP with trans-sid to add session id automatically. http://www.php.net/manual/en/ref.session.php I've posted PHP session helper HTML file

RE: [PHP] RE: Value of if(isset(X)) problem

2001-03-08 Thread Tim Ward
I honestly can't remember when and where I found this happening, but since then I've decided not to rely on submit buttons being posted so I haven't seen them working or not working. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this

Re: [PHP] Sessions, and timeout

2001-03-08 Thread Bård Farstad
On Thursday 08 March 2001 11:14, Yasuo Ohgaki wrote: I guess your clients PC's clock is not accurate. How about set timeout to 0? Then session cookie will not timeout until browser is closed. Actually the server and client clock only differs with about 1 minute. The 0 timeout will not work. I

[PHP-CVS] cvs: php4 /ext/midgard article.c mgd_session.h session.c session.sql

2001-03-08 Thread David Guerizec
davidg Thu Mar 8 02:25:15 2001 EDT Added files: /php4/ext/midgard session.c mgd_session.h session.sql Modified files: /php4/ext/midgard article.c Log: Session management (experimental code) Index: php4/ext/midgard/article.c

Re: [PHP] Sessions, and timeout

2001-03-08 Thread Yasuo Ohgaki
On Thursday 08 March 2001 11:14, Yasuo Ohgaki wrote: I guess your clients PC's clock is not accurate. How about set timeout to 0? Then session cookie will not timeout until browser is closed. Actually the server and client clock only differs with about 1 minute. Then how about check the

php-general Digest 8 Mar 2001 11:43:55 -0000 Issue 554

2001-03-08 Thread php-general-digest-help
php-general Digest 8 Mar 2001 11:43:55 - Issue 554 Topics (messages 42959 through 43025): Re: on the list yesterday regarding mysql time 42959 by: Jerry Lake 42960 by: John Huggins 42967 by: Jerry Lake Oracle Function Calls 42961 by: Richard S. Crawford

[PHP-CVS] cvs: php4 /ext/midgard README.session config.m4.session session.modules.c

2001-03-08 Thread David Guerizec
davidg Thu Mar 8 02:39:32 2001 EDT Added files: /php4/ext/midgard session.modules.c README.session config.m4.session Log: More on session installation. Index: php4/ext/midgard/session.modules.c +++

[PHP-CVS] cvs: php4 /ext/midgard README.session

2001-03-08 Thread David Guerizec
davidg Thu Mar 8 02:42:33 2001 EDT Modified files: /php4/ext/midgard README.session Log: Corrected the README.session Index: php4/ext/midgard/README.session diff -u php4/ext/midgard/README.session:1.1 php4/ext/midgard/README.session:1.2 ---

[PHP-CVS] cvs: php4 /ext/midgard README.session

2001-03-08 Thread David Guerizec
davidg Thu Mar 8 02:44:27 2001 EDT Modified files: /php4/ext/midgard README.session Log: Forgot to talk about the session table Index: php4/ext/midgard/README.session diff -u php4/ext/midgard/README.session:1.2 php4/ext/midgard/README.session:1.3 ---

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

2001-03-08 Thread David Guerizec
davidg Thu Mar 8 02:49:18 2001 EDT Modified files: /php4/ext/midgard config.m4 Log: Midgard experimental functions support was not displayed correctly in ./configure Index: php4/ext/midgard/config.m4 diff -u php4/ext/midgard/config.m4:1.10

Re: [PHP-CVS] cvs: php4 /win32 README.txt

2001-03-08 Thread David Croft
shouldn't that be php-windows-subscribe? On Thu, 8 Mar 2001, Zeev Suraski wrote: zeev Thu Mar 8 02:43:52 2001 EDT Modified files: /php4/win32 README.txt Log: Point people to the Windows mailing list... Index: php4/win32/README.txt diff -u

[PHP-CVS] cvs: php4 /win32 README.txt

2001-03-08 Thread Zeev Suraski
zeevThu Mar 8 03:21:18 2001 EDT Modified files: /php4/win32 README.txt Log: Index: php4/win32/README.txt diff -u php4/win32/README.txt:1.5 php4/win32/README.txt:1.6 --- php4/win32/README.txt:1.5 Thu Mar 8 02:43:52 2001 +++ php4/win32/README.txt

Re: [PHP-CVS] cvs: php4 /win32 README.txt

2001-03-08 Thread Zeev Suraski
Yep :) At 13:10 8/3/2001, David Croft wrote: shouldn't that be php-windows-subscribe? On Thu, 8 Mar 2001, Zeev Suraski wrote: zeev Thu Mar 8 02:43:52 2001 EDT Modified files: /php4/win32 README.txt Log: Point people to the Windows mailing list...

[PHP-CVS] cvs: php4 /pear/Cache Container.php Output.php /pear/Cache/Container db.php file.php phplib.php

2001-03-08 Thread Christian Stocker
chregu Thu Mar 8 03:57:16 2001 EDT Modified files: /php4/pear/CacheContainer.php Output.php /php4/pear/Cache/Container db.php file.php phplib.php Log: Introduced getExpiresAbsolute($expire) function, which translates relative/human

[PHP] PHP Site - New Design

2001-03-08 Thread Miles Thompson
Wow - it is much faster, good job, although the previous version was wonderfully exotic. Loved the popups for Quick Reference and Mirror Sites. I would like to see one backward step --- ability to resize the font. In Netscape 4.7 and Internet Explorer 5 changing the font size doesn't work. In

Re: [PHP-CVS] cvs: php4 /pear/Cache Container.php Output.php/pear/Cache/Container db.php file.php phplib.php

2001-03-08 Thread Sebastian Bergmann
Christian Stocker wrote: chregu Thu Mar 8 03:57:16 2001 EDT Modified files: /php4/pear/CacheContainer.php Output.php /php4/pear/Cache/Container db.php file.php phplib.php Log: Introduced getExpiresAbsolute($expire) function, which translates relative/human

[PHP] [PHP-ES] (roberto celestino)MCAL! set-up.

2001-03-08 Thread Celestino Roberto Alejandro
Dear's partners... I download the source of the Mcal library and Drivers, and i have found a doubt, because when i compile it, ever, show an error that can't give me compile, then, i cant have correctly installed this library... ..I make the SF (structure of files), that this describe in its

Re: [PHP] Microtime math and display

2001-03-08 Thread Shaun Thomas
On Wed, 7 Mar 2001, Todd Cary wrote: I want to check the time for queries. I have $starttime = getmicrotime(); $endtime = getmicrotime(); $delta = $endtime - $starttime; There is no such function as "getmicrotime". You're probably trying to use "microtime". Second of all, microtime

Re: [PHP-CVS] cvs: php4 /pear/Cache Container.php Output.php/pear/Cache/Container db.php file.php phplib.php

2001-03-08 Thread André Langhorst
Modified files: /php4/pear/CacheContainer.php Output.php /php4/pear/Cache/Container db.php file.php phplib.php Log: Introduced getExpiresAbsolute($expire) function, which translates relative/human readable/unixtime expire-times in unixtime-format. Could some kind

[PHP] Qmail problem

2001-03-08 Thread pete collins
I keep getting: qmail-inject: fatal: read error I've tried everything. Sendmail is symlinked to /var/qmail/bin/sendmail wrapper $ ls -l /usr/lib/sendmail lrwxrwxrwx 1 root root 28 Aug 25 2000 /usr/lib/sendmail - ../../var/qmail/bin/sendmail $ ls -l /usr/sbin/sendmail

RE: [PHP] Date Question

2001-03-08 Thread Jeff Oien
If you put the date in MMDD format you can compare the numbers. http://www.php.net/manual/en/function.date.php Jeff Oien Hi, Since there is no Date type in php, is there a way to compare dates? Something like: if ((3/8/2001) (3/9/2001)){ // Date is newer } Thanks, Chris

RE: [PHP] Date Question

2001-03-08 Thread John Huggins
You might try converting these dates to Unix time and then compare the numbers as integers. Let's see, here is a function that converts the data from a MySQL date field to a Unix timestamp... function mysql_to_epoch ($datestr) { list($year,$month,$day,$hour,$minute,$second) =

Re: [PHP] Date Question

2001-03-08 Thread Jason Jacobs
Ok, I understand that the epoch is a point in time that's static, but what exactly is the epoch? I've heard it mentioned a lot on the list, but I have no idea what it really is. :) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] GTK-PHP install doubt?

2001-03-08 Thread Adam Wright
Make sure you're building against a 4.0.5 build of PHP. I tried this afternoon with the latest PHP from snaps.php.net and the GTK bindings, and it worked flawlessly. adamw - Original Message - From: "Celestino Roberto Alejandro" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday,

RE: [PHP] Date Question

2001-03-08 Thread John Huggins
If it is on a Unix box, it most likely is the Unix time value; It is the number of seconds since the UNIX Epoch which I believe starts at 0 seconds in January 1970. I am not quite sure about that date, but it is close. It also reveals the problem if you are dealing with dates before 1970 and

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

2001-03-08 Thread Stanislav Malyshev
stasThu Mar 8 09:11:57 2001 EDT Modified files: /php4/ext/recoderecode.c Log: Better use buffer_to_buffer, since zval is really buffer, not string (it can contain \0's and not end in \0). # and recode_string is recode_buffer_to_buffer internally

[PHP] need help w/ Split()

2001-03-08 Thread Scott Walter
I am attempting to take a line of text (a list) that has been entered into a form and split it into the appropriate parts, placing them into an array. I am splitting the input on commas, semi-colons, and spaces. Problem 1: Is with "white space". If the input has spaces after a comma, it

[PHP] weeks

2001-03-08 Thread Jason Jacobs
Anyone know offhand a way to organize the output from a query by week? I'm writing a work log app and I want the admin to see everyone's work ordered first by lastname, and then by date. But only want that week's data to show up, and maybe a dropdown with previous weeks available. Don't go

RE: [PHP] need help w/ Split()

2001-03-08 Thread Nathaniel Hekman
Your regex is incorrect. You've written: /[\,\;\s*]/ That * means "match a *" because it's inside the brackets. Put it outside, like this (actually use a + instead): /[\,\;\s]+/ to match 1 or more of any of those characters. That may not be exactly what you want, since that

[PHP] Formatting Dates

2001-03-08 Thread stas
Hello, How can I format a date stored in the database in a Date field. It's in this format: -mm-dd I understand that date() function only works for current system date/time. I am looking for something like this: dateformat($date, "mask"), sort of like the one in ColdFusion. Thanks much!

Re: [PHP] Sessions Kill all

2001-03-08 Thread Christian Reiniger
On Thursday 08 March 2001 03:45, you wrote: Is there a way as a server admin to kill all sessions to a site. I need a way to logout all members to a site. Well, usually you'd keep the session data in a database, so you can just empty the sessioninfo table. -- Christian Reiniger LGDC

Re: Re: [PHP] are sessions single threaded?

2001-03-08 Thread Chris Carbaugh
By not using cookies, each browser window would have it's own session, propagated through the URL. Which I don't think you would want users with multi sessions in an intranet app. You didn't mention how you are storing your session data, but I'll assume it's the defualt (files). I would

RE: [PHP] populate select box with contents of a file?

2001-03-08 Thread Jerry Lake
Ok, I am using this modified code from the manual. It works great, but how do I modify it further to only show .jpg files ? snip ?php $handle=opendir('.'); echo "select name=image_url"; while (false!==($file = readdir($handle))) { if ($file != "." $file != "..") { echo

RE: [PHP] Dynamic Links..

2001-03-08 Thread Jon Haworth
As a quick caveat you need to be *very* careful you're not obfuscating the target site copyright infringement, anyone? -Original Message- From: Richard S. Crawford [mailto:[EMAIL PROTECTED]] Sent: 08 March 2001 00:02 To: Ashwin Kutty; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:

Re: [PHP] Formatting Dates

2001-03-08 Thread Joe Sheble (Wizaerd)
You could use the mySQL function DATE_FORMAT() in your query string.. SELECT DATE_FORMAT( DateAdded, '%m/%d/%Y' ) as d_Added FROM myDB At 12:52 PM 1/8/01 -0500, stas wrote: Hello, How can I format a date stored in the database in a Date field. It's in this format: -mm-dd I understand

[PHP] refresh

2001-03-08 Thread Miguel Loureiro
Hello, to refresh a site I use this (META HTTP-EQUIV="Refresh" CONTENT="300" ), but, now I make some updates im my right page and I want to refresh other page( left page of frameset ).How can I do it? T.Y. Best Regards Miguel Loureiro [EMAIL PROTECTED]

RE: [PHP] Sessions Kill all

2001-03-08 Thread Randy Johnson
Does anybody know where I could get more info on storing session data in a database rather than the default way? thanks randy -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 12:58 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Sessions

RE: [PHP] populate select box with contents of a file?

2001-03-08 Thread Joe Sheble (Wizaerd)
?php $handle=opendir('.'); echo "select name=image_url"; while (false!==($file = readdir($handle))) { // new code here $cExt = explode( ".", $file ); // and here if ($file != "." $file != ".." ( strtolower( $cExt[1] ) ==

Re: [PHP] need help w/ Split()

2001-03-08 Thread Christian Reiniger
On Thursday 08 March 2001 18:43, you wrote: I am attempting to take a line of text (a list) that has been entered into a form and split it into the appropriate parts, placing them into an array. I am splitting the input on commas, semi-colons, and spaces. Problem 1: Is with "white space".

[PHP] Stumped Newbie: Can't get results in db query even though everything checks - what am I missing?

2001-03-08 Thread Nicole Lallande
Greetings, I keep getting the message that I cannot get results. I have a simple user authentication code that uses a mysql database to authenticate from. Initially I had the code working when I had the mysql_connect variables in the code itself. When I moved the connection variables to an

[PHP] Stumped Newbie: Can't get results in db query even though everything checks - what am I missing?

2001-03-08 Thread Nicole Lallande
Greetings, I keep getting the message that I cannot get results. I have a simple user authentication code that uses a mysql database to authenticate from. Initially I had the code working when I had the mysql_connect variables in the code itself. When I moved the connection variables to an

Re: [PHP] weeks

2001-03-08 Thread Christian Reiniger
On Thursday 08 March 2001 18:49, you wrote: Anyone know offhand a way to organize the output from a query by week? I'm writing a work log app and I want the admin to see everyone's work ordered first by lastname, and then by date. But only want that week's data to show up, and maybe a

Re: [PHP] Sessions Kill all

2001-03-08 Thread Christian Reiniger
On Thursday 08 March 2001 07:17, you wrote: Does anybody know where I could get more info on storing session data in a database rather than the default way? Hmm, perhaps phpbuilder.com has an article on it. Alternatively I could send you some of my code -- Christian Reiniger LGDC Webmaster

Re: [PHP] Stumped Newbie: Can't get results in db query even though everything checks - what am I missing?

2001-03-08 Thread Joe Sheble (Wizaerd)
I'd start by adding the mysql_error() function in your die() statement... $result = mysql_query($sql,$connection) or die ("Couldn't get results: " . mysql_error()); it might give more information to help you find the problem... At 10:15 AM 3/8/01 -0800, Nicole Lallande wrote: Greetings, I

RE: [PHP] Hebrew websites transition with php3 ..

2001-03-08 Thread Boaz Yahav
Hi The case In Israel is different. It's not that we chose this browser over another... Netscape wouldn't support Hebrew and IE did. So there was no actual war. The data about the 3% is pretty accurate and is collaborated by all 3 major portals in Israel. Sincerely berber Visit

Re: [PHP] Stumped Newbie: Can't get results in db query eventhough everything checks - what am I missing?

2001-03-08 Thread Nicole Lallande
Thanks Joe - that showed me right away!! all better now -- on to the next step.. Nicole "Joe Sheble (Wizaerd)" wrote: I'd start by adding the mysql_error() function in your die() statement... $result = mysql_query($sql,$connection) or die ("Couldn't get results: " . mysql_error()); it

Re: Re: Re: [PHP] are sessions single threaded?

2001-03-08 Thread Chris Carbaugh
It's a PHP class that's included at the top of every page that needs session/authentication. It's cookie based only, no option for URL propagation. PHPLib can do the same, as well as some other classes floating around. Chris On Thu, 8 Mar 2001, Bill Rausch wrote: Date: Thu, 8 Mar 2001

[PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread Bruno Freire
Hi, My name is Bruno, From Brazil. Yes...it's me again...hehehe Look...my problem is.. I wanna make something like this: (10 november 2001) - (5 November 2001) = 5 days (10 november 2001) - (10 December 2001) = 30 days How can i do this Thanks for any help Your friend,

Re: [PHP] Dynamic Links..

2001-03-08 Thread Ashwin Kutty
We wont.. Their banners, logos, URL's etc. appear on the pages, so even if it is in the frameset, it will be fine.. Jon Haworth wrote: As a quick caveat you need to be *very* careful you're not obfuscating the target site copyright infringement, anyone? -Original Message- From:

RE: [PHP] Dynamic Links..

2001-03-08 Thread Boget, Chris
As a quick caveat you need to be *very* careful you're not obfuscating the target site copyright infringement, anyone? We wont.. Their banners, logos, URL's etc. appear on the pages, so even if it is in the frameset, it will be fine.. Yes, but their URL won't be in the address line.

Re: [PHP] Dynamic Links..

2001-03-08 Thread Richard S. Crawford
Yes, I should have mentioned... we actually do develop contracts outlining co-branding agreements with our partners before we establish a frameset. I should also mention that we don't use PHP for session tracking; we use a home-grown Perl/Oracle hybrid for session tracking. But I imagine that

Re: [PHP] RE: sending SMS messages via PHP

2001-03-08 Thread Henrik Hansen
We send SMS messages from Oracle, but the method could be used in php I think. We use www.quios.com. They accept SMS messages as XML documents which you simply post to their site using http. The response, also by http, is an xml document. It is very easy to build your outgoing xml document, and

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread Pierre-Yves Lemaire
Hello, this is a function I use on my site, you can problably find your answer, py // = // This function returns the difference between a dates // and the current date. // arg1: separator // arg2: startdate date dd mm // return number of

[PHP-CVS] cvs: php4 /ext/ircg ircg_scanner.re

2001-03-08 Thread Sascha Schumann
sas Thu Mar 8 10:43:52 2001 EDT Modified files: /php4/ext/ircg ircg_scanner.re Log: Add handling for underline/bold control sequences Index: php4/ext/ircg/ircg_scanner.re diff -u php4/ext/ircg/ircg_scanner.re:1.6 php4/ext/ircg/ircg_scanner.re:1.7

RE: [PHP] Developer certifications

2001-03-08 Thread Krznaric Michael
OK now I'm pissed. I consider myself to be an above average programmer with extensive skill in PHP (amongst other things). NOW... I am not going to go jumping through hoops just because some ignorant/illiterate HR Recruiter/IS Head thinks that if you're not PHP certified by

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

2001-03-08 Thread Sascha Schumann
sas Thu Mar 8 10:59:46 2001 EDT Modified files: /php4/ext/ircg ircg_scanner.c Log: Add handling for underline/bold control sequences Index: php4/ext/ircg/ircg_scanner.c diff -u php4/ext/ircg/ircg_scanner.c:1.5 php4/ext/ircg/ircg_scanner.c:1.6 ---

[PHP] Tell me if this works

2001-03-08 Thread Karl J. Stubsjoen
I'm using the SetTimeOut function of JavaScript to refresh an image every 3 seconds. The SRC for the image is a PHP page which constructs a valid image with some text added to the image and returns the image to the colling Image. This works fine, however the information should be changing every

[PHP-CVS] cvs: php4 /ext/ircg ircg_scanner.c ircg_scanner.re

2001-03-08 Thread Sascha Schumann
sas Thu Mar 8 11:29:33 2001 EDT Modified files: /php4/ext/ircg ircg_scanner.c ircg_scanner.re Log: Fix underline handling Index: php4/ext/ircg/ircg_scanner.c diff -u php4/ext/ircg/ircg_scanner.c:1.6 php4/ext/ircg/ircg_scanner.c:1.7 ---

Re: [PHP] Tell me if this works

2001-03-08 Thread Karl J. Stubsjoen
never mind... 'or - i fixed my own problem! i enabled cacheing on both PHP pages, the page with the image who's source calls the PHP page that creates the image. - Original Message - From: "Karl J. Stubsjoen" [EMAIL PROTECTED] To: "PHP Mailing List" [EMAIL PROTECTED] Sent: Thursday,

[PHP-CVS] cvs: php4 /pear Cache.php /pear/Cache Container.php Error.php /pear/Cache/Container db.php file.php phplib.php

2001-03-08 Thread Ulf Wendel
uw Thu Mar 8 12:39:17 2001 EDT Added files: /php4/pear/CacheError.php Modified files: /php4/pear Cache.php /php4/pear/CacheContainer.php /php4/pear/Cache/Container db.php file.php phplib.php Log: Added a basic

Re: [PHP] Announcement: Smarty template engine 1.3.1 released (1.3.1pl1)

2001-03-08 Thread Monte Ohrt
1.3.1pl1 fixed a bug with a missing function _syntax_error. Monte Ohrt wrote: Homepage: http://www.phpinsider.com/php/code/Smarty/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] displaying information

2001-03-08 Thread george
I am building a site which pulls FAQ's out of the database onto a page,but having just finished reading the FAQ's I realise that they will have to be spread over a few pages, how to I get the new page to take over where the old page finished. TIA george -- PHP General Mailing List

[PHP] HELP with Multi Dimensional Array Problem

2001-03-08 Thread Yev
Hi, I've been trying to figure this out all night, and need some assistance. I have a form that takes input, and I'm trying to read the variables directly into a MultiDim array ie: input type=text name="field[text][email]" value="[EMAIL PROTECTED]" input type=text name="field[text][url]"

[PHP-CVS] cvs: php4 /pear Cache.php /pear/Cache Container.php

2001-03-08 Thread Ulf Wendel
uw Thu Mar 8 12:41:40 2001 EDT Modified files: /php4/pear Cache.php /php4/pear/CacheContainer.php Log: Formatting and minor inline doc changes. Index: php4/pear/Cache.php diff -u php4/pear/Cache.php:1.6 php4/pear/Cache.php:1.7 ---

Re: [PHP] Dynamic Links..

2001-03-08 Thread Ashwin Kutty
I dont want to get into a long drawn out debate about the copyright infringements since we have already established our agreements with the companies.. You are right of course, sometimes the URL does tell it all, and as I mentioned, and if you read my note carefully, "Their banners, logos, URL's

[PHP] $HTTP_POST_VARS

2001-03-08 Thread mat t
Please can you help: I can't send duplicate input types to $HTTP_POST_VARS For example: ---HTML--- First person: NAME input type="text" name="Name" size="24" value="" input name="Name_type" type="hidden" value="textbox" Phone No.input type="text"

RE: [PHP] $HTTP_POST_VARS

2001-03-08 Thread Jerry Lake
You're not setting a value for the first variable ie.."Name" unless you put something in the text box to represent the variable it will come across as empty. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online -

[PHP] strange files in my upload_tmp_dir

2001-03-08 Thread Gerard Onorato
Hello, I should probably know the answer to this but I do not. I was hoping someone here could offer me some incite. I recently changed my upload_tmp_dir from the apache default; actually it wasn't set at all, to another directory which I created for this purpose. The directory is outside of

[PHP] image resize

2001-03-08 Thread PeterOblivion
My goal.. Take an image (gif,jpg) from a remote server, resize it into 200x150 and then save it on my local server. My friend gave me a premade script but that doesnt work. Anyone have something like this already done or know where to find it? - Thanks -- PHP General Mailing List

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread karakedi
figured out the logic, but still cant make it run i put this command : echo diff_date("/", "05/03/2001") ; to test the function. but it doest seem to work :( any help ? btw i believe it must be 24*60*60 inorder to 24*24*60 :) ""Pierre-Yves Lemaire"" [EMAIL PROTECTED] wrote in message

[PHP] external data saving

2001-03-08 Thread Petr Jza
Hi, I have one question, please. Can anybody help me with external data saving? I require to save the user data (I suppose data will be in the text format) from user (from his computer) to a database server. And I want not use ActiveX technology because it must run even under Netscape. Are there

[PHP] Error codes from 'mysql_error()'

2001-03-08 Thread Dennis Gearon
I do an insert using phpadmin, and i get back the error message (or maybe it's a warning?) The insert is of a duplicate on a unique field. I expected an error, but when I do mysql_error() or mysql_errno(), nothing comes back(and I do it the next line in the script). the 'mysql_query($sql, $link)'

Re: [PHP-CVS] cvs: php4 /pear Cache.php /pear/Cache Container.phpError.php /pear/Cache/Container db.php file.php phplib.php

2001-03-08 Thread Christian Stocker
No Message Collected -- PHP CVS 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] HELP!!! Date time problems!!!!

2001-03-08 Thread karakedi
ok here is the right one working : smt was wrong with the arrays i beleive : ?php // = // This function returns the difference between a dates // and the current date. // arg1: separator // arg2: startdate date dd mm // return number of

Re: [PHP] external data saving

2001-03-08 Thread Michael Hall
Petr: I'm not exactly clear about what you want to do, but ... PHP can process user data and save it to databases. This is probably what PHP does best. Javascript has nothing to do with this process (but you can use it in your PHP pages if you want). All I know about ActiveX is that it is a

[PHP] newbie: ye ol' nemesis using mysql_fetch_array to load data

2001-03-08 Thread Nicole Lallande
Hello all, I have an order form where I am trying to load an option button with a field column from a database file: This part works fine (actually Professional PHP has an example using the do...while statement - I wonder which is better?): $len = mysql_num_rows($result); for ($i=0; $i=$len;

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread Pierre-Yves Lemaire
Yes, there was a little bug, it was set to handle date in /mm/dd and not dd/mm/yyy. Now this works ok. py function diff_date( $sep, $startdate ){ // Date of file in database $startdate = explode( $sep, $startdate ); $startdate = mktime( 0, 0, 0, $startdate[1], $startdate[0],

[PHP-CVS] cvs: php4 /pear/Cache Error.php

2001-03-08 Thread Sebastian Bergmann
sbergmann Thu Mar 8 14:20:06 2001 EDT Modified files: /php4/pear/CacheError.php Log: I think we need to load PEAR.php here. Index: php4/pear/Cache/Error.php diff -u php4/pear/Cache/Error.php:1.1 php4/pear/Cache/Error.php:1.2 ---

[PHP-CVS] cvs: php4 /pear/Cache Error.php

2001-03-08 Thread Sebastian Bergmann
sbergmann Thu Mar 8 14:20:55 2001 EDT Modified files: /php4/pear/CacheError.php Log: This is 100% pure Ulf :-) Index: php4/pear/Cache/Error.php diff -u php4/pear/Cache/Error.php:1.2 php4/pear/Cache/Error.php:1.3 --- php4/pear/Cache/Error.php:1.2

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

2001-03-08 Thread Sascha Schumann
sas Thu Mar 8 15:07:07 2001 EDT Modified files: /php4/ext/ircg config.m4 Log: Refine complain message Index: php4/ext/ircg/config.m4 diff -u php4/ext/ircg/config.m4:1.3 php4/ext/ircg/config.m4:1.4 --- php4/ext/ircg/config.m4:1.3 Mon Feb 26

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread karakedi
upss sorry couldnt see your latest post. thx anywy :)) ""karakedi"" [EMAIL PROTECTED] wrote in message 98942f$qcd$[EMAIL PROTECTED]">news:98942f$qcd$[EMAIL PROTECTED]... ok here is the right one working : smt was wrong with the arrays i beleive : ?php //

Re: [PHP] newbie: ye ol' nemesis using mysql_fetch_array to loaddata

2001-03-08 Thread Aaron Tuller
At 3:37 PM -0800 3/8/01, Nicole Lallande wrote: $len = mysql_num_rows($result); for ($i=0; $i=$len; $i++) { echo "option value=\"$catid[$i]\"$catid/option"; } I believe your problem is in that code becuase it's ambiguous and because $catid is an array and you're treating it as a regular

[PHP] how to use ob_get_contents() to send a page as email

2001-03-08 Thread kaab kaoutar
Hi I've tried what, one of u, has kindly suggested, to send the whole html page as email : i put at the beginning of the page ?mail('[EMAIL PROTECTED]', 'confirmation', ob_get_contents()); ? and at the end, after /html ? ob_end_flush();? but i receive a blank email Can u please help ! THANKS

php-general Digest 8 Mar 2001 23:45:04 -0000 Issue 555

2001-03-08 Thread php-general-digest-help
php-general Digest 8 Mar 2001 23:45:04 - Issue 555 Topics (messages 43026 through 43091): PHP Site - New Design 43026 by: Miles Thompson [PHP-ES] (roberto celestino)MCAL! set-up. 43027 by: Celestino Roberto Alejandro Re: Microtime math and display 43028 by: Shaun

Re: [PHP] Error codes from 'mysql_error()'

2001-03-08 Thread Aaron Tuller
mysql_query($sql) or die("there was an error: ".mysql_error()); -aaron At 3:16 PM -0800 3/8/01, Dennis Gearon wrote: I do an insert using phpadmin, and i get back the error message (or maybe it's a warning?) The insert is of a duplicate on a unique field. I expected an error, but when I do

Re: [PHP] Qmail problem

2001-03-08 Thread David Robley
On Fri, 9 Mar 2001 03:43, pete collins wrote: I keep getting: qmail-inject: fatal: read error I've tried everything. Sendmail is symlinked to /var/qmail/bin/sendmail wrapper $ ls -l /usr/lib/sendmail lrwxrwxrwx 1 root root 28 Aug 25 2000 /usr/lib/sendmail -

  1   2   >