Re: [PHP] how call a variable in a text

2009-10-22 Thread Thodoris
f thinking and it is my style as well. But I though that the point of the thread was to present ways of putting vars inside strings... -- Thodoris

Re: [PHP] how call a variable in a text

2009-10-22 Thread Thodoris
Using the same type way as before in this thread. This was supposed to come out as "using the same way of thinking". But the English->Nerdish dictionary came out... -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how call a variable in a text

2009-10-22 Thread Thodoris
oing to be made into the string. So you can put them anywhere as long as it is meaningful. See some examples: http://php.net/manual/en/language.types.string.php in the complex (curly) syntax section. -- Thodoris

Re: [PHP] how call a variable in a text

2009-10-22 Thread Thodoris
hey are not meant to go around. You can use them this way as well. -- Thodoris

Re: [PHP] how call a variable in a text

2009-10-21 Thread Thodoris
the braces for everything, but nobody has ever accused me of making too much sense before! Thanks, Ash http://www.ashleysheridan.co.uk This will also work (shell like style): print "Test: ${var[0]}"; but this won't based on the same principle you mention above: print "Test: ${var[0][0]}"; -- Thodoris

Re: [PHP] Get rid of warning massage

2009-10-20 Thread Thodoris
http://php.net/manual/en/language.operators.errorcontrol.php ? A better idea would be suppressing the error messages in a production site: ini_set('display_errors',0); -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Get rid of warning massage

2009-10-20 Thread Thodoris
oduce a warning or an error. -- Thodoris

Re: [PHP] Please don't kick me!

2009-10-20 Thread Thodoris
;t and that is vital to me. I wasn't able to print greek for example with some other classes I 've tried. I am not sure if ezpdf does that. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Thodoris
wnloading PEAR-1.9.0.tgz ... Starting to download PEAR-1.9.0.tgz (291,634 bytes) ..done: 291,634 bytes Segmentation fault Manually is the best solution as far as I can tell: http://pear.php.net/manual/en/installation.getting.php Eddie is right. Give it a try. -

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Thodoris
Thodoris wrote: Is there a good reason for needing this pear package? http://pear.php.net/package/DB It is old and it has been replaced with MDB2 some time ago. Why don't you use it instead of trying to install DB. The issue here isn't what package is being installed. The issu

Re: [PHP] How do YOU set default function/method params?

2009-10-19 Thread Thodoris
the whole thread as you will all understand. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Thodoris
Thodoris wrote: Was, by any chance, PHP installed as binary before you install it from source? If this is the case try uninstalling the binary and then configure and compile the source again running 'make clean' before. PHP was not installed at all on this machine. I grabbed

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Thodoris
ary and then configure and compile the source again running 'make clean' before. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wrong Date

2009-10-16 Thread Thodoris
setting the date.timezone setting in your php.ini and see what happens (don't forget to restart the web server to make changes take effect) or use the ini_set(). -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] preg_match doesn't match Greek

2009-09-01 Thread Thodoris
ot;\n"; print_r($matches); to test preg_match's behavior and when the above string has Latin characters the pattern matches when it's in greek. Can someone explain this? Is there a workaround? PS all are in UTF-8. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_to_date equivalent in PHP

2009-07-28 Thread Thodoris
P 5.3.0 to test it)? http://www.php.net/manual/en/function.date-create-from-format.php -- Thodoris

Re: [PHP] str_to_date equivalent in PHP

2009-07-28 Thread Thodoris
Thodoris wrote: 2009/7/28 Thodoris : Hi gang, I've been looking for a str_to_date (mysql) equivalent in PHP. I've noticed that these are matching the description: http://www.php.net/manual/en/datetime.createfromformat.php http://www.php.net/manual/en/function.date-c

Re: [PHP] str_to_date equivalent in PHP

2009-07-28 Thread Thodoris
On Tue, 2009-07-28 at 20:10 +0300, Thodoris wrote: > 2009/7/28 Thodoris mailto:t...@kinetix.gr>>: > >> Hi gang, >> I've been looking for a str_to_date (mysql) equivalent in PHP. I've >> noticed that these are matching the descrip

Re: [PHP] str_to_date equivalent in PHP

