[PHP] IE9 Large Post Hangs for 5 Minutes Plus

2012-06-17 Thread Christopher Cowan
I'm working on an issue with IE9. I have a web app that posts a multipart form via Ajax. The content-length is about 1MB often larger (uploading GPS tracks). Chrome, Safari and Firefox all make the POST request then immediately (after the POST completes receives the response). IE on the other ha

[PHP] Re: [PHP-DB] PHP & Database Problems -- Code Snippets

2012-05-02 Thread Christopher Jones
I noticed the use of SQL concatenation like: $allowed_fields = array ( 'Site' =>$_POST['Site'], 'MedRec' => $_POST['MedRec'], 'Fname' => $_POST['Fname'], 'Lname' => $_POST['Lname'] , 'Phone' => $_POST['Phone'] , 'Sex' => $_POST['Sex'] , 'Height' => $_POST['Height'] ); if(emp

[PHP] Re: Uploading and creating an email attachment, WITHOUT a DB on server

2012-03-27 Thread Christopher Svanefalk
Addendum: what standard functions could I invoke to accomplish the file system view part? On Tue, Mar 27, 2012 at 2:37 PM, Christopher Svanefalk < christopher.svanef...@gmail.com> wrote: > Dear all, > > I am rather green to PHP and web programming in general, and would just >

[PHP] Uploading and creating an email attachment, WITHOUT a DB on server

2012-03-27 Thread Christopher Svanefalk
? Or does it have to go intermediare storage? Thanks in advance for any help! -- Best, Christopher Svanefalk

[PHP] Numeric help needed

2012-01-15 Thread Christopher J Payne
Hi everyone, I am having a hard time with a numerical problem. I need to round some numbers up and I've tried $round($number) and it doesn't work so I'm misunderstanding something. For example, if a user inputs 685000 I need it to round up to 69 or if they input 149560 I need it to

RE: [PHP] Online Form Creation

2011-12-22 Thread Christopher Lee
[mailto:tedd.sperl...@gmail.com] Sent: Thursday, December 22, 2011 1:43 PM To: PHP-General List Cc: Christopher Lee Subject: Re: [PHP] Online Form Creation On Dec 22, 2011, at 11:22 AM, Christopher Lee wrote: > Tedd, > > I appreciate your reply to my post. In no way do I expect anyone to code

RE: [PHP] Online Form Creation

2011-12-22 Thread Christopher Lee
ions from everyone. I probably could have worded my initial email a little better. Thank you to Tedd as well. Best, Christopher -Original Message- From: Govinda [mailto:govinda.webdnat...@gmail.com] Sent: Thursday, December 22, 2011 12:15 PM To: Christopher Lee Cc: PHP-General List Su

RE: [PHP] Online Form Creation

2011-12-22 Thread Christopher Lee
to set-up a similar matrix to allow the user to enter a numerical value. I will follow your suggestion and submit my work. Best, Christopher -Original Message- From: Tedd Sperling [mailto:tedd.sperl...@gmail.com] Sent: Wednesday, December 21, 2011 12:05 PM To: PHP-General List Cc: C

[PHP] Online Form Creation

2011-12-20 Thread Christopher Lee
having trouble figuring out the best way to create the form and ensure the data is collected properly in the DB. Any suggestions would be greatly appreciated. Best, Christopher This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private

[PHP] PHP based online survey tool

2011-11-26 Thread Christopher Lee
anyone have any suggestions for PHP based online survey tools? Any suggestions would be greatly appreciated. Thank you all in advance. Best, Christopher This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received

RE: [PHP] RSS Feed

2011-11-15 Thread Christopher Lee
Hello Matijn, Thank you for the response and the link. I had not tried Google but, instead, reached out to the list first. Thought I would get people who have developed similar tools with success..:-) I will certainly reference the link and give this try. Best, Christopher -Original

[PHP] RSS Feed

2011-11-15 Thread Christopher Lee
hope that I have adequately explained my needs. Thank you all in advance for your help. Best, Christopher This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender

RE: [PHP] Friday Distraction

