[PHP] Re: exec php.exe in windows

2006-01-22 Thread Dave Kennedy
Chuck I tred what you suggested - but it did not help Btw I am using IIS on Windows "Sounds similar to something I had going on. In Control Panel - Administrative Tools - Services (I don't know of a shorter way to get there), I had to right-click on the Apache service and under Log On - check

Re: [PHP] Can PHP works with telnet?

2006-01-22 Thread Geoff
In the php manual, in the fsockopen() page, in the user comments, I found this: -- Found this php class to use telnet from here: http://cvs.adfinis.ch/cvs.php/phpStreamcast/telnet.class.php There's no docs and a lot of it's in french though

[PHP] (Fwd) Re: [PHP] Question about Thumbnailing, Watermarking, and

2006-01-22 Thread Geoff
whoops, that should be "phpclasses.org" (no hyphen) Geoff. --- Forwarded message follows --- From: Geoff <[EMAIL PROTECTED]> To: Jon Grimes <[EMAIL PROTECTED]> Subject:Re: [PHP] Question about Thumbnailing, Watermarking, and Modifyin

[PHP] PHP SSH2

2006-01-22 Thread Vedanta Barooah
hello all, this is in regard to PECL ssh2 ( http://pecl.php.net/package/ssh2 ) : how to i print the output of the command executed using ssh2_exec? thanks, vedanta

Re: [PHP] Use of Ampersand in php

2006-01-22 Thread Michael Hulse
On Jan 22, 2006, at 7:04 PM, Nirmalya Lahiri wrote: Can any one tell me, what is the use of ampersand '&' in php? This might help: http://us2.php.net/manual/en/language.references.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Houston PHP Users Group February Meeting Details

2006-01-22 Thread Joao Prado Maia
Hi, I'm sending the February meeting details to this mailing list in hopes of getting through to some Houston-based PHP developer that is not aware of our local Users Group. The group started out in Meetup.com, but recently we built our own website (http://houstonphp.org) to increase the int

Re: [PHP] XML and special characters

2006-01-22 Thread Adam Hubscher
Adam Hubscher wrote: tedd wrote: I've been having a tough time with parsing XML files and special characters. -snip- Any suggestions as to how I could get around this seemingly impossible road block thats been placed by what seems to be the xml engines :O.. Adam: I believe that these

[PHP] Use of Ampersand in php

2006-01-22 Thread Nirmalya Lahiri
Hi everybody, Can any one tell me, what is the use of ampersand '&' in php? Is it a pointer operator like 'C' language? Kindly note the example After running this example I got result 1 for both variable $b and $c. Why so? --Nirmalya __ Do

Re: [PHP] Can PHP works with telnet?

2006-01-22 Thread Steve Clay
Sunday, January 22, 2006, 8:56:01 PM, HoWang wrote: > software. I have made a quick search on php.net but I can't found amy > extension support telnet. Is there any way to do so? Or it is impossible Try http://www.geckotribe.com/php-telnet/ which uses fsockopen [1]. CURL [2] /claims/ telnet suppor

Re: [PHP] Upgrading to 4.4.2

2006-01-22 Thread [EMAIL PROTECTED]
Hi Amol, On 1/23/06, Amol Hatwar <[EMAIL PROTECTED]> wrote: Just make sure a phpinfo() before and after the upgrade match :) That _just_ crossed my mind! This will help in making sure I setup all the settings correctly. Thanks Tim -- PHP General Mailing List (http://www.php.net/) To

[PHP] Can PHP works with telnet?

2006-01-22 Thread HoWang Wang
Hi all, Recently I got a job to write a PHP webpage to display some infomation which have to obtain from telnet. Telnet is the only way to query the software. I have made a quick search on php.net but I can't found amy extension support telnet. Is there any way to do so? Or it is impossible with P

[PHP] Upgrading to 4.4.2

2006-01-22 Thread [EMAIL PROTECTED]
Hello I've started work for a client who has their own server running PHP 4.1.1. If I upgrade them to PHP 4.4.2, will there be any issues I'd need to look out for? Is there a general process (or checklist) I should follow when upgrading PHP versions to find where potential the may be potential c

[PHP] Re: exec php.exe in windows

2006-01-22 Thread Chuck Anderson
Dave Kennedy wrote: Env: Windows XP PHP 4.3.10 (cgi-fcgi) I am trying to capture the html output of Balance.php to a file: The code loops over and to build up a report in export/Balance.html exec('c:\php\php -q Balance.php export=all branch= month= login=admin password=admin >> export/Balanc

[PHP] Re: problem with large arrays in php 4.3.2

2006-01-22 Thread Jesse Guardiani
Jesse Guardiani wingnet.net> writes: > > Hello, > > I have an old version of php (4.3.2) that is acting rather strangely. I'm > searching two large arrays (approx 22,000 records in each) using > array_diff_key() from the PEAR PHP_Compat library: > > $result = $args[0]; > foreac

Re: [PHP] PHP not seeing MySQL functions

2006-01-22 Thread John Nichel
PHP Superman wrote: did you uncomment the line that adds the proper php module(mysqli_blahblahblah.dll)? How would loading the mysqli modules help the poster with the mysql functions? How would loading Windoze dll's help the poster on a Linux box? On 1/16/06, Jonathan Duncan <[EMAIL PROTEC

Re: [PHP] Controling buffer: php/smarty or apache?

2006-01-22 Thread David Tulloh
The browsers use a whole bunch of different ways to figure out how it should render the page and if it should do it on the fly or wait until the page is fully downloaded. Assuming the content you are testing is the same for the static and dynamic pages you should probably start looking for little

[PHP] exec php.exe in windows

2006-01-22 Thread Dave Kennedy
Env: Windows XP PHP 4.3.10 (cgi-fcgi) I am trying to capture the html output of Balance.php to a file: The code loops over and to build up a report in export/Balance.html exec('c:\php\php -q Balance.php export=all branch= month= login=admin password=admin >> export/Balance.html'); This comm

Re: [PHP] PHP not seeing MySQL functions

2006-01-22 Thread PHP Superman
did you uncomment the line that adds the proper php module(mysqli_blahblahblah.dll)? On 1/16/06, Jonathan Duncan <[EMAIL PROTECTED]> wrote: > > I just got a new web server with RedHat Enterprise Linux 4 on it. It came > with MySQL 4.1.x and PHP 4.3.9 on it. I uninstalled the MySQL 4 and put > My

[PHP] Devenix Live CD PHP4 and PHP5 project needs help

2006-01-22 Thread Pete Savage
Hi, This seemed like the most sensible place to start to ask for help. I'm currently working on Devenix, a project based on the knoppix live cd. It will eventually be a complete php design and test studio on a live cd, carry around a memory stick and save everything onto it, basically enabling you

Re: [PHP] XML and special characters

2006-01-22 Thread Adam Hubscher
tedd wrote: I've been having a tough time with parsing XML files and special characters. -snip- Any suggestions as to how I could get around this seemingly impossible road block thats been placed by what seems to be the xml engines :O.. Adam: I believe that these "special" character will

[PHP] Question about Thumbnailing, Watermarking, and Modifying images/video/flash dynamicly

2006-01-22 Thread Jon Grimes
I'm currently working on a media based site that serves up user submitted videos/images/flash games/etc. The owner wants an easy way to generate thumbnails for the content so that we don't have to depend on the user to submit one. We would also like to attach a small intro clip to the video conten

Re: [PHP] XML and special characters

2006-01-22 Thread tedd
I've been having a tough time with parsing XML files and special characters. -snip- Any suggestions as to how I could get around this seemingly impossible road block thats been placed by what seems to be the xml engines :O.. Adam: I believe that these "special" character will be with us for

Re: [PHP] security of uploaded gif files

2006-01-22 Thread Rory Browne
Or put it in a directory with no PHP or CGI. On 1/22/06, jonathan <[EMAIL PROTECTED]> wrote: > this is a little my fault. the example my friend showed me was a > retracing of the example he saw in Pro PHP Security (p284). > Basically, the short of the example is that a valid gif image could > be

Re: [PHP] security of uploaded gif files

2006-01-22 Thread jonathan
this is a little my fault. the example my friend showed me was a retracing of the example he saw in Pro PHP Security (p284). Basically, the short of the example is that a valid gif image could be uploaded with the extension .php and pass a getimagesize because it would have the necessary b

Re: [PHP] security of uploaded gif files

2006-01-22 Thread PHP Superman
sorry guys if i'm wrong, but if you have the required gd library, and a user changes the above to exec(); a command, you might be in trouble, i might be wrong though... but if you successfully hide the directory and dont tell the user where he placed the file i think it would be pretty secur

[PHP] cookie question

2006-01-22 Thread tedd
Hi: Please review -- http://xn--ovg.com -- the Set and Get cookie demo (i.e., 1 & 2). The code is shown. If you go from Set Cookie to Get Cookie, everything is OK. If you cut the url, quit the browser, start the browser again, paste the url and return to the page, everything is OK. The brow

[PHP] XML and special characters

2006-01-22 Thread Adam Hubscher
I've been having a tough time with parsing XML files and special characters. I have attempted every applicable engine, last try SAX, to attempt at parsing a (rather large, 17.8mb) xml file. The problem I hit, is when it hits a UTF8 encoded character. I've attempted at decoded the file before

[PHP] php5 iterate an object

2006-01-22 Thread Henrik Gemal
I have an object that looks like this: Test Object ( [config] => TestConfig Object ( [file:protected] => test.conf [kill:protected] => 1 ) [location:private] => "test" } I'm trying to write

Re: [PHP] security of uploaded gif files

2006-01-22 Thread Sameer N Ingole
Rory Browne wrote: I'd be a bit skeptical about the possibly of embedding PHP code inside a GIF file. Could you outline how he performed the task? On 1/22/06, jonathan <[EMAIL PROTECTED]> wrote: what is the best way to prevent malicious code from being uploaded via a .gif file? A friend sho

Re: [PHP] security of uploaded gif files

2006-01-22 Thread tedd
i think you guys are talking about the using the gd library, it may be possible so when you upload check for any php code or other data On 1/22/06, Rory Browne <[EMAIL PROTECTED]> wrote: I'd be a bit skeptical about the possibly of embedding PHP code inside a GIF file. Could you outline how h

Re: [PHP] Graphs

2006-01-22 Thread tedd
What is the best (Free) way to create good looking graphs with PHP? Sincerely berber berber: "Best?" -- whatever way that you like. If you like any of these, just ask I'll provide code. http://xn--ovg.com Last three. tedd --

Re: [PHP] security of uploaded gif files

2006-01-22 Thread Mark Krenz
Perhaps this would be a problem if you wrote a PHP program to reverse stenography on images it receives and execute them. ;-) On Sun, Jan 22, 2006 at 10:58:37AM GMT, Rory Browne [EMAIL PROTECTED] said the following: > I'd be a bit skeptical about the possibly of embedding PHP code inside > a

Re: [PHP] security of uploaded gif files

2006-01-22 Thread PHP Superman
i think you guys are talking about the using the gd library, it may be possible so when you upload check for any php code or other data On 1/22/06, Rory Browne <[EMAIL PROTECTED]> wrote: > > I'd be a bit skeptical about the possibly of embedding PHP code inside > a GIF file. Could you outline how

Re: [PHP] Graphs

2006-01-22 Thread Michael Crute
On 1/22/06, Weber Sites LTD <[EMAIL PROTECTED]> wrote: > What is the best (Free) way to create good looking graphs with PHP? > Jpgraph is my favorite. Its got a pretty clean OO API and decent documentation. Plus its PHP5 compatible. -Mike -- Michael E. Crute Soft

[PHP] Controling buffer: php/smarty or apache?

2006-01-22 Thread robert mena
Hi, I am facing a strange problem. My site, even tough designed to appear quickly at user's browser, appears at "once". If I test the static HTML version it starts to appear as downloaded If I test the php generated version the page seems render as a whole. I am using smarty as a template and i

Re: [PHP] security of uploaded gif files

2006-01-22 Thread Rory Browne
I'd be a bit skeptical about the possibly of embedding PHP code inside a GIF file. Could you outline how he performed the task? On 1/22/06, jonathan <[EMAIL PROTECTED]> wrote: > what is the best way to prevent malicious code from being uploaded > via a .gif file? A friend showed me how php could b

[PHP] Re: Graphs

2006-01-22 Thread David Robley
Weber Sites LTD wrote: > What is the best (Free) way to create good looking graphs with PHP? > > Sincerely > > berber I haven't used it, but when this question comes up, jpgraph is the most common answer. Cheers -- David Robley I hit the CTRL key but I'm still not in control! -- PHP Gene

Re: [PHP] Graphs

2006-01-22 Thread Ron Eggler (Paykiosks)
What kind of do u wanna have? Am Sonntag, den 22.01.2006, 10:46 +0200 schrieb Weber Sites LTD: > What is the best (Free) way to create good looking graphs with PHP? > > Sincerely > > berber > > Visit the Weber Sites Today, > To see where PHP might take you tomorrow. > PHP code examples :

[PHP] Graphs

2006-01-22 Thread Weber Sites LTD
What is the best (Free) way to create good looking graphs with PHP? Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow. PHP code examples : http://www.weberdev.com PHP & MySQL Forums : http://www.weberforums.com Learn PHP & MySQL Playing Trivia : http:/