Re: [PHP] Basic question

2010-11-09 Thread Sharl.Jimh.Tsin
why not search them with keywords cli cgi diff? they are all the Interface to PHP interpretor. one is Command Line I,another is Common Gateway I. Best regards, Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**) 2010/11/9 Tseveendorj Ochirlantuu tseveend...@gmail.com: Hello, I would

Re: [PHP] Basic question

2010-11-09 Thread Daniel P. Brown
On Tue, Nov 9, 2010 at 02:55, Tseveendorj Ochirlantuu tseveend...@gmail.com wrote: Hello, I would like to know what is the difference between follows. PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010 13:49:46) and PHP 5.1.6-pl6-gentoo (cgi-cgi) They are completely

[PHP] Basic question

2010-11-08 Thread Tseveendorj Ochirlantuu
Hello, I would like to know what is the difference between follows. PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010 13:49:46) and PHP 5.1.6-pl6-gentoo (cgi-cgi) One is cli another is cgi-cgi . Sincerely, Tseveen.

Re: [PHP] Basic question - PHP usage of SVG files [SOLVED]

2007-11-24 Thread tedd
At 1:14 PM +0900 11/24/07, Dave M G wrote: Larry, Thanks for your advice. With the XML editor available within PHP, I've made a small script that can extract the point data inside an SVG file, and store them as an array of points. That array can then be used to draw and fill shapes in a

Re: [PHP] Basic question - PHP usage of SVG files [SOLVED]

2007-11-23 Thread Dave M G
Larry, Thanks for your advice. With the XML editor available within PHP, I've made a small script that can extract the point data inside an SVG file, and store them as an array of points. That array can then be used to draw and fill shapes in a PNG image. And since they are stored as an

Re: [PHP] Basic question - PHP usage of SVG files  [SOLVED]

2007-11-21 Thread Dave M G
Casey, There is no SVG support in PHP, as far as I know. Thank you. That clears things up. I'll just go with PNGs then. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Basic question - PHP usage of SVG files [SOLVED]

2007-11-21 Thread Larry Garfield
On Wednesday 21 November 2007, Dave M G wrote: Casey, There is no SVG support in PHP, as far as I know. Thank you. That clears things up. I'll just go with PNGs then. I think you missed the point. SVG is just text. It's XML. You can manipulate it with SimpleXML or the DOM API functions

Re: [PHP] Basic question - PHP usage of SVG files

2007-11-21 Thread Dave M G
Larry, Thank you for responding. I think you missed the point. SVG is just text. ... There's no need for SVG support per se, as SimpleXML provides all you need anyway. I did miss the point - thanks for setting me straight. However, I'm still unsure about using SVGs. On the one hand, what

Re: [PHP] Basic question - PHP usage of SVG files

2007-11-21 Thread Larry Garfield
On Wednesday 21 November 2007, Dave M G wrote: Larry, Thank you for responding. I think you missed the point. SVG is just text. ... There's no need for SVG support per se, as SimpleXML provides all you need anyway. I did miss the point - thanks for setting me straight. However, I'm

[PHP] Basic question - PHP usage of SVG files

2007-11-20 Thread Dave M G
PHP list, I have some images that are in SVG format. What I want to do with them is manipulate them by resizing and overlaying one on top of the other. I do this frequently with PNG images, and I could first convert these images to PNG before manipulating them in PHP. However, I'd like to

Re: [PHP] Basic question - PHP usage of SVG files

2007-11-20 Thread Casey
On Nov 20, 2007 7:24 PM, Dave M G [EMAIL PROTECTED] wrote: PHP list, I have some images that are in SVG format. What I want to do with them is manipulate them by resizing and overlaying one on top of the other. I do this frequently with PNG images, and I could first convert these images to

Re: [PHP] Basic question - Starting a background task without waiting for its end.

2007-01-02 Thread Richard Lynch
You can try tacking a at the end to fork the Notepad opening... It may or may not work depending on a bunch of factors. Don't be surprised if it works and makes your Windows box even more unstable than it already way, and you get random crashes from this. Thread-safety within PHP extensions is

Re: [PHP] Basic question - Starting a background task without waiting for its end.

2007-01-01 Thread Martin Alterisio
2006/12/31, Michel [EMAIL PROTECTED]: I (very simply) try to open a notepad on a simple text file in a simplistic PHP script, and would like to go on and display the next page without waiting for this notepad to be shut. After various attempts, I have used an : exec ('bash -c cmd /C start

[PHP] Basic question - Starting a background task without waiting for its end.

2006-12-31 Thread Michel
I (very simply) try to open a notepad on a simple text file in a simplistic PHP script, and would like to go on and display the next page without waiting for this notepad to be shut. After various attempts, I have used an : exec ('bash -c cmd /C start /MAX notepad my_file NUL'); ... but

Re: [PHP] Basic question - Starting a background task without waiting for its end.

2006-12-31 Thread Jochem Maas
Michel wrote: I (very simply) try to open a notepad on a simple text file in a simplistic PHP script, and would like to go on and display the next page without waiting for this notepad to be shut. After various attempts, I have used an : exec ('bash -c cmd /C start /MAX notepad my_file

[PHP] basic question

2003-02-14 Thread Tyler Durdin
What is the most secure way to access a mysql db with a php script? And could someone provide an example? What are the best password practices for the script to connect to the mysql db? Also, how should I set the directory permissions for the html pages with php scripts?