2011-10-21 Thread Christopher Lee
t? I would > rather spend my time programming, teaching programming, and reading about > programming. > > Maybe I'm just getting too old for this stuff. > > Cheers, > > tedd First, I hope that I am posting my response to Tedd correctly (no top posts..). Second, I tot

RE: [PHP] book quest

2011-09-28 Thread Christopher Lee
I agree with Daniel. I would be willing to contribute to that type of collaborative initiative. Best, Christopher Lee -Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel Brown Sent: Wednesday, September 28, 2011 7:24 PM To: Andy McKenzie Cc: php

RE: [PHP] PHP frameworks

2011-08-05 Thread Christopher Lee
ork? Best, Christopher From: Laruence [larue...@baidu.com] Sent: Sunday, July 24, 2011 11:19 PM To: Floyd Resler Cc: PHP Subject: Re: [PHP] PHP frameworks Hi: if you have high performance need, you can considering Yaf( a PHP framework which is build in PHP

RE: [PHP] best ways to recruit volunteers for a PHP framework

2011-06-28 Thread Christopher Lee
I would definitely be interested in working on/developing the user manual for the project. You have my interest. Best, Christopher From: jean-baptiste verrey [jeanbaptiste.ver...@gmail.com] Sent: Tuesday, June 28, 2011 4:24 PM To: php-general

RE: [PHP] all local sites stopped working ... [SOLVED]

2009-10-17 Thread Marc Christopher Hall
-Original Message- From: cr.vege...@gmail.com [mailto:cr.vege...@gmail.com] Sent: Saturday, October 17, 2009 8:20 AM To: Tommy Pham; general php Subject: Re: [PHP] all local sites stopped working ... [SOLVED] - Original Message - From: "Tommy Pham" To: "general php" Sent: Sat

RE: [PHP] mod primary key field - newbie question

2009-07-13 Thread Marc Christopher Hall
-Original Message- From: Floyd Resler [mailto:fres...@adex-intl.com] Sent: Monday, July 13, 2009 5:41 PM To: c...@hosting4days.com Cc: php-general@lists.php.net Subject: Re: [PHP] mod primary key field - newbie question Sounds like you want to set the auto increment. To do that, use th

RE: [PHP] Re: How to authnticate and use contents from ${HOME}

2009-07-11 Thread Marc Christopher Hall
First time I've ever seen LAMP described as a language... __ Information from ESET Smart Security, version of virus signature database 4234 (20090711) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] CSS & tables

2009-05-18 Thread Marc Christopher Hall
and so I don't feel like a complete ass http://jeffhowden.com/code/css/forms/ __ Information from ESET Smart Security, version of virus signature database 4084 (20090518) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (

RE: [PHP] CSS & tables

2009-05-18 Thread Marc Christopher Hall
I would like to add that last time I checked, this is the PHP Mailing List and not CSS or anything else. Can we please get back to regular PHP banter? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET

RE: [PHP] CamelCase conversion to proper_c_style

2009-04-27 Thread Marc Christopher Hall
My suggestion is to use the Find and Replace feature of your code editing software. Sorry to disagree with Mr. Hayes, however, if you do as he says and replace as you go you will be creating errors as these variables, functions, etc will most likely be CaSe SenSItiVe. Change one then you need to ch

RE: [PHP] 800 pound gorilla

2009-04-20 Thread Marc Christopher Hall
-Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel Brown Sent: Monday, April 20, 2009 9:52 AM To: Marc Christopher Hall Cc: php-general@lists.php.net Subject: Re: [PHP] 800 pound gorilla On Mon, Apr 20, 2009 at 09:48, Marc Christopher Hall wrote

[PHP] 800 pound gorilla

2009-04-20 Thread Marc Christopher Hall
Sun buys MySQL and now Oracle buys Sun (not final, yet). What will happen with the main db we PHP'ers have come to know and love especially since v 5

RE: [PHP] 800 pound gorilla

2009-04-20 Thread Marc Christopher Hall
-Original Message- From: Bob McConnell [mailto:r...@cbord.com] Sent: Monday, April 20, 2009 9:59 AM To: Marc Christopher Hall; php-general@lists.php.net Subject: RE: [PHP] 800 pound gorilla From: Marc Christopher Hall > > Sun buys MySQL and now Oracle buys Sun (not final, yet)

RE: [PHP] Possible Server Infection?

2009-04-05 Thread Marc Christopher Hall
I recommend switching to Hostgator for your ded and ask them for their custom modsec. I'm not affiliated with them except that I am a customer and have been for 6 years. I do bring this up because you stated that they "do not know" which if true tells me that do not know how to do even the smallest

RE: [PHP] Security Support

2009-03-29 Thread Marc Christopher Hall
I is a hi skool gradjuate -Original Message- From: abdulazeez alugo [mailto:defati...@hotmail.com] Sent: Sunday, March 29, 2009 7:10 PM To: gp...@thenetnow.com; php-general@lists.php.net Subject: RE: [PHP] Security Support > From: gp...@thenetnow.com > To: php-general@lists.php.net

RE: [PHP] Frameworks / obstinate?

2009-03-22 Thread Marc Christopher Hall
My personal take on this goes something like this: I'm not a huge fan of re-inventing the wheel. However, it seems that since the first stable release of PHP 5 into the wild a much needed emphasis has been placed on OOP solutions within the PHP world. Don't read me wrong, I know the importance was

RE: [PHP] Re: So called "PHP Expert"

2009-03-20 Thread Marc Christopher Hall
This is why I am pushing for legislation to make this a licensed profession. -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Friday, March 20, 2009 9:18 PM To: Shawn McKenzie Cc: php-general@lists.php.net Subject: Re: [PHP] Re: So called "PHP Expert" On

RE: [PHP] Stopping bad entries in PHP form

2009-03-19 Thread Marc Christopher Hall
IP lookups are like Marxism, great idea in theory, terrible in reality. IP's can be spoofed. The best recommendation I can think of would be to add some word filters to your (I'm assuming javascript) form validation script. Even here caution needs to be used, i.e don't filter Moscow because there i

RE: [PHP] PHP Site Security issue

2009-03-19 Thread Marc Christopher Hall
Original message: I suggest you put in a support ticket with GoDaddy. The URL's are not genuine and beyond that I would hazard a guess that possibly your site login has been compromised. Again, contact GoDaddy or whomever your hosting provider is. (You said you domain is with GD but you didn't s

RE: [PHP] Smarty Tips and Techniques

2009-03-19 Thread Marc Christopher Hall
The following comment is not intended to be helpful *smacks head on desk repeatedly...* This comment is.. I would hazard to say that if you are unwilling or unable to grasp OOP, MVCs and any decent framework that is necessary then maybe stepping back and tackling only things you can grasp.

RE: [PHP] left join does not work, why?

2009-03-15 Thread Marc Christopher Hall
Not to mention if this is written for v 5 then you need to wrap your joins in () -Original Message- From: Jan G.B. [mailto:ro0ot.w...@googlemail.com] Sent: Sunday, March 15, 2009 9:47 AM To: PJ Cc: Daniel Brown; php-general@lists.php.net Subject: Re: [PHP] left join does not work, why? 2

RE: [PHP] DOM - change a tag name ??

2009-03-11 Thread Marc Christopher Hall
Unfortunately, you are correct. This is the only way to do it at the moment. tagName/nodeName are readonly in the DOM and are set when created. I know this is possible in the .NET world and I am still beside myself as to which is the better way. -Original Message- From: Michael A. Peters

RE: [PHP] Re: PHP Frameworks

2009-03-09 Thread Marc Christopher Hall
@todd; Micah - Precisely why I presented the question anew. Not only do I not have enough time to troll through the archives; I was looking for a fresher set of responses based on today's smorgasbord. Thank you for your input; I have looked at both YII and CI and they look promising. I love the

[PHP] Re: New PHP User with a simple question