2009-07-28 Thread Thodoris
2009/7/28 Thodoris : Hi gang, I've been looking for a str_to_date (mysql) equivalent in PHP. I've noticed that these are matching the description: http://www.php.net/manual/en/datetime.createfromformat.php http://www.php.net/manual/en/function.date-create-from-format.php b

[PHP] str_to_date equivalent in PHP

2009-07-28 Thread Thodoris
.0 installed in any of my systems to test it and the function/method is not well documented yet. So I will have to write a workaround this. Has anybody tried this? -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method

2009-06-22 Thread Thodoris
Thodoris wrote: I've used it for some time but never needed to lock a cell. Here is a piece of code that shows how to apply a format to a cell: > Hope it helps. I think that by doing something like this: $format_bold->setLocked(); while creating the format could do the trick bu

Re: [PHP] 500 Internal Error

2009-06-19 Thread Thodoris
P for starters? http://www.wampserver.com/en/ It gives you all you need in one package. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Help: PHP version not up to date after "apt-get install php5-dev"

2009-06-19 Thread Thodoris
Why not just compile it yourself? Why not let the ports system compile it for you and then have the choice to remove it as package whenever you like... You get it compiled and packaged the same time... :-) I guess BSD is the way to make your life easier... -- Thodoris -- PHP

Re: [PHP] sessions tutorial

2009-06-19 Thread Thodoris
ient=firefox-a besides the first hit which is tizag there others you could look into for info. I know I've stated the *obvious* but I think you should try it nonetheless. -- Thodoris

Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method

2009-06-19 Thread Thodoris
lose(); ?> Hope it helps. I think that by doing something like this: $format_bold->setLocked(); while creating the format could do the trick but it is not tested. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parse ini file problem

2009-05-15 Thread Thodoris
o use quotes in all fields and there are several other reasons that I want to avoid quoting the values. In addition to that PHP 5.3 (which fixes this) is not stable yet and thus I can't install it in a production machine. So does anybody know any workarounds?? -- Thodoris -- PHP General Ma

Re: [PHP] fileinfo on RHEL5

2009-05-13 Thread Thodoris
of the $fi object fails for some reason. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fileinfo on RHEL5

2009-05-13 Thread Thodoris Goltsios
Thodoris wrote: Is fileinfo pecl extension installed as a package or with pecl? In case it is installed as an rpm try to remove it and install it as an extension in case the package is broken for some reason. I installed it with PECL: /usr/share/pear/bin/pecl install fileinfo Other

Re: [PHP] Sending SMS through website

2009-05-13 Thread Thodoris
I am sure that someone more experienced than me will reply when the time is right. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fileinfo on RHEL5

2009-05-13 Thread Thodoris
r some reason. Have in mind that you will need the magic_open library for this to work. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-12 Thread Thodoris
On Tue, 2009-05-12 at 18:05 +0300, Thodoris wrote: Still curious about the right script though (if this is possible of course). Of course it's possible... but you're probably not going to get the results you want since you're taking 3 dimensions and trying to push them

Re: [PHP] irrational behavior

2009-05-12 Thread Thodoris
/ . It will remove any existing keys that may have been assigned, rather than just reordering the keys http://www.php.net/manual/en/function.sort.php Forgot to mention this of course which was my point on the first place: Be careful when sorting arrays with mixed types values because *sort()* can produce unpredictable results. -- Thodoris

Re: [PHP] irrational behavior

2009-05-12 Thread Thodoris
emove any existing keys that may have been assigned, rather than just reordering the keys http://www.php.net/manual/en/function.sort.php -- Thodoris

Re: [PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-12 Thread Thodoris
Thodoris wrote: דניאל דנון wrote: I've tried to make a color table, but I am missing something. not in the color-table-code itself, but in somewhere else... I just can't find... untested but try.. // 4096*4096 = 16777216 = FF+1 $im = imagecreate(4096, 409

Re: [PHP] Can not read write file from Desktop

2009-05-12 Thread Thodoris
Thodoris wrote: hi I was trying to read a file from Desktop (Centos), Simply saying (php code file is in /var/www/html/ ) if (file_exists("/root/Desktop/conf_files_linux")) echo "yes file is there"; else echo "no none"; It gives me none. If i place conf_fil

Re: [PHP] Re: Trying to create a colortable - what am I missing here?

2009-05-12 Thread Thodoris
} $b = 0; $g++; } $g = 0; $r++; } header("Content-Type: image/png"); imagepng($im); imagedestroy($im); Never used image manipulation with PHP but this is giving me a black image. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can not read write file from Desktop

2009-05-12 Thread Thodoris
ded. You could always run this script from command line being root or whatever user is the owner of the Desktop directory. Read this if you are not aware of how this can be done: http://www.php.net/features.commandline -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Re: Mail subject encoding breaks

2009-05-12 Thread Thodoris
Hello, on 05/11/2009 12:25 PM Thodoris said the following: This script seems to work ok in a freebsd development server I have but a linux production machine breaks the subject's encoding for some unexpected reason. The subject has a mix of English and Greek characters that FreeBSD

Re: [PHP] Mail subject encoding breaks

2009-05-11 Thread Thodoris
On 11 May 2009 at 18:25, Thodoris wrote: Hi gang, I am using phpmailer to send some mail notifications in an intranet I've made. This is a sample code: $e->Subject = "This is δφκξγκδφη garbidge κηδφκξγσ"; Hi, I have had success with this in t

[PHP] Mail subject encoding breaks

2009-05-11 Thread Thodoris
bstring). Has anyone had a similar experience? Is it possible that sendmail (which is the underlying tool) breaks the mail encoding? Please any help would be appreciated because this is really driving me crazy. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] bug or expected, mbstring.func_overload not changeable by .htaccess 5.2.8/5.2.9

2009-04-23 Thread Thodoris
cess. I don't know if this is an expected behavior though. Can anyone else confirm this?? -- Thodoris

Re: [PHP] bug or expected, mbstring.func_overload not changeable by .htaccess 5.2.8/5.2.9

2009-04-15 Thread Thodoris
es it work? In addition to this heck your apache configuration to see if you allow .htaccess to be parsed. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDO fetch_obj - question

2009-04-15 Thread Thodoris
e your table's fields . Try to include more info about your system, php version etc in case you reply. It will help us to help you. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] alt() - unknown function?

2009-04-15 Thread Thodoris
. Finding nothing with those, I'd grep the whole stinkin' drive and go grab a coffee. :) On Wed, Apr 15, 2009 at 10:39 AM, Thodoris wrote: Hi all, I've just started looking at the code of an e-commerce site we are taking over the development of, that another company

Re: [PHP] alt() - unknown function?

2009-04-15 Thread Thodoris
that you use. You can check the user and internal functions using the get_defined_fumctions(): http://us.php.net/manual/en/function.get-defined-functions.php -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: fpdf adding font error

2009-03-30 Thread Thodoris
If you want to use UTF-8 fonts with FPDF then switch to TCPDF (www.tcpdf.org) Thanks Tony I think that it will do what I really need. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pdflib greek problem

2009-03-27 Thread Thodoris
hello sample:\n" . "[" . $e->get_errnum() . "] " . $e->get_apiname() . ": " . $e->get_errmsg() . "\n"); } catch (Exception $e) { die($e); } Although greek are printed normally the characters are overlapping on each other. The script in encoded in UTF-8. Does anybody have any suggestions on this? Please any help would be appreciated. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fpdf adding font error

2009-03-27 Thread Thodoris
it doesn't work as expected. The font is not being although I am following the fpdf's directions step-by-step. Does anybody know another way to generate pdf files with greek properly or can help me with the fpdf?? Thanks in advance. -- Thodoris -- PHP General Mailing List (htt

Re: [PHP] Smarty Tips and Techniques

2009-03-20 Thread Thodoris
P in order to use Smarty. Think it just like a class used for displaying the output (simply put). At least I've been doing this for some time now (the non-OOP part). I have a feeling that someone coming from the procedural way of programming would have problems probably with the templates instead of the development part. -- Thodoris

Re: [PHP] Smarty Tips and Techniques

2009-03-18 Thread Thodoris
which make them faster to process. Nevertheless you need time to get familiar with the smarty way of thinking as with all frameworks and template engines you need to use. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] assign associative array values to variables?

2009-03-18 Thread Thodoris
works for as many categories as needed. Manipulating each value should not be a problem once it is in a string variable using switch and preg_replace() as each category needs to be stripped of spaces, commas and &s. Perhaps extract() ?? http://www.php.net/manual/en/function.extract.

Re: [PHP] bad interpreter error from CLI

2009-03-13 Thread Thodoris
Thodoris wrote: Hi gang, I am trying to run a script from cli which goes like this: #!/usr/bin/php The error I get is this: /usr/bin/php^M: bad interpreter: Permission denied the php binary is indeed in this location and when I run the same script like this: php -f test.php it works

Re: [PHP] bad interpreter error from CLI

2009-03-13 Thread Thodoris
On Fri, Mar 13, 2009 at 10:23, Thodoris wrote: [snip!] Both commands return the same path. and that path, I'll presume, is the same you have set in the script, right? Please offer as much information as you can with each email to speed up the troubleshooting process.

Re: [PHP] bad interpreter error from CLI

2009-03-13 Thread Thodoris
which php whereis php The first will tell you which PHP CLI binary is preferred by the current $PATH settings, while the second will tell you where in $PATH 'php' is located. Both commands return the same path. -- Thodoris

[PHP] bad interpreter error from CLI

2009-03-13 Thread Thodoris
have to mention that the executable flag is set in the file's permissions. Any ideas why is this happening? php -v gives me: PHP 5.1.6 (cli) (built: Nov 12 2008 11:22:34) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies -- Thodoris -

Re: [PHP] whoami explanation

2009-03-04 Thread Thodoris
Thodoris wrote: Didn't have the time to read the whole thread. Sorry for being so lame. Obviously, or you would have known that this thread has very little if anything to do with whoami! :-) Indeed nonetheless it will be something useful for the archives (at least I think

Re: [PHP] whoami explanation

2009-03-04 Thread Thodoris
ns AFAIK can give you only the ids (uid,gid etc) about a process. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDO buffered query problem

2009-02-24 Thread Thodoris
y exceed. So if you use either you may need to fine-tune PHP by increasing the per process memory (memory_limit in php.ini) or MySQL. In case you use unbuffered queries you cannot use transactions as far as I can recall. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Securing web services

2009-02-22 Thread Thodoris
d my life. it also has very nice scripts for working with wsdl including an automatic wsdl2php and a full WSDL generation API :) Many Regards, Nathan ps: I'm no affiliation :) -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Accessors

2009-02-19 Thread Thodoris
and it is possible to produce something similar to byte-code. You can some solutions to this and here is one of them (open source): http://www.php.net/manual/en/ref.bcompiler.php http://pecl.php.net/package/bcompiler and there is a script to make "byte-code": http://bencoder.urdada.net/ I have used and it works. -- Thodoris

Re: [PHP] function array problem

2009-02-18 Thread Thodoris
ot;? You may want to consider these functions: |func_get_args ||func_get_arg| |func_num_args| to make the functions input more loose and have it accept multiple formats as needed like one dimensional, two dimensional or simple parameters the same time. -- Thodoris

Re: [PHP] PHP AS an FTP server

2009-02-18 Thread Thodoris
On Tue, 2009-02-17 at 18:54 +0200, Thodoris wrote: Hi, This is probably a bit stupid, but I've been having issues getting any of the good FTP servers running on my Ubuntu 6.06 (LTS) box. I've tried Pro-FTP, Pure-FTP, and briefly installed some others, but the versions availa

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-17 Thread Thodoris
u abstract each time and what term you choose to use. An example that comes in mind is about networks. You can say that the http protocol is a framework of underlying tcp protocol although it is comes as an abstraction. -- Thodoris

Re: [PHP] php cli memory leak error

2009-02-17 Thread Thodoris
memory_limit = 128M and the last one I have just noticed (that is why it reports the leak): report_memleaks = On In case I set this to Off it just stops bugging me. But is there a memory leak? And if yes should I report this as a bug ? -- Thodoris

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-17 Thread Thodoris
tless" discussion as you like to call it. Virgil http://www.jampmark.com I prefer calling C and C++ as Framework of Assembly language. Hahaha that was a good one Shawn. I almost fall of the chair :-) . -- Thodoris

Re: [PHP] php cli memory leak error

2009-02-17 Thread Thodoris
Thodoris wrote: Hi gang, I am trying to run a simple PHP script using the cli and I get a weird memory leak error. The script goes like this: #! /usr/local/bin/php The problem is that when I run the script I get this error: Script: './bcom.php' /usr/ports/lang/php5/work

Re: [PHP] display_errors and error_reporting not enough?

2009-02-17 Thread Thodoris
Thodoris wrote: When I make something wrong like syntax error; I get blank pages. Because the PHP code is not running (because of the syntax error), and thus not setting the error reporting as desired. You'll need to aither use a .htaccess file (if you're running

Re: [PHP] Full versus relative URLs

2009-02-17 Thread Thodoris
perhaps load into the session to avoid overhead. -- Thodoris

Re: [PHP] Full versus relative URLs

2009-02-17 Thread Thodoris
t where something is located and that's the point of the whole conversation. If you hardcode the values then you need to change them while renaming or moving files and directories So what someone should do to accomplish such a behavior? Without being vulnerable to injection attacks of course. -- Thodoris

[PHP] php cli memory leak error

2009-02-17 Thread Thodoris
ain.c(2015) : Freeing 0x2871F2A8 (43 bytes), script=./bcom.php === Total 1 memory leaks detected === This is hosted on a FreeBSD 7 machine with: PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) Anyone knows what is happening ?? I have to mention that the array is printed as expected. -- Thodoris -- P

Re: [PHP] display_errors and error_reporting not enough?

2009-02-17 Thread Thodoris
h is: /etc/php5/apache2/php.ini As far as I can see from you phpinfo page. So that you don't need to set it in every script during runtime as you mentioned. -- Thodoris

Re: [PHP] PHP AS an FTP server

2009-02-17 Thread Thodoris
tion (mysql, ldap etc) if you compile the proper module. Thanks. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-17 Thread Thodoris
ch more limited, simple, and somewhat inconsistent." That of course was PHP and you probably have a point. Then surely what is described is just a way of abstracting parts of the language to make it "easier" to code. This was mentioned about a framework not PHP of cour

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-17 Thread Thodoris
milar to that of Perl, albeit much more limited, simple, and somewhat inconsistent." Then surely what is described is just a way of abstracting parts of the language to make it "easier" to code. 2009/2/16 Thodoris : I'd personally say that PHP was originally intended to esse

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-17 Thread Thodoris
2009/2/16 Thodoris : In addition to this there is an API for C that can be used to code web applications and it is known as CGI (it is provided by many languages) CGI is a protocol not an API and has no specific connection to C. -Stuart I stand corrected on this. But what I

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-16 Thread Thodoris
to mention that there is a difference between a framework and an API. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Full versus relative URLs

2009-02-16 Thread Thodoris
On Mon, Feb 16, 2009 at 07:39:29PM +0200, Thodoris wrote: Here's a question related to my last post. When specifying a link in a HTML file (like to the css or an image file), there are two ways of doing it. One is to simply include the relative path to the file (relative to the doc

Re: [PHP] Zend Guard/Optimizer alternatives?

2009-02-16 Thread Thodoris
ers won't need to do anything special if you encode the PHP projects that you host (in case I am getting this right). But there are no magical solutions to anything. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Full versus relative URLs

2009-02-16 Thread Thodoris
t are useless. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache odd behavior

2009-02-16 Thread Thodoris
t least one other MVC framework. What am I doing wrong? Paul I assume that in order for this to work you will have to use mod_rewrite for apache to work properly. Check the framework's installation instructions to see if you configured mod_rewrite correctly for this to work properly

Re: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-16 Thread Thodoris
syntax and style but this is the only relation I can find between the two. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reverse IP lookup

2009-02-16 Thread Thodoris
perhaps there are solutions to this using search engines but you can't know for sure. This is the way it works. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP OOP

2009-02-09 Thread Thodoris
at you are right about using a specific language and you should strongly insist on that. Someone needs to see how objects are taking flesh and bones in real life and not just theoretically. You could consider Java as well before taking your final decision. -- Thodoris -- PHP General Mailing

[PHP] xls to pdf conversion in unix

2009-02-09 Thread Thodoris
probably parse the xls using a reader and then write the data in a pdf with a module (like fpdf or pdflib) but I will get into complications I cannot resolve. So is there another way to do such a transformation. Give me your light... -- Thodoris -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Email configuration

2009-02-06 Thread Thodoris
2009/2/6 Thodoris : 2009/2/5 Thodoris : I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google ap

Re: [PHP] Boolean Assignment Operator

2009-02-06 Thread Thodoris
"; $var2 = $var1; $var3 &= $var1; $var1 = "test2"; echo var1; // "test2" echo var2; // "test1" echo var3; // "test2" The manual does describe these as "combined operators" in the assignment operators section. See the last example: http://www.php.net/manual/en/language.operators.assignment.php -- Thodoris

Re: [PHP] cgi vs php

2009-02-06 Thread Thodoris
Thodoris napsal(a): Y In cgi i can use perl ,c etc suppose i use perl now how efficiency differs? How cgi written in perl and php is differ in working in context of web service? other difference?. but their differ. On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard wrote: [snip] can

Re: [PHP] Email configuration

2009-02-06 Thread Thodoris
2009/2/5 Thodoris : I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubun

Re: [PHP] Clarity needed

2009-02-05 Thread Thodoris
orary, tables and transactions but you will find it useful because I think it is relevant with your case. http://dev.mysql.com/tech-resources/articles/mysql-db-design-ch5.pdf Why don't you give it a try. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] php rpm

2009-02-05 Thread Thodoris
it is a good one. I don't remember if fedora is truly doing that but if it does that is cool I will check with my laptop (the only piece of hardware that has fedora installed). -- Thodoris

Re: [PHP] kadm5 Library

2009-02-05 Thread Thodoris
b5-workstation-1.6.1-25.el5_2.2 pam_krb5-2.2.14-1.el5_2.1 krb5-devel-1.6.1-25.el5_2.2 And then I run into this: http://pecl.php.net/bugs/bug.php?id=15196&thanks=3 I have already reported the bug and lets hope it will get fixed. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Blank page of hell..what to look for

2009-02-05 Thread Thodoris
to do. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cgi vs php

2009-02-05 Thread Thodoris
development to make some things clear before start asking questions in the lsit. This will improve your understanding and it help us to make suggestions. -- Thodoris

Re: [PHP] Email configuration

2009-02-05 Thread Thodoris
ulting page or something like that "Path to sendmail". If this is set then everything will work like a charm. -- Thodoris

Re: [PHP] function_exists question

2009-02-05 Thread Thodoris
t being developed any more. So by the end of this year (I hope) we will start using a stable PHPv6. IMHO you should consider changing your code (if this is possible) to a more mainstream version. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sometime the code works and sometimes doesn't

2009-02-05 Thread Thodoris
r Email Address."; } else { echo "Cannot send password to your e-mail address"; } ?> There must be something that I am doing wrong. Otherwise I could have always gotten the password in my mailbox. Please help. Thanks in advance, Chris -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP webhosting - USA - conclusion

2009-02-04 Thread Thodoris
http://www.icdsoft.com/ -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php rpm

2009-02-04 Thread Thodoris Goltsios
ause of the flexibility provided by the ports system and the way that PHP is divided into small parts that can be added or removed easily. Not to mention that you are compiling PHP (as a port) and you can update it or remove it like a package the same time. Again this is my point of view that I wanted to share. --- Thodoris

Re: [PHP] calculate the time that day ends

2009-02-03 Thread Thodoris
Shawn McKenzie wrote: Thodoris wrote: 2009/2/3 Thodoris : I was wondering if there is way to find out what is the time that every day ends? I am planning to add this to the first page on an interface I am developing. Most days end at midnight, but there

Re: RES: [PHP] calculate the time that day ends

2009-02-03 Thread Thodoris
Try: echo date("H:i:s", mktime(23-date("H"), 59-date("i"), 59-date("s")); This is I guess how much time we have to reach midnight. But the question is how to calculate the time that sun stops showing its refreshing light. BTW try not to top po

  1   2   3   >