[PHP] finding the difference

2001-01-25 Thread Website4S
I have a date and time stored in the following format: day:month:year:hour:minutes Example 27:01:2001:08:13 I want to work out the difference between that and the current time on my server, but I can`t find any math functions in the PHP manual that allows you to work out the diference. In the

[PHP] How to make links?

2001-01-25 Thread neXus
How do make admin site that lists htm documents from directory and i can define link name to each of these? So when user comes, he sees link list to these documents, with names i defined. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] setting register_globals off

2001-01-25 Thread Catalin Borcea
Can I set "register_globals=off" using a runtime configuration directive (something like )? TIA -- Catalin Borcea -- \\\|/// \\ - - // ( @ @ ) -oOOO(_)OOOo -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Which one is better?Session or Cookies?

2001-01-25 Thread Hendry Sumilo
Dear everyone, I want to know which approach is bettter?Using cookies or session to store user's data? i have tried using cookies ,but some computers can't accept that,then i move to session register,but my supervisor ask me to put cookies as well, i dunno what is the purpose of using cookies i

[PHP] Date -1

2001-01-25 Thread David Smith
I am trying to show the records created from the previous day. How can I make it show the date before today? My date field is like 2001-01-24 16:13:51. Below shows the current day... $FileDate = date ("Y-m-d"); $connection = mysql_connect ("localhost", "*", "**"); if ($connection == f

AW: [PHP] Which one is better?Session or Cookies?

2001-01-25 Thread Thomas Weber
Hi, i think i many cases cookies are better, because the are stored in the computers memory for a very long time if needed and is not destroyed after the session timeout or changeing the IP. For example Amazon stores the cart in session, but the login-data is stored in a cookie so you don't need

Re: [PHP] warning 1 is not mysql result index

2001-01-25 Thread Christopher Allen
> still did not work. Keep returning the same error when I do this: > $HotelName = mysql_fetch_row($resultHotel,1) or die(mysql_error()); what was your connection statement and query to the db? I would look to these ass the culprit heres an example : mysql_connect("localhost", "$username",

RE: [PHP] Integration of PHP with MS Outlook?

2001-01-25 Thread Jon Haworth
It IS Exchange Server, but this doesn't look promising. My guess is your guess is right, but I was hoping it was wrong, hence the original post... :-) Thanks for the thoughts anyway. Cheers Jon -Original Message- From: Alex Black [mailto:[EMAIL PROTECTED]] Sent: 24 January 2001 20:2

RE: Re: [PHP] Funny php://stdout behaviour

2001-01-25 Thread ARTEK
Hi Dotan: PHP Version 4.0.1pl2 Ruben. >> I actually was getting prompted to download the .php file sometimes... > >So, the user would be able to open the file in, say, VI and see your code? Big >>security >hole, no? Of which versions of php4 was this characteristic? > >Dotan Cohen >--

Re: Re: [PHP] Funny php://stdout behaviour

2001-01-25 Thread ARTEK
Hi Toby: Yes, that's the way I did, but it's not so clean, you have to open each time you write! -- Saludos, Rubén Blanco. __ A r t e k - 928.52.20.77 - http://www.artek.es >> >One thing that occurs to me -- stdout starts off by bein

Re: [PHP] setting register_globals off

2001-01-25 Thread Philip Olson
Hi Catalin, I'm trying to decipher what can and cannot be set with ini_set myself and am slowly figuring it out :-) This cannot be set this way but rather it could be set through .htaccess so : this works in .htaccess : php_value register_globals off this will not work in script : in

[PHP] Informix prep error

2001-01-25 Thread Juraj Hasko
Hi, I'm trying to develop some intranet system based on Informix DB. Standard connection works fine but when I try to exec any SQL I've got a error message.Can someone help me ? I use Ifx IDS 7.3, PHP 4.0.4pl1 on Win2k and IIS 5.0. If I use connection trough ODBC it works fine. Here is sample of

[PHP] I have a problem with uploading files, can anybody help me!!!

2001-01-25 Thread Securez
I have a form that permit a user to upload files, but if the file is 1 or 2 Mb the time excess the script live time, how i can change this, keeping the global value for script live time. And if i want to permit a user to upload a file, wath is the best mayway to do this, at this moment i need to

[PHP] html_mime_mail.class - - help

2001-01-25 Thread Eric Dahnke
Anyone familiar with this class willing to help out. Would appreciate it. when i run the following (example.php) script, i always get what looks like the rfc822 body of the message within the e-mail, but never the html or text body body parts. first i'll show the output of the script, then th

Re: [PHP] I have a problem with uploading files, can anybody help me!!!

2001-01-25 Thread Eric Dahnke
you could maybe use the sleep function. and for the directory question chown nobody.nobody dir/ or whatever user your webserver runs under. Securez wrote: > I have a form that permit a user to upload files, but if the file is 1 or 2 > Mb the time excess the script live time, > how i can chan

[PHP] Zend hit

2001-01-25 Thread Uioreanu Calin
Hello, What do you think about Zend position? http://php.weblogs.com/ http://zend.com/phorum/read.php?num=3&id=6277&loc=0&thread=6277 Cordialement, Uioreanu Calin - [EMAIL PROTECTED] [EMAIL PROTECTED] Tel: +4094477589 Web: http://www.ecomert.f2s.com DMS Team

[PHP] Encoder price too high (was: Zend hit)

2001-01-25 Thread Adrian Teasdale
"Uioreanu Calin" <[EMAIL PROTECTED]> wrote in message > Hello, > > What do you think about Zend position? I thought I would reply to the list on this one, basically to see if I am in the minority (and if so, I will shut up!)... Firstly, many people who use PHP do so to make money - I know I do!

Re: [PHP] Encoder price too high (was: Zend hit)

2001-01-25 Thread Adam Wright
We are working on extending the APC cache (http://apc.communityconnect.com) with an encoder, and already have a pretty much functioning version (though its a bit of hack job at the moment :). I think the patches we made were sent to the dev list, but I can send them around at request. adamw

[PHP] Strange problem

2001-01-25 Thread Jeroen Jochems
When I try to download a big file (like 5meg) with fopen() I get some strange errors: - not enough space for lowio initialization - not enough space for stdio initialization - pure virtual function call - not enough space for _onexit/atexit table - unable to open console device - unexpected heap

Re: [PHP] multiple function returns

2001-01-25 Thread Steve Edberg
At 9:08 PM -0800 1/24/01, jeremy brand wrote: >$array[0] will be the lang_pref and $array[1] will be the >currency_pref. > >Jeremy An easy way to read the returned array values into scalar variables is: list($lang_pref, $currency_pref) = PrefChange($language, $currency, $state); You c

Re: [PHP] finding the difference

2001-01-25 Thread Steve Edberg
At 3:16 AM -0500 1/25/01, [EMAIL PROTECTED] wrote: >I have a date and time stored in the following format: > >day:month:year:hour:minutes > >Example 27:01:2001:08:13 > >I want to work out the difference between that and the current time on my >server, but I can`t find any math functions in the PHP

[PHP] Sorry

2001-01-25 Thread Thomas Wentzel
For the inconvenience... I had some trouble with my mailclient yesterday... This is just a test to check if my new mailer is any better... Sorry... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)

2001-01-25 Thread Angus Mann
At 22:35 18/01/01 -0800, Rasmus Lerdorf wrote: >You would need to go through a web server for it to work. I seem to recall seeing something on the Zend site a while back about a "compiler" for PHP that was in the pipeline. After the store was launched I can't find anything. Am I imagining thin

Re: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)

2001-01-25 Thread Adam Wright
The compiler has become the encoder, because it's rather hard to meet the expectations of a 'compiler' (many would expect it to produce binaries and heavily optimised code). Encoder makes more sense, based on what the product does. adamw - Original Message - From: "Angus Mann" <[EMAIL PR

RE: [PHP] I have a problem with uploading files, can anybody help me!!!

2001-01-25 Thread Securez
The seep function, it can sleep for a number of seconds, if i have configured into php.ini the live time of a script to 30 sec. and if the upload's time is more greather than 30 sec, the script dies. What means the sleep function? -- PHP General Mailing List (http://www.php.net/) To unsubscri

RE: [PHP] Encoder price too high (was: Zend hit)

2001-01-25 Thread Owen Leonard
> Cold Fusion has a method > of encrypting > it's code, and it comes like that out of the box For what it's worth, ColdFusion's encryption tool isn't much help. There's a decryption tool widely available. So one question is, does $6000 buy you real (effective) encryption or not? -- Owen