2009-01-26 Thread Christopher W
, looking at other people's php files and lots of practicing I may one day "get it." I am truly grateful for all the time all of you spent in trying to help. -- ""Christopher W"" wrote in message news:f5.56.55096.935eb...@pb1.pair.com... > At least I hope it

Re: [PHP] New PHP User with a simple question

2009-01-26 Thread Christopher W
Kevin, Your link, with some modifications to fit my site layout, worked just as I was hoping for. Thank you very much. -- "Kevin Waterson" wrote in message news:20090126092451.7aab63ff.ke...@phpro.org... > >> > Sorry, I am also new to the etiquette of these mail lists. > > Hope this will ge

Re: [PHP] New PHP User with a simple question

2009-01-24 Thread Christopher W
t that's not nearly as good or reliable. > > Sorry if there's too much info, but I'm guessing this is roughly what > you'll be doing. > If you want to have more than one variable (like say a sub page) then > you add *&* between each variable. E.g > >H

Re: [PHP] New PHP User with a simple question

2009-01-24 Thread Christopher W
-- "Lars Torben Wilson" wrote in message news:36d4833b0901242313r435860b3q7f3f4f0eea621...@mail.gmail.com... > 2009/1/24 Christopher W : >> At least I hope it is simple... >> >> I am trying to get an HTML menu link to set a variable's value. For >> example, when a user clicks the "Hom

[PHP] New PHP User with a simple question

2009-01-24 Thread Christopher W
At least I hope it is simple... I am trying to get an HTML menu link to set a variable's value. For example, when a user clicks the "Home" button on my page it would cause $page = "home"; or clicking the "About Us" button will set $page="about_us"; etc. I think this should be fairly simple bu

[PHP] Re: Fatal error: Call to a member function on a non-object

2008-11-18 Thread Christopher Vogt
Hej, I created a change request: http://bugs.php.net/bug.php?id=46601 Best regards Christopher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Christopher Vogt
happy with it. And I think being able to handle fatal errors, whenever possible would be a very useful feature. What about E_RECOVERABLE_ERROR, couldn't calling a method on a non-object trigger E_RECOVERABLE_ERROR, instead of E_ERROR? Best regards Christopher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Christopher Vogt
ly would have told you that. I am sorry about that. I'll first consult general@ in the future. Best regards Christopher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Christopher Vogt
ely hides a likely group of errors from the notification system. I hopes this motivates the question a little better. But the question remains. Are there reasons to have a Fatal error here? For comparison: Python throws an exception in a comparable case, allowing me to handle the error. Best rega

[PHP] Re: [PHP-DB] Using oci_execute

2008-09-29 Thread Christopher Jones
Walter Galvão wrote: Are you exceeding the PHP script time out, or exceeding the memory limit? I dont know. Doesnt appear any message. The script prints the last message before the oci_execute call. I'd start by looking at the max_execution_time and memory_limit settings in php.ini. Chri

[PHP] Re: [PHP-DB] Using oci_execute

2008-09-29 Thread Christopher Jones
Walter Galvão wrote: Hi, Im using the oracle instant client basic in my php app, with apache server. When a query returns few rows, there is no problem. Otherwise, the oci_execute method doesn return any records neither errors! How can i solve this problem?? My implementation: function execu

[PHP] A better XSS trap (Feedback wanted)

2008-08-28 Thread Christopher Vogt
ay() - decoration of multidimensional arrays and webs of object references More example code: http://code.google.com/p/cvphplib/source/browse/trunk/cvphplib/examples/exampleOutputFilter.php http://code.google.com/p/cvphplib/source/browse/trunk/cvphplib/tests/CV/Test_OutputFilter.php So what do you think? Best regards Christopher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Create PDFs with a strict layout automatically

2007-11-27 Thread David Christopher Zentgraf
On 27 Nov 2007, at 17:57, Brady Mitchell wrote: FPDF is a great way to go - I've used it for other projects. Thought I'd share this method so you'd have more options. :) Very much appreciated. :o) I do want to include graphics dynamically as well, not just form data, so I think your approa

Re: [PHP] Create PDFs with a strict layout automatically

2007-11-27 Thread David Christopher Zentgraf
On 27 Nov 2007, at 14:09, Brady Mitchell wrote: I had a similar situation where I needed to fill in the blanks on an existing PDF file. I used the createFDF function from http://koivi.com/fill-pdf-form-fields in combination with pdftk (http://www.accesspdf.com/pdftk/) to merge the fdf data

Re: [PHP] Create PDFs with a strict layout automatically

2007-11-26 Thread David Christopher Zentgraf
On 27 Nov 2007, at 12:25, Bastien Koert wrote: you could also look at http://www.digitaljunkies.ca/dompdf/ Looks alright, but I'm wondering whether the results might be more accurate by laying the PDF out "by hand", instead of going through an intermediary step with CSS? I was also looking

Re: [PHP] Create PDFs with a strict layout automatically

2007-11-26 Thread David Christopher Zentgraf
On 27 Nov 2007, at 11:51, Chris wrote: There are a few packages you can use. http://pear.php.net/package/File_PDF http://www.fpdf.org/ are two I know of, I'm sure there are more. Thanks! The built-in PDFlib functions didn't seem to appealing, but FPDF looks pretty good. I'll certainly play

[PHP] Create PDFs with a strict layout automatically

2007-11-26 Thread David Christopher Zentgraf
Hi, I want to offer visitors of my site the possibility of downloading printable, foldable pocket guides for certain things that come out of my database. The problem is that items will be entered into the database very frequently, so I need to automate the process of creating these guides

Re: [PHP] Rendering problem (IE browser on windows + php on linux host)

2007-11-03 Thread David Christopher Zentgraf
What about comparing the pure HTML output of both servers _including headers_, for example with curl? On 3 Nov 2007, at 23:46, Erick Paquin wrote: Hi All, If someone has seen this before it would greatly help me. I have done a php site at work on my windows server. The site renders perfectl

Re: [PHP] crop an image

2007-10-31 Thread David Christopher Zentgraf
Copying half a pixel? I dare say that's where the problem is. Chrs, Dav On 31 Oct 2007, at 19:34, Merlin wrote: Hi there, I do have a small problem with the proportions of image copy The image is originally vertical in 100px width and 141px height. Now I want to crop it to 80 px width and 60

Re: [PHP] Re: Stopping objects from auto-serializing

2007-10-31 Thread David Christopher Zentgraf
On 31 Oct 2007, at 17:23, hochprior wrote: I got the following in my main .htaccess (and it works just fine...): php_flag register_globals 0 Well apparently I'm not allowed to override register_globals. Looking at the problem a little closer, it also doesn't seem like register_globals is th

Re: [PHP] Stopping objects from auto-serializing

2007-10-31 Thread David Christopher Zentgraf
t;bar" $foo = "12345"; $var = ""; function test() { $foo = "67890"; } test(); After execution finished $_SESSION["foo"] is now "12345", but there's no $_SESSION["var"]. What's going on here? On 31 Oct 2007, at

Re: [PHP] Stopping objects from auto-serializing

2007-10-30 Thread David Christopher Zentgraf
On 31 Oct 2007, at 16:16, Jochem Maas wrote: are you using session_register()? (dont) also are you setting the value in $_SESSION by reference? No and no. The only time I'm writing to $_SESSION["basket"] is by setting $_SESSION["basket"][] = "foo", I'm never touching the actual $_SESSION[

Re: [PHP] Stopping objects from auto-serializing

2007-10-30 Thread David Christopher Zentgraf
On 31 Oct 2007, at 15:32, Jochem Maas wrote: aside from this error (my guess is your not allowed to override it) I can't see the problem of serialization .. don't put the object in $_SESSION? ... what are you doing? show us the code? I'm not putting the object in $_SESSION, but PHP apparen

Re: [PHP] Stopping objects from auto-serializing

2007-10-30 Thread David Christopher Zentgraf
On 31 Oct 2007, at 13:50, Larry Garfield wrote: Try: php_value register_globals Off Same Apache misconfiguration error. Even though the host actually requires me to enable PHP processing via an "AddHandler" .htaccess directive, php_flag/value directives are throwing an error. Weird. ..

[PHP] Stopping objects from auto-serializing

2007-10-30 Thread David Christopher Zentgraf
Hi, I'm trying to set up my PHP app at my host, but am stumbling over the PHP configuration there. register_globals is enabled, which seems to auto-serialize my objects into $_SESSION, which in some cases overwrites variables in there. I'm not sure if register_globals is where the auto-se

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 21:07, Colin Guthrie wrote: No, I reckon Jul 5th could be about right when was .45 released? I had it in my head it was august but Jul doesn't seem too far before that so entirely possible. Ah sorry, I was thinking about source installs. RPMs keep the original cre

Re: [PHP] Re: [PHP-INSTALL] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 20:33, Colin Guthrie wrote: If you compile PHP and it finds v3 of mysql that means that you must have the old development libraries for mysql 3 installed in some capacity (I believe). What is the output of: rpm -qa --nosignature --nodigest | grep -i mysql This should give

Re: [PHP] MySQL connector installation/upgrade problems

2007-10-23 Thread David Christopher Zentgraf
On 23. Oct 2007, at 19:55, Martin Marques wrote: Wouldn't it be easier to upgrade to CentOS 5? We tried to explain that to our host, but their service *major expletive*, and other hosts in Tokyo ain't better either. :-( Chrs, Dav -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] languages and PHP

2007-09-27 Thread David Christopher Zentgraf
Your biggest problem will be if you accept any kind of user input which could be in any kind of language. Depending on your server configuration you'll probably have some serious cleaning and filtering to do. I often have to employ this line for example: foreach (array_keys($_POST) as $key) $c

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread David Christopher Zentgraf
On 26. Sep 2007, at 16:45, Nathan Nobbe wrote: i hate to suggest it, but you might want to take a little time and investigate what other restrictions you host has. if the list is long you may want to consider a move. it may seem arduous now, but the longer you wait the more arduous it will

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread David Christopher Zentgraf
On 26. Sep 2007, at 16:14, mike wrote: On 9/25/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote: i try to stay away from it if i can. i think the same of SOAP. in my opinion a shower is the only place for soap. Well put. :-D I, too, fail to see what's so terribly special about it. -- PHP Gene

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread David Christopher Zentgraf
On 26. Sep 2007, at 15:26, Nathan Nobbe wrote: i just read the first message in this thread and NuSoap immediately came to mind. though it will solve your problem you may end up like me, hating to use NuSoap under duress. i think it was really popular back in th php4 days when there was n

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-25 Thread David Christopher Zentgraf
On 26. Sep 2007, at 13:19, mike wrote: i've downloaded PEAR packages before and used them manually. all PEAR is is PHP object code modules in a central place. nothing special, really. you just have to tweak some script paths and you can use include/require on the files like normal. That's w

[PHP] open_basedir

2007-02-08 Thread Christopher Deeley
Can anyone tell me how to set open_basedir in php.ini, to two directories like open_basedir = c:\www & c:\myhomepage thanks

Re: [PHP] PHP4 to PHP5 issue

2007-02-07 Thread Christopher Weldon
ns of your PHP files, as you could then do directory specific PHP4/5 app running. You still have to make certain Apache has both the PHP4 and PHP5 modules loaded, obviously. -- Christopher Weldon President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] (866) 813-4603 x605

Re: [PHP] Stuffing code into variable

2007-02-03 Thread Christopher Weldon
urn "\n". $sqlRow['time'] ." \n".$row['field'].""; // Simplified for time purposes. } // Execute the query foreach ($row = mysql_fetch_array($query)) { echo drawTableRow($row); } /me pours you a cold frosty one to soothe the pain of the long

Re: [PHP] Billing client for studying documentation

2007-02-03 Thread Christopher Weldon
l part of the development and "coding" for the project and should be billed to the client appropriately. -- Christopher Weldon President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] (866) 813-4603 x605 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Who uses PHP

2007-02-03 Thread Christopher Weldon
anguage could be inherently more security or why one could not write PHP code which implemented the same techniques as 'XXX'. (No, I do not know what 'XXX' might be.) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Christopher Weldon President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] (866) 813-4603 x605 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] First Character In A String

2007-01-21 Thread Christopher Deeley
Can anyone tell me if there is a function to return the first letter in a string, such as: $surname="SMITH"; $forename="ALAN"; Is there a function which I can use to make $forename "A", so I can display it as A SMITH? Thank You In Advance

[PHP] Port Block

2007-01-03 Thread Christopher Deeley
I used to use mailenable to send e-mails from a site hosted on my computer, to email anyone. Now my ISP blocked port 25 so I can't connect directly to any smtp servers like google to send e-mail directly from my computer. Does anyone know of an open SMTP server which doesn't use port 25?

Re: [PHP] WebMail client

2006-10-04 Thread Christopher Weldon
Peter Lauri wrote: > Hi, > > > > Do you have any suggestion on WebMail clients written in PHP that is good > and easy to install? > http://hastymail.sourceforge.net/ -- Christopher Weldon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-27 Thread Christopher Weldon
Richard Lynch wrote: > On Mon, September 25, 2006 3:57 pm, Christopher Weldon wrote: >> On 2:36 pm 09/25/06 "Ramiro Cavalcanti" <[EMAIL PROTECTED]> wrote: >>> Hi Christopher, >>> at first, thank you for your answer. >>> >>> I'

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-25 Thread Christopher Weldon
On 2:36 pm 09/25/06 "Ramiro Cavalcanti" <[EMAIL PROTECTED]> wrote: > Hi Christopher, > at first, thank you for your answer. > > I'd like to know if it's possible use this when php is running like > cgi (php-suexec). I've put this code at httpd.conf

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-25 Thread Christopher Weldon
/www/htdocs/authenticate.php" authenticate.php would theoretically have some code to check that the user is authenticated, and if not, redirect to a login screen before any headers are sent to the user. -- Christopher Weldon, ZCE President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.

Re: [PHP] stripping with an OB callback [SOLVED]

2006-09-22 Thread Christopher Watson
cters, I'm good to go. Christopher Watson On 9/22/06, Richard Lynch <[EMAIL PROTECTED]> wrote: Cannot compression be set in .htaccess? Or even within the script??? I suspect you could even find a PHP class out there to compress and send the right headers to do it all in PHP, reg

Re: [PHP] Help converting C to PHP

2006-09-21 Thread Christopher Watson
Definitely looks like a grouping and/or precedence problem. Wish I had more time to examine it. Fine-tooth those parens again. -Christopher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there a list of all Timezones as an array or someting?

2006-09-20 Thread Christopher Watson
Might also want to have a look-see at the Date_TimeZone class of the PEAR::Date package. It seems pretty comprehensive with regard to time zone coverage. -Christopher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] stripping with an OB callback

2006-09-20 Thread Christopher Watson
Bingo! That's the ticket. Thanks, Robert. -Christopher On 9/20/06, Robert Cummings <[EMAIL PROTECTED]> wrote: Why settle for 30% speed boost when you can get 90% ... http://ca3.php.net/manual/en/function.ob-gzhandler.php :) -- PHP General Mailing List (http://www.p

Re: [PHP] stripping with an OB callback

2006-09-20 Thread Christopher Watson
r trimming my app's output. The issue is not an issue for me. -Christopher On 9/20/06, Robert Cummings <[EMAIL PROTECTED]> wrote: Should be an issue as long as you're not stripping whitespace from between tags. Although, one must wonder why you don't just use output compre

[PHP] stripping with an OB callback

2006-09-20 Thread Christopher Watson
x27;t see a situation (certainly not in my particular app) where doing this whitespace reduction is going to backfire. There isn't anything in any of this that requires the contiguous non-word characters. I have a feeling though, that one of you more learned PHPers are going to tell me exactly

Re: [PHP] php/css and .htaccess

2006-09-20 Thread Christopher Weldon
hose files (.htaccess). So, are you 100% positive that PHP is in fact processing the file? -- Christopher Weldon, ZCE President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] storing function names in db and running them as row is output?

