Re: [PHP] Unsetting PHP_AUTH_USER

2002-05-07 Thread Rasmus Lerdorf
You don't unset the variable. The variable comes from your browser sending an Authenticate http request header, so as long as the browser sends this header, the variable is going to get created. The way to unset it is then to stop the browser from sending this Authenticate header. Currently

[PHP] var-vars question

2002-05-07 Thread heinisch
Hi folks, Linux, PHP3 I have the following problem: I have an object, which creates a form, wherein there are selects, which names accord to values in the database. But I didn´t get it to have a variable var, I´m sure it´s just a small thing, but I cannot see it Any suggestions ? TIA Oliver

Re: [PHP] File upload problem

2002-05-07 Thread Jason Wong
On Tuesday 07 May 2002 19:09, David Freeman wrote: -Original Message- Hmm, after a bit of testing I find that the MAX_FILE_SIZE tag is useless to say the least (probably because no browsers support it?) That's somewhat of a shame I guess but I can hardly claim to be

[PHP] Re: Self Destruct code

2002-05-07 Thread Hugh Bothwell
Keep some vital part of the code separate, ie on your own host... such as the ability to add new users, or the calendar-file for next month, or whatever. Their system works fine, and as soon as they pay they get the last module and are on their own, but if they fail to pay you can pull the plug.

Re: [PHP] File upload problem

2002-05-07 Thread Jason Soza
For what it's worth, I ran into this the other day, except I'm not using the MAX_FILE_SIZE tag in the form. I have a variable set in the action script that is set to the max size in KB, I take the user's filesize, divide it by 1024 to get it to KB, then run an 'if' statement to decide whether

[PHP] newbie needs help with array-checking

2002-05-07 Thread Moritz Helten
Hello, I have a problem with checking an array if it is empty: if ($artikel[$i] != ){ ... } That code does not work! May somebody help me? thanx, Moritz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Crosstabs PHP [long]

2002-05-07 Thread Jay Blanchard
I have the following code in page to query a 12,000,000 record DB for a crosstab; //query for RecordID list $qrid = SELECT DISTINCT RecordID ; $qrid .= FROM tblCrosstab ; $qrid .= ORDER BY RecordID ; $dbrid = mysql_query($qrid, $dbconnect) the second query is created on the fly, because I may

[PHP] Re: newbie needs help with array-checking

2002-05-07 Thread Austin Marshall
Moritz Helten wrote: Hello, I have a problem with checking an array if it is empty: if ($artikel[$i] != ){ ... } That code does not work! May somebody help me? thanx, Moritz take a look at the manual... there is a empty() function that checks for this very thing. --

[PHP] Multiple File Download

2002-05-07 Thread Steven Walker
Hi, Does anyone know a way to download multiple files with a php script? I have 26 software products that can be purchased individually and I want to make the download process easier. I have looked into dynamically creating zip files, but it is problematic for Mac users (which account for a

RE: [PHP] Self Destruct code

2002-05-07 Thread Tim Thorburn
I'm sure we've all had our problems with the client who just doesn't feel like paying. In my particular market, summer resorts and vacation spots are pretty much the main source of web work. Now alot of these businesses are very good in paying, normally I receive payment within a week of

[PHP] parsing HTML text

2002-05-07 Thread Lee Doolan
I have written form screen which has as one of it's elements a textarea box in which a user can input some text --like a simple bio-- which will appear on another screen. I'd like to edit check this text. It would be a good idea to make sure that it has, among other things, no form elements,

[PHP] Re: parsing HTML text

2002-05-07 Thread Austin Marshall
Lee Doolan wrote: I have written form screen which has as one of it's elements a textarea box in which a user can input some text --like a simple bio-- which will appear on another screen. I'd like to edit check this text. It would be a good idea to make sure that it has, among other

Re: [PHP] Creating mail account on Linux server

2002-05-07 Thread Miguel Cruz
On Tue, 7 May 2002, Rosen wrote: How can I create a mail account on Linux server with PHP ? Not sure what you mean by a mail account, but if you mean a regular system account, I'd suggest that you look into various setups (vpopmail, Cyrus IMAP, etc.) that will let you create private mailboxes

<    1   2