Re: [PHP] Tree menu list in php

2011-07-26 Thread Bojan Tesanovic
more specific example so we can help. Bojan Tesanovic Senior PHP Developer http://oophp.org/ On Jul 26, 2011, at 7:20 PM, alekto wrote: Hi, is there a way to create a tree menu list only by using php/html/css? I found some, but they are all in JavaScript, do I have to make them by using JavaScri

Re: [PHP] checking local file size

2008-12-16 Thread Bojan Tesanovic
t know how much is left... I know it's possible (most other meters do this) - I just can't figure out how. any hints? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://classiccars.carster.us/

Re: [PHP] Sessions - Failed to initialize storage...

2008-08-15 Thread Bojan Tesanovic
module. in /home/webroot/www/service/payarrange/index.php on line 4 Line 4 is the session_start(); Bojan Tesanovic <[EMAIL PROTECTED]> 8/15/2008 1:10 PM >>> Can you give us the exact error that you got, that can help to debug ... On Aug 15, 2008, at 7:53 PM, Chris Ditty w

Re: [PHP] Sessions - Failed to initialize storage...

2008-08-15 Thread Bojan Tesanovic
w.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://classiccars.carster.us/

Re: [PHP] multithreading

2008-06-04 Thread Bojan Tesanovic
or multithread with MySQL? Thank you. Jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.carster.us/

Re: [PHP] autoload issues

2008-05-24 Thread Bojan Tesanovic
Can you be more specific, the structure of directories what encoder did you use can you provide a sample PHP encoded class/script ... On May 23, 2008, at 5:27 PM, Joakim Ling wrote: Anyone have a solution for using autoload with encoded php files? Bojan Tesanovic http://www.carster.us/

Re: [PHP] Permissions set on php script question

2008-05-13 Thread Bojan Tesanovic
erver can read that file. Eg anybody who can login to server can read all your files with permission set to read on 'other' On May 12, 2008, at 11:37 PM, David Jourard wrote: Bojan Tesanovic wrote: Heh you are really new to Linux permissions on linux are set per user/group/other bas

Re: [PHP] Permissions set on php script question

2008-05-12 Thread Bojan Tesanovic
ing suEXEC. Couldn't one write a program to remotely read the contents of the file. Thank-you David J. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.carster.us/

Re: [PHP] Good XML Parser

2008-05-12 Thread Bojan Tesanovic
an XML document, use a DOM parser. Expat, which XML Parser (http://uk3.php.net/manual/en/book.xml.php) is based on, is a SAX parser. DOM XML (http://uk3.php.net/manual/en/book.domxml.php) is, obviously, a DOM parser. I don't know, off the top of my head, which camp SimpleXML falls into. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.carster.us/

Re: [PHP] Good XML Parser

2008-05-12 Thread Bojan Tesanovic
down XML from a URL? fopen($URL), then using xml_parse? Or should I be using XML_Parser or SimpleXML? Thanks, Waynn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.carster.us/

Re: [PHP] PHP and a misbehaving contact form

2008-05-12 Thread Bojan Tesanovic
;s mail() function to use an SMTP server other than the default one, right? Some relevant info: - Red Hat Linux - Apache 2.0.52 - PHP 4.3.9 Thanks, Fernando -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.carster.us/

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Bojan Tesanovic
ed to be read) Can you chunk the data in any way, break it into smaller more managable peices? -- Bastien Cat, the other other white meat -- --Steve Gula (this email address is used for list communications only, direct contact at this email address is not guaranteed to be read) Bojan Tesanovic http://www.carster.us/

Re: [PHP] & performance issues

2008-04-17 Thread Bojan Tesanovic
y empirical data? thx, -nathan in PHP5 by default Objects are passed by reference and as you can see at this graph passing array by reference in PHP5 is slower http://nathan.moxune.com/arrayVsArrayIteratorReport.php Bojan Tesanovic http://www.carster.us/

Re: [PHP] Send XML file with curl functions

2008-04-13 Thread Bojan Tesanovic
reat hosting, low prices. Modevia Web Services LLC -- http:// www.modevia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.carster.us/

Re: [PHP] Send XML file with curl functions

2008-04-12 Thread Bojan Tesanovic
On Apr 12, 2008, at 11:37 PM, Aaron Axelsen wrote: I am trying to create the following command with the php curl functions: curl -F "[EMAIL PROTECTED]" "http://path/to/api"; The problem i'm having is that i'm creating the xml file with php - so the contents are stored in a variable. How

Re: [PHP] standard format for Web portal administration side

2008-04-12 Thread Bojan Tesanovic
On Apr 12, 2008, at 7:19 PM, Alain Roger wrote: Hi, I've seen several web portal and their dedicated administration side. some of those administration (portal) are according to w3c standard (1024 px large), but most of them use the full screen width. therefore i would like to know if there

Re: [PHP] Return an Array and immediately reference an index

2008-04-12 Thread Bojan Tesanovic
On Apr 12, 2008, at 6:18 PM, Casey wrote: On Sat, Apr 12, 2008 at 9:12 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: On Fri, Apr 11, 2008 at 6:33 PM, Daniel Kolbo <[EMAIL PROTECTED]> wrote: search the archives ;) http://www.mail-archive.com/php-general@lists.php.net/msg224626.html -nath