Re: [PHP] Extending PHP

2001-01-25 Thread Thomas Wentzel
Hi Rasmus, Thank you for the link - and sorry about the empty messages ;-) The slides did help to some extend. But I'm only able to compile as described in slide 28. When I try to compile it as a shared module no .so file is generated. I do however get the following warnings: *** Warning: This

[PHP] how display msg(5 secs) and then redirect?

2001-01-25 Thread Hardy Merrill
How do you display a "you are being redirected to xyz page" page for some period of time(5 seconds?) and then redirect to another page without the user having to click on a link or a button? TIA. -- Hardy Merrill Mission Critical Linux, Inc. http://www.missioncriticallinux.com -- PHP General

Re: [PHP] how display msg(5 secs) and then redirect?

2001-01-25 Thread Jon Kjær Amundsen
I don't think you can do it in php since that headers should be send before any other output to the browser, but you can use metatags like this: http://the-other-page.dk"> as you maybe can see the content tell's the browser that it should wait 5 seconds, and then go to the other url. Jon A

[PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On the PostgreSQL lists there has been some discussion recently as to the mechanism behind, benefits and drawbacks, of persistent connections. In particular a scenario similar to the following was brought up: Browser A connects to Apache child N, and calls a web page that calls a script which iss

RE: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Sander Pilon
> > Hello, > > What do you think about Zend position? > http://php.weblogs.com/ > http://zend.com/phorum/read.php?num=3&id=6277&loc=0&thread=6277 > I think that if Zend wants to sell it for $6000, then they have all right to. These guys have worked hard, and they deserve some cash for it. If pe

[PHP] Genuine Opportunity

2001-01-25 Thread NEWS!!
Please see bottom of message for remove instructions. What you are about to read is tried, true, poven and effective. Have you ever tried or consideredmaking money using the medium of the internet? Are you marketing or promoting a business opportunity or product online? There is a LOT of mon

Re: [PHP] Genuine Opportunity

2001-01-25 Thread Ernest E Vogelsinger
Hi Postmaster, how about letting onl people post to the list who are subscribed to? At 01:00 26.01.2001, NEWS!! said: [trash] > Please see bottom of message for remove instructions. What you are about >to read is tried, >true, poven and effective. Have y

Re: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)

2001-01-25 Thread Zeev Suraski
The Encoder does in fact all of the optimizations of the Zend Optimizer (including ones that aren't enabled in the plug-in Zend Optimizer, because performing them every time may take more than what they would save, something that is not an issue in a one time compilation. The reason it's not na

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Teodor Cimpoesu
Hi Sander! On Thu, 25 Jan 2001, Sander Pilon wrote: > > > > > Hello, > > > > What do you think about Zend position? > > http://php.weblogs.com/ > > http://zend.com/phorum/read.php?num=3&id=6277&loc=0&thread=6277 > > > > I think that if Zend wants to sell it for $6000, then they have all right >

Re: [PHP] Strange problem

2001-01-25 Thread Hardy Merrill
The first thing I'd check is the space on the client machine trying to do the download - that machine may be running out of space. I can't remember exactly how the browser handles this, but the client machine may need 2 times the size of the file to be downloaded - it might first create a tempora

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Jim Jagielski
Sander Pilon wrote: > > > > > > Hello, > > > > What do you think about Zend position? > > http://php.weblogs.com/ > > http://zend.com/phorum/read.php?num=3&id=6277&loc=0&thread=6277 > > > > I think that if Zend wants to sell it for $6000, then they have all right > to. These guys have worked ha

Re: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)

2001-01-25 Thread Jim Jagielski
Angus Mann wrote: > > At 22:35 18/01/01 -0800, Rasmus Lerdorf wrote: > > >You would need to go through a web server for it to work. > > I seem to recall seeing something on the Zend site a while back about a > "compiler" for PHP that was in the pipeline. After the store was launched I > can't

[PHP] whois

2001-01-25 Thread AJDIN BRANDIC
Perhaps not 100% php but still! Is there any way I could ping all whois servers that exist. Something like whois.* ??? I am trying to ind a whois server that holds .ba domain names information. I found some research and found that it should be held at whois.ripe.net but I have tried and not

Re: [PHP] Genuine Opportunity

2001-01-25 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Ernest E Vogelsinger) wrote: > Hi Postmaster, > > how about letting onl people post to the list who are subscribed to? For some of us (who don't abuse the list by posting spam), the news interface to such a busy list is a godsend. Forcing ev

Re: [PHP] Strange problem

2001-01-25 Thread Jeroen Jochems
No it has got about 10gig free space! - Original Message - From: Hardy Merrill <[EMAIL PROTECTED]> To: Jeroen Jochems <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 25, 2001 2:50 PM Subject: Re: [PHP] Strange problem > The first thing I'd check is the space on the c

Re: [PHP] whois

2001-01-25 Thread Andy Woolley
Ajdin, I know this is a little off topic but for your information 'whois.ripe.net' provide information for the .ba TLD I too am looking for a database of Top Level Domains around the world so if anyone knows of one I would be very much obliged If I could have a copy. Kind Regards Andy Woolley

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 10:21, Frank Joerdens escribió: > On the PostgreSQL lists there has been some discussion recently as to > the mechanism behind, benefits and drawbacks, of persistent connections. > In particular a scenario similar to the following was brought up: > > Browser A connects to Apache

Re: [PHP] Strange problem

2001-01-25 Thread Jeroen Jochems
Or does anyone know a better way to download files? - Original Message - From: Hardy Merrill <[EMAIL PROTECTED]> To: Jeroen Jochems <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 25, 2001 2:50 PM Subject: Re: [PHP] Strange problem > The first thing I'd check is the

[PHP-I18N] Genuine Opportunity

2001-01-25 Thread NEWS!!
Please see bottom of message for remove instructions. What you are about to read is tried, true, poven and effective. Have you ever tried or consideredmaking money using the medium of the internet? Are you marketing or promoting a business opportunity or product online? There is a LOT of mon

Re: [PHP] whois

2001-01-25 Thread Ernest E Vogelsinger
At 15:13 25.01.2001, Andy Woolley said: [snip] >I know this is a little off topic but for your information 'whois.ripe.net' >provide information for the .ba TLD > >I too am looking for a database of Top Level Domains around the world so if >anyone knows of o

Re: [PHP] whois

2001-01-25 Thread Stig Venaas
On Thu, Jan 25, 2001 at 03:37:26PM +0100, Ernest E Vogelsinger wrote: > At 15:13 25.01.2001, Andy Woolley said: > [snip] > >I know this is a little off topic but for your information 'whois.ripe.net' > >provide information for the .ba TLD > > > >I too am loo

Re: [PHP] multiple function returns

2001-01-25 Thread Hrishi
On 25 Jan 2001 13:04:27 +0800, Jamie wrote: > return array($lang_pref,$currancy_pref); if you make this return array("language" => $lang_pref, "currency" => $currency_pref) you can store the value and reference it by name (eg) $prefs=your_func($whatever); echo "language pref: ".$prefs["la

Re: [PHP] Urgent help needed, sound scary when anyone did that ontitle :-)

2001-01-25 Thread Shaun Thomas
On Thu, 25 Jan 2001, Jacky@lilst wrote: > $sql1 = "insert into firsttable (firstname, lastname) values('Jack','Chan')"; > $resultsql1 = mysql_query($sql1); > $sqlLastID = "select LAST_INSERT_ID() from firsttable"; > $resultlast = mysql_query($sqlLastID); > $FirstLast = mysql_result($resultlast,0

RE: [PHP] Integration of PHP with MS Outlook?

2001-01-25 Thread Andrew Hill
Jon, OpenLink's Virtuoso database is, among other things, both a POP server and SMTP proxy. PHP works fine with Virtuoso via ODBC, so you can drop a Virtuoso in the mix and gain the ability to hit your mail data directly. http://www.openlinksw.com/virtuoso Best regards, Andrew

php-i18n Digest 25 Jan 2001 13:33:14 -0000 Issue 46

2001-01-25 Thread php-i18n-digest-help
php-i18n Digest 25 Jan 2001 13:33:14 - Issue 46 Topics (messages 102 through 103): Problem with gettext suporrt - Solaris 2.7 102 by: Albert Novak Genuine Opportunity 103 by: NEWS!! Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscri

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

2001-01-25 Thread Stanislav Malyshev
stasThu Jan 25 06:35:36 2001 EDT Modified files: /php4/ext/gdgd.c Log: Fix crash in stdout image output # Basically, this code sucks. It should use GD contexts, not temp files Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.108 php4/ext/gd/g

RE: [PHP] Zend hit (Encoder price) (Freelance Encoding?)

2001-01-25 Thread Wandrer
At 02:26 PM 1/25/01 +0100, you wrote: > > Hello, > > What do you think about Zend position? > > http://php.weblogs.com/ > > http://zend.com/phorum/read.php?num=3&id=6277&loc=0&thread=6277 > >I think that if Zend wants to sell it for $6000, then they have all right >to. These guys have worked hard,

Re: [PHP] Cookie semi-security.

2001-01-25 Thread April
Next stupid question: How do you enable track_vars when you don't have access to any configuration files? Can it be done with an .htaccess or in the script itself? Also, if running Apache/php4/etc. on your home (windows 98 & 2000) computers just for development purposes, if you go to http://loc

[PHP] Best way to describe Doc as HTML

2001-01-25 Thread Karl J. Stubsjoen
Hello, So I think I've found 3 ways to describe the HTML Doc as "HTML". Which one is the best? 1) Via MetTag (this was generated in Dreamweaver): 2) Print Statement at top of page: print "Content-type: text/html\n\n"; 3) Using the PHP Header command:

[PHP] MySQL email function

2001-01-25 Thread Kenneth R Zink II
How would I go about pulling e-mail addresses from a database and sending and e-mail using that list? Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! http://www.s-series.org/htm/windstorm/project-windstorm.htm '85 3.4L Car

[PHP] How do I to declare a function or procedure in PHP???

2001-01-25 Thread Bruno Freire
Please , I don't know how to declare a functionhow is the scope?? In C++ is for example... Void test(int a, int b) { . } But... In php HOW DO I DECLARE A FUNCTION OR PROCEDURE BrunoBrazil

[PHP] SQL Server DB to mySQL DB

2001-01-25 Thread Jason Bouwmeester
Is there an easy way to do this? I know that SQL Server can export a comma delimited file, can mySQL import this? I imagine the PHP will be easy to modify as long as the field names are the same. Thanks, jb Jason Bouwmeester New Media Consultant InterVisual Suite 200, 709 - 11th Ave SW Calgar

RE: [PHP] How do I to declare a function or procedure in PHP???

2001-01-25 Thread Sam Masiello
Hello Bruno! See the following URL in the PHP manual: http://www.php.net/distributions/bigmanual.html#functions HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: Thursday, Janua

Re: [PHP] How do I to declare a function or procedure in PHP???

2001-01-25 Thread April
function function_name($input, $inputtwo) { // stuff goes in here. } and then call it with: function_name($input, $inputtwo); - Original Message - From: "Bruno Freire" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 25, 2001 10:39 AM Subject: [PHP] How do I to d

RE: [PHP] MySQL email function

2001-01-25 Thread Jon Haworth
Something like this (OTOH so may need some tweaking but should be generally ok): Done! e-mails sent in seconds. HTH Jon -Original Message- From: Kenneth R Zink II [mailto:[EMAIL PROTECTED]] Sent: 25 January 2001 15:28 To: PHP Subject: [PHP] MySQL email fun

Re: [PHP] SQL Server DB to mySQL DB

2001-01-25 Thread Pavel Kalian
1. Generate SQL script for your database in the MS SQL Server Enterprise Manager 2. Modify generated SQL to be compatible with MySQL 3. Run the script on your MySQL server Pretty easy if you aren't using any feature of MS SQL that MySQL doesn't support (for example stored procedures) Another way

[PHP] myODBC

2001-01-25 Thread Jason Bouwmeester
myODBC - what is that useful for, or is there anywhere I can get documentation or a description on it? Thanks again, jb -Original Message- From: Pavel Kalian [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 8:55 AM To: Jason Bouwmeester Cc: [EMAIL PROTECTED] Subject: Re: [PHP]

[PHP] undefined symbol...

2001-01-25 Thread Thomas Wentzel
Hi, I've had alot of difficulties in compiling a module in PHP. Finally I'm almost there (I think). I've followed Lerdorf's libstock example. But whenever I try to run stocks.php (from Netscape)... I get this in apaches errorlog: undefined symbol: zend_hash_internal_poiner_ex The stocks example

Re: [PHP] SQL Server DB to mySQL DB

2001-01-25 Thread Christopher Allen
Just did this to a 65mb fixed width file. What I did was get it into a csv file via perl :) Then I created the db table. Then I used: load data infile "/file.csv" into table blah fields terminated by ',' ; then go ahead and create any indexes etc... !works slick! > Is there an easy way to do th

Re: [PHP] myODBC

2001-01-25 Thread cmoewes
myODBC lets you connect to a mysql databas3e via the ODBC protocol. So you can create a mysql database connection (on a windows machine) and use that connection in a MSAccess environment. Or pull data directly from mysql into an Excel spreadsheet. Plus i am sure ASP and stuff like that can use it

[PHP] Zend Debuger

2001-01-25 Thread Andrew Sitnikov
Hello php-general, I have some problem with Zend debuger: debug.php Configuration: Server: Apache1.3.14_Linux2.2.17_PHP 4.0.4pl1+Zend Debuger From phpinfo() -| | This program makes use of the Zend scripti

RE: [PHP] myODBC

2001-01-25 Thread Jason Bouwmeester
Thanks, was just trying to figure out what I really needed to download/install to run mySQL with PHP on my W2K box. jb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 9:26 AM To: Jason Bouwmeester; [EMAIL PROTECTED] Cc: [EMAIL PROTEC

Re: [PHP] Zend Debuger

2001-01-25 Thread Jim Jagielski
Andrew Sitnikov wrote: > > Hello php-general, > > I have some problem with Zend debuger: > > debug.php > for ($i=0;$i<10;$i++){ > echo $i."\n"; >} > ?> > What happens if you modify it as: debug.php > Configuration: > Server: Apache1.3.14_Linux2.2

[PHP] date

2001-01-25 Thread Randy Johnson
I am wondering if it would be more efficient to store the integer value that the php function time() returns when a transaction is inserted into the database and then when querying the database to get certain transactions just use basic math functions to get the certain transactions. For exampl

[PHP] Urgent answers needed for FILE UPLOAD problem....

2001-01-25 Thread Tim Meader
Hello all. I've spent the past month or two implementing a file upload utility for the web based on PHP's http upload method. It works fine for smaller files, and it's been working fine for files I've tried up to and including 400 megs at a time. The problem I'm having is that we want to roll

[PHP] How do I see the data in list()?

2001-01-25 Thread Scott Fletcher
Hi! When I use the echo to see what is inside the list(). Instead I got the message on screen saying "ArrayArray". The array are being assigned first then then list come second. ie. $test = array(); $test1 = array() list($test,$test1); --- Whe

Re: [PHP] whois

2001-01-25 Thread AJDIN BRANDIC
On Thu, 25 Jan 2001, Andy Woolley wrote: > Ajdin, > > I know this is a little off topic but for your information 'whois.ripe.net' > provide information for the .ba TLD Ripe has only 10 .ba domains registred in their db :(. It is not up to date. Ajdin > > I too am looking for a database of T

Re: [PHP] date

2001-01-25 Thread php3
Addressed to: "Randy Johnson" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Randy Johnson" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 11:25:52 -0500 > I am wondering if it would be more efficient to store the integer > value that the php function time() returns when a tra

[PHP] can't upload files if extension has more than one dot.

2001-01-25 Thread david klein
Hello! I am trying to upload the files to the sever. For files that has only one dot such as abc.txt and 123.doc, it works fine. But when uploading files that have more than one dot such as 123.txt.pdf, there's problem, and I tried to echo the $userfile[i], and it is "none". Codes are attached

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread szii
IMHO, if you want to sell it then it's your right. You coded it, you own it, you get to sell it. But I do know that for $6,000 I sure as hell am not buying it. Maybe for a couple hundred...but $6,000? No way. I'd have to have some seriously proprietary kickass scripts that cost me a huge inv

Re: [PHP] Best way to describe Doc as HTML

2001-01-25 Thread php3
Addressed to: "Karl J. Stubsjoen" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Karl J. Stubsjoen" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 08:36:43 -0700 > > Hello, So I think I've found 3 ways to describe the HTML Doc as > "HTML". Which one is the best? > > 1) Via MetT

[PHP] Outputting a 2 digit number < 10

2001-01-25 Thread Jamie
I need to enable a user to insert an 'NEWS' item into a mySQL table one of the definable limits for the user is to be the date that the news is to be displayed. Currently the collum is in a 'date' format and should be stored in a MMDD - being Australian we are used to the exact reverse of that

[PHP] trouble with updating the id numbers

2001-01-25 Thread Jason Jacobs
Hi all. In the project I'm working on, I've got a table with ids that are written based on how many records are in the table. i.e., the first record has an ID of 1, the 50th is 50, etc. When a row gets deleted (I created a web interface, I don't want all these members using phpMyAdmin), the ID'

Re: [PHP] whois

2001-01-25 Thread AJDIN BRANDIC
All of them servers give my error 111, not authorised :(. Dead end again :). I have been trying to do sort this out but no luck. Any way Thanks On Thu, 25 Jan 2001, Ernest E Vogelsinger wrote: > At 15:13 25.01.2001, Andy Woolley said: > [snip] > >I kn

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Jim Jagielski
[EMAIL PROTECTED] wrote: > > But I do know that for $6,000 I sure as hell am not buying it. > Maybe for a couple hundred...but $6,000? No way. I'd have to have > some seriously proprietary kickass scripts that cost me a huge investment > in time/money to develop to blow $6,000 just on keeping p

Re: [PHP] How do I see the data in list()?

2001-01-25 Thread Pavel Jartsev
Scott Fletcher wrote: > > ... > > What are the better way to see the data in the array? > Maybe var_dump(). http://www.php.net/manual/en/function.var-dump.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

[PHP] A second question about http File Upload...

2001-01-25 Thread Tim Meader
In my previous message I stated how some uploads were failing past a certain size. What I want to know is, is it possible to force PHP to write the uploaded contents as it receives them, or must they all be written at the end? In other words, does the file you are currently uploading have to c

Re: [PHP] how to rename a database

2001-01-25 Thread php3
Addressed to: "Chris Doyle" <[EMAIL PROTECTED]> "Fang Li" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ** Reply to note from "Chris Doyle" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 09:38:55 +1000 To be completely safe: cd /var/mysql# or where ever your databases

Re: [PHP] date

2001-01-25 Thread Hardy Merrill
[EMAIL PROTECTED] [[EMAIL PROTECTED]] wrote: > Addressed to: "Randy Johnson" <[EMAIL PROTECTED]> > [EMAIL PROTECTED] > > ** Reply to note from "Randy Johnson" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 >11:25:52 -0500 > > > I am wondering if it would be more efficient to store the in

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread szii
You are entirely correct. However, I (personally) feel that by pricing it so high you're targeting a very small niche market at a higher rate. Pricing it in the "$300.00" range would not cost you that niche - but it would gain you the "x-million" users/freelance developers. Sure, $6,000 is 20x

[PHP] [newbie]subtracting date

2001-01-25 Thread Matthew Ley
I am working on a project where I need a function that will take the current date and subtract however many days off of it a client specifies. Would anybody know a way I can set this up? I pretty new at this so my vocabulary is very basic. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Outputting a 2 digit number < 10

2001-01-25 Thread Pavel Jartsev
Jamie wrote: > > ... > > "; > $day = (date ("d")); > $daysinmonth = (date("t")); > for ($i=00;$i<$daysinmonth;$i++){ > if ($i == $day) { >echo("$i\n"); > } else { > echo("$i\n"); >} > } >

Re: [PHP] Greek PHP mailing list

2001-01-25 Thread Carsten Gehling
From: "Brian White" <[EMAIL PROTECTED]> Sent: Thursday, January 25, 2001 4:55 AM > >At least you're not sitting in high school calculus and actually > >understanding everything on the board, but not being able to use any of it > >because Texas Instruments is the only company that's figured out h

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On Thu, Jan 25, 2001 at 11:18:49AM -0300, Martin A. Marques wrote: [ . . . ] > No, and thats why in the postgres list we talked about persistent connections > not having much benefits. That is because the connection is persistent to the > httpd child that called it and not to all. Well, yes, bu

Re: [PHP] How do I see the data in list()?

2001-01-25 Thread Steve Edberg
At 11:33 AM -0500 1/25/01, Scott Fletcher wrote: >Hi! > > When I use the echo to see what is inside the list(). Instead I got the >message on screen saying "ArrayArray". > > The array are being assigned first then then list come second. ie. > > $test = array(); > $test1 =

RE: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Michael A. Peters
My question is- Does the encoder license permit a company to purchase the license, and then optionally encode php for third parties? Can I, for example, encode purchase the encoder, and then make a deal with John who can't afford the encoder to encode John's web application for $150 and give J

[PHP] I still don't get it

2001-01-25 Thread Carsten Gehling
I've brought this up in reference to other questions but haven't got a straight answer. Suppose I've created a session variable: session_register("foo") and receive a posted form with the input field "bar". If register_globals = off, I can only access the form-field like this: $HTTP_POST_VARS["

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Jim Winstead
please, please take this discussion elsewhere. if you have questions for the zend guys about their pricing and want to lecture them on what you think the right pricing is, there are a number of message boards on their site that are more suitable. if you want to explore alternatives to the zend c

[PHP] Search Engine...

2001-01-25 Thread php4
Hello... I would like to code a search engine to use just inside my home page...Anyone has an idea where can I find informations about how is the process to code a search engine with PHP?? Thank you Felipe Lopes MailBR - O e-mail do Brasil -- http://www.mailbr.com.br Faça já o seu. É gra

Re: [PHP] Search Engine...

2001-01-25 Thread Jason Jacobs
go to www.devshed.com Look in their PHP section, and there should be something there. -j - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 25, 2001 3:47 PM Subject: [PHP] Search Engine... > Hello... > I would like to code a search engine to

Re: [PHP] pdflib: unable to generate on the fly, need to write to file

2001-01-25 Thread Uwe Steinmann
On Wed, Jan 24, 2001 at 11:21:28AM -0600, Dominic wrote: > I have successfully installed pdflib with PHP4.0.4pl1 and all the > necessary components. However, I don't know how to output a generated > pdf to the browser without writing it to disk first and then reading it > in. Below are the example

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Rasmus Lerdorf
> Well, without the Encoder the entire *possibility* of "seriously proprietary > kickass scripts" that people distribute and sell is out of the question. Let's not go overboard here. You can build and sell serious stuff without an encoder. Obfuscating the code is not a requirement for all peopl

[PHP] Read Vs. Include

2001-01-25 Thread Karl J. Stubsjoen
Hello, I want to *read* a file into a page and not process any PHP. I'm just reading an HTML file. I though it was simple, I thought I had it figured out, but now when I try, I get the following error: Fatal error: Call to unsupported or undefined function read() in /var/www/wherever.com/betas

Re: [PHP] [newbie]subtracting date

2001-01-25 Thread Hardy Merrill
For PHP's data and time functions, see this page: http://www.php.net/manual/en/html/ref.datetime.html You didn't mention a database - are you going to be selecting records in a database based on a date? I haven't seen this anywhere in the documentation, but my favorite way of doing date math

  1   2   >