[PHP] PHP configuration problem on Solaris 2.7

2004-07-19 Thread Mark Perkoski
laris2.7 Any assistance would be deeply appreciated -- Mark Perkoski 07/19/2004 09:11:45 PM MailFilter-1 This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or

[PHP] Image manipulation in PHP

2004-07-20 Thread Mark Collin
Apologies in advance if this is a repost, my original message was held up while awaiting confirmation of my e-mail addy and such and I haven't seen it appear yet. Is there any support for TGA images in PHP. I have been writing some code to upload files, convert them to JPG and create thumbnail

Re: [PHP] Image manipulation in PHP

2004-07-20 Thread Mark Collin
Thanks for the advice, I will look into it. "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]: > On Tuesday 20 July 2004 19:28, Mark Collin wrote: > > > Is there any support for TGA images in PHP. > > Not builtin. > > > I have

Re: [PHP] PHP configuration problem on Solaris 2.7

2004-07-20 Thread Mark Perkoski
Matthew, Yes, I do have gcc version 2.95.3 installed which worked fine for all other installs requiring to be compiled. Any other suggestions? Thanks Mark Perkoski Conexant Systems Inc. Voice (949) 483-4423 Matthew Sims wrote: > > > > I'm trying to do a PHP install on Sola

Re: [PHP] PHP configuration problem on Solaris 2.7

2004-07-20 Thread Mark Perkoski
s. Thanks Mark Perkoski Conexant Systems Inc. Voice (949) 483-4423 Curt Zirzow wrote: > * Thus wrote Mark Perkoski: > > > > I'm trying to do a PHP install on Solaris 2.7 and right out of the gate > > I'm in trouble. > > The configure scri

Re: [PHP] From TXT to a mySQL db

2007-10-18 Thread Mark Kelly
once and as long as the data isn't too weird you should have no problems. > Should I try some manipulation first with the TXT file ? I wouldn't imagine there would be any need for that, no. Hope this helps, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular Expressions

2007-11-07 Thread Mark Summers
There was no escaping in the original either. Also, I did assume that the list of replacements would grow to become pretty large. I wouldn't suggest doing this for a small list such as that given in the example. Robert Cummings wrote: > On Wed, 2007-11-07 at 14:33 +0000, Mark Summe

Re: [PHP] Regular Expressions

2007-11-07 Thread Mark Summers
This is a much better solution. I didn't realise that str_replace() accepted arrays as arguments for the search and replace terms. Mental note: reading mailing lists backwards doesn't work. Robert Cummings wrote: > On Tue, 2007-11-06 at 23:24 -0300, Martin Alterisio wrote: > >> 2007/11/6, Al

[PHP] Annoying PHP - MySQL communication timeout

2007-11-07 Thread Mark Summers
Has anyone here experienced a problem where a MySQL server seemingly closes a connection opened by PHP whilst the PHP script is still running? The problem only seems to affect scripts that run for a long time but there are a few things that make it unusual: 1) There is no obvious correlation betw

Re: [PHP] Regular Expressions

2007-11-07 Thread Mark Summers
This is a first attempt but the general idea is that the regular expression matching is done in one operation and then str_replace() is called only as many times as required instead of once for every line in your list. Also, str_replace() is faster than ereg_replace(). "n", "รก" => "a",

Re: [PHP] Re: [PHP-DB] Re: MySQL Identifying worst-performing codes

2007-11-09 Thread Mark Summers
There may be something useful here... http://forge.mysql.com/ chris smith wrote: > On Nov 9, 2007 1:18 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote: > >> Lasitha Alawatta wrote: >> >>> There is a tool call "idera" (SQL diagnostic manager). Basically it is >>> a performance monitoring and

[PHP] variable array name

2007-11-29 Thread Mark Head
k. I have tried $$array_name[1] = "test"; but to no avail. Any Ideas? Cheers, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] looping through a $_POST variable

2007-12-30 Thread Mark Kelly
. You might consider renaming it to run_query or something. Remember, other people may have to make sense of your code one day. Hope this helps, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] forms and php

2008-01-24 Thread Mark Pashia
sion 4.1.22-standard. Thanks, Mark Pashia

[PHP] Re: Alternative to Quickforms - Not Use Tables

