[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 
Apache's limit of 2MB. I guess there is a way of increasing this limit 
(probably by .htaccess file - I'm not authorized to make changes in 
httpd.conf) but I don't think it's the best option here.


What I want to do is some kind of small client application running 
locally on my PC Windows machine. I thought of cURL handling ftp file 
uploads and a simple web service putting file info into database. Then 
add a GUI (PHP-GTK or WinBinder). I want to make it as simple to use as 
possible.


Have some of you ever made something like that? Maybe there are other 
techniques to make this kind of application in PHP. I'm a newbie to cURL 
and web services and I don't want to invent a wheel again. Any 
suggestions would be more than welcome.


Best regards,
Ajree

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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

 -Original Message-
 From: Sylvain Gourvil [mailto:[EMAIL PROTECTED]
 Sent: 28 September 2005 12:57 PM
 To: php-general@lists.php.net
 Subject: Re: [PHP] Web Service Php - Currency Conversion

 Jasper Bryant-Greene wrote:
  Sylvain Gourvil wrote:
 
  I am looking of a webservice whiwh could permit to convert euro price
  in dollar and uk pounds on my php website !
 
 
  http://pear.php.net/package/Services_ExchangeRates
 


 Thanks for that but there is a bug in installation.
 It seems to be great. If someone has something else, I'll be pleased

 Have a good day !

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




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 across versions (IIRC. they broke backward compatibility in
version 5).. Use md5() or sha1() so you know what alghorithm is used
and you can be almost sure that implementation across langauges and
versions is the same.

so when you store the password do a query like:

$sql .= INSERT INTO sometable (name, password) VALUES ('someuser',
md5('somepassword'));

PHP has an md5() and sha1() too, check the manual for  them

-ahmed


[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

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

i hope that makes some kind of sence...

Dave C

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 existing one. Any suggestions?


Thanks in advance,
Ajree

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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')), // floor
   mktime(0, 0, 0, 4, 1, date('Y')), // ceiling
   mktime(13, 45, 0, 3, 15, 2005)// random date
  );

echo ($a[3]  $a[1]  $a[3]  $a[2]) ? in range : out of range;

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 IMHO, such function good in
terms of rapid coding but bad  if you ever get a graphic/web designer
to redo your designs 'cause he or she will be all (!!) at your php
code.

-ahmed


--


-ahmed


[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 have reached apache security settings.
 or try add `option +exec' to your apache conf, but be aware this maybe
 a security problem to your site to do so.

 On 11/24/05, Henry Castillo [EMAIL PROTECTED] wrote:
  Hi
  Still desperate
  DOCUMENT_ROOT is /var/www/html
  Check all settings at http://provi.voicenetworx.net:8080/t.php
  From the command line it runs perfectly:
  [EMAIL PROTECTED] html]# /var/www/html/myprog -E 123456789098.dat 
  sample1.txt
  sample1.new
  (no output, it just creates the file .new)
 
  Here is the php I've created, fairly simple:
  ?php
  exec(/var/www/html/myprog -E 123456789098.dat sample1.txt
  sample1.new);
  phpinfo();
  ?
 
 
 
  On 11/22/05, n.g. [EMAIL PROTECTED] wrote:
  
   is /var/www/html your web root dir ?
   maybe its the plobrem.
  
   On 11/23/05, Henry Castillo [EMAIL PROTECTED] wrote:
That was on of the first things I checked:
safe mode is set to off
 Any ideas...
Henry
  Voip tech said the following on 11/20/2005 10:31 PM:
 Hello,
 I cannot get exec(), system() or passthru() to run an extenal
  program.
 From the command line it runs perfectly:
   
snip
   
 I'm getting frustrated, Any help will be deeply appreciated
 Henry
   
The answer is probably in your php.ini. Look into whether you are
running in safe mode or not, and if you are whether you have your
program in the safe_mode_exec_dir or not. Also check
 disable_functions
to see if any of the ones you are having trouble with are listed.
   
- Ben
   
   
  
  
   --
   Tomorrow will be a good day :-)
  
 
 


 --
 Tomorrow will be a good day :-)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 implementation is not
consistent across versions (IIRC. they broke backward compatibility in
version 5).. Use md5() or sha1() so you know what alghorithm is used
and you can be almost sure that implementation across langauges and
versions is the same.


Yes, That's something important.

Yaswanth, take a look at: 
http://phpsec.org/articles/2005/password-hashing.html


Regards.

--
Gustavo Narea.
PHP Documentation - Spanish Translation Team.
Valencia, Venezuela.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 you're describing is 
INSERT...SELECT syntax.  In your example, something like:

INSERT INTO mytable (name, code, price)
SELECT 'NEW', code, '33' FROM mytable
WHERE name = 'BASE' /* or whatever rows you need to copy */

Supported by MySQL, PostGres and others.

--
Max Schwanekamp http://www.neptunewebworks.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 '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 existing one. Any suggestions?

 Thanks in advance,
 Ajree

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 coming from the threads? 
   5. Can you provide a remote server to serve as a database?

   Hoping for your kind response. Thank you.

   LOUIE



-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

[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 ( nbsp; p);

?
-


time.html
---
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html

head
  titleLocal Time/title
  meta name=GENERATOR content=Text Editor
  meta http-equiv=Content-Type content=text/html; charset=utf-8
/head
body
pThis is a test./p
?php
$serverdate = date(l, d F Y h:i a);
print ($serverdate);
print ( nbsp; br);
?
p/ppThis is the end./p
/body
/html
---

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 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 ( nbsp; p);

 ?
 -


 time.html
 ---
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 html

 head
   titleLocal Time/title
   meta name=GENERATOR content=Text Editor
   meta http-equiv=Content-Type content=text/html; charset=utf-8
 /head
 body
 pThis is a test./p
 ?php
 $serverdate = date(l, d F Y h:i a);
 print ($serverdate);
 print ( nbsp; br);
 ?
 p/ppThis is the end./p
 /body
 /html
 ---

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 which every instruction gets sent to for processing.
And yes a server is a computer.
Technically what makes a server a server is the fact that it serves something.
Take any computer out there say a 133MHz install a web server on it (apache) 
and boom you now have a server that serves webpages.

2. Do i have to buy a seperate server besides my computer CPU?
No but generally it's recommended if your wanting good server performance and 
a unshakable uptime. By using the computer for every day you work you expose 
the server/computer to performance hits and possible program crashes that may 
also affect the underlaying OS.

3. Can i use the software to multiple web-domain that i will create
and launch online?
I assume you mean you want to be able to host websites from multiple domains 
and the answer is yes. Apache has that functionality and is well documented 
all over the place.

4. How will i be able store those data coming from the threads?
You store them using those threads however you feel like it? I guess I don't 
really understand this question.

5. Can you provide a remote server to serve as a database?
Php has support to connect to remote database servers yes. you may also run 
the database server locally to the server. I personally recommend PostgreSQL. 
Others I'm sure will recommend MySQL.

Hoping for your kind response. Thank you.

LOUIE



 -
  Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 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 ( nbsp; p);

 ?
 -


 time.html
 ---
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 html

 head
  titleLocal Time/title
  meta name=GENERATOR content=Text Editor
  meta http-equiv=Content-Type content=text/html; charset=utf-8
 /head
 body
 pThis is a test./p
 ?php
 $serverdate = date(l, d F Y h:i a);
 print ($serverdate);
 print ( nbsp; br);
 ?
 p/ppThis is the end./p
 /body
 /html
 --- 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 callbacks. But unlike C++, PHP scripts are 
 interpreted, so pointer arithmetic will work only through Zend engine which 
 for sure  adds extra performance penalty.
 
I think you're confused at what SPL is in php:

http://php.net/spl

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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
 
 ext/sqlite/.libs/sqlite.o(.text+0x1365): In function `zm_startup_sqlite':
 /home/build/php-5.1.0/ext/sqlite/sqlite.c:1100: undefined reference to
 `php_pdo_register_driver'
 ...
 collect2: ld returned 1 exit status
 make: *** [sapi/cli/php] Error 1
 
 I do have sqlite/sqlite-devel installed.

If you compile pdo as a shared module, it is required that you also
compile all the pdo drivers as shared and also the standard sqlite
extension:
  --with-pdo-mysql=shared,/usr 
  --with-pdo-sqlite=shared and 
  --with-sqlite=shared

And you'll have to add the entries in your php.ini:

  extension_dir=/path/to/php-modules/
  extension=pdo.so
  extension=pdo_sqlite.so
  extension=sqlite.so

Or

Just compile pdo statically into php, you would just need:

  --with-pdo-mysql=/usr


Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 user with an editor like
 
  http://209.204.172.137/FCKeditor/_samples/php/sample01.php
 
  Is it best to use a JavaScript based editor?
 
  Are there some favorites out there or is the FCKeditor about as
  good as they get?
 
  Todd
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
  I don't know if one is better than the next, but I've used TinyMCE in
  the past and it has served me well.
  http://tinymce.moxiecode.com/

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




--
Tom Chubb
[EMAIL PROTECTED]
07915 053312


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.

 

Check out: http://www.htmlarea.com/ [http://www.htmlarea.com/] for a large 
list of free and paid for editors.



-Original Message-

From: Tom Chubb [EMAIL PROTECTED]

To: Todd Cary [EMAIL PROTECTED]

Cc: php-general@lists.php.net

Date: Sun, 27 Nov 2005 20:44:33 +

Subject: Re: [PHP] Web based editor



 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 user with an editor like

  

   http://209.204.172.137/FCKeditor/_samples/php/sample01.php

  

   Is it best to use a JavaScript based editor?

  

   Are there some favorites out there or is the FCKeditor about as

   good as they get?

  

   Todd

  

   --

   PHP General Mailing List (http://www.php.net/)

   To unsubscribe, visit: http://www.php.net/unsub.php

  

  

   I don't know if one is better than the next, but I've used TinyMCE

 in

   the past and it has served me well.

   http://tinymce.moxiecode.com/

 

  --

  PHP General Mailing List (http://www.php.net/)

  To unsubscribe, visit: http://www.php.net/unsub.php

 

 

 

 

 --

 Tom Chubb

 [EMAIL PROTECTED]

 07915 053312

 



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

is it enough, do I well understand the question ?

cheers.



2005/11/27, Stephen Leaf [EMAIL PROTECTED]:
 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 which every instruction gets sent to for processing.
 And yes a server is a computer.
 Technically what makes a server a server is the fact that it serves something.
 Take any computer out there say a 133MHz install a web server on it (apache)
 and boom you now have a server that serves webpages.

 2. Do i have to buy a seperate server besides my computer CPU?
 No but generally it's recommended if your wanting good server performance and
 a unshakable uptime. By using the computer for every day you work you expose
 the server/computer to performance hits and possible program crashes that may
 also affect the underlaying OS.

 3. Can i use the software to multiple web-domain that i will create
 and launch online?
 I assume you mean you want to be able to host websites from multiple domains
 and the answer is yes. Apache has that functionality and is well documented
 all over the place.

 4. How will i be able store those data coming from the threads?
 You store them using those threads however you feel like it? I guess I don't
 really understand this question.

 5. Can you provide a remote server to serve as a database?
 Php has support to connect to remote database servers yes. you may also run
 the database server locally to the server. I personally recommend PostgreSQL.
 Others I'm sure will recommend MySQL.
 
 Hoping for your kind response. Thank you.
 
 LOUIE
 
 
 
  -
   Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 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 user with an editor like

http://209.204.172.137/FCKeditor/_samples/php/sample01.php

Is it best to use a JavaScript based editor?

Are there some favorites out there or is the FCKeditor about as
good as they get?

Todd

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



I don't know if one is better than the next, but I've used TinyMCE in
the past and it has served me well.
http://tinymce.moxiecode.com/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






--
Tom Chubb
[EMAIL PROTECTED]
07915 053312



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 will explain what a server exactly 
IS and what it MEANS when someone talks about a server (it's slightly 
confusing at first, but the links at the bottom should solve that.
* http://en.wikipedia.org/wiki/Central_processing_unit to explain what a 
CPU is (and I guess you didn't mean CPU when you said CPU)


As for your last question: host it yourself on your own server. A 
server(-machine) isn't restricted to running 1 server-application. It 
can (in most cases) easily accomodate multiple (eg. a webserver, an FTP 
server, a database server, etc. are common server-applications (usually) 
running on the same server-machine).


hope that helped you,
- tul

cheeto borje wrote:

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 coming from the threads? 
   5. Can you provide a remote server to serve as a database?

   Hoping for your kind response. Thank you.

   LOUIE




-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 from 
 a website directly into the editor, or browse the server etc.

I wouldn't expect any wysiwyg editor to comply to any standard.

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 desk makes me
think their XHTML validation list is a bit incomplete, but it does look
like they have the most common elements in there.

I've tried lots of javascript wysiwyg editors.  Tiny MCE is my pick.
Fast and very customizable.  The cleanup functionality works great with
non-techies who like to draft stuff in MS Word first.


-- 
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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



 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 from 

  a website directly into the editor, or browse the server etc.

 

 I wouldn't expect any wysiwyg editor to comply to any standard.

 

 Curt.

 -- 

 cat .signature: No such file or directory

 

 -- 

 PHP General Mailing List (http://www.php.net/)

 To unsubscribe, visit: http://www.php.net/unsub.php

 



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

Subject: Re: [PHP] Web based editor



 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 desk makes

 me

 think their XHTML validation list is a bit incomplete, but it does look

 like they have the most common elements in there.

 

 I've tried lots of javascript wysiwyg editors.  Tiny MCE is my pick.

 Fast and very customizable.  The cleanup functionality works great with

 non-techies who like to draft stuff in MS Word first.

 

 

 -- 

 Greg Donald

 Zend Certified Engineer

 MySQL Core Certification

 http://destiney.com/

 

 -- 

 PHP General Mailing List (http://www.php.net/)

 To unsubscribe, visit: http://www.php.net/unsub.php