Re: [PHP] Include problems

2008-04-12 Thread Bojan Tesanovic
On Apr 12, 2008, at 8:28 AM, GoWtHaM NaRiSiPaLli wrote: if(file_exists("../common/config.ini")) { $configData = parse_ini_file("../common/config.ini"); } else { Try changing above code so it reads if(file_exists("common/config.ini")) { $configData = parse_ini_file("common/config.ini");

Re: [PHP] How to determine which column "matched"

2008-04-11 Thread Bojan Tesanovic
Why so complicated On Apr 12, 2008, at 5:25 AM, Rob Gould wrote: I'm trying to figure out a way that SQL can pass a flag to PHP to say which column "matched" during a query. Let's say for instance that I want to search for the word "apple" in both column "producer", and column "designatio

Re: [PHP] File Upload Security

2008-04-11 Thread Bojan Tesanovic
I would recommend something more strong http://www.php.net/manual/en/function.exif-imagetype.php or if you dont have exif http://www.php.net/manual/en/function.getimagesize.php will do also a trick. One more thing, you are also allowing .txt and .css which may be potential hole, as Apache can

Re: [PHP] File Format

2008-04-11 Thread Bojan Tesanovic
I bet there is no native PHP methods for that kind of file, but you can easily check the headers of wave file , you need to have a specification or at least have 3 wave files of PCM and CCITT , compare the first 100 characters of that file, and you will get the clue and logic how to recogn

Re: [PHP] Return an Array and immediately reference an index

2008-04-11 Thread Bojan Tesanovic
www.php.net/unsub.php This is not possible in PHP, though you can have a Array wrapper class function returnarray() { return new ArrayObject( array('lose' => array(5,6), 'win' => array (9,8)) ); } var_dump (returnarray()->offsetGet('lose')); or even better make you own wrapper class with __set() and __get() methods so you can have var_dump (returnarray()->lose); of course only in PHP5 Bojan Tesanovic http://www.carster.us/

Re: [PHP] Re: install pecl in debian

2008-04-11 Thread Bojan Tesanovic
You need CLI (Comman Line interface) for PHP most of PECL packages are in apt-get eg apt-get php-memcache On Apr 12, 2008, at 3:19 AM, Shawn McKenzie wrote: hce wrote: Hi, I post following message days ago, but could not see it on the list. Sorry if it is duplicated. I've installed php5 in

Re: [PHP] maintaining [user] state without a session ...

2008-03-04 Thread Bojan Tesanovic
ve an idea about the write way to do it in terms of high performance :-) tia, Jochem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.classicio.com/

Re: [PHP] Anyone jump from Studio 5.5.x -> Zend Eclipse?

2008-03-02 Thread Bojan Tesanovic
xperiences. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.classicio.com/

Re: [PHP] Weird Zend IDE Issue

2008-03-02 Thread Bojan Tesanovic
o unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.carster.us/

Re: [PHP] crc check for JPEG file exists

2008-02-27 Thread Bojan Tesanovic
p.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.carster.us/

Re: [PHP] PHPDoc autocomplete hints

2008-02-26 Thread Bojan Tesanovic
message to ZendStudioNeon mailing list. Atenciosamente, <http://www.softpartech.com.br/> www.softpartech.com.br Thiago Henrique Pojda Desenvolvimento Web +55 41 3033-7676 [EMAIL PROTECTED] ExcelĂȘncia em Softwares Financeiros Bojan Tesanovic http://www.classicio.com/ http://www.real-estates-sale.com/

Re: [PHP] Ob_Flush issue

2008-02-26 Thread Bojan Tesanovic
p.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.classicio.com/ http://www.carster.us/

Re: [PHP] Copying specific fields from table to table

2008-02-25 Thread Bojan Tesanovic
but only where the id #'s match. Can anyone tell me if this is something that can be done with just a SQL statement, or do I need to write a PHP script to loop through the records of both tables and do the copying/mapping? Insert into T2 (bcode) select T1.bcode where T2.id = T1.i

Re: [PHP] PHP 24 hour processes?

2008-02-25 Thread Bojan Tesanovic
rt() and a time of 86400 seconds :) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Kosovo je Srbija. Bojan Tesa

Re: [PHP] redirect stdout to stderr

2008-02-22 Thread Bojan Tesanovic
) and 2), but PHP_CodeSniffer prints its report to stdout and Subversion only displays stderr to the user, not stdout. So to make this pre-commit hook fool proof, I want it to redirect PHP_CodeSniffer's report to stderr. Anyone have better suggestions than output buffering? Much thanks, Jack Bojan Tesanovic http://www.classicio.com/ http://www.carster.us/

Re: [PHP] XML encoding variable simpleXML on Linux

2008-02-22 Thread Bojan Tesanovic
do I know what it is encoded to? TIA Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.classicio.com/ http://www.real-estates-sale.com/

Re: [PHP] Image manipulation on the fly

2007-11-08 Thread Bojan Tesanovic
} } # return the moddifyed image return $im; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.classicio.com/

Re: [PHP] docs.google.com how do the export ?

2007-10-24 Thread Bojan Tesanovic
functions on Windows ? to generate the docs and pdf or is it possible to create them with XSLT BR Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Bojan Tesanovic http://www.classicio.com/ http://www.real-estates-sale.com/