[PHP] setting register_globals off

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

[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

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, Rubn Blanco. __ A r t e k - 928.52.20.77 - http://www.artek.es One thing that occurs to me -- stdout starts off by being

[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

[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=3id=6277loc=0thread=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

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 manual

[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

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

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

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: meta HTTP-EQUIV="refresh" CONTENT="5;url=http://the-other-page.dk" as you maybe can see the content tell's the browser that it should wait 5

[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

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=3id=6277loc=0thread=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 people

[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

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 you

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

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=3id=6277loc=0thread=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

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 find

[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

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 client

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 space

[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

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 one I

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 looking for

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:

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,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

[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

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

[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): head meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /head 2) Print Statement at top of page:

[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

[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

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,

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

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): ?php $counter = 0; $starttime = time(); $subject = "Spam!"; $message = "This is a genuine money-making opportunity.\n"; $message .= "blah blah blah blah\n"; $query = mysql_query("SELECT * FROM

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

[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] 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

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

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

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

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;$i10;$i++){ echo $i."\n"; } ? What happens if you modify it as: debug.php htmlbody ? for ($i=0;$i10;$i++){ echo $i."\n"; } ?

[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

[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); ---

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 Top

[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

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

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 MetTag (this

[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

[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

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

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 additional

[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

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 are

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: ... ? echo"select name=\"form_date_day\""; $day = (date ("d")); $daysinmonth = (date("t")); for ($i=00;$i$daysinmonth;$i++){ if ($i == $day) { echo("option SELECTED value=\"$i\"$i/option\n"); } else {

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 how to

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, but

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 = array()

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

[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:

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

[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. É

[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

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

RE: [PHP] Search Engine...

2001-01-25 Thread Marko Perich
I am using htdig from htdig.org. It is an external program that executes like a cgi. It is simple, fast and configurable. I recommend it. Hope it helps Marko. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] telnet timeout

2001-01-25 Thread Pablo Martin De Natale
Hi, anybody knows where can i change the telnet timeout on a linux red hat 6.2? Thanks Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Anyone who can help me making a loop of this?

2001-01-25 Thread Christian Sakshaug
Anyone who can help me making a loop of this? http://www.sakshaug.net/phps/loop.txt I have tried many things, but I can't get it perfect... Best Regards, Christian Sakshaug -- Email: [EMAIL PROTECTED] Web: www.sakshaug.net Tel: +47 913 95 618 -- PHP General Mailing List

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 14:34, Frank Joerdens escribi: 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

[PHP] Question about dopping zeros

2001-01-25 Thread Ethan Nelson
I need to format decimals that are percise to the second place in the following format: 4.00 to 4 4.50 to 4.5 4.25 to 4.25 As you can see, I just want to drop the trailing zeros, and if necessary the decimal. Thanks ___ Ethan Nelson, Systems Administrator Net

[PHP] mktime() not allowing dates before 1970

2001-01-25 Thread Diego Fulgueira
I know the UNIX epoch is 1/1/1970 and that mktime() returns the number of seconds between that date and the date specified by its parameters. If this date is before 1/1/1970, it always returns -1, not a large negative number, which would be more reasonable, i think. The question is: How can I

Re: [PHP] mktime() not allowing dates before 1970

2001-01-25 Thread Monte Ohrt
use Date_Calc. http://www.phpinsider.com/php/code/Date_Calc/ Diego Fulgueira wrote: I know the UNIX epoch is 1/1/1970 and that mktime() returns the number of seconds between that date and the date specified by its parameters. If this date is before 1/1/1970, it always returns -1, not a

[PHP] Enabling track_vars.

2001-01-25 Thread April
Is it possible to enable track_vars from a .htaccess doc, and does anyone have a link to a good basic (as in, insanely beginner) tutorial to do it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Splitting at word count

2001-01-25 Thread H. Wade Minter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm doing a page where the front page will show "news" stories. What I'd like is if the story is longer than X words/chars/etc, the index page will show the first X words, then a link for the full story. Does anyone have a good idea on how to split

[PHP] Fopen

2001-01-25 Thread Nate
Hi there, I am trying to open remotely the file http://www.parentprofiles.com/clicker.php and am useing the code: ? $fp = fopen("http://www.parentprofiles.com/clicker.php?profile_id=" . $this-profile_id . "code=1","r"); echo $fp; ? to do it. however when I do all I get is a

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 16:49, Frank Joerdens escribi: On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote: [ . . . ] Of course. But the persistent connection are not working as the manuals say they should work. It appears this riddle has been solved: From a post by Adam Lang on

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Jim Jagielski
Rasmus Lerdorf wrote: 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

[PHP] number_format() buggy round when usind database resultset

2001-01-25 Thread Lucas Persona
Hi, I'm finding some problems on using number_format($value, $decimal, ",", ".") when I have a value comming from a resultset (database query results)... If I had something like '123.45', using number_format it will return '123,00'. I think this happens because my value

Re: [PHP] regular expression help

2001-01-25 Thread Jeff Warrington
In article 005801c08668$e0459070$0201010a@shaggy, "Jamie Burns" [EMAIL PROTECTED] wrote: I tried something like this and your examples worked: $str = "tag element = \"value\" nextelement"; if (eregi("=[[:space:]]*\"([^\"]+)|=[[:space:]]*([[:alnum:]]+)",$str,$regs)) { print("yes -

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Rasmus Lerdorf
I never said that obfuscating the code is a requirement for all people. I'd like to know where I said that. It's easy to make me sound like an idiot or worse when you put words in my mouth. I said that for some people it is. BIG difference. That was not how I understood what you wrote. You

[PHP] html table

2001-01-25 Thread Mike
How do I get every other column to be a different color (or font ect.)when I'm populating a table from a db(different field counts all the time) Thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Dallas Kropka
I haven't read all the posts, but as you stated Charge $6000 to the big companies, I have no problem with that. I personally would be willing to pay that if web applications was my business. But at the same time, allow those who don't necessarily need to have the encoder but just want some

Re: [PHP] html table

2001-01-25 Thread Rasmus Lerdorf
How do I get every other column to be a different color (or font ect.)when I'm populating a table from a db(different field counts all the time) If $i is a counter then $i%2 will alternate between 0 and 1 $i%3 would cycles through 0,1 and 2 -Rasmus -- PHP General Mailing List

RE: [PHP] html table

2001-01-25 Thread Brian V Bonini
$color = "tan"; FOR ($i=0 ; $i $numrows ; $i++) { if ( ($i % 2) == 0 ) { ECHO ("\nTR"); } else { ECHO ("\nTR BGCOLOR=$color"); } } -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 4:19 PM To: Mike Cc: [EMAIL

[PHP] file_exists search the include_path?

2001-01-25 Thread Dean Hall
I thought I saw in one of the older manuals that there is an optional second parameter to 'file_exists' that will tell it too search the 'include_path' for a file instead of using an absolute path. However, I can't seem to find this documentation any more. Does anyone know if this still works?

[PHP] edit plus

2001-01-25 Thread Pat Hanna
Anyone who uses Edit Plus. Can you send me the php function files and auto complete file. The edit plus web page has the links but none of them work. Thanks Pat

Re: [PHP] Ideas?? (OT- MySQL)

2001-01-25 Thread Randy
You will probably be much happier in the future if you make a one-to-many setup rather than a many-to-many. As Mathew said, create your tables with: BID table: bidid, projectid, OtherFields PROJECT table: projectid, OtherFields If you are at a project and want to look at bids, just "select *

Re: [PHP] edit plus

2001-01-25 Thread Randy
Hello Pat, I've emailed you the files that I use. I've customized them a bit since I downloaded them from editplus.com. Best regards, Randy Thursday, January 25, 2001, 4:02:45 PM, you wrote: PH Anyone who uses Edit Plus. Can you send me the php function files and auto PH complete file.

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

2001-01-25 Thread Hartmut Holzgraefe
hholzgraThu Jan 25 12:52:53 2001 EDT Modified files: /php4/ext/gdgd.c Log: gd didn't work if no WBMP was available after rev 1.107 - fixed Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.109 php4/ext/gd/gd.c:1.110 ---

  1   2   >