2008-03-06 Thread Mark Wiesemann
tp://pear.php.net/package/HTML_QuickForm_Renderer_Tableless Regards, Mark -- http://www.markwiesemann.eu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fwrite/fclose troubles

2008-03-19 Thread Mark Weaver
['secret']; /** * (debugging) logging incoming values from form: */ $pl_log->writeLog("getDateTime(): Incoming values from Login Form: blah...blah...blah\n"); Any help with this would be most

Re: [PHP] Re: fwrite/fclose troubles

2008-03-20 Thread Mark Weaver
Peter Ford wrote: Mark Weaver wrote: Hi all, I've been lurking and reading now for some time, but have decided to come out of the shadows cause I've got an issue that's gonna drive me crazy! I'm developing an application and within this application is a class that is

Re: [PHP] Re: fwrite/fclose troubles

2008-03-22 Thread Mark Weaver
ded at the time and debug logging is a habit I got into when I learned PERL to help tell me where things were failing. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: fwrite/fclose troubles

2008-03-22 Thread Mark Weaver
s one. Thank you!! Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: fwrite/fclose troubles

2008-03-22 Thread Mark Weaver
ing to the screen then nothing gets displayed. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strange list behavior when replying to message on list

2008-03-22 Thread Mark Weaver
l clients there is a menu item specifically there for responding "to the list" based on whether or not there is a list-header in the header information but that isn't an available option with Thunderbird. Is anyone else seeing this behavior or is there something I'm missing? Mar

Re: [PHP] strange list behavior when replying to message on list

2008-03-22 Thread Mark Weaver
"add" that reply-to header. As far as I know Sendmail adds that auto-magically by default. (I'm assuming they're not using Sendmail as the lists' MTA). It sure would make life easier wouldn't it? How long has it been this way? -- Mark "If you have found a ver

Re: [PHP] strange list behavior when replying to message on list

2008-03-22 Thread Mark Weaver
andon Orther Boy! is this tempting... I've got a sendmail server running with Mailman installed on it that I'm already running lists on it. -- Mark "If you have found a very wise man, then you've found a man that at one time was an idiot and lived long enough to lea

Re: [PHP] strange list behavior when replying to message on list

2008-03-22 Thread Mark Weaver
Nilesh Govindrajan wrote: The list admin, if uses a program called ezlm (or something similar), it adds the List-Id or the Newsgroups header which also helps. They must have it. hmmm... I wonder if Sylpheed for Windows will handle this? I'll have to take a look. -- Mark "I

Re: [PHP] strange list behavior when replying to message on list

2008-03-22 Thread Mark Weaver
Andrew Ballard wrote: On Sat, Mar 22, 2008 at 11:13 AM, Mark Weaver <[EMAIL PROTECTED]> wrote: Hi all, I'm wondering if anyone else happens to be using Mozilla Thunderbird and seeing this behavior, and also if this behavior is a feature or a bug. When I hit the reply button to r

Re: [PHP] strange list behavior when replying to message on list

2008-03-22 Thread Mark Weaver
x27;ve been doing as well until I get procmail setup to do it for me. -- Mark "If you have found a very wise man, then you've found a man that at one time was an idiot and lived long enough to learn from his own stupidity." == Po

Re: [PHP] Procmail Recipe to INSERT reply-to header (was: strange list behavior when replying to message on list)

2008-03-22 Thread Mark Weaver
s # This adds a Reply-To: header :0 fhw * ^Received:.*from lists.php.net |formail -I "Reply-To: php-general@lists.php.net" -- Mark "If you have found a very wise man, then you've found a man that at one time was an idiot and lived long enough to learn from his own stupidity.

Re: [PHP] strange list behavior when replying to message on list

2008-03-22 Thread Mark Weaver
Nilesh Govindrajan wrote: Shawn McKenzie wrote: Mark Weaver wrote: Andrew Ballard wrote: On Sat, Mar 22, 2008 at 11:13 AM, Mark Weaver <[EMAIL PROTECTED]> wrote: Hi all, I'm wondering if anyone else happens to be using Mozilla Thunderbird and seeing this behavior, and a

Re: [PHP] question about linux editor

2008-03-24 Thread Mark Weaver
other details i would need to connect to the server. please advice. thanks. Putty! er... no... he said from Linux! :) -- Mark - the rule of law is good, however the rule of tyrants just plain sucks! Real Tax Reform begins with getting rid of t

Re: [PHP] testing

2008-03-25 Thread Mark Weaver
PHP General Users Mailing List wrote: testing so I wasn't imagining things then? -- Mark - the rule of law is good, however the rule of tyrants just plain sucks! Real Tax Reform begins with getting rid of the IRS. == Po

[PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Mark Weaver
reloading the page and seeing the "if" block being displayed I'm thoroughly confused. It's gotta something simple I'm missing. and I swear if someone tells me to RTFM I'm gonna shit and go blind cause I haven't got a clue as to "wh

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Mark Weaver
Andrew Ballard wrote: On Tue, Mar 25, 2008 at 9:31 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: On Tue, Mar 25, 2008 at 9:11 PM, Mark Weaver <[EMAIL PROTECTED]> wrote: > Hi all, [snip!] > Cookie Test Page > == > if (isset($_COOKIE["co

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Mark Weaver
Andrew Ballard wrote: On Tue, Mar 25, 2008 at 9:59 PM, Mark Weaver <[EMAIL PROTECTED]> wrote: Thank you Andrew... Now it all makes perfect sense. Good grief! there's so much to learn. It seems that Java was easier. ;) That's not specific to PHP. It's just how http wo

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Mark Weaver
Jim Lucas wrote: Mark Weaver wrote: Andrew Ballard wrote: On Tue, Mar 25, 2008 at 9:59 PM, Mark Weaver <[EMAIL PROTECTED]> wrote: Thank you Andrew... Now it all makes perfect sense. Good grief! there's so much to learn. It seems that Java was easier. ;) That's not speci

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-26 Thread Mark Weaver
tedd wrote: Mark: You said: I'm gonna shit and go blind cause I haven't got a clue... and The only thing preventing me from gouging out my eyes right now is ... Are you sure that programming is right for you? It sounds like you're going to hurt yourself. This wa

[PHP] objects stored in sessions

2008-04-06 Thread Mark Weaver
able throughout the application from the session? thanks, -- Mark - the rule of law is good, however the rule of tyrants just plain sucks! Real Tax Reform begins with getting rid of the IRS. == Powered by CentOS5 (RHEL5) -- PHP Genera

Re: [PHP] objects stored in sessions

2008-04-06 Thread Mark Weaver
subsequent pages, otherwise you will encounter problems. Or alternatively use __autoload() to allow the class code to be loaded when you start the session. sweet! thank you Richard. -- Mark - the rule of law is good, however the rule of tyrants just plain sucks! Real

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Mark Weaver
advance. /Ryan Hi Ryan, Since I'm relatively new to PHP I could be off on this, but I'd say yes, $_REQUEST is wrong. I would think you'd want to use $_POST to receive the incoming values from a form. -- Mark - the rule of law is good, however th

Re: [PHP] Re: Where to start!

2008-05-08 Thread Mark Weaver
l view of the tables I'll need, how they relate or don't relate to one another. That way when I do actually create the db I'm usually at 3NF. -- Mark - the rule of law is good, however the rule of tyrants ju

[PHP] Two word array Value

2008-05-14 Thread Mark Bomgardner
I am trying to use array's to populate a group of check boxes for a form. I am getting the checkboxes to print OK, but when the form is posted I am only getting part of the array. Form Page: $vars = array("Main Classroom" => "Main Classroom", "Break Out Classroom" => "Break Out Classroom",

[PHP] Calendar Date Help

2008-05-28 Thread Mark Weaver
#x27;prev'] = $prev; $calpos['next'] = $next; $_SESSION['calendar'] = $calpos; } <> function setCal($h=0,$m=0,$s=0,$offset,$dayVal=1){

Re: [PHP] Calendar Date Help

2008-05-28 Thread Mark Weaver
ue accordingly. $offset contain either date('n',$timestamp)-1 or date('n',$timestamp)+1 The $timestamp value comes from the array being stored in the $_SESSION['calendar'] as either 'current', 'prev', or 'next'. -- Mark --

Re: [PHP] In case this helps... (Calendar Date Help)

2008-05-28 Thread Mark Weaver
Mark Weaver wrote: Hi all, I've put this off as long as possible, however I think I've reached an impasse. I've got an application that I've been writing. One of the modules for this app is an event calendar. I've got the calendar to the place where it displays the

Re: [PHP] In case this helps... (Calendar Date Help)

2008-05-28 Thread Mark Weaver
7;)-1') When I can understand what I'm currently doing wrong premise changing will likely make a lot more sense. -- Mark - the rule of law is good, however the rule of tyrants just plain sucks! Real Tax Reform begins with getting rid of the IRS. ==

Re: [PHP] In case this helps... (Calendar Date Help)

2008-05-28 Thread Mark Weaver
nderstanding fully what I'm doing; I'm just not sure where to go from here. -- Mark - the rule of law is good, however the rule of tyrants just plain sucks! Real Tax Reform begins with getting rid of the IRS. == Power

Re: [PHP] SOLVED: Calendar Date Help

2008-05-29 Thread Mark Weaver
Mark Weaver wrote: Hi all, I've put this off as long as possible, however I think I've reached an impasse. I've got an application that I've been writing. One of the modules for this app is an event calendar. I've got the calendar to the place where it displays the

Re: [PHP] SOLVED: Calendar Date Help

2008-05-29 Thread Mark Weaver
months. Cheers, Rob. The particular block of code you're referring to definitely needs to be "re factored", however at the moment I don't know enough about php to accomplish that. I think one of the bad habits I got into early on was coding verbosely so I wouldn't

[PHP] passing GET via include

2007-05-04 Thread Mark Smith
Hello all, Is there a way to allow the passing of variables to included scripts using the GET method, for example include"file.php?name=person"; or is there another method of including files that allow you to do this. I have attempted to do this without success, I just get a message saying the

[PHP] PHP on the AS400 (now i5)

2007-05-10 Thread Mark Allen
Just curious if anybody else is using Zend's PHP port on an AS400/iSeries/i5? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cannot un-subscribe from list

2007-06-15 Thread Mark Smith
I am currently trying to unsubscribe from this mailing list, however I am nor very successful in doing this. The mailer program will refuse to accept my address for removal, it will simply continue to send mail to my address. Why is this happening and how can I stop it? Mark -- PHP General

Re: [PHP] PHP not posting

2007-06-24 Thread Mark Kelly
On Sunday 24 June 2007 13:54, Pieter du Toit wrote: > Hi > > I installed PHP5 on iis and i can see "hello world" and phpinfo. > > When i right click the webpage and view source, i can see the php code, > and the form does not want to post the form details. > > Will appreciate any help. I'm not rea

Re: [PHP] Re: php security books

2007-07-04 Thread Mark Kelly
Hi. On Wednesday 04 July 2007 13:01, Andrew Hutchings wrote: > Avoid the O'Reilly one as it is flawed. In what way? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP as a strategic BUSINESS language

2007-07-04 Thread Mark Allen
I had high hopes for it when I started down the path, and was glad to find this list thinking that it would be a great resource for using PHP to help solve BUSINESS issues but basically 80% of the questions have nothing to do with BUSINESS issues but "how do I do X" questions which IMO should NOT

Re: [PHP] Pirate PHP books online?

2007-07-16 Thread Mark Kelly
Hi. On Monday 16 July 2007 12:42, Dotan Cohen wrote: > So, suckers, I'm with you now, and I'll start pirating again. This is a real shame (not to mention a foolish thing to post to a publicly archived mailing list). As a user of open source technology you are benefiting directly from the PHP

[PHP] Session Issues with Certain ISPs

2007-07-18 Thread Mark Tuma
seem to get lost along the way. The troublesome ISPs are AOL and BTOpenworld. Does anyone have any experiences that could shed light on this for me? Thanks, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Loss of precision in intval()

2007-08-01 Thread Mark Summers
This sort of thing really isn't helpful... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Loss of precision in intval()

2007-08-01 Thread Mark Summers
I like to think that I'm reasonably aware of the limitations of floating point (famous last words). To my mind, the ridiculousness (probably not a word) of the example is highlighted by the fact that 75.81 and 75.83 work perfectly. Roberto Mansfield wrote: Internally, 75.82 can't be stored e

Re: [PHP] Session Issues with Certain ISPs

2007-08-02 Thread Mark Tuma
over now, but I think I'll look into database sessions for future systems. Cheers, Mark Richard Lynch wrote: On Wed, July 18, 2007 9:35 am, Mark Tuma wrote: I have a fairly simple set of php scripts which use session variables to pass information from one page to the next in an o

Re: [PHP] Thoughts about music library

2007-08-06 Thread Mark Kelly
age (no seperate database). I used it running from an old 200Mhz SBC board in a Playstation 2 case. I thought it made for a nice flexible system as there are clients to control the daemon available for all manner of hardware. Cheers, Mark -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Why do I always come up with the hard stuff?

2007-08-07 Thread Mark Summers
Hello, I suspect that you need to assign the new instance of mysqli to $mysqli by reference to prevent the on-demand instance that is created by new from being copied (cloned) at the point of assignment. Mark Jason Pruim wrote: > Yes I am hijacking a thread just to screw with all the people

[PHP] running system()

2006-06-28 Thread Mark Steudel
red environment? Anyways pointers to securely setting this up? Thanks Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] running system()

2006-06-29 Thread Mark Steudel
From: Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 8:01 PM To: Mark Steudel Cc: php-general@lists.php.net Subject: Re: [PHP] running system() Mark Steudel wrote: > So I'm trying to run some system commands on the windows box I am working > on. And I am getting "U

[PHP] Recurs Directory Delete

2006-07-14 Thread Mark Steudel
{ if( is_file( $resource ) ) { unlink( $resource ); } else { $this->LOG .= __LINE__ . ": Unknown path: $resource\r\n";

RE: [PHP] Recurs Directory Delete

2006-07-14 Thread Mark Steudel
I wish, I'm on an IIS box. Mark -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, July 14, 2006 2:09 PM To: tedd Cc: Mark Steudel; php-general@lists.php.net Subject: Re: [PHP] Recurs Directory Delete On Fri, July 14, 2006 2:07 pm, tedd wrote: > At

RE: [PHP] Recurs Directory Delete

2006-07-14 Thread Mark Steudel
Thanks all for the help, I figured it out: This line was giving me grief :) doh! while( false !== ( $file == readdir( $dir ) ) ) Mark -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Friday, July 14, 2006 12:12 PM To: Mark Steudel Cc: php-general@lists.php.net

RE: Fwd: [PHP] Recurs Directory Delete

2006-07-14 Thread Mark Steudel
Oooh, that's pretty neat. I was under the same impression as Andrew, that DEL didn't do the same thing as rm -rf ... Thanks, Mark -Original Message- From: Adam Zey [mailto:[EMAIL PROTECTED] Sent: Friday, July 14, 2006 4:35 PM To: Andrew Kreps Cc: PHP General Mail List Subjec

RE: [PHP] Basic PHP knowledge test

2006-07-20 Thread Mark Steudel
Here's one companies quiz that they gave: With each question, please keep the code short and simple. Make notes on possible caveats and fixes rather than adding a lot of error-checking to your code. 1. Write a PHP script to remove duplicate lines from a file. Do not worry about efficiency.

[PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
t;Y-m-d", mktime( 0, 0, 0, $eDate[0], 1, $eDate[1] ) ) ); } return $sDate; } Thanks, Mark -- Mark Steudel Web Applications Developer 555 Dayton St Suite A Edmonds, WA 98020 p: 42

RE: [PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
up date In: 1/2009 Out: 2009-01-01 Invalid, blowing up date In: 8/2006 Out: 2006-08-01 PHP 4.4.1 Valid In: 1/2009 Out: 2011-07-02 Valid In: 8/2006 Out: 2012-01-27 PHP 4.4.0 Valid In: 1/2009 Out: 2011-07-02 Valid In: 8/2006 Out: 2012-01-27 Any work around with these types of dates on php4? Ma

RE: [PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
} If( strtotime( '1/2009') == '-1' ) { Echo 'false'; } Else { Echo 'true'; } All of those echo true, how do I determine if strtotime has failed or not? Mark -Original Message- From: Mark Steudel Sent: Wednesday, August 02, 2006 9:55 AM To: Mark

RE: [PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
Thanks Adam, I had sent out my second email before I had read yours. I'll give yours a go, thanks again. Mark -Original Message- From: Adam Zey [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 11:15 AM To: Mark Steudel Cc: PHP Mailing Lists Subject: Re: [PHP] dat

Re: [PHP] if statement with or comparison (newbie)

2006-09-09 Thread Mark Charette
Robert Cummings wrote: On Fri, 2006-09-08 at 18:38 -0400, tedd wrote: At 5:03 PM -0400 9/8/06, JD wrote: In all of the answers given thus far, no one mentioned that the use of $_REQUEST has a security issue with regard to where the $_REQUEST originated. $_REQUEST is an array consisti

Re: [PHP] if statement with or comparison (newbie)

2006-09-09 Thread Mark Charette
Stut wrote: Mark Charette wrote: However, looking at it from a 'knowing early the data is tainted' perspective, not from a 'validating and cleaning perspective', if you have coded that (for instance) a variable is set via COOKIE, then only looking for that variable

Re: [PHP] if statement with or comparison (newbie)

2006-09-09 Thread Mark Charette
Robert Cummings wrote: On Sat, 2006-09-09 at 11:30 -0400, Mark Charette wrote: Stut wrote: Mark Charette wrote: However, looking at it from a 'knowing early the data is tainted' perspective, not from a 'validating and cleaning perspective', if you have code

[PHP] Resource problem affecting Curl functions

2006-09-19 Thread Mark Krenz
to 524288 lsof | wc -l returns 33497 Thanks, Mark ps. I am well aware that I need to upgrade my software so there is no need to tell me to do that. I'm working on it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Resource problem affecting Curl functions

2006-09-20 Thread Mark Krenz
at 12:12 , Mark Krenz wrote: > > I run a shared webserver with a few hundred vhost containers in > >Apache's config. > > Are these vhosts all contained in httpd.conf, or are they separate > files? > > Does it make a difference? > > -- > ...when you

[PHP] Screen Shots

2006-10-22 Thread Mark McWhirter
Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP in Kenya

2006-11-05 Thread Mark Steudel
I'm currently serving in Peace Corps in Kenya and I was looking for other PHP web developers that are doing e-commerce that I could ping about what requirements/paperwork etc is involved in setting up e-commerce accounts in Kenya. Thanks, Mark

Re: [PHP] newbie problem - extraneous newlines inserted in PHP-generated HTML form source

2006-11-22 Thread Mark White
d the problem in the first place. I'm emptying the temporary variables by setting them to "" (no space). Could it be a problem with the document encoding? All my text files are saved as Western(ISO Latin-1). Mark -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Tidy HTML source?

2006-11-27 Thread Mark Kelly
Hi. In the stuff I do almost all the HTML is generated with PHP as basically none of it is static (lots of tabular data, state-sensitive links, stuff like that). Am I crazy to make an extra effort in my code to make the generated HTML pretty? By this I mean linebreaks, indentation etc. - stuff

Re: [PHP] Tidy HTML source?

2006-11-27 Thread Mark Kelly
On Monday 27 November 2006 17:10, Mark Kelly wrote: > Am I crazy to make an extra effort in my code to make the generated HTML > pretty? Thanks everyone for your thoughts on this - I'm quite relieved that I'm not the only one who sits and tweaks so that the HTML is nice and re

[PHP] Distinguishing between a mouse click and a refresh?

2006-12-04 Thread Mark London
Is there any way for PHP to know whether it is being called due to a browser refresh versus a mouse click? I think the answer is no but I just want to be sure. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Distinguishing between a mouse click and a refresh?

2006-12-05 Thread Mark London
Hi - Thanks! This is the solution I actually realized myself last night, after many hours of looking at the other solutions and finding problems with them. Thanks to everyone who responded! - Mark Richard Lynch wrote: On Mon, December 4, 2006 3:03 pm, Mark London wrote: Is there any way

Re: [PHP] email to db

2006-02-25 Thread Mark Charette
chris smith wrote: On 2/25/06, Mark <[EMAIL PROTECTED]> wrote: Does anyone know if its possible or how difficult it would be to have a user send an email from outlook express to a websites mysql database and update records. You could write a script to parse the email and

[PHP] Coding Practice: Use global $var or pass in by refernce

2006-03-03 Thread Mark Steudel
I was wondering what the general rule on using the global driective versus passing in a variable by reference, why you should or shouldn't, etc. e.g. function () { global $db; $res =& $db->query( "SQL"); } or function ( &$db ) { $res =& $db->query( "SQL"); } -- PHP General

[PHP] Understanding system multiple steps

2006-03-09 Thread Mark Steudel
So I am using system() to try and access sftp from my php scripts. How do I do multiple steps once I've initiated my command e.g. $file = 'filname.txt'; system( "C:\sftp\sftp.exe | put ".$file ); Im on a windows box, so I don't know if I can do something like this ... anyway any help would be

[PHP] mktime month

2006-03-10 Thread Mark Steudel
ead of january. Is there a server config or any ideas what I am doing wrong? Thanks, Mark

Re: [PHP] Creating forms dynamically

2006-03-15 Thread Mark Kelly
rect, and a message telling him why. Neat, huh? There are undoubtedly many other ways to do this, but this is the only one I know :) Hope this helps. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] phpmailer subject line wierdness

2006-03-27 Thread Mark Steudel
between O and N it goes out: $mail->Subject = 'Jconnect Passover Registration Confirmatioan'; Any ideas? Does the 'on' translate to some weird line end character? Can I try and re-encode it or something? Mark

[PHP] ojbect substitute for array map?

2006-03-29 Thread Mark Steudel
Is there a substitute function for arraymap that one can use on ojbects? Mark

Re: [PHP] redirect using php

2006-04-05 Thread Mark Kelly
in PHP? > > Take a look at the header() function. > http://php.net/header > > To redirect you can use: header("Location: http://www.example.com/";); You can also use something like: echo ""; depending on your needs. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] redirect using php

2006-04-05 Thread Mark Kelly
On Wednesday 05 April 2006 13:55, Chris Shiflett wrote: > Mark Kelly wrote: > > You can also use something like: > > > > echo ""; > > There's no need to use a meta tag to mimic HTTP headers. PHP provides > the header() function. I have been using

Re: [PHP] redirect using php

2006-04-05 Thread Mark Kelly
On Wednesday 05 April 2006 14:33, Chris Shiflett wrote: > Mark Kelly wrote: > > > > You can also use something like: > > > > > > > > echo ""; > > > > > > There's no need to use a meta tag to mimic HTTP headers. PHP > >

[PHP] Sessions Issues With 2 Instances On Same Server

2006-04-13 Thread Mark Sargent
on a test machine here at work. Cheers. Mark Sargent. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include Problem

2006-04-15 Thread Mark Charette
Shaun wrote: Warning: main(/cms/templates/footer.php): failed to open stream: No such file or directory in /home/m/y/mysite/public_html/cms/news/index.php on line 38 Most assuredly the file isn't there (do you have the include path set?) or the permissions are not sufficient to open the file.

[PHP] possible bug in date()

2006-04-17 Thread Mark Slater
is this a bug in PHP? Thanks, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: possible bug in date()

2006-04-19 Thread Mark Slater
quot;c", ATOM, mktime( 0, 0, 0, 23, 2, 2006 ) ); Outputs this: 2006-02-23T00:00:00-08:00 Mark Mark Slater wrote: I'm trying to create a date with the DATE_W3C or DATE_ATOM format (they are the same format according to the examples), but the output of date doesn't match the exampl

[PHP] Static vs. Instantiated Objects in PHP

2006-04-20 Thread Mark Baldwin
ing() { /* doing something here */ } } Is it more/less/equally efficient for the engine and parser to do: $result = Example::doSomething(); or $example = new Example(); $result = $example->doSomething(); Thanks in advance, Mark -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Static vs. Instantiated Objects in PHP

2006-04-20 Thread Mark Baldwin
sed for someone who might know the internals of PHP5 a lot better than myself, so sorry if this is the wrong list to ask, but Zend Internals didn't seem right either as it's not quite a development question. On Apr 20, 2006, at 4:11 PM, Richard Lynch wrote: On Thu, April 20, 2006

Re: [PHP] Static vs. Instantiated Objects in PHP

2006-04-20 Thread Mark Baldwin
, and what better way than conferring with those more familiar with it :-) Thanks, Mark On Apr 20, 2006, at 7:06 PM, Anas Mughal wrote: I would not worry about internal implementation of PHP5. (Who knows, they may change things around a little bit in PHP6!) In general, program to what is

<    7   8   9   10   11   12   13   14   15   16   >