[PHP] number of uploads

2001-07-27 Thread Gary
I can do basic file uploads. How do you let the user choose the number of uploads with drop down list? Gary -- 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

[PHP] A PHP Editor

2001-07-27 Thread Augusto Cesar Castoldi
Hi. I'm using the PHPEd (http://www.soysal.com/PHPEd) as my default editor. But this program aren't very good, it's instable. Something crash... Do you know a good php editor? thanks, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[PHP] installing php as cgi on linux

2001-07-27 Thread Richard Kurth
I am trying to get php as cgi installed on a RedHat7 box to be used with Apache. I configured it with ./configure --with-mysql did a make and then a make install every thing whet just fine. I add ScriptAlias /php/ "/usr/local/bin/php" AddType application/x-httpd-php .php4 .php3 .phtml .php AddTyp

[PHP] Dumping fields.....

2001-07-27 Thread Jeff Lewis
Using this function to dump a table, having a problem outputting the value below after the SELECT * FROM $ID. function dump($ID, $link) { echo "Dumped table $ID"; $fields = mysql_list_fields("hyrum_nuke", $ID, $link); $columns = mysql_num_fields($f

Re: [PHP] execution time

2001-07-27 Thread Alex Black
> I have a php script that runs every 30 minutes. It takes the contents of a > directory (which is constantly being updated) and dumps them into a mysql > database. Recently this directory has become increasingly large and the php > script only updates a portion of it before it stops execution. >

[PHP] PHP 4.0.6 / GD 2.0.1 compile error

2001-07-27 Thread Wandrer
On a freebsd 4.2 system, php 4.0.5 / gd 1.8x were running happily. Downloaded and compiled gd 2.0.1 no problems. Downloaded and compiled php 4.0.6 with: ./configure --with-mysql --with-apxs --with-gd=/usr/local --with-zlib-dir=/usr/local --with-jpeg-dir=/usr/local --enable-gd-imgstrttf --with-

[PHP] ./configure problem with 4.0.6

2001-07-27 Thread Alex Black
php.install doesn't seem to be too active, I'll try here :) hi all, I'm trying to configure a fresh 4.0.6 cgi, and I'm getting this message after a clean configure process: ++ | *** ATTENTION ***

Re: [PHP] PHP mail() function

2001-07-27 Thread Kevin Leavell
Regular email flows in and out just fine. The host providers are and have been fiddling with the dns stuff to no avail. Kevin - Original Message - From: Mark Maggelet <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 12:14 PM Subject: Re: [PHP]

Re: [PHP] PHP mail() function

2001-07-27 Thread Mark Maggelet
On Fri, 27 Jul 2001 13:32:49 -0600, Kevin Leavell ([EMAIL PROTECTED]) wrote: >Regular email flows in and out just fine. > >The host providers are and have been fiddling with the dns stuff to >no avail. we don't know anything about your setup, it could be that a different server is handling your m

[PHP] Re: A PHP Editor

2001-07-27 Thread Inércia Sensorial
I like to use PHPCoder, www.phpide.de -- Julio Nobrega. 2B||!BB - That's the question. "Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote in message Pine.GSO.4.10.10107271605490.2482-10@minerva">news:Pine.GSO.4.10.10107271605490.2482-10@minerva... > Hi. > > I'm using the PHPEd (htt

[PHP] php date

2001-07-27 Thread colin
can anyone give me a work around for a PHP date function when used in conjunction with a PHP include. The code inside the include is printed but I do not know how to echo the date as the document has already been parsed once. Any help would be appreciated. Please reply to [EMAIL PROTECTED] many th

Re: [PHP] array through url?

2001-07-27 Thread mike cullerton
on 7/27/01 12:21 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > Is it possible to send an array of numbers into a php file through a url? > Like if I have a file that adds numbers together, could I send it > > www.domain.com/add.php?num=2,3,4,5 > > $num would be an array. www.domain.com/a

RE: [PHP] Please Please Pleeeeaaaaaaaaaasssssssseeeeeee

2001-07-27 Thread Sam Masiello
Didn't we go through this the other day? :) :) There are lots of sites available with LOTS of scripts you can look at that do very practical things. Scripts that I am sure some of us have even used on occasion (I know *I* have!). Besideshow is someone sending you one of their scripts "hand

Re: [PHP] A PHP Editor

2001-07-27 Thread Miles Thompson
Augusto, This has been exhaustively covered, and I believe someone has set up a page that deals specifically with PHP and editors. You can search the archives, however, at http://www.php.net/search.php Use editor as your search term, pick the general list, and there are scores of messages. G

[PHP] Re: Moving a PHP/MySQL web site ???

2001-07-27 Thread Owen Rudge
You can use phpmyadmin to dump the database into .sql files and then use phpmyadmin again on the new server to import it. -- Owen Rudge http://www.owenrudge.co.uk/ http://www.gamearchive.uk.tt/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

[PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Ezra Nugroho
I have a frameset that runs on a SSL enabled server that has two frames in it. One of the source is the local machine and the other one is a (outsourced asp !!) script in another machine without SSL. The non SSL one requires HTTP_REFERER to make sure it was hit from the authorized server. This

[PHP] --with-imap-ssl

2001-07-27 Thread Held Markus
Hello, i have a big problem. I want to compile php4.0.6 ./configure --with-imap --with-imap-ssl=/usr/lib checking for IMAP support... yes checking for pam_start in -lpam... (cached) yes checking for Kerberos support in IMAP... no checking for SSL support in IMAP... yes configure: error: T

RE: [PHP] installing php as cgi on linux

2001-07-27 Thread Jon Snell
This is a long shot, but... MSIE has a nasty habit of saving the mime type of a page. If you attempted to load the URL before PHP was set up properly, it won't load until after you closed IE and reopened. -Original Message- From: Richard Kurth [mailto:[EMAIL PROTECTED]] Sent: Friday, J

[PHP] idiotic question

2001-07-27 Thread Jerry Lake
for the life of me I can't remember how to convert a string to just the first letter of itself i.e. $string = test ...a function $string_first = t I must be thinking in circles today. Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online -

Re: [PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Rasmus Lerdorf
> I have a frameset that runs on a SSL enabled server that has two frames in it. > One of the source is the local machine and the other one is a (outsourced > asp !!) script in another machine without SSL. > The non SSL one requires HTTP_REFERER to make sure it was hit from the > authorized server

Re: [PHP] idiotic question

2001-07-27 Thread mike cullerton
on 7/27/01 3:46 PM, Jerry Lake at [EMAIL PROTECTED] wrote: > for the life of me I can't remember > how to convert a string to just the first > letter of itself i.e. $string = test > ...a function > $string_first = t > $word = substr($word,0,1); -- mike cullerton -- PHP General Mailing Lis

Re[2]: [PHP] installing php as cgi on linux

2001-07-27 Thread Richard Kurth
Hello Jon, tried that it still just wants to download it Friday, July 27, 2001, 2:49:14 PM, you wrote: Jon Snell> This is a long shot, but... MSIE has a nasty habit of saving the mime type Jon Snell> of a page. If you attempted to load the URL before PHP was set up properly, Jon Snell> it won

[PHP] top reports Status D

2001-07-27 Thread Werner Stuerenburg
Sorry, I don't know if this is a php or Apache or MySQL or even Linux problem. Any suggestion would be of help. Server Version: Apache/1.3.19 (Unix) PHP/4.0.4pl1 MySQL 3.23.33 When watching top, things go nicely for a while. If there is high load, it is significant that mostly httpd processes ar

Re: [PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Ezra Nugroho
>Bug in IE? PHP doesn't even enter the picture here. The HTTP_REFERER >variable is defined by the web server if that information is provided by >the browser. No, it's not really a PHP thing, it's more HTML stuff. I suspect that the error comes because one of the server is not running SSL, so

[PHP] mkdir

2001-07-27 Thread Jerry Lake
when using mkdir I cant seem to make subdirectories is there any way to do this ? Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] best php editor

2001-07-27 Thread Chip
Martin Marconcini wrote: > LOL :) I didn't ... perhaps I used an old version... Must've been an old version, I've been using it for close to a year and haven't had it crash nearly as much as expected for a winblows app (at work on winnt4). Wish there was a *nix port of it. -- Chip > > > Regard

Re: [PHP] Example high-profile PHP sites

2001-07-27 Thread Ryan Fischer
You wrote: > While I do appreciate people's contributions, let me frame the > discussion a little. The person I need to convince is an > administrator of an organization within North America, and he's never > heard of PHP. The response I'm hoping to provoke in him is something > like this: "You

Re: [PHP] substr question...

2001-07-27 Thread Ryan Fischer
You wrote: > I am trying to receive file names but can't quite figure out the proper > substr to do it: > > jeff.dat > jeffrey.dat > chris.dat > tom.dat > > I want to receive the name to the left of the .dat > > Jeff $file = array("jeff.dat", "jeffrey.dat", "chris.dat", "tom.dat"); for($i=0; $i\n

[PHP] FORCING A PHP OUTPUT TO BE CACHED

2001-07-27 Thread Randy Johnson
Is it possible to force a confirmation page that is displayed via a post operation to be cached so it will not rerun the script when somebody hits the refresh button? I am hoping it is easy as using a header thanks in advance Randy -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: [PHP-DEV] Passing JavaScript variables to PHP

2001-07-27 Thread Markus Fischer
On Fri, Jul 27, 2001 at 04:31:51PM -0500, Craig Gardner wrote : > Is there any way to pass JavaScript variables to PHP? This doesn't belong in here; this list is for the development OF php and _not_ WITH. Ask at [EMAIL PROTECTED] - Markus -- Markus Fischer, http://guru.josefine.at/~mfischer/

RE: [PHP] Please Please Pleeeeaaaaaaaaaasssssssseeeeeee

2001-07-27 Thread Ben Bleything
There are a wealth of available scripts at other websites... www.hotscripts.com for instance... I find it unlike at this point that anybody will send you anything... Just go there, or to SourceForge, and you'll find all you need. Ben -Original Message- From: Kyle Smith [mailto:[EMAIL PRO

[PHP] auto refresh in every five seconds.

2001-07-27 Thread Mark Lo
Hi, I would like to know how to do a auto refresh in every five seconds. Thanks Mark -- 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 PROTE

Re: [PHP] auto refresh in every five seconds.

2001-07-27 Thread Matt Greer
- Original Message - From: "Mark Lo" <[EMAIL PROTECTED]> To: "php general" <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 10:40 PM Subject: [PHP] auto refresh in every five seconds. > Hi, > > I would like to know how to do a auto refresh in every five seconds. This isn't php,

[PHP] Stripping single quotes

2001-07-27 Thread Matt Stone
Hi all, I am trying to validate some email addresses before they are entered into the database. The problem is, some thick or malicious people are entering single quotes into their email addresses. I need to strip out all these single quotes but a little ole' str_replace doesn't seem to be working

Re: [PHP] Stripping single quotes

2001-07-27 Thread Chris Fry
Matt, Try ereg_replace:- $fldemail == ereg_replace("'","",$fldemail); Chris Matt Stone wrote: > Hi all, > I am trying to validate some email addresses before they are entered into > the database. > The problem is, some thick or malicious people are entering single quotes > into their email a

[PHP] PHP on win2k/Weblogic?

2001-07-27 Thread Rory O'Connor
I have been using PHP/MySQL to build alot of little utilities (like form mailers, contact DBs etc.) for my sites on linux and freebsd, but I just got a client requiring a win2k server running WebLogic (for JSP purposes). Can I even install PHP in that environment and if so, would it conflict with

[PHP] Adding scripts

2001-07-27 Thread Tim Thorburn
Hi, I'm creating a very simple script (or so I thought) in which a user can select items from a form, the script will take the number values of those items and do two things: display the names of the items selected, and add the items together and give the user a total price including taxes. I

Re: [PHP] Adding scripts

2001-07-27 Thread Chris Fry
Tim, It is not necessary to retrieve your values using $HTTP_POST_VARS, the variables can be referred to by their name, e.g $hit_955 so in PART 1 it appears that you are intialising everything that was passed from the select page to 0. All you need to do is initialise your counters. PART ONE:

[PHP] install PHP --with-java on FreeBSD. No luck.

2001-07-27 Thread SlowPork
Hello. After I compiled PHP with Java support, I instantiated new class [ eg. ]. I got blank response, and that child of Apache died. Is this a bug that I should report? or I'm missing somthing here? Any expert please give me some suggestions. For Apache error log, [Fri Jul 27 17:4

Re: [PHP] Dumping fields.....

2001-07-27 Thread Dell Coleman
Hi Looks like the range of the block overlaps the range of the block I usually generate all the TH stuff first You can then generate the and data elements as needed after that for each row HTH Jeff Lewis wrote: > Using this function to dump a table, having a problem outputting the valu

<    1   2