2006-09-20 Thread Christopher Weldon
blackwater dev wrote: great, thanks. So if it's just text, eval won't do anything? On 9/20/06, Christopher Weldon <[EMAIL PROTECTED]> wrote: blackwater dev wrote: > First, the example I have is not the real situation, just an example so I > don't want to get int

Re: [PHP] Re: Most stable combination of AMP?

2006-09-20 Thread Christopher Weldon
tings (configure options) to make absolutely certain that you don't have missing dependencies / expectations on your production system when they were there on the dev box. -- Christopher Weldon, ZCE President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] storing function names in db and running them as row is output?

2006-09-20 Thread Christopher Weldon
mysql_num_rows($db_query) > 0) { while ($array = mysql_fetch_array($db_query)) { eval($array['command']); } } eval() is your solution. -- Christopher Weldon, ZCE President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] R: [PHP] session_start() and fopen

2006-09-14 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fabri wrote: > Hi Christopher: this is just a simplified code, I use it to generate some > xml file, no loop is present. > > Try it as it is: you will find that two files will be generated while it > should be only one. > If you rem

Re: [PHP] session_start() and fopen

2006-09-13 Thread Christopher Weldon
code and what exactly you mean by the file being written twice. From the code snippet above, it seems as though you are just going to overwrite a file and destroy it's contents, not write to it twice. This isn't being called from any sort of loop, is it? - -- Christopher Weldon, ZCE

Re: [PHP] Question on explode and join.

2006-09-13 Thread Christopher Watson
a search pattern that covers everything. Don't know how much the PCRE functions can swallow at once, but it's worth a try. Christopher Watson Principal Architect The International Variable Star Index (VSX) http://vsx.aavso.org On 9/13/06, Beauford <[EMAIL PROTECTED]> wrote: Hi

Re: [PHP] mail() help

2006-09-12 Thread Christopher Weldon
sin has a rule that scores big SPAM points for messages that are > 90% HTML. Finally, after you fix all of those issues, if you still have a problem with your messages being flagged as SPAM, send us the full email (with all the headers) so we can see the reason behind the message being mark

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 Thread Christopher Weldon
anted to make sure you knew about that in case it was copied and pasted. - -- Christopher Weldon, ZCE President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.m

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 Thread Christopher Weldon
7; such > image size couldn't be resolved. > Is there any function to define that image is ok or not? > >> What happens when you stop manipulating it's size and try to view just the >> uploaded >> file? > > Size of image (after or before uploading) woul

Re: [PHP] Really stupid cookie question

2006-09-11 Thread Christopher Weldon
reset it to another 30 days? > > --PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > It will expire in 5 days. - -- Christopher Weldon, ZCE President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -B

Re: [PHP] mail() help

2006-09-11 Thread Christopher Weldon
t down on the SPAM probability. Second, if you are making MIME emails, make sure you are doing so correctly. You can learn about creating multipart/alternative MIME emails more at www.php.net/mail. Finally, if none of the above works, it would be helpful for us to see the headers of the receive

Re: [PHP] strip urls

2006-09-11 Thread Christopher Weldon
#x27;); Second, don't forget the tags you'll need in the preg_replace function: $str = preg_replace('/\]*\>/', "\1", $str); You can use other characters, such as ! if you want instead of /, but you have to use the same at the beginning and the end. - -- Christopher Wel

Re: [PHP] does magic_quotes_gpc prevents sql injection through forms?

2006-09-11 Thread Christopher Weldon
just straight-up typecast: $clean['var'] = (int) $_POST['var']; The best way is to check to see if it is_numeric rather than force it's type to be integer - but for simplicities sake, it can be used. - -- Christopher Weldon, ZCE President & CEO Cerberus Interacti

Re: [PHP] PHP 4 OOP, re-using a object?

2006-09-10 Thread Christopher Weldon
t's the error, and how do you have the class and functions defined? - -- Christopher Weldon, ZCE President & CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.m

  1   2   3   4   5   6   >