[PHP] Client-side file uploading

2005-11-27 Thread Ajree
Hi, I'm working on a website with some downloadable files. I use simple web-based file uploading form to put new files on the server and I keep information about them (filename, description to be displayed and so on) in the database. It worked well until files began to exceed default

Re: [PHP] Web Service Php - Currency Conversion

2005-11-27 Thread Colin Ross
New version released that fixed the bug, fyi On 9/28/05, Thomas [EMAIL PROTECTED] wrote: I have used nusoap and a xmethods service. You can get the ziped files here: http://www.thomash.co.za/uploads/forex/forex.nusoap.zip Hope that helps BTW: also had issues with the PEAR package. T

Re: [PHP] SQL Password() function

2005-11-27 Thread Ahmed Saad
On 11/26/05, Yaswanth Narvaneni [EMAIL PROTECTED] wrote: I 'dont' want to use something like select * from table where table.passwd=password($passwd); Well, i think you better use a specific password hashing function rather than MySQL's password() 'cause it's implementation is not consistent

[PHP] probably a simple mysql copy multiple rows question

2005-11-27 Thread Dave Carrera
Hi All, I have a table with a structure like this. name code price what i would like to do is copy the data in these rows to new ones in the same table but change the name col, keep the current data for code col and set price col to a default value. so if the output of my current table is

[PHP] PhpMailer vs Pear:Mail

2005-11-27 Thread Cabbar Duzayak
Could you please tell which one you recommend in terms of stability/speed and share your experience in terms of these 2? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Client-side file uploading

2005-11-27 Thread Ajree
Errata: I don't know what I was thinking about when I wrote 'Apache' and 'httpd.conf'. It should be php.ini and upload_max_filesize option of course. Anyway it's not the point. I don't want to use this particular mechanism but make some kind of client-server application for uploading or use

Re: [PHP] Intersecting Dates

2005-11-27 Thread Brian V Bonini
On Sat, 2005-11-26 at 16:18, Shaun wrote: Hi, Given a start day and month and end day and month (i.e. 01-01 to 31-03) how can one check if another set intersects these dates? Convert each to epoch and test for floor ceiling, just a thought. $a = array(mktime(0, 0, 0, 1, 1, date('Y')),

Re: [PHP] When to make a class

2005-11-27 Thread Ahmed Saad
On 11/26/05, Todd Cary [EMAIL PROTECTED] wrote: /* Input a field */ function input_field($name, $value, $size, $max) { echo('INPUT TYPE=text NAME=' . $name . ' VALUE=' . $value . ' SIZE=' . $size . ' MAXLENGTH=' . $max . ''); }; A bit away from your OO question, but

[PHP] Re: Can't execute external program

2005-11-27 Thread Henry Castillo
Hi, Thank you, after a frustrating month the problem was solved. My system had SElinux blocking that.. no php, apache or file permissions. Something else to keep in mind. Henry On 11/24/05, n.g. [EMAIL PROTECTED] wrote: put the executable into another directory rather than DOC_ROOT, maybe you

Re: [PHP] Where can i find docs to create a php5 extensions with OOP as SimpleXML?

2005-11-27 Thread Edwin Barrios
Hi, David I suggest you take a lookn at http://www.zend.com/php5/articles/php5-xmlphp.php david Thanks for your suggestion, but i wanna info about programming extension in C/C++.

Re: [PHP] SQL Password() function

2005-11-27 Thread Gustavo Narea
Hi. Ahmed Saad wrote: On 11/26/05, Yaswanth Narvaneni [EMAIL PROTECTED] wrote: I 'dont' want to use something like select * from table where table.passwd=password($passwd); Well, i think you better use a specific password hashing function rather than MySQL's password() 'cause it's

Re: [PHP] probably a simple mysql copy multiple rows question

2005-11-27 Thread Max Schwanekamp
Dave Carrera wrote: so if the output of my current table is BASE 600 1.99 BASE 601 2.99 then i would like to copy these rows so that the table looks like this BASE 600 1.99 BASE 601 2.99 NEW600 33 NEW601 33 This is a SQL question, not PHP. That said, what

Re: [PHP] Re: Client-side file uploading

2005-11-27 Thread Stephen Leaf
You can change values of the php.ini file within a .htaccess http://www.php.net/manual/en/ini.core.php For example. php_value upload_max_filesize 50M php_value post_max_size 50M On Sunday 27 November 2005 05:59, Ajree wrote: Errata: I don't know what I was thinking about when I wrote

[PHP] question

2005-11-27 Thread cheeto borje
Hello, I wanna ask you about : 1. When you say server, does it mean my CPU? 2. Do i have to buy a seperate server besides my computer CPU? 3. Can i use the software to multiple web-domain that i will create and launch online? 4. How will i be able store those data

[PHP] A basic question

2005-11-27 Thread Oil Pine
Hi, I am new to php scripting and would like to ask you a basic question. Could you kindly explain to me why time.php works but time.html does not? pine time.php -- ?php $serverdate = date(l, d F Y h:i a); print ($serverdate); print (

Re: [PHP] A basic question

2005-11-27 Thread Stephen Leaf
because the time.php is parsed by php before it's sent to the client. the time.html is not it's assumed to be a static webpage and just sent as-is to the client. On Sunday 27 November 2005 12:46, Oil Pine wrote: Hi, I am new to php scripting and would like to ask you a basic question. Could

Re: [PHP] question

2005-11-27 Thread Stephen Leaf
On Sunday 27 November 2005 12:34, cheeto borje wrote: Hello, I wanna ask you about : 1. When you say server, does it mean my CPU? By CPU I assume you mean your computer and not the Central Processing Unit. being a CPU is the small chip inside your computer attached into the motherboard

[PHP] Re: A basic question

2005-11-27 Thread Matt Monaco
In your server configuration file (httpd.conf for apache) you specify which extensions are parsed by the php module. It is perfectly acceptable for you to specify .html in addition to .php as a parsed extension. Oil Pine [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am

Re: [PHP] Benchmarking SPL Iterators vs for / foreach ???

2005-11-27 Thread Curt Zirzow
On Sat, Nov 26, 2005 at 02:36:26PM +0200, Andrei Verovski (aka MacGuru) wrote: Hi, Someone have benchmarked SPL iterators vs for / foreach loops? What is the performance penalty? SPL is �interpreted wrapper� on the top of C++ STL (correct me if I am wrong), and I am sure it uses STL

Re: [PHP] Unable to compile php 5.1 / 5.1RC ok

2005-11-27 Thread Curt Zirzow
On Sat, Nov 26, 2005 at 11:55:25AM -0400, robert mena wrote: Hi, I am trying to compile php 5.1 but it fails with pdo error messages './configure' '--with-apxs2' '--with-mysql=/usr' '--enable-soap' '--with-xmlrpc' --with-zlib --enable-pdo=shared --with-pdo-mysql=/usr

Re: [PHP] Web based editor

2005-11-27 Thread Tom Chubb
I don't know about TinyMCE - about to look at it, but I have found FCKeditor very slow. HTH On 26/11/05, Todd Cary [EMAIL PROTECTED] wrote: Joe - Thank you. I like how TinyMCE integrates. Todd Joe Wollard wrote: On Nov 26, 2005, at 12:11 PM, Todd Cary wrote: I want to provide the

Re: [PHP] Web based editor

2005-11-27 Thread Mark Steudel
I agree that FCKEditor is kinda slow as well. One of my problems is that it doesn't provide XHTML valid code. But it's a very robust free version. . But it does do some pretty amazing things like allow you to copy and paste from a website directly into the editor, or browse the server etc.  

Re: [PHP] question

2005-11-27 Thread adriano ghezzi
server and client are logical definitions, in the environment here normally discussed these are meanings server : a pc (cpu) where a web server is running (usually apache) and php is parsing pages served to the client client: is a pc (cpu), normally remote, who is asking for a page to the server

Re: [PHP] Web based editor

2005-11-27 Thread Todd Cary
Tom - I noticed that too: http://209.204.172.137/emailer/php/examples/example_full.htm http://209.204.172.137/FCKeditor/_samples/php/sample01.php Todd Tom Chubb wrote: I don't know about TinyMCE - about to look at it, but I have found FCKeditor very slow. HTH On 26/11/05, Todd Cary [EMAIL

[PHP] Re: question

2005-11-27 Thread M. Sokolewicz
I see by your questions that you lack the basic insight into what is what exactly in the php/ICT/etc.-world. This is obviously not a bad thing(tm), all of us started with no knowledge and slowly grew into it. So, I hereby will give you a couple of links: * http://en.wikipedia.org/wiki/Server

Re: [PHP] Web based editor

2005-11-27 Thread Curt Zirzow
On Sun, Nov 27, 2005 at 12:52:42PM -0800, Mark Steudel wrote: I agree that FCKEditor is kinda slow as well. One of my problems is that it doesn't provide XHTML valid code. But it's a very robust free version. . But it does do some pretty amazing things like allow you to copy and paste

Re: [PHP] When to make a class

2005-11-27 Thread Ahmed Saad
On 11/27/05, Todd Cary [EMAIL PROTECTED] wrote: Ahmed - Been there! What would you suggest? My HTML looks like this if I use this look at http://smarty.php.net -ahmed

Re: [PHP] Web based editor

2005-11-27 Thread Greg Donald
On Sun, 2005-11-27 at 14:54 -0800, Curt Zirzow wrote: I wouldn't expect any wysiwyg editor to comply to any standard. Tiny MCE seems to make an attempt at XHTML 1.0: http://tinymce.moxiecode.com/tinymce/docs/option_valid_elements.html Having a copy of the 1216 page XHTML Black Book here on my

Re: [PHP] Web based editor

2005-11-27 Thread Mark Steudel
  Here's one that I haven't used that claims it does XHTML 1.1 strict . It's not free though   http://xstandard.com/ -Original Message- From: Curt Zirzow [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sun, 27 Nov 2005 14:54:47 -0800 Subject: Re: [PHP] Web based editor

Re: [PHP] Web based editor

2005-11-27 Thread Mark Steudel
Wow cool, looks nice. Our company does a lot of CMS stuff and I'm not a great fan of FCKeditor so far and am always on the look out for something better. -Original Message- From: Greg Donald [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sun, 27 Nov 2005 19:16:47 -0600