[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

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

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

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 sen

[PHP] parsing HTML text

2002-05-07 Thread Lee Doolan
I have written form screen which has as one of it's elements a 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 elements, say, or to mak

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

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