[PHP] Re: [PHP-DEV] Trying to input a webpage - need help

2002-08-16 Thread Markus Fischer
On Fri, Aug 16, 2002 at 08:02:17PM -0400, Ken Meyer wrote : > I am trying to write a script that will read a page from > another website. So long at the page is accessed via a "GET", > this is no problem; I just need to open the page using fopen, > readfile or file_get_contents. The problem is th

[PHP] Re: SV: [PHP-DEV] How to specify exstension_dir in PHP.ini for Windows

2002-08-28 Thread Markus Fischer
On Wed, Aug 28, 2002 at 01:16:44PM +0200, Steinar Kolnes wrote : > Thanks for the respond, I am actually using 'extension_dir' There was only a > typos in the e-mail. > The question however; how do I specify the directory ?? Chances are pretty high that you've modified the wrong php.ini

[PHP] Re: SV: SV: [PHP-DEV] How to specify extension_dir in PHP.ini for Windows

2002-08-28 Thread Markus Fischer
On Wed, Aug 28, 2002 at 02:09:57PM +0200, Steinar Kolnes wrote : > > When changing the directory to the latter it seems that it finds something > because it comes up with an new error message: > "The procedure entry point _Zend_list_delete could not be located in the > dynamic link library php4t

[PHP] Re: [PHP-DEV] problem in starting apache in win2k with mcrypt and mhash module

2002-09-05 Thread Markus Fischer
You're mixing an older library with a newer php version (or the other way around). Please clean up your system first. Please ask on [EMAIL PROTECTED] next time. (Reply-To set). - Markus On Fri, Sep 06, 2002 at 09:56:59AM +0800, Terence Lee wrote : > Hello > > i've uncommen

[PHP] Re: [PHP-DEV] Lib creation

2002-10-08 Thread Markus Fischer
[Cc'd to [EMAIL PROTECTED]] On Tue, Oct 08, 2002 at 12:40:12PM +0200, Metal3d wrote : > Hello > I'm new here, and i'll try to stay ... :oP > I'm French so excuse me if i do mistakes . > > My friend and I have created a lib in php ( a framework) ... > So i wonder if it is possible to install

[PHP] Re: [PHP-DEV] PHP 4.3.0pre1 [updated]

2002-10-10 Thread Markus Fischer
Shouldn't this be synchronised with a Win32 binary release? (Apologies if pre1 binaries for Win32 are available, I can't seem to get the inforamtion where they are?) thanks, - Markus On Thu, Oct 10, 2002 at 03:05:22PM -0400, Andrei Zmievski wrote : > Apologies, the cor

[PHP] Re: [PEAR-DEV] phpDocumentor 1.1.0rc2 RELEASE ANNOUNCEMENT

2002-06-18 Thread Markus Fischer
Hey, you should really teach your webmaser to fix the site. First I thought "okay, he doesn't like opera" but then .. It's even a mess in IE5.5. Only NS4.7 which I just had by chance renders it readable (yet it looks completely different layout-wise) ... um. Plain text wo

[PHP] Re: [PHP-DEV] static not working as expected

2002-06-18 Thread Markus Fischer
'statis' is ONLY used inside functions. You need the 'var' keyword to define class property. This is true for ZE1, I can't tell if ZE2 has static class properties, anyone else? - Markus On Tue, Jun 18, 2002 at 10:42:43AM -0700, Purushotham Komaravolu wrote : > > class Coun

Re: [PHP] is it possible to communicate javascript and php?

2001-01-20 Thread Markus Fischer
m.submit(); return true; } //--> foo bar You know have set the phpvar $jsvar from within javascript. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~

Re: [PHP] Sending a mail in HTML format

2001-01-20 Thread Markus Fischer
is is a multi-part message in MIME format. --=_NextPart_000_062D_01C079C0.9DFF9B70 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ene mene u --=_NextPart_000_062D_01C079C0.9DFF9B70 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: qu

Re: [PHP] mysql table dump problem

2001-01-20 Thread Markus Fischer
file so it can be deleted. So... As i first shot, if you need it quickly to work, add a random number to the text file. Sorry, no more ideas, just a dirty hack. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http:

Re: [PHP] Getting part of a string

2001-01-20 Thread Markus Fischer
l validaten ( whereupon methinks Tom Christiansen email verifier [written in perl] is still the best validator). hope this helps m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc

Re: [PHP] my cookies arent working!

2001-01-20 Thread Markus Fischer
nd my > workstation for normal www sites but not for any of my php sites... How have you done cookie activation ? One easy way is to use session_start(); as it tries to set a cookie and fallsback to urlmodifieng if not possible. m. -- Markus Fischer, http://josefine.ben.tuwien.a

Re: [PHP] my cookies arent working!

2001-01-21 Thread Markus Fischer
is folder live? Where you think its best secure. Or no files at all and sessions saved to database (with session_handlers). But, what about cookies ? Session file layout has nothing to do make cookies work or not. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [E

Re: [PHP] Build with Apache on Linux

2001-01-21 Thread Markus Fischer
Why not building apache with dso support and build a libphp4.so shared image ? Much less hassle. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint

Re: [PHP] mysql_fetch_array strangeness

2001-01-24 Thread Markus Fischer
Because, basically, in php an array is a hash with just numbers as keys. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5

Re: [PHP] PHP without a webserver

2001-04-14 Thread Markus Fischer
On Sat, Apr 14, 2001 at 03:34:32PM -0500, Plutarck wrote : > The final layer is the scripting engine. In the script if a move_elevator() [...] > This would allow the vast majority of the real "content" of a game or > application to be written in a scripting language, much like web apps are > now.

Re: [PHP-CVS] What is CVS?

2001-04-20 Thread Markus Fischer
On Fri, Apr 20, 2001 at 05:16:50PM -0700, Michael C wrote : > What is CVS? Right at the top of http://cvs.php.net/viewcvs.cgi/ there're a bunch of links about CVS. HTH, Markus -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] URL redirection

2001-05-06 Thread Markus Fischer
header( 'Location: rediret_me_here.php'); - Markus - Original Message - From: "Jamie Saunders" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 12:20 AM Subject: [PHP] URL redirection > > Hi, > > Is there a PHP function that will redirect the current page to anothe

Re: [PHP] ANN: Visual PHP Studio 1.0 Field Test 1 (Problem Fixed)

2001-05-07 Thread Markus Fischer
Isn't using *.zip a bit more common ? Luckily I downloaded the *.exe before. - Markus - Original Message - From: "José León Serna" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 5:08 PM Subject: Re: [PHP] ANN: Visual PHP Studio 1.0 Field Test 1 (Problem Fixed) >

Re: [PHP] can't get php working on redhat 7.1

2001-05-09 Thread Markus Fischer
- Original Message - From: "Daniel Goldin (E-mail)" <[EMAIL PROTECTED]> To: "Php (E-mail) (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 9:47 PM Subject: [PHP] can't get php working on redhat 7.1 > Got apache going. But no php. Anyone had any experience on this the latest >

Re: [PHP] MSSQL

2001-05-14 Thread Markus Fischer
- Original Message - From: "Andreas Pucko" <[EMAIL PROTECTED]> To: "Php (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 12:19 AM Subject: [PHP] MSSQL > Hi there, > > while tying to connect to a MSSQL DB I get the error message: call to > undefined function. > > I thing my synt

Re: [PHP] Recursively create directories

2001-05-15 Thread Markus Fischer
- Original Message - From: "Philip Hallstrom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 7:01 PM Subject: Re: [PHP] Recursively create directories > > > >foreach($dir_array as $current_dir) { > > if(! is_dir($DOCUMENT_ROOT."/".$curr

Re: [PHP] Reports in web browser

2001-05-19 Thread Markus Fischer
On Sun, May 20, 2001 at 02:11:04AM +0200, Richard wrote : > You need to be more specific than that. > > You cannot demand the browser to start printing, [...] Not true if JavaScript is enabled (and most browsers do). window.print(); prints the document (but in fact, it will popup a printing d

Re: [PHP] function to complete strings with white spaces on the left

2001-05-21 Thread Markus Fischer
On Mon, May 21, 2001 at 10:04:21AM -0500, Tolga thorr Orhon wrote : > One improvment: > > $strpad = "HELLO"; > echo str_pad(substr($strpad,0,17),17); why ? - Markus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: [PHP] is not translated...

2001-05-21 Thread Markus Fischer
Hallo Chris, On Mon, May 21, 2001 at 04:08:52AM +0200, Christian Marschalek wrote : > My system does not tranlate into the PHP Session id... Don't > have a clue why, though... SID gets only defined if the appropriate cookie is NOT set (which makes sense: you don't need to populate it anywhere

Re: [PHP] if $submit

2001-05-21 Thread Markus Fischer
On Mon, May 21, 2001 at 03:15:37PM +0100, Tarrant Costelloe wrote : > Whenever I use the ? statement in a php page it always > comes up with: > > Warning: Undefined variable > Until the submit has been hit, and then it continue on with the rest of the > script fine ( ifelse). > > How do you st

Re: [PHP] Accesing Oracle

2001-05-21 Thread Markus Fischer
On Mon, May 21, 2001 at 03:21:30PM +0100, Kike wrote : > Hi all, > I've just installed Orcale 8.1.7 in a linux server in my lan. I'm trying to access >to > the server from another computer with apache and i get the next: > Fatal error: Call to undefined function: ora_logon() in > /usr/local/ap

Re: [PHP] query question

2001-05-21 Thread Markus Fischer
On Mon, May 21, 2001 at 10:36:42AM -0500, Jacky wrote : > What do I do if i want to move all values stored in one field > to another field in the same table, from field A to field B? > Has anyone ever done that? As simple as you think it should be UPDATE table SET column_a = column_b

Re: [PHP] best way to flush stdout?

2001-05-21 Thread Markus Fischer
On Mon, May 21, 2001 at 10:03:33AM -0700, Phil Glatz wrote : > I have a page that displays a few lines, then runs a database query that > takes five or six seconds. I'd like to flush stdout and display the first > text while the query is running, so the user doesn't think the site is > down.

Re: [PHP] PHP & URL Question - omitting index.php

2001-05-21 Thread Markus Fischer
On Mon, May 21, 2001 at 04:01:14PM -0400, colin olkowski wrote : > http://www.blahbalh.com/directory/?arg1=arg1&arg2=arg2 Perfectly ok. - Markus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

Re: [PHP] Class var not retaining values

2001-05-21 Thread Markus Fischer
On Mon, May 21, 2001 at 05:58:06PM -0400, Bob wrote : > I have a class defined with a var $reasons that I will use as an array. The > code to add to it is: > > function AddReason($score, $reason, $id) > { > static $index = 0; > $this->reasons[$index] = "$score|$reason|$id"; > for ($i =

Re: [PHP] array sort

2001-05-21 Thread Markus Fischer
On Mon, May 21, 2001 at 03:19:28PM -0700, Alex Black wrote : > hi all, > > I'm trying to do an array sort that takes: > > $test = array( > array( // this is $test[0]. > string => "this is the second", > num => 2 > ), > array( // this is $test[

Re: [PHP] array sort

2001-05-22 Thread Markus Fischer
On Mon, May 21, 2001 at 06:05:49PM -0700, Alex Black wrote : > > Use 'uasort()': > > > > function my_hash_sort( $a, $b) { > > $a = $a['num']; > > $b = $b['num']; > > if( $a == $b) return 0; > > return ( $a > $b) ? -1 : 1; > > } > > > > uasort( $test, 'my_hash_sort'); > > hoping this wouldn't b

Re: [PHP] problem getting oracle to work with php4

2001-05-22 Thread Markus Fischer
On Tue, May 22, 2001 at 07:06:32PM +0200, [EMAIL PROTECTED] wrote : > got php to work with mysql but when I try to compile in oracle support > something goes bad. > .configure, make & make install semm to go fine > but when I restart apache I get an error: > Shutting down http: [OK] >

Re: [PHP] image upload - determining image resolution in pixels ?

2001-05-22 Thread Markus Fischer
On Tue, May 22, 2001 at 10:38:32AM -0700, Nicolas Mermet wrote : > I was wondering if there is a way to analize an uploaded jpeg file in > order to extract its resolution in pixels. GetImageSize() is a favourite one here. > Would that be also possible with a quicktime movie ? Possibly,

Re: [PHP] 3d array-number of elements in each dimension

2001-05-22 Thread Markus Fischer
On Tue, May 22, 2001 at 02:04:43PM -0700, Andrew V. Romero wrote : > I should clarify that I need to determine the number of elements in $j for > each row ($k). > > Thanks, > To reply personally, remove all numbers from address. Just a note: to receive mail post your real address. - Markus

[PHP] Re: Can you help me with this: Bug #11055: segmentation fault & core dump during make

2001-05-23 Thread Markus Fischer
tar.gz or try a 4.0.7-dev > > snapshot from http://snaps.php.net/php4-latest.tar.gz > > Cameron > > Since the error comes from : > /sybase-ct/lib/libct.a(ctconpr.o)(.text+0x5ac): undefined reference to > `comn_loc_copy' > > I feel that this will not s

[PHP] Re: Bug #17121 Updated: failed to make with OCI8 for oracle support

2002-05-10 Thread Markus Fischer
Hi, this is not a bug issue, but an installation question. Either as on php-general@ (CC'd) or php-install@ (don't recall the exact name). Can't find clntsh usually means you don't have passed the right path to the oci PHP configure switch and/or the library isn't in

[PHP] Re: [PHP-DEV] Console application with PHP

2002-05-16 Thread Markus Fischer
Hi, all is possible. I suggest taking a look at http://gtk.php.net/ and http://www.php.net/manual/en/features.commandline.php for a start. - Markus On Fri, May 17, 2002 at 12:12:20AM +0800, DoL wrote : > Hi All > > I am trying to write something similar to a server con

Re: [PHP] Re: [PHP-DEV] Console application with PHP

2002-05-16 Thread Markus Fischer
9891 > 215 Fremont 02-658 > > > -Original Message- > From: Markus Fischer [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 16, 2002 11:58 AM > To: DoL > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] Re: [PHP-DEV] Console application with PHP > > > Hi, &g

[PHP] Re: [PHP-DEV] What's wrong with my PHP

2001-10-21 Thread Markus Fischer
Please ask support questions at [EMAIL PROTECTED] And, check what type '$this->a' is. It's probably not an array. - Markus On Sun, Oct 21, 2001 at 05:33:25PM +0800, fatbobman wrote : > when i try to open add a record to my db.. > php tell me > Warning: Cannot use a scalar value as an array in

[PHP] Re: Testing Alert: Significant changes to DOM-XML

2001-12-01 Thread Markus Fischer
[This mail goes out to php-dev, php-qa and php-general and has its Reply-To: set to php-dev!] Hi Zak, thanks for the mail, I was thinking about writing such a mail myself but was to tired I guess. Yep, the CVS note to the latest ext/domxml changes state it clearly:

[PHP] Re: [PHP-DEV] Constructor Inheritance

2001-05-21 Thread Markus Fischer
Hello Tiago, this is not the PHP support forum. PHP-DEV is for developing PHP. You want to post such questions to PHP-GENERAL. On Mon, May 21, 2001 at 04:17:49PM +0100, Tiago Moitinho wrote : > How do I inherit a class that inherits the constructor behaviour from the > parent class, assuming th

Re: [PHP] select specified elements from an array

2001-05-22 Thread Markus Fischer
On Wed, May 23, 2001 at 12:06:42AM +0200, Gyozo Papp wrote : > function array_part($fromarray, $keys) > { > foreach($fromarray as $key => $val) > { > if (in_array($key, $keys) >$anotherarray[$key] = $val; > } > return $anotherarray; > } foreach( $keys as $key)

Re: [PHP] select specified elements from an array

2001-05-22 Thread Markus Fischer
On Wed, May 23, 2001 at 12:27:04AM +0200, Gyozo Papp wrote : > Thanks for your fast reply. > One more question related to this topic. > Would it be valueable to extend the existing array_values() > function to support this feature? just to balance with > array_keys() and its optional value argum

Re: [PHP] Missing arguments for function in class? (object-oriented programming)

2001-06-28 Thread Markus Fischer
On Wed, Jun 27, 2001 at 07:26:53AM -0600, Thomas David Kehoe wrote : [...] > $my_records = new Display_Records; [...] > > class Display_Records { > > function display_records($row, $record_count) { The constructor of your class assumes two parameters; you're creating an instance wi

Re: [PHP] Interfacing with Excel

2001-06-29 Thread Markus Fischer
cribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- Markus Fischer, http://guru.josefine.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://guru.josefine.at/~mfischer/

[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/~

[PHP] Re: [PHP-GTK] autoconf bugs

2001-08-13 Thread Markus Fischer
rt*** AC_LANG_PUSH > ***BUG in Autoconf--please report*** AC_LANG_POP > > - Dan > -- > > > -- > PHP GTK Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the lis

[PHP] Re: [PHP-GTK] autoconf bugs

2001-08-13 Thread Markus Fischer
There it is. You need 1.4 . No trailing a or b or whatsoever. - Markus On Mon, Aug 13, 2001 at 01:20:50PM -0400, Daniel Adams wrote : > 1.4b > > On Mon, 13 Aug 2001, Markus Fischer wrote: > > > What libtool version are you using ? > > > > libtool --version &

[PHP] Re: [PEAR] problem with a global variable as class reference

2001-09-15 Thread Markus Fischer
d it doenst work > > thanks 4 your help > > Wolfram Kriesing > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail

[PHP] Re: [PEAR] Re: [PHP] Re: [PEAR] problem with a global variable as class reference

2001-09-15 Thread Markus Fischer
od .. or bad. It's a Zend1 limitation. I'm sure Zend2 will remove this problem. > $curClass = &${"x"}; > $tempi = new temp(); Have you tried with creating a reference from the object upon instancing it? $foo = &new Object; ? - Markus -- Markus Fischer, http://g

[PHP] Re: [PHP-DEV] Bug #13545: oci8 compile problem

2001-10-04 Thread Markus Fischer
http://bugs.php.net/?id=13545&edit=1 > > > -- > PHP Development 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 PROTECTED]

[PHP] Re: [PHP-DEV] Bug #13545: oci8 compile problem

2001-10-05 Thread Markus Fischer
ny idea ? > Thanks for help, > Jerome > > > >>> -Message d'origine- > >>> De : Markus Fischer [mailto:[EMAIL PROTECTED]] > >>> Envoyé : jeudi 4 octobre 2001 20:45 > >>> À : [EMAIL PROTECTED] > >>> Cc : [EMAIL PROTECTE

[PHP] Re: [PHP-DEV] Bug #13545: oci8 compile problem

2001-10-05 Thread Markus Fischer
On Fri, Oct 05, 2001 at 01:10:17PM +0200, Jerome Ponsin wrote : > Yes it is a patch for glibc greater 2.1.3 (for me > it's 2.2). > > The problem doesn't appear with the cgi compilation... > Does that mean I can't install php module with Redhat 7.1 > for example, or is there something to do ? No

[PHP] Handling XML output in a slim way

2004-09-01 Thread Markus Fischer
Hi, up until now, when outputing XML I've been constructing the output as a continous string-soup in such ways like [...] $xml .= printf('%s', makeXmlSave($name), makexmlSave($contentOfItem)); [...] makeXmlSave() makes sure that quotes, ampersand, < and > are properly escaped with their entity r

Re: [PHP] Handling XML output in a slim way

2004-09-02 Thread Markus Fischer
Raditha Dissanayake wrote: If it's not broken don't fix it. If what you are doing right now works stick with it because it consumes very little memory or CPU compared to DOM functions. You are right, it works. But I'm not satisified and up until now I've been dealing with very simple XML documen

Re: [PHP] Handling XML output in a slim way

2004-09-02 Thread Markus Fischer
Manuel Lemos wrote: You may want to try this XML writer class. It lets you just add tags and data and then it outputs the data properly encoded and nicely indented according to your specifications. It does not requere any special extension. Probably exactly what I want, thanks. - Markus -- PHP G

[PHP] Automating the process of creating overviews of data

2004-09-20 Thread Markus Fischer
Hi, [Warnung: pretty long email about trying to make use of MVC and php5] I'm seeking some input in (architectually) designed my code so I can reach the following: - "overview" from the subject is defined as a table rows/columns displaying simple or complex results from an sql query - it is part

[PHP] Re: gmail accounts

2004-09-20 Thread Markus Fischer
Greg Donald wrote: I have some gmail accounts of anyone wants one. Email me off list. Limited supply, first requests, etc.. I would be interested if there's still one left ;) And now for my php question: Which do you prefer, echo() or print() ? I find that after I've done a bunch of Perl coding a

Re: [PHP] Re: gmail accounts

2004-09-20 Thread Markus Fischer
John Holmes wrote: From: "Markus Fischer" <[EMAIL PROTECTED]> Which do you prefer, echo() or print() ? Albeit that, they're identical I think (both are core language construct, no real functions). Come on... all good bottom-posting-firewall-turning-off PHP programmers k

[PHP] unpack on offsets in binary data in variable?

2007-01-08 Thread Markus Fischer
Hi, I'm searching for an efficient way to use unpack on binary data within a variable (php 5.1.something). In the past I was doing fopen fseek unpack( fread(...) fseek etc. Now this time I need to do the same, but I don't have an actual file: my data is only in a variable and I don't want to ope

[PHP] High quality image resizing

2007-03-23 Thread Markus Fischer
Hi, I'm searching for a high quality image resizing facility to be used within PHP in an Unix/Linux environment. Probably everyone will now answer: imagecopyresampled() However, the quality of that functionality doesn't match the expectations of our designers. I've done my tests with PHP4 and GD

[PHP] Re: High quality image resizing

2007-03-23 Thread Markus Fischer
Hi, Al wrote: > Suggest visiting the IM forums and asking for help. > > Also, try resizing some images here > http://studio.webbyland.com/MagickStudio/scripts/MagickStudio.cgi thanks for the hints, I'll give them a try. > I use php exec() for my work. Same here. I know there are PHP libraries

Re: [PHP] High quality image resizing

2007-03-23 Thread Markus Fischer
Richard Lynch wrote: > Perhaps you could run GIMP from the command line to get it to re-size... Thanks .. very interesting idea. I'll see if I can make this feasable. Having the server running without X may be problematic .. not impossible, but probably hard. > You should also consider what quali

[PHP] Re: dynamic class loaders

2005-04-19 Thread Markus Fischer
[EMAIL PROTECTED] wrote: Hi there i was wondering if there is such an extension available or possbility to have a dynamicclass loader extension which would use the request_uri as loading the class constructors ? I justthink building such a thing in php which is what i am doing too slow for each r

Re: [PHP] Re: dynamic class loaders

2005-04-20 Thread Markus Fischer
Dan Rossi wrote: Thanks this seemed to work except say you had a class Packagename_Classname its trying to load the file like that Packagename_Classname.php Well, you can put whatever logic you need into the autoload function. It's up to you. HTH -- PHP General Mailing List (http://www.php.net/)

[PHP] PHP4, domxml and xpath with Namespaces

2006-03-06 Thread Markus Fischer
Hi, I haven't yet worked with namespaces in XML before when it comes to DOM related methods. My source is an Office 2003 Excel XML and it contains XML like: http://www.w3.org/TR/REC-html40";> How can I use an xpath expression to find e.g. all rows in Worksheet "Sheet1" ? My pro

[PHP] Re: PHP4, domxml and xpath with Namespaces

2006-03-06 Thread Markus Fischer
Thanks Rob, that's it! I really appreciate your help, because I know that my initial question had very little to do with PHP but with XML .. again, thank you! - Markus Rob wrote: > Markus Fischer wrote: >> Hi, >> >> I haven't yet worked with namespaces in

[PHP] [PHP5] Using exceptions to write more perfect software, but ...

2004-02-09 Thread Markus Fischer
Hi, I've been playing around quite some while with the new exceptions in PHP5 and must say that this new feature by it self is .. well, exceptional. However .. since internal PHP function do not make use of them, it's pretty hard to produce "exception proof" software. Because earlier or later, so

Re: [PHP] Using exceptions to write more perfect software ...

2004-02-10 Thread Markus Fischer
Hello Adam, Adam Bregenzer wrote: On Mon, 2004-02-09 at 15:58, Markus Fischer wrote: But doing this now for every internal function call I don't want to lead my program into an unwanted state isn't very appealing. Ultimately I decided to wrap my necessary function calls in erro

[PHP] Re: Zlib - Insert files?

2004-02-11 Thread Markus Fischer
Hi, basically, gzip is only about compression of data. If you want compress more than one file at once, you need to put it into an archive before, e.g. a tar archive. Then you can compress this tar-Archive (single file) width gzip. HTH, - Markus -- PHP General Mailing List (http://www.php.net/

[PHP] Problem with PHP5, CGI and Session

2004-12-14 Thread Markus Fischer
Hi, I'm expiriencing a problem when I use my application with PHP5 as a CGI module (this is due to my provider). I've developed and tested the application on two servers, both using PHP5 as module, without problems. It seems that the session gets malformed somehow during the first reuqest. 1) On

[PHP] PHP5, Tidy: node and parent node

2005-07-15 Thread Markus Fischer
Hi, I'm trying to figure out the parent of a node in tidy. As it seems to me there's no property/method available for this. I really want to avoid traversing the whole document and build the relation myself; this is getting pretty slow. Any ideas on this? thanks, - Markus -- PHP General M

[PHP] Re: PHP5, Tidy: node and parent node

2005-07-15 Thread Markus Fischer
Markus Fischer wrote: I'm trying to figure out the parent of a node in tidy. As it seems to me there's no property/method available for this. I really want to avoid traversing the whole document and build the relation myself; this is getting pretty slow. PHP5 currently doesn'

[PHP] More toroughly checking a script before execution

2005-07-21 Thread Markus Fischer
Hi, is there a way to have a more torough checking of PHP code before executing? I can't remember the number of times when I try to read a variable which hasn't assigned a value yet. This increases as projects are getting bigger and more files are used. I know that due it's loosely typed nat

Re: [PHP] More toroughly checking a script before execution

2005-07-21 Thread Markus Fischer
Richard Lynch wrote: On Thu, July 21, 2005 3:50 pm, Markus Fischer said: is there a way to have a more torough checking of PHP code before executing? Use E_ALL if you aren't already. Most people aren't because the default is E_ALL ~ E_NOTICE, which is a Big Mistake for a defau

Re: [PHP] More toroughly checking a script before execution

2005-07-21 Thread Markus Fischer
Rasmus Lerdorf wrote: Sounds like you just need to turn on E_NOTICE. At least for your variable access stuff assuming your test case actually hits that part of the code. I was talking about finding the problems bevore executing the code. If you are talking about complete code coverage lettin

[PHP] Document source code for PHP5

2005-08-19 Thread Markus Fischer
Hi, I'm currently using phpdoc.org to generated documentation of my code, but it doesn't seem to support PHP5. Interfaces are not recognized and function headers defined therein are parsed as public function. Can someone recommend a documentation tool which supports the new PHP5 syntax? th

Re: [PHP] Document source code for PHP5

2005-08-20 Thread Markus Fischer
Denis Gerasimov wrote: Can someone recommend a documentation tool which supports the new PHP5 syntax? PHPDocumentor (http://www.phpdoc.org/) does. I am using Zend Studio integrated version and it works fine. Then I'm wondering what I'm doing wrong because it puts interface function definiti

[PHP] PDO & pdo_odbc

2005-12-28 Thread Markus Fischer
Hi, I'm using the following code in a PHP 5.1, Windows CLI environment: $p = new PDO('odbc:driver={Microsoft Access Driver (*.mdb)};Dbq=beispieldatenbank.mdb'); $s = $p->prepare('INSERT INTO ADDRESSES(TITLE0, LASTNAME0) VALUES(?, ?)'); $s->execute(array('test1', 'test2')); I'm always getting

Re: [PHP] functions????

2001-01-27 Thread Markus Fischer
Have you tried defining those function before actually using them ? Btw, case "pf" and function 'profile()' does not really match you definition with function 'pf()' ?? m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EM

Re: [PHP] Thumbnails and PHP

2001-01-27 Thread Markus Fischer
nd use ImageCopyResized on it. The most performant way would be to pre-generate the thumbmails and just include them as normal images in html. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2

Re: [PHP] Transparent SID and forms (POST) ?

2001-01-27 Thread Markus Fischer
of course, when the > user has cookies disabled... If you have enabled php4 with transparent sid's (compile-thime switch --trans-sid) it happens automatically. To all form actions and hrefs the sid is appended. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMai

Re: [PHP] Remote Directory listing

2001-01-27 Thread Markus Fischer
Its easier if the directory you need a listing of is also mapped 1:1 to ftp on the same site; then just use phps ftp functions. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272

Re: [PHP] Invoke PHP script from onLoad handler?

2001-01-27 Thread Markus Fischer
alled again, the db-data is fetched again and you listbox is altered (hopefully). m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1

Re: [PHP] Conditional include based on virtual host ?

2001-01-27 Thread Markus Fischer
You could use $HTTP_HOST: if( stristr( $HTTP_POST, "fr.domain.com")) $lang = "fr"; Just put such in your settings.php file you allready include. Works for me. Any other ideas very welcome too :) m. -- Markus Fischer, http://josefine.ben.tuwien.ac

Re: [PHP] Apache

2001-01-29 Thread Markus Fischer
documentation at apaches website [1]. m. [1] http://httpd.apache.org/docs/mod/directives.html -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B

Re: [PHP] PHP and Oracle resources

2001-01-29 Thread Markus Fischer
o parse the sql statement and finally OCIExecute it. Loop through your result data with OCIFetchInto. The Shitload of possible errors should be abstracted into a class. m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: ht

Re: [PHP] Form submision probs with Javascript and PHP

2001-02-09 Thread Markus Fischer
How about telling us 'what' does not work ? m. -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD