Re: [PHP] this has got me baffled: imagesx() andimagesy()reporting the wrong size?

2009-11-16 Thread Jason Young
Indeed. Using ImageMagick's 'identify' command, the first layer is 30x24 on a 32x32 canvas. radioactive-bread-eek.gif[0] GIF 30x24 32x32+2+6 8-bit PseudoClass 256c 2.11kb radioactive-bread-eek.gif[1] GIF 32x27 32x32+0+4 8-bit PseudoClass 256c 2.11kb If getimagesize() works on the canvas,

[PHP] Re: Getting backtrace through GDB?

2009-08-27 Thread Jason Young
Anyone, anyone? Bueller? :P I'm sure someone has experience with GDB? I'm not looking for a newbie primer, I'm just curious if anyone has had experience with the problem below and knew how to correct it.. Thanks :) Jason Young wrote: Hi all, I'm trying to follow the instructions

[PHP] Getting backtrace through GDB?

2009-08-26 Thread Jason Young
developer this is needed for. Thanks for any insight or suggestions you can give! -Jason Young -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Jason Norwood-Young
haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that overhead/bloat vs. productivity of the developer is a trade-off you're going to have to make for ANY of the

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Jason Norwood-Young
haliphax wrote: On Mon, Mar 9, 2009 at 1:26 PM, Jason Norwood-Young ja...@freespeechpub.co.za wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say

[PHP] CLI [Lack of] Performance on Windows

2009-02-01 Thread Jason Young
I'm not much for running PHP on Windows, but I thought that many of the performance issues had been worked out... However, I'm trying to run a PHP through CLI and having a terrible experience with speed. This is running Windows Server 2008 (with a Quad-Core Intel, 4 GB of RAM). My problem

Re: [PHP] Creating new site

2008-07-31 Thread Jason Norwood-Young
On Thu, 2008-07-31 at 09:57 +, Raido wrote: I have investigated some frameworks.. Zend and Codeiginiter but I haven't done any testing/exercises. They seem to make things much more simple/faster yes...but I'm not sure how much time it will take to get know one of them(or CakePHP). And

Re: [PHP] Web2.0 style tags - where to start?

2008-07-30 Thread Jason Norwood-Young
On Thu, 2008-07-31 at 06:28 +0200, Nitsan Bin-Nun wrote: From my experience with Codeigniter, thats one of the best php frameworks I have ever seen. It functionality is awesome, you can integrate your own modifications to the IC core without any problems at all, for more confortable you even

Re: [PHP] Web2.0 style tags - where to start?

2008-07-29 Thread Jason Norwood-Young
On Mon, 2008-07-28 at 23:57 +0100, Paul Jinks wrote: Jason Norwood-Young wrote: On Mon, 2008-07-28 at 14:48 +0100, Paul Jinks wrote: I think my first post was ambiguous. What we're thinking of is to build a site on which people can view videos with the option to add metadata

Re: [PHP] Web2.0 style tags - where to start?

2008-07-28 Thread Jason Norwood-Young
On Mon, 2008-07-28 at 14:48 +0100, Paul Jinks wrote: I think my first post was ambiguous. What we're thinking of is to build a site on which people can view videos with the option to add metadata to a video after viewing it. We think that the content we have will be of wide interest to a

Re: [PHP] Multi-array - What am I missing?

2008-07-23 Thread Jason Norwood-Young
On Wed, 2008-07-23 at 13:52 -0500, Chris Ditty wrote: Can anyone point me in the right direction? I know I am missing something simple, but I can't place my hands on it. $myCalTime = act_getCalendarDays($config, $myMonth, $myYear); foreach($myCalTime as $calTime = $calArrayTime){

Re: [PHP] is there a problem with php script pulling HTML out of database as it writes the page??

2008-07-18 Thread Jason Norwood-Young
On Thu, 2008-07-17 at 10:41 -0400, Daniel Brown wrote: 9.) NEVER store passwords in a PHP script. Instead, store them in a file named `inc/config.inc` in the web directory, and include them. Dude! You forgot the most important bit: inc/config.inc: $dbusername=root; $dbpassword=r00t; //By

Re: [PHP] Soap Call Error

2008-07-17 Thread Jason Norwood-Young
On Wed, 2008-07-16 at 17:44 -0700, VamVan wrote: Hello Guys, I have been getting a wierd soap exception lately [faultstring] = looks like we got no XML document [faultcode] = Client [faultcodens] = http://schemas.xmlsoap.org/soap/envelope/ What does that mean? The call

Re: [PHP] Pear DB

2008-07-10 Thread Jason Norwood-Young
On Thu, 2008-07-10 at 16:47 +1000, John Comerford wrote: Hi Folks, I have just successfully lobbied for the company I work for to use PHP/MySQL for our next website. My Question is regarding DB abstraction . I know there is a Pear DB module, is this the best to use ? I have a vague

Re: [PHP] Problem with special characters - PHP AJAX

2008-07-07 Thread Jason Norwood-Young
On Mon, 2008-07-07 at 19:35 +0930, Michael Kubler wrote: Are the messages being sent as UTF-8 or something else? Is the server sending the headers as something different to that listed in the header? Actually, looking at it, you don't have a valid DOC-TYPE

Re: [PHP] Splitting up long URLs

2008-07-02 Thread Jason Norwood-Young
On Tue, 2008-07-01 at 13:26 -0700, Brian Dunning wrote: I have a web page that lists most recent comments in a left margin. Sometimes people post long URLs, or even just really really long words, that force that margin to display way too wide, screwing up the page layout. Is there a way

Re: [PHP] Splitting up long URLs

2008-07-02 Thread Jason Norwood-Young
On Wed, 2008-07-02 at 08:23 +0200, Jason Norwood-Young wrote: For URLs you can do a tinyurl-type solution. Dur, just realised it's only *display* that you're worried about so shortening the url isn't really an issue. It's too early in the morning... -- PHP General Mailing List (http

Re: [PHP] unset in foreach breaks recrusion

2008-06-30 Thread Jason Norwood-Young
On Sun, 2008-06-29 at 18:25 -0800, David Sky wrote: Hello everyone! A couple of days ago I submitted a bug to PHP http://bugs.php.net/bug.php?id=45385 But I was mistaken, apparently it's not a bug. And I was sent here to get help. I think you might be forgetting to return $return. J --

Re: [PHP] de lester

2008-06-27 Thread Jason Norwood-Young
On Fri, 2008-06-27 at 03:05 -0400, [EMAIL PROTECTED] wrote: SORRY, IN THE LAST EMAIL I DONT SAY WHAT TYPE OF VIDEO I WAS WORKING, I AM WORKING WITH VIDEO .MOV THANKS. I am working with videos and I need to Know how I can obtain the duration of the videos I had a formula that did not

RE: [PHP] Kindla 0T, but here goes...

2008-06-17 Thread Jason Norwood-Young
On Fri, 2008-06-13 at 16:32 -0500, Boyd, Todd M. wrote: -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 4:13 PM To: Ryan S Cc: php php Subject: Re: [PHP] Kindla 0T, but here goes... On Fri, Jun 13, 2008 at 4:49 PM, Ryan S [EMAIL

RE: [PHP] peer review (was php framework vs just php?)

2008-04-26 Thread Jason Norwood-Young
On Fri, 2008-04-25 at 17:32 -0500, Jay Blanchard wrote: [snip] I can't say I've ever had a form that exactly matched a database table for a user perspective. From an admin perspective that changes, but that was when I downloaded PHPMyAdmin for the client. It was amazing, every form matched

Re: [PHP] foreach loop to set variables

2008-04-25 Thread Jason Norwood-Young
On Fri, 2008-04-25 at 06:12 -0700, jamest wrote: I am passing an array to a class which I want to take the array data and create some variables from the array's keys and values. So I want to create (in this case 21) new variables that I want to create in the foreach but with no success.

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Jason Norwood-Young
On Tue, 2008-04-22 at 21:06 +0800, Kinch Zhang wrote: On 4/22/08, Tony Marston [EMAIL PROTECTED] wrote: If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. I

[Fwd: Re: [PHP] Alter Table newbie help needed ...]

2008-04-21 Thread Jason Norwood-Young
Darn forgot to hit reply to all Forwarded Message From: Jason Norwood-Young [EMAIL PROTECTED] To: revDAVE [EMAIL PROTECTED] Subject: Re: [PHP] Alter Table newbie help needed ... Date: Mon, 21 Apr 2008 23:52:30 +0200 On Mon, 2008-04-21 at 14:04 -0700, revDAVE wrote: Jason

Re: [PHP] Check RAW data

2008-04-20 Thread Jason Norwood-Young
On Sun, 2008-04-20 at 15:52 +0200, rb wrote: I'm getting from an external source a PNG image in raw format (encoded in base64). And with this code I'll echo on the screen. -- $img=base64_decode($_POST['img']); header(Content-type: image/png); echo $img; -- A quick way would

Re: [PHP] Cron php refresh

2008-04-20 Thread Jason Norwood-Young
On Sun, 2008-04-20 at 13:32 -0500, Larry Garfield wrote: On Sunday 20 April 2008, Jeffrey wrote: I'm working on an application that includes e-mail notifications of certain events. Because the application will have hundreds or thousands of users, I've designed it so that e-mail

Re: [PHP] Alter Table newbie help needed ...

2008-04-19 Thread Jason Norwood-Young
On Sat, 2008-04-19 at 14:23 -0700, revDAVE wrote: Newbie - MAC - MAMP on port 8889 I have this connection to Mysql database called 'test' Other Php stuff works ok but now I'm trying to alter the table (never did that before...) Connection called 'try1'... ?php #

Re: [PHP] Evaluating math without eval()

2008-04-14 Thread Jason Norwood-Young
On Sat, 2008-04-12 at 09:05 -0500, Ray Hauge wrote: you might be able to leverage a call to expr on a bash sell. Just replace the variables you're expecting with preg_replace or some similar function. http://hacktux.com/bashmath

Re: [PHP] Help with SSH2 persistent connection in php

2008-04-11 Thread Jason Norwood-Young
On Fri, 2008-04-11 at 10:14 -0300, Rodrigo Reis da Rocha wrote: I want to make an persistent connection via ssh2 to a server with php, but all I can get with the present API is an temporary connection that is lost at end of the script. Anyone have an idea of how I can save the Resource and

[PHP] Evaluating math without eval()

2008-04-10 Thread Jason Norwood-Young
Hi all First post to this list! I'm trying to figure out how to evaluate a string with a mathematical expression and get a result, but without using eval() as I'm accepting user input into the string. I don't just want addition, subtraction, multiplication and division - I'd like to take

Re: [PHP] Evaluating math without eval()

2008-04-10 Thread Jason Norwood-Young
On Thu, 2008-04-10 at 13:15 +0100, Richard Heyes wrote: First post to this list! I'm trying to figure out how to evaluate a string with a mathematical expression and get a result, but without using eval() as I'm accepting user input into the string. I don't just want addition,

Re: [PHP] Evaluating math without eval()

2008-04-10 Thread Jason Norwood-Young
On Thu, 2008-04-10 at 13:15 +0100, Richard Heyes wrote: First post to this list! I'm trying to figure out how to evaluate a string with a mathematical expression and get a result, but without using eval() as I'm accepting user input into the string. I don't just want addition, subtraction,

Re: [PHP] Best authentication method for user

2006-04-03 Thread Grant Young
Hi Alain. On the authentication front, you can use HTTP basic authentication for this kind of thing too - and it means you're not having to re-invent the wheel in a lot of ways. The Auth_HTTP PEAR module makes this pretty simple to implement: http://pear.php.net/package/Auth_HTTP/ You can

Re: [PHP] Get class name in static method

2006-03-20 Thread Grant Young
Not sure about PHP5, but for PHP4 I found this hack solution at: http://passivedigressive.com/archives/2005-02/php-static-class-name-solution/ There are probably all sorts of issues with this approach, but it solved the problem at the time... HTH. Grant -- PHP General Mailing List

[PHP] Merging two partially-transparent images results in black pixels

2006-03-18 Thread Jason Young
, etc. Any help would be much appreciated! Thank you -Jason Young -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DB calls vs Session solution

2006-03-13 Thread Grant Young
Hi Jochem. the nice thing about programming with my 'data framework' is that its very generic, flexible and interspective (generating abitrarily complex sql/html/? from objects) ... which comes with a great cost. so I have code that is really very very heavy but if you consider the

Re: [PHP] Where can I find nice Web icons for custom admin interface?

2006-03-02 Thread Grant Young
Hi Nicolas. I've collected some pointers over the past few months to royalty free icons and designers at: http://del.icio.us/braquin/icons HTH. Regards, Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] html area

2006-02-28 Thread Grant Young
Tiny_MCE is another fairly simple editor - although I've experienced some quirks that can be quite annoying/tricky. http://tinymce.moxiecode.com/ Regards, Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] About date time...

2006-02-28 Thread Grant Young
Hi Gustav. I'm a swede, and I we use hours 0 - 24. 8 pm = 20 for us. 9 pm = 21 for us 10 pm = 22... and so on... But with date()-function there is 10 pm that shows (and I want 22 to show instead) I'm using PHP 4.0.3... Do I have to use getdate() then? (getdate()-function showed 22...)

[PHP] Repost: GD/Freetype text problems with bold or size 8

2005-12-27 Thread Jason Young
Is anyone able to assist with this? I need to have 6 point fonts looking like they should, instead of all scrunched up. Paid consultation okay, if that's what's stopping an answer. What needs to be changed in the bundled GD source to make these fonts look decent? Thank you. Jason Young

[PHP] GD/Freetype text problems with bold or size 8 - Followup

2005-12-22 Thread Jason Young
, had this been standard system fonts in a browser or other application. If anyone has had experience with rendering text, I would really appreciate some hints on how to tweak GD to make things look proper. Thanks Jason Young wrote: Currently, I'm running PHP 5.0.4 (only because it's the only

[PHP] GD/Freetype text problems with bold or size 8

2005-12-21 Thread Jason Young
Currently, I'm running PHP 5.0.4 (only because it's the only one I can get to work on my FC4 x64 install!), but for some reason, using pixel sizes under 8, or using bold fonts, makes the text look horrible. My old host (11 in case anyone else has them..) had this working well, but I have no

[PHP] PHP4.4.0 not recognizing pdflib installtion

2005-09-02 Thread Young
installed Apache2.54 and PDFlib-Lite-6.0.2 Any help is appreciated! Thanks, Young -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with pack unpack functions

2005-01-03 Thread Scott E. Young
I get meaningful data in a few of the shorts, but never all of the structure's members at the same time. Any help is appreciated. -- Scott E. Young Area Mgr - NMA Software Solutions [EMAIL PROTECTED] (713) 567-8625 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Help with pack unpack functions

2005-01-03 Thread Scott E. Young
! So I'll have no one to blame but myself should this ever occur. Hope all of that makes sense and is of some use... Make sense, don't know if it'll help yet, but I'm fixin to try some of your suggestions. Thanks again. -- Scott E. Young Area Mgr - NMA Software Solutions [EMAIL PROTECTED] (713

RE: [PHP] Embedding JavaScript into a PHP generated web page

2004-07-25 Thread Ash Young
Are you getting any error message at all or is the JavaScript just failing? If your receiving a PHP error, are you sure you've escaped all the quotes in the JavaScript? -- ash young :: http://evoluted.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] Question about for

2004-07-25 Thread Ash Young
You could try for ($i=1;$i11;$i=$i+2) -- ash young :: http://evoluted.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Embedding JavaScript into a PHP generated web page

2004-07-25 Thread Ash Young
I'd suggest putting some new line characters in after the !-- as it will treat the JavaScript as a comment. So just add a new line character at the end of each of the echo statements. -- ash young :: http://evoluted.net/ -Original Message- From: Robert Frame [mailto:[EMAIL PROTECTED

[PHP] clearing new pages

2004-05-26 Thread michael young
Hi, a file called a.php prints hello to the browser then calls b.php which prints goodbye to the browser. the output looks like this: hello goodbye how do I clear the screen so the end results looks like this: goodbye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] How to make program execution go to another file?

2004-05-21 Thread michael young
; if(file_exists(this.php)) include(this.php); to suppress any warning at all. Warren Vail -Original Message- From: michael young [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 2:12 PM To: [EMAIL PROTECTED] Subject: [PHP] How to make program execution go to another file? Hi, I want

[PHP] How to make program execution go to another file?

2004-05-20 Thread michael young
Hi, I want program execution to go to one of several other files based on a decision. For Example. if (1==a) go to this .php file if (1==b) go to that .php file if (1==c) go to the other .php file Thank you for your time. Michael -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Apache 2.x and PHP

2003-07-23 Thread Brad Young
We have a detailed whitepaper on the subject. Please check out: http://www.zend.com/whitepapers/PHPandApache2-ZendWhitepaper.pdf BY __ Brad Young [EMAIL PROTECTED] www.zend.com Zend - The PHP Company Hi All, Can anyone aswer this simple question, that i still

RE: [PHP] zend optimizer for 4.3.2

2003-07-17 Thread Brad Young
Yes, Zend Optimizer definitely does support 4.3.X. Brad __ Brad Young [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.zend.com http://www.zend.com Zend - The PHP Company -Original Message- From: Adrian Teasdale [mailto:[EMAIL PROTECTED] Sent: Thursday

Re: [PHP] ANY ONE CAN TELL ME WHAT PORT mssql_connect uses?

2003-07-15 Thread Liberty Young
On Tue, 2003-07-15 at 01:00, Nabil wrote: I tried to make it direct connection, but this way uses many ports that the firewall won't allowed.. He said for security reasons that he can't open those ports to prevents hackers to use them ... do u think this is a true ? any advice what port the

[PHP] File upload HELP!!!

2003-06-27 Thread Ian Young
: $file_name = $write_dir.$input_file_name; $file_size = filesize ($file_name); $fp = fopen ($file_name, 'r'); $data = addslashes (fread ($fp, $file_size)); fclose ($fp); Hope you can help Ian J Young Principal Ian Young Executive Search 39 Palmerston Place

Re: [PHP] Generating Related Drop Down Boxes

2003-06-11 Thread Jackie Young
Hi, Please keep in mind that I am a newbie to PHP, however I have just solved this same type of problem (for County, City, and Zip) as follows: // COUNTY print tr; print td align=\right\b class=\highlightColor\* /bCounty:/td; print td align=\left\; if ($countyX != ) { $county =

RE: [PHP] web services

2003-03-21 Thread Darren Young
I seem to remember reading somewhere about compiling PHP pages to 'bytecode' thus removing the need to distribute the source PHP pages. I'm going to have the need down the road to distribute a PHP based app to others and am curious about the same hiding code issues. I'm not all that worried about

RE: [PHP] Detailed error message?

2003-03-21 Thread Darren Young
I use the set_error_handler and have a local function that dumps that stuff. I then redirect all of that to a log file on disk so the user doesn't have to see it. Check http://www.php.net/manual/en/function.set-error-handler.php There's a whole section in the manual that deals with error

RE: [PHP] Sessions question

2003-03-21 Thread Darren Young
It's a session cookie, the browser clears it when it's closed. IIRC you set the time to 0 to turn the cookie into a session one. Not sure how it'll work with sessions though. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 9:59 AM To:

[PHP] Too all who are stuck with PHP/Apache2 under RH8

2003-03-17 Thread Jason Young
Just a quick reiteration of something I found that probably most people already know.. but since I went through the painstaking trouble of removing the PHP and Apache RPMs and building them from scratch (I hate building sources), I wanted to make sure this is out there. If you're having

[PHP] Feasability of Serial functions and constantly running progrms

2003-03-14 Thread Jason Young
After upgrading to RedHat 8.0 and effectively breaking some python caller-id script that I have no clue how to fix.. I'm curious of whether or not PHP would be able to get caller-id data from a modem.. I imagine it could, and probably won't be too difficult to overcome... but I am posing that

[PHP] SOAP

2003-03-11 Thread Darren Young
Is there any way to act as a SOAP client with PHP other than with pear? Thx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RedHat

2003-03-04 Thread Darren Young
Does anyone know if the PHP included in RedHat 8.0 has sockets enabled? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RedHat 8.0 MySQL Problem

2003-03-04 Thread Darren Young
I have an app that runs just fine on RedHat 7.2 with compiled Apache and PHP along with MySQL binaries installed from MySQL's site. I have a new machine running RedHat 8.0 that is completely generic, i.e only RedHat Apache, PHP and MySQL RPM's installed. The error message I'm getting is:

RE: [PHP] Calendar

2003-03-01 Thread Darren Young
Check http://www.cascade.org.uk/software/php/calendar/ I've used that one on several sites. -Original Message- From: Jason D. Williard [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2003 4:28 PM To: [EMAIL PROTECTED] Subject: [PHP] Calendar Is there an easy way to create a

RE: [PHP] what are the planned features of php 5?[Scanned]

2003-02-26 Thread Brad Young
You can also view the recorded on-line seminars that Zeev gave, which go into even more detail. http://www.zend.com/iseminar.php The Future of PHP and the Zend Engine 2 The Future of PHP and the Zend Engine 2 - Part 2 Examples and tutorials Brad -Original Message- From:

RE: [PHP] Zend Encoder

2003-02-25 Thread Brad Young
__ Brad Young Director, Product Marketing [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.zend.com http://www.zend.com Zend - The PHP Company -Original Message- From: Thomas Johnsson [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 6:51 PM To: [EMAIL PROTECTED] Subject

RE: [PHP] PHP 5

2003-02-18 Thread Brad Young
__ Brad Young [EMAIL PROTECTED] Zend - The PHP Company -Original Message- From: Adrian Portsmouth [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 7:46 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP 5 Hi, I have been checking out the books on Amazon.com

[PHP] Templates

2003-02-13 Thread Darren Young
like to have the basic HTML in the templates, and the real logic in the PHP code. Thanks in advance, Darren Young -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Templates

2003-02-13 Thread Darren Young
. Any best practices assistance would be appreciated. Thanks for the response by the way. /DAY -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 5:22 PM To: Darren Young; [EMAIL PROTECTED] Subject: Re: [PHP] Templates Go for a complex

RE: [PHP] php5 features?

2002-12-03 Thread Brad Young
particularly interested in what's gonna be added or changed to php in regards to its OOP capabilities. __ Brad Young Director, Product Marketing [EMAIL PROTECTED] www.zend.com Zend - The PHP Company -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: image generation with PHP

2002-11-24 Thread Jason Young
I did this just today -- http://www.php.net/manual/en/function.imagecreate.php Its real short and sweet. If you're running on Linux, I'm sure you'll be able to get it to work just fine - on Windows, make sure you have the gd extention, and that it will be loaded with php.ini. Hope this helps!

[PHP] Re: image generation with PHP

2002-11-24 Thread Jason Young
You'll need the full PHP package (the 5 MB zip file, not the 400k quickie) .. it'll be in the extensions/ directory of there.. php_gd.dll.. Myrage wrote: i am using windows and I cannot seem to find the necessary libs and dlls Jason Young wrote in message [EMAIL PROTECTED]">new

[PHP] Re: image generation with PHP

2002-11-24 Thread Jason Young
Did you tell php.ini to load this extension, and then restart your webserver? (I am taking it that you're using IIS or PWS? -- Someone else will have to field the question on whether or not GD/PHP works with this.. I would imagine so, but I am not sure enough to put any money on it :) )

RE: [PHP] zend studio (erro)

2002-11-11 Thread Brad Young
The Zend Studio comes with both a local debugger (for convenient local-machine / offline debugging) as well as remote server debugger (for 'the real deal'). If you work with the local debugger, the local version of php is used, which includes core php, but not any extensions. The function

[PHP] Lynx/Apache PHP execution vs. PHP interpreter

2002-11-08 Thread Jason Young
I've got a CallerID program that I've found on Freshmeat.net (elcid, for those keeping track)... I've edited the reporting functions so that instead of throwing it up on the console like it normally does, it instead calls lynx with the -dump parameter to the PHP page, and that in turn puts the

[PHP] Re: arg parsing

2002-11-08 Thread Jason Young
This is a common upgrader's 'register_globals' confusion problem ;-) Basically what it means is that arbitrary values are not parsed in a GET-type request, like your action=new. You must explicitly ask for them.. *I* personally use this (I'm sure others will follow up with their code) at the

Re: [PHP] How to echo the end marker '?'

2002-11-08 Thread Jason Young
If you're trying to get a LITERAL ? Use gt; for your symbol so that you have ?gt; I also noticed you didn't have a ? at the beginning of your string, so use lt;? for that. Does this help? John W. Holmes wrote: subject's allready my question ! I want to echo something like : action =

[PHP] Code Advice

2002-11-06 Thread Jason Young
I (think I) have come up with an interesting little solution for pages that have/can potentially have a lot of get vars, and I just wanted to throw it by everyone to see if I know what I'm talking about... Instead of having a whole bunch of ... if (isset($_GET['var'])) $var = $_GET['var'] ..

Re: [PHP] Code Advice

2002-11-06 Thread Jason Young
Hmm.. So then can anyone tell me why its working so far? ;) I am trying out every single function in this page in hopes to catch something, but so far I don't see any breakage - I can see there are a few ways to skin this cat.. the original code I posted DOES work.. I still may be blind to

Re: [PHP] Code Advice

2002-11-06 Thread Jason Young
becuase you have register_globals = ON in your php.ini and those variable names are being set by default. Your posted code is actually doing nothing. What I can't figure is why you're not getting any errors. :-\ -Kevin - Original Message - From: Jason Young [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Code Advice

2002-11-06 Thread Jason Young
for the brain-death. -Jason Ernest E Vogelsinger wrote: At 20:40 06.11.2002, Jason Young spoke out and said: [snip] register_globals is definately off.. Maybe its a PHP miracle, as Ernest suggested.. maybe Rasmus or someone else on the PHP dev team has something

Re: [PHP] upload several files

2002-10-29 Thread Jason Young
I was going to post a similar response to this.. but I do recall that Hotmail uses a form where you select the filename and pop it over to a listbox.. then when you submit, it throws all the files into the email.. one page, one form, any number of files (up to 1 or 2 megs, however hotmail's

[PHP] Re: Form variables vs Sessions

2002-10-29 Thread Jason Young
Apologies if I'm being too simplistic here, but make sure that your first page's form elements have something similar to: input type=text name=username value=? echo $username; ? And of course.. that your POST data is being grabbed accordingly by the first page to be able to set those

[PHP] Re: Upload images to server other than web server?

2002-10-29 Thread Jason Young
Does it have direct access to this filesystem? Or maybe FTP access? I've seen a lot of talk about automatic FTP transfers on the list, maybe you can filter the topics and grab something from there? Just a few cents to throw in :) -Jason Greg Macek wrote: This topic may have been covered

[PHP] Re: upload files

2002-10-25 Thread Jason Young
I'm not sure of the backwards compatibility, but if you're running PHP 4.2.x (I think? Maybe it came in earlier) .. use the $_FILES global variable, in place of $HTTP_POST_FILES. The array is exactly the same: $_FILES[name_of_file][attributes] Hopefully this helps? -Jason Cyrille Andres

[PHP] Re: displaying flash from db

2002-10-21 Thread Jason Young
Well how exactly are you using this DB? Are you using a 'blob' type format to actually write the flash binary to the database, or are you using it to keep track of where it is in the filesystem? -J Yonatan Ben-Nes wrote: Hi all! Does anyone know where can i find some information about

[PHP] $_FILES posting limited to 5?

2002-10-16 Thread Jason Young
I'm going to approach this question in a different way, in case some people were put off by the complexity of it yesterday. For all those who don't know my question from yesterday, I have a form where I can upload up to 9 files at a time. Unfortunately, only the first 5 of those files are

[PHP] Re: $_FILES limited to 5? (Server versions)

2002-10-16 Thread Jason Young
Just wanted to let everyone know: PHP version is 4.2.1 Apache is 1.3.24 Running WindowsXP Pro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Odd finding while researching $_FILES

2002-10-16 Thread Jason Young
Without going into the process of how I came to do this, I just wanted to throw out there that even if you only have 1 file input, it still seems to loop 5 times... Is this something with my code... -- $current = 0; while (list($key) = each($_FILES['picname'])) { echo $current;

Re: [PHP] $_FILES posting limited to 5?

2002-10-16 Thread Jason Young
BEAUTIFUL! This was the problem... it wasn't that there was a limit of 5 maximum uploads, it was just that my 'while' statement was only counting as many fields as the first sub-array for $_FILES.. which is 5. Tom, thanks a bunch! -Jason Tom Rogers wrote: Hi, Wednesday, October 16,

Re: [PHP] Blank PHP pages.

2002-10-16 Thread Jason Young
Make sure all of your code is executing properly. I had this problem for a little bit, actually. Edit your php settings to give you errors on the output, or just check your server logs.. there's gotta be something there. Just one problem and my whole PHP page failed to print anything within ?

[PHP] Problem with fputs/fgets

2002-10-16 Thread Jason Young
I'm in the process of writing a very very simple web-based email client, just for my personal use, so I can perm-delete all the spam that comes in through the day on my home account before i get home. On the very first connect, its great.. connects, does a 'uidl' which lists all the mail

[PHP] Re: Problem with fputs/fgets - Scratch that.

2002-10-16 Thread Jason Young
Scratch this.. as some of you probably have already picked up on.. I failed to terminate my 'top' line .. Sorry for that 0:) -J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_FILES posting limited to 5?

2002-10-16 Thread Jason Young
Yeah, this has been worked out already - turns out I was looping on the file elements themselves (size, name, tmp_name, etc) isntead of the actual number of files. Thanks for your reply tho! :) -J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Problem with fputs/fgets

2002-10-16 Thread Jason Young
and it does work on pop3 servers. ~Paul On Wednesday 16 October 2002 05:02 pm, Jason Young wrote: I'm in the process of writing a very very simple web-based email client, just for my personal use, so I can perm-delete all the spam that comes in through the day on my home account before i get home

[PHP] Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
Hey yet again... I've got a 3x3 grid of type 'file' input elements, for a nifty total of 9 upload spaces.. After specifying a file in all 9, and attempting upload, I only got 5.. I noticed the total filesize was 2 megs, so I changed the php.ini to 8.. yet I still got that problem. So I

[PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
Can't anyone help me with this? :-/ Read below... I wrote: Hey yet again... I've got a 3x3 grid of type 'file' input elements, for a nifty total of 9 upload spaces.. After specifying a file in all 9, and attempting upload, I only got 5.. I noticed the total filesize was 2 megs, so I

Re: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
at a time?? -Jason Paul Nicholson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you post the values of the post_max_size, upload_max_filesize, memory limit ini settings? ~Paul On Tuesday 15 October 2002 03:21 pm, Jason Young wrote: Can't anyone help me with this? :-/ Read

Re: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
pm, Jason Young wrote: Sure.. post_max_size = 10M upload_max_filesize = 8M memory_limit = 8M As I said before, however.. even without throwing files there, my loop test code only spits out '01234', meaning that its only looping 5 times through the code before exiting... Does file

  1   2   >