Hi,
The problem I had has not exactly the same, but quite close,
it was to make a pure xml template system both data and template,
anyway it was due to the same expat design problem, which is
the entities that are located in attribute values inside tags.
The solution I have used was just to prese
> Does anyone knows if PHP library for ImageMagick has multilanguage support?
> I am planning to use it but I have not found anything related to this on
> their site
Do you mean for the error messages ?
IMHO the error messages are for the programer, so there is not a real need to
be multi-languag
Install the devel package of imageMagick in addition to the binary one.
Or install ImageMagick from sources.
Magick-config gives the c and ld flags to gcc, of all the libs that the
lib-magick uses :
gcc `Magick-config --cflags` app.c `Magick-config --ldflags --libs`
http://www.imagemagick.org/www/
hello,
I am parsing an xhtml template throught the php xml expat parser.
But the problem is that it removes all entities from the xhtml template
such as or & (in href anchors attributes)
The entities can't be handle with xml_set_default_handler because some
entities are inside an attribute (ti
hello,
I have put the flag --sourcecode on on the phpdoc command line
and the tag @filesource in my page-level docblock
phpDocumentor claims that
'ERROR in my.php on line 12: "filesource" tag is not available in PHP versions
less than 4.3.0, tag ignored'
But it does lie: my phpinfo() says my #!/
hi all,
I am looking for a file management system.
Does anyone know if such a thing exists?
The goal is to make a web site with computer graphics resources.
The features we would like to find in it would be these if possible:
- the possibility to upload files
- the possibility to check the uploa
Hello,
Are Problems of colisions with a script writing in a file possible?
For exemple for a PHP script reading a file, and rewriting it with
modifications, when it is called a lot of times simultaneously, are conflicts
possible? (over-writing the modifications)
or does each session of this scri
> >What is the best one for large files? (something about 8Mo)
>
> Parse with SAX, use printf to produce output.
Ok, it seems this method is defenitly a good one.
I was wondering if it was a good one too, to read the XML file with fgets,
and using ereg fonctions to make the modifications?
--
Th
hello!
What is the best solution to modify an XML file?
(Modification such as change the content of a tag or of an attribute)
I think there would be several methods.
What is the best one for small files? (something about 20Ko)
What is the best one for large files? (something about 8Mo)
What shoul
hello,
What is the better way to read from a pipe from a php cli script?
#! /usr/bin/php -q
or
I have tryed these ways, but the problem is that if there is no pipe input,
the script is waiting for ^D from the user (so this is a problem if the php
filter is used in a bash script, because it wil
> > Is it possible to make php scripts working like deamons
> > and build something like a server?
>
> What you trying to achieve...
Well nothing particular, just wondering howto...
For exemple, the script make some calculations, but niced 19 in background
and/or when the computer is idl. And if
hello,
Is it possible to make php scripts working like deamons
and build something like a server?
--
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I was wondering if you any advice as to why the imagick function
> imagick_readimage can not read a url on my php installation.
>
> Problem: I am trying to get imagick to load an image from a URL. I can
> read from a file on the a file system no problem.
>
> $url = "http://static.php.net/www.
hello,
Where should php-cli scripts be installed?
I have put the main file in /usr/local/bin/script.php
but I wonder where requires should be installed?
/usr/local/bin/script_inc/ ?
the problem is that it have to be exec from a boot shell after a cd
to find the requisites :-/
I also would like to
hello
Is there a php function close to the *nix diff comand?
(in order to compare 2 multi-lines strings)
thanx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi, I have the warning message below.
In which conf file can I set session.bug_compat_42 or
session.bug_compat_warn to off?
And where can I find this conf file?
(annexe question: Is it possible to get the warnings in a variable so I
could print it in html comment, or write it in a log file?)
th
I don't understand why gzinflate and gzuncompress don't work?
but if I make it from bash the content is there :
cat hello.txt.gz | gunzip
Hello!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> > Is there a way, for a cli script, to detect Ctrl_D or Ctrl_Z ?
[...]
> Take a look at pcntl functions, namely pcntl_signal.
> But this extension is not enabled by default.
Ok thanks a lot.
Will those functions be integrated in the next main release?
This question is just to know if I distribu
hi all,
Is there a way, for a cli script, to detect Ctrl_D or Ctrl_Z ?
My cli php script runs a loop while(1) and I would like to find a way to
stop it from a user action.
(Waiting a better solution I've made: if(file_exists('./stop'))
and type the command >stop to stop the script.
I can not use
I do not understand why this line does not work :
$info[$element] = $content;
but yet this works: echo $content;
why? what is the trick?
--
$xml_comment_file = basename($svg_file, '.svg.xml') .'.info.xml';
if (file_exists($xml_comment_file)) {
$file = $xml_comment_file;
$info = array
Hi, is it possible to get, from a php script, the memory size it takes ?
Is there documentations explaining how to manage resources in php ?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi the list,
How can I get the values of 'max_execution_time', 'max_input_time' and
'memory_limit' from my php script ?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
For people interested in presenting php code on their web site and
integrate it with their css, here is a small sed script I have made.
Just change the colors in it, or move it to your css.
===
# Put php sources in SRC dir, or change FROM definition.
FROM=SRC
DEST=listing
if [
First, excuse-me for this out of topic message.
I am searching a good mailling-list for people trying to write standard
XHTML and CSS.
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
finaly I did it this way : (pasted at the end of the mail)
But the problem is the result is very dirty,
considering the result with other way to do this.
top-left is the image in XPM-format
top-right is the image in PNG-format
bottom-left is a classic php-gtk-script displaying an XPM image
bottom
I had thought too that it is possible to write a temp file for this image,
but it would be much better i think if there was another way...
Is it really impossible to prevent from this hard disk access ?
--
> Write it to a tem file then use file_get_contents() on the file name.
>
[...]
> >With i
> FYI ... anything below PHP5 has a pseudo constructor.
And how will it be in PHP5 ?
> Since you are inheriting the class the 'constructor' for the parent class
> should work. If it doesn't (I have not tested it, and neither have
> you)then the class extension can contain a 'contstructor' that
> If you unset an array that isn't associative, will that mean there will
> be a gap in the numbers?
Yes the items are grabed by their index.
I'm using those arrays to manipulate 3D geometric shapes,
(either vrml/x3d, OpenGL, POV and other ones**)
so cartesian coordinates are first referenced in a
> unset($A[2]);
No this function does not exactly what I want.
unset() makes empty hole with $A[2] = Null
I would like to have this result :
Array
(
[0] => a
[1] => b
[2] => d
[3] => e
[4] => f
)
and not this one :
Array
(
[0] => a
[1] => b
[3] => d
[4] => e
> is it possible to remove an element of an indexed array such as this
> exemple $A = array('a', 'b', 'c', 'd', 'e', 'f');
> in a way that we can optain this result :
> $A = array('a', 'b', 'd', 'e', 'f');
>
> something like that perhaps ?
> array_remove($A, 2);
>
> If such a function does no
is it possible to remove an element of an indexed array such as this exemple
$A = array('a', 'b', 'c', 'd', 'e', 'f');
in a way that we can optain this result :
$A = array('a', 'b', 'd', 'e', 'f');
something like that perhaps ?
array_remove($A, 2);
If such a function does not exis
this way may be what you'd like :
$thing = new whatever ();
$with = array (doStuff', anotherThing', doThis', doThat', doThis',
doThat', anotherThing', doThis', /* etc. etc. */ );
foreach($with as $w) $thing->$w();
--
> Is there a way I can make this type
> try setting zlib.output_compression_level in your php.ini
won't it turn 'zlib.output_compression' to On ?
(because I prefere to keep it Off)
--
> > > function wrl2wrz($buffer) { return gzencode ($buffer, 9); }
> > ob_start("wrl2wrz");
> > /* here the file */
> > ob_end_flush(); # end of t
Dear All,
In this exemple with output beffering it is possible to select the maximum
compression level,
is it possible to select the maximum compression level too
when writing in a file like below ??
$gzp = fopen($output_file, 'w');
gzwrite($gzp, $content);
gzclose($gzp);
I think that the
Is it possible to put PHP code in eval ?
Or just vars ?
';
eval ($string);
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I would expect compiled C/C++ to be faster as there is no need for
> the code to be interperated and compiled on each request.
Is it possible to compile PHP to improve the speed execution ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to install PHP-GTK
here is below the error :
[EMAIL PROTECTED] php-gtk-0.5.2]$ ./buildconf
[EMAIL PROTECTED] php-gtk-0.5.2]$ ./configure
[EMAIL PROTECTED] php-gtk-0.5.2]$ make
[]
/PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c:889: `gtk_object_ce
37 matches
Mail list logo