[PHP] srand questions

2012-01-12 Thread Matthew D. Pagel
Hi all, I have a few questions about the srand (or mt_) function for directed seeding. I'm assuming if I do a targeting seeding with a particular value, I'll get the same sequence of values no matter how many times I run the page (assuming it's on the same OS and php version). Of course,

Re: [PHP] Where Are Security Updates Announced?

2011-10-20 Thread Matthew Pounsett
On 2011/10/20, at 12:54, Daniel Brown wrote: There are third-party sites that send out security alerts for software such as PHP, and you can likely find them easily enough via Google. Off the top of my head, none are coming to mind by name, but I have subscribed to their mailings myself

Re: [PHP] Decoding Barcode Images

2011-10-10 Thread Matthew Pounsett
On 2011-10-10, at 14:42, Floyd Resler wrote: I've been trying to find a solution for decoding barcode images in PHP but haven't had much luck so far. Does anyone have any suggestions? I'm not familiar with a way to do it directly in PHP, but you could shell out to something like zbar to do

Re: [PHP] XML enabled but not working

2011-09-16 Thread Matthew Pounsett
On 2011/09/16, at 10:27, Richard Quadling wrote: On 15 September 2011 21:20, Matthew Pounsett m...@conundrum.com wrote: Anyone have any thoughts on what to look at? php -m php --rf xml_parser_create Thanks. This seems to reinforce that there's something wrong, but I don't feel like I

[PHP] XML enabled but not working

2011-09-15 Thread Matthew Pounsett
I seems to behaving issues with php5 on one particular server, and I haven't been able to find the issue. Basically, php says XML is enabled, but xml functions are missing. php -i | grep XML support libXML support = active echo ? print xml_parser_create(''); ? | php Fatal error: Call to

[PHP] Upload using FTP commands

2010-08-26 Thread Matthew Croud
Hi, I want to give my client the ability to upload large files ( around 20MB ) to a webspace. I reckon that using the FTP commands of PHP would be the best bet, but is it possible to allow them to do this through an online form. This is my vision: the client logs in to a form that has an

[PHP] image upload keeps file name ?

2010-04-01 Thread Matthew Croud
Hi Guys, Can someone confirm for me that the code below will move an uploaded file and give it the same name as the original image file name ? $file_dir = /home/uploads; foreach($_FILES as $file_name = $file_array) { echo path: .$file_array[tmp_name].br/\n; echo name:

[PHP] DOM append to the top

2009-11-20 Thread Matthew Croud
Yo! I have a working form that adds user input to an XML file, it adds the new item element to the bottom of the list of previously created item elements. I would now like the new elements to be added to the top of the list. So far i've tried using: insertBefore() but i'm still getting

[PHP] Multiple file upload

2009-11-11 Thread Matthew Croud
Dear lords of PHP, I have a working image upload script that meets all my needs, My question is I need to upload multiple images using the same form, This is the PHP part I have so far, largely taken from a book: _ $file_dir =

Re: [PHP] Need unrounded precision

2009-11-04 Thread Matthew McKay
Kim Madsen wrote: Hello Andre Dubuc wrote on 2010-01-02 02:20: Hi, I need to extract the first digit after the decimal point from a number such as 28.56018, which should be '5'. Since no one came up with the simple solution: $num = 28.56018; ereg(^[0-9]+\.([0-9]){1}, trim($num), $regs);

[PHP] opposite of quotemeta ?

2009-10-29 Thread Matthew Croud
Hi, In my script I want the user to enter some html which is saved to a file, I've noticed that php rather cleverly escapes the speech marks, so: a href=www.google.comGoogle/a becomes: a href=\www.google.com\Google/a Is there some function which prevents or reverts this ? something

[PHP] Fun with XSLT

2009-10-22 Thread Matthew Croud
Hi Guys, Well i;ve been slaving on with my PHP XML endeavors and i'm loving it, just finishing the meaty parts of my XSLT for dummies book too. I have a question which asks is it possible?. Using XSLT I can collect specific parts of my XML using something sexy like xsl:template

Re: [PHP] Re: Fun with XSLT

2009-10-22 Thread Matthew Croud
On 22 Oct 2009, at 16:39, Peter Ford wrote: Matthew Croud wrote: Hi Guys, Well i;ve been slaving on with my PHP XML endeavors and i'm loving it, just finishing the meaty parts of my XSLT for dummies book too. I have a question which asks is it possible?. Using XSLT I can collect

[PHP] Spry, XML, PHP and XSLT Hell

2009-10-06 Thread Matthew Croud
Okey Doke, I'll try and be brief, Well, my client agreed to a small online store that would hold the same stock items where only the quantities would differ, we agreed that, due to infrequent changes, I would make pages for any new items, and she would control stock etc using an

[PHP] Display HTML in XSL Style Sheet

2009-10-06 Thread Matthew Croud
Hi, Is there a way to store HTML in an XML file, Access that node using XLST, and have it display as rendered html ? So far my attempts either return the text equivalent of the html, with nothing rendered. Cheers, Matt. -- PHP General Mailing List (http://www.php.net/) To

[PHP] XML. Prevent from turning into lt;

2009-09-09 Thread Matthew Croud
Hiya, I'm writing an app that let's my client upload images, the image html code is added to an XML file. Take a look at the image element below: item Code=e1022 codee1022/code image![CDATA[img src=uploads/image2.jpg alt=Homepage Image width=124 height=70 /]]/image nameBlue

Re: [PHP] XML. Prevent from turning into lt;

2009-09-09 Thread Matthew Croud
On 9 Sep 2009, at 14:26, Bastien Koert wrote: On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croudm...@obviousdigital.com wrote: Hiya, I'm writing an app that let's my client upload images, the image html code is added to an XML file. Take a look at the image element below: item Code=e1022

Re: [PHP] XML. Prevent from turning into lt;

2009-09-09 Thread Matthew Croud
On 9 Sep 2009, at 14:36, Bob McConnell wrote: From: Bastien Koert On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croudm...@obviousdigital.com wrote: Hiya, I'm writing an app that let's my client upload images, the image html code is added to an XML file. Take a look at the image element below

Re: [PHP] XML. Prevent from turning into lt;

2009-09-09 Thread Matthew Croud
On 9 Sep 2009, at 16:37, Ashley Sheridan wrote: On Wed, 2009-09-09 at 15:14 +0100, Matthew Croud wrote: On 9 Sep 2009, at 15:09, Ashley Sheridan wrote: On Wed, 2009-09-09 at 14:46 +0100, Matthew Croud wrote: On 9 Sep 2009, at 14:36, Bob McConnell wrote: From: Bastien Koert On Wed, Sep 9

Re: [PHP] Return XML attribute in DOM

2009-09-08 Thread Matthew Croud
Cheers Guys, Your the greatest ! On 8 Sep 2009, at 09:08, Peter Ford wrote: Matthew Croud wrote: Doesn't the DOM have the getAttribute() method? Thanks, Ash http://www.ashleysheridan.co.uk It's not in my reference, though I see it in the PHP manual now. This is what I have

[PHP] Return XML attribute in DOM

2009-09-07 Thread Matthew Croud
I'm at my wits end here, so close to the finishing line! Is there a method to return an attribute value of an XML node using DOM, I can check to see if an attribute exists using hasAttributes() But I can't retrieve the value. I'm so desperate i've started to eat dirt. Many thanks, Matt

Re: [PHP] Return XML attribute in DOM

2009-09-07 Thread Matthew Croud
Doesn't the DOM have the getAttribute() method? Thanks, Ash http://www.ashleysheridan.co.uk It's not in my reference, though I see it in the PHP manual now. This is what I have: _ $dom = new DomDocument(); $dom - load(items.xml); $topics = $dom -

Re: [PHP] Some help with SimpleXML :`(

2009-09-04 Thread Matthew Croud
Well, you guys are awesome. So the script below doesn't cause any errors (nice), however it doesn't save the newly added child to the xml file (items.xml): $xml = simplexml_load_file(items.xml); $item = $xml-addChild('item'); $item-addChild('name', $name); $item-addChild('desc', $desc);

[PHP] Some help with SimpleXML :`(

2009-09-03 Thread Matthew Croud
Hi foks, Could someone lend me a little hand with simpleXML ? I've been looking at examples in the PHP manual and W3C, i'm at the pinnacle of figuring it out but alas i need a hand from the mailing list dudes. My aim is to add another item node, so i'll start with my XML file called

[PHP] Host that allows edit of php.ini

2009-07-08 Thread Matthew Croud
Apologies if this type of question is frowned upon in the mailing list, however I would like to pop the question to those in the know. Can anyone recommend a UK host that allows you to edit ( or a copy of ) the php.ini file, allowing me to increase the file upload size to 100mb for clients PDF

[PHP] Advise on starting a web store site

2009-07-06 Thread Matthew Croud
Hi, I'm going to start my first e commerce website for a small web shoe store. I think I know enough PHP to keep my head above water, I'm using an add on shopping cart package to deal with the transactions. My question is, what's the best way to design a site where each product appears

[PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Matthew Croud
Hello, My journey of learning PHP is going well, so i've decided to make a small program which works out the difference between two times and records the data in a text file. I've searched the PHP manual for functions which can help me out, and I discovered the function Date_diff (

Re: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Matthew Croud
for a few years just as a hobby but thought I'd try and help out. You'll learn a lot from reading this list as well. Cheers and good luck, Tom 2009/6/16 Matthew Croud m...@obviousdigital.com Hello, My journey of learning PHP is going well, so i've decided to make a small program which

Re: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Matthew Croud
friend who does ASP.net and he said he was sure there is for PHP. On 16 Jun 2009, at 13:11, Dajve Green wrote: Hi Matthew, A quick note on the DateTime::diff() method - it's only available as from PHP 5.3, which is currently in release candidate stage, meaning unless you have your own

Re: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Matthew Croud
Wonderful, thanks Ian for your function, and also thank you Tom for having a head scratch on my behalf ;) On 16 Jun 2009, at 16:20, Ian wrote: On 16 Jun 2009 at 14:05, Matthew Croud wrote: Hi Dajve and Tom, Thanks again, I totally didn't realise that this function is yet

Re: [PHP] Form Process Question

2009-06-16 Thread Matthew Giddings
Have you thought about using JavaScript? Matt Giddings Web Programmer Information Technology Services Saginaw Valley State University http://www.svsu.edu - Original Message - From: Gary gwp...@ptd.net To: php-general@lists.php.net Sent: Tuesday, June 16, 2009 11:03:38 AM GMT

Re: [PHP] Directing form to different handlers?

2009-06-01 Thread Matthew McKay
It would be much simpler and cleaner to use Javascript to modify the form's action attribute onClick. On Mon, Jun 1, 2009 at 2:28 PM, Shawn McKenzie nos...@mckenzies.net wrote: Jason Pruim wrote: On May 31, 2009, at 10:53 PM, Angus Mann wrote: Hi all. I realize this is more an HTML

Re: [PHP] Directing form to different handlers?

2009-06-01 Thread Matthew McKay
On Mon, Jun 1, 2009 at 2:43 PM, James Ausmus james.ausmus.li...@gmail.comwrote: On Mon, Jun 1, 2009 at 12:32 PM, Matthew McKay m...@mattmckay.org wrote: It would be much simpler and cleaner to use Javascript to modify the form's action attribute onClick. Not really. What about clients

[PHP] Question about template systems

2009-03-03 Thread Matthew Croud
Hello, First post here, I'm in the process of learning PHP , I'm digesting a few books as we speak. I'm working on a content heavy website that provides a lot of information, a template system would be great and so i've been looking at ways to create dynamic data with a static navigation

Re: [PHP] Question about template systems

2009-03-03 Thread Matthew Croud
Excellent, thanks for your help guys, you've been really helpful :) On 3 Mar 2009, at 10:20, Marcus Gnaß wrote: Matthew Croud wrote: Hello, First post here, I'm in the process of learning PHP , I'm digesting a few books as we speak. I'm working on a content heavy website that provides

RE: [PHP] Grouping records

2008-11-04 Thread Matthew Halpin
Audit records from a financial application. flx_l_rgb.JPG Matthew Halpin Systems Administrator Felix Resources Limited Level 6, 316 Adelaide Street, Brisbane, Qld 4000 P: 07 3248 7903 F: 07 3211 7328 M: 0417 604 103 E: [EMAIL PROTECTED] -Original Message- From: Yeti [mailto

[PHP] Grouping records

2008-11-03 Thread Matthew Halpin
Hi, I have transactional records with the following structure Rowid TimePerson TimediffGroupid 1 20:22:49Bob 2 20:22:49Bob 0 3 20:22:50Bob 1 4

Re: [PHP] Count the Number of Elements Using Explode

2008-10-31 Thread Matthew Powell
Diogo Neves wrote: Hi Alice, U can simple do: $nr = ( strlen( $message ) / 2 ) + 1 ); $nr = count( explode( '|', $message ); Or... $num = (substr_count($message, |) + 1); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions running out of storage space - Increase memory?

2007-10-11 Thread Matthew Powell
Dan wrote: I need to retrieve a huge amount of data form a database and do so many times. To eliminate the overhead of connecting to the database and pulling down all that info over and over, I'm trying to pull it down only once and stick it into a session. The problem is I get the first

[PHP] Re: mail() takes too much time

2007-09-03 Thread Matthew Lasar
I run pretty simple mail group distribution program that uses php/mysql and the mail() function. I adapted it from an open source script. Most of the time it runs well. But it does take a while to run through all 150 members of the list. So I'm half glad that I don't have a list of 1000 people

[PHP] regular expression question

2007-08-31 Thread Matthew Lasar
@ that are separated by periods? like @email.alaska.com . It looks to me like it's only looking for one example of that pattern. Does the () allow an unlimited number of patterns to pass? thanks for any and all guidance Matthew Matthew Lasar || llfcc.net -- PHP General Mailing List (http

Re: [PHP] regular expression question

2007-08-31 Thread Matthew Lasar
At 11:32 AM 8/31/2007, Per Jessen wrote: Matthew Lasar wrote: But I don't understand why the second half of the regular expression works. I'm talking about this part: @([-a-z0-9]+\.)+[a-z]{2,}/; why is it able to detect repeated sections of the email address after @ that are separated

[PHP] Senior PHP Role

2007-07-31 Thread Matthew Yates
Hi All, Apologies for cross posting. I'm recruiting on behalf of a superb e-commerce set up who is investing heavily in the next stage of their tech development. We are looking for an ambitious individual to join the senior management team who has a good PHP background who will be

Re: [PHP] Need a new shared host with php

2007-05-10 Thread Matthew Powell
Al wrote: I'm looking for a shared host with an up-to-date php5, and one who at least tries to keep it relatively current. Needs are modest. Just need good ftp access, cgi-bin, shell, etc. Any suggestions. I'm looking at Host Monster, anyone have experience with them? Thanks...

Re: [PHP] Session with microtime

2007-04-20 Thread Matthew Powell
Panquekas wrote: On 20/04/07, Panquekas [EMAIL PROTECTED] wrote: snip I'm sorry, my mistake. What I tried to say is that the session_start() was on the top of the page, and the if( ) block was after that and the login script was even after the if( ), so the first thing to ran was the

[PHP] spl DirectoryIterator

2007-04-07 Thread Matthew Dellar
I have a problem, I need to turn an iterator into an array, but when I do, some methods I need to use stop working. Take a look at the following example: $dir = 'c:/'; $files = new DirectoryIterator($dir); //$files = iterator_to_array($files); foreach ($files as $file) { echo

[PHP] Referring URL Authentication

2007-03-14 Thread Matthew Vickery
and still seems insecure! Is there a better/standard way to do this kind of thing? Any help will be most appreciated, Matthew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Referring URL Authentication

2007-03-14 Thread Matthew Vickery
Robert Cummings wrote: On Wed, 2007-03-14 at 14:50 +, Matthew Vickery wrote: The situation is as follows: I wish to protect the entire Website http://www.example.com from direct URL access. i.e. if someone enters http://www.example.com into their browser they get a message stating

[PHP] Re: (SOLVED) Varying session behavior between 2 nearly identical Apache/PHP setups

2006-12-13 Thread Matthew North
result in a PHP warning? where'd that go? oh well...). - Matt On 12/12/06, Matthew North [EMAIL PROTECTED] wrote: Hello All, I have an odd situation that I wonder if someone might have some insight on. The scenario is this: - Two FreeBSD systems running Apache+mod_php+others. We use one

[PHP] Varying session behavior between 2 nearly identical Apache/PHP setups

2006-12-12 Thread Matthew North
and not enabled on the development system. And again, php.ini are identical between the systems. What could explain this difference in behavior? Thanks, Matthew H. North -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Object-Oriented PHP Courses in the UK

2006-10-18 Thread Matthew Vickery
, Matthew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] move_uploaded_file locks?

2006-09-20 Thread Matthew H. North
). But if it does a copy instead, or if it has to rename across filesystems, any process that tries to read or write the file before move_uploaded_file completes could be munging things. -- Matthew H. North mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Odd PHP memory issue

2006-09-16 Thread Matthew H. North
On 9/15/06, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, September 15, 2006 10:42 am, Matthew H. North wrote: We're developing a web application that involves traversal of a hierarchical database structure (MySQL, PEAR::DB, and PEAR::DB::DataObject). Currently that traversal is done

[PHP] Odd PHP memory issue

2006-09-15 Thread Matthew H. North
assumptions incorrect? Thanks for any help, -- Matthew H. North mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] unset globals and memory_get_usage

2006-09-08 Thread Matthew North
assumptions incorrect? Thanks, - Matthew H. North -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] helping people...

2006-06-21 Thread Matthew Pegg
Subject: Re: [PHP] helping people... No that wasnt a ddos threat you idiot, i dont play them games. And when you keep sending spam is when it starts to piss people off. Rob W: Seriously mate, you are way... way outa line here. I've only used this list once and all I can say is...thank god

[PHP] PHP/Mysql: Making binary field available for download - extra browser window ?

2006-06-02 Thread Matthew Pegg
Hi all, Working on a PHP script at the moment where I want to be able to extract a file (PDF file) from a mysql database and force the popup of the File Download dialog, to allow the user to either save or open the document (ie. and bypass loading the file using the browser's plugin) I've found

[PHP] Expect extensions

2005-11-02 Thread Matthew Robinson
I'm told it doesn't exist. Now do I need to re-compile php? Kind regards Matthew -- Matthew Robinson - mailto:[EMAIL PROTECTED] 07050 606288 - http://www.amberinth.org.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Expect extensions

2005-11-02 Thread Matthew Robinson
/extensions/expect.so: undefined symbol: OnUpdateLong Any offers? Cheers Matthew On Wed, November 2, 2005 15:31, Jochem Maas wrote: Matthew Robinson wrote: Hi all, I'm sure that this is down to me not reading/following/understanding the instructions. I'm trying to add the expect extensions

Re: [PHP] Expect extensions

2005-11-02 Thread Matthew Robinson
Ok, I've 'fixed' this. The OnUpdateLong isn't on my version of php so I've replaced it in the php_expect.c in the expect-1.0 tarball with OnUpdateReal, compiled, installed and it seems to work. Cheers Matthew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Best way to mass mail

2005-09-12 Thread Matthew Weier O'Phinney
. This allows us to handle bounces (another script is triggered when email bounces back to the reply-to address). So, on your web-based front-end, when you click 'Send', it actually simply places the information in a database queue, and the cronjob does the actual sending. -- Matthew Weier O'Phinney Zend

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Matthew Weier O'Phinney
* Manuel Lemos [EMAIL PROTECTED] : Hello, on 09/12/2005 02:56 PM Chris W. Parker said the following: Matthew Weier O'Phinney mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 6:55 AM said: Mails are then queued to an MTA -- in our case, Postfix. This is the part I don't

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Matthew Weier O'Phinney
* Manuel Lemos [EMAIL PROTECTED] : on 09/12/2005 05:18 PM Matthew Weier O'Phinney said the following: Mails are then queued to an MTA -- in our case, Postfix. This is the part I don't know how to do. Can you explain/show some code? Just use the mail function and it will get queued

[PHP] Re: Error Handling

2005-09-09 Thread Matthew Weier O'Phinney
try{ $test = 1; echo $test1 You're missing a semicolon at the end of the above line. } catch (Exception $e) { print Exception caught\n; } ? -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net

[PHP] Re: php equivalent for cut

2005-09-06 Thread Matthew Weier O'Phinney
. explode() works the same in both PHP4 and PHP5. Additionally, the manual is very good at detailing in what versions of PHP a function is valid. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: is it worth using apache2 with php 4.3.4

2005-08-19 Thread Matthew Weier O'Phinney
* bala chandar [EMAIL PROTECTED]: i am now using apache 1.3.x with php 4.3.4 is it worth upgrading to apache 2.x Currently, no: http://ilia.ws/archives/32-Apache-1-vs-Apache-2-Performance.html -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP

Re: [PHP] preg_match

2005-08-19 Thread Matthew Weier O'Phinney
, $from_invoice); -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: run remote shell script

2005-08-18 Thread Matthew Weier O'Phinney
! Quoting Matthew Weier O'Phinney [EMAIL PROTECTED] : * Roger Thomas [EMAIL PROTECTED] : My PHP script is in svrA. How do I run a shell script in svrB? svrB does not have PHP and Apache :( Is this at all possible? Please advise. Use ssh. You will have to setup remote key

Re: [PHP] How to suppress HTTP headers?

2005-08-18 Thread Matthew Weier O'Phinney
connecting on a different port, or to a different domain, or a different URL (maybe) so you can configure your box to use your server for these weird requests. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net

[PHP] Re: run remote shell script

2005-08-17 Thread Matthew Weier O'Phinney
), and then in your script you would call: system('ssh svrB /path/to/scriptToRun'); -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: optional argument when creating a function

2005-08-17 Thread Matthew Weier O'Phinney
: $link = array_shift($args); } ... } -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Form Processor?

2005-08-16 Thread Matthew Weier O'Phinney
is still pending, but much of the usage is documented in the class files themselves. http://solarphp.com/ /shamelessSelfPromotion patForms also looks good, and is a stable, robust product -- http://www.php-tools.net/site.php?file=/patForms/overview.xml -- Matthew Weier O'Phinney Zend Certified

[PHP] Re: which operating system?

2005-08-15 Thread Matthew Weier O'Phinney
, and usually down time. Debian and Gentoo are very nice in that you can upgrade packages as they become available, usually with no issues. You might also want to look into one of the BSDs, as the ports system many of them employ also allows seamless upgrades in most situations. -- Matthew Weier

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Matthew Weier O'Phinney
* Sebastian [EMAIL PROTECTED] : Matthew Weier O'Phinney wrote: * Sebastian [EMAIL PROTECTED] : why php6 and not php5? look how long it took to get to php4 (with php5 just starting to rolling out) and people are already talking about php6? My observation was that more people jumped

[PHP] Re: 'God' has spoken... :-)

2005-08-14 Thread Matthew Weier O'Phinney
with PHP5, and see if you get similar results. You shouldn't. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Matthew Weier O'Phinney
* Robert Cummings [EMAIL PROTECTED] : On Sat, 2005-08-13 at 23:51, Matthew Weier O'Phinney wrote: * Sebastian [EMAIL PROTECTED] : Jochem Maas wrote: if you haven't seen it yet and are interested in the future of php you might be interested in the _big_ thread on php-internals

[PHP] Re: wrapping text

2005-08-13 Thread Matthew Weier O'Phinney
: [EMAIL PROTECTED]\r\nFrom: \[foo] foo\ [EMAIL PROTECTED]\r\nbcc: $bcc \r\nReply-To: [EMAIL PROTECTED] \r\n.X-Mailer: PHP/ . phpversion()); Make stripslashes($message) into wordwrap(stripslashes($message), 72). -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net

Re: [PHP] 'God' has spoken... :-)

2005-08-13 Thread Matthew Weier O'Phinney
taking up resources. I think one of the things I like most about PHP is that you can easily compile it with *only* the features you need -- it only needs as much bloat as you need to use it. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General

[PHP] Re: PHP smarty - nested queries and arrays

2005-08-11 Thread Matthew Weier O'Phinney
-- and that they have permissions such that the web server can open them. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Blatantly Evil Question

2005-08-11 Thread Matthew Weier O'Phinney
to disallow based on the UserAgent string, simply tell Apache, via an .htaccess file, to pass robots.txt to PHP for handling. Then have that script do the processing and return output compatible with the robots.txt specification. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net

Re: [PHP] php output to string

2005-08-10 Thread Matthew Weier O'Phinney
* Jesús Fernández [EMAIL PROTECTED]: thanks, it works, but that returns the php code. what i actually need is the output of that php code evaluated. So eval() the string... -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http

[PHP] Re: dynamic object instances

2005-08-10 Thread Matthew Weier O'Phinney
; in this case 'init': return call_user_func_array(array($class, 'init'), $args); // Or use a function named after the class name as the instantiator // method (ala PHP4): return call_user_func_array(array($class, $class), $args); } -- Matthew Weier O'Phinney Zend Certified Engineer

[PHP] Re: need help finding parsing error please

2005-08-05 Thread Matthew Weier O'Phinney
if() blocks). //Function saves time and space by eliminating unneccesary code function check($fieldname) { -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: need help finding parsing error please

2005-08-05 Thread Matthew Weier O'Phinney
* Jochem Maas [EMAIL PROTECTED] : Matthew Weier O'Phinney wrote: * Bruce Gilbert [EMAIL PROTECTED] : I am getting this on the following code, and I am not sure what is causing the error and need some pros to take a look at it for me. the error is: Parse error: parse error

[PHP] Re: shell_exec(zip.. ?

2005-08-04 Thread Matthew Weier O'Phinney
); -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: syntax highlighting your php code on a web page

2005-08-04 Thread Matthew Weier O'Phinney
Please note this is just an example page which highlights what I am after... There's a few ways. highlight_file() and highlight_string() will do it. Another way is to symlink to the .php file as extension .phps -- and provide a link to the .phps file. -- Matthew Weier O'Phinney Zend Certified

Re: [PHP] How to determine if a script instance is already running?

2005-08-04 Thread Matthew Weier O'Phinney
! -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x

2005-08-04 Thread Matthew Weier O'Phinney
fine. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: overwrite private class members in php5?

2005-08-04 Thread Matthew Weier O'Phinney
is undeclared, it is assumed public, so you can set undefined properties without issue. If defined private or protected, the calling script will not be able to alter the value. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http

[PHP] Re: Class constants

2005-08-04 Thread Matthew Weier O'Phinney
, the issues you're seeing are consistent with the documentation. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: WAMP Performance Tuning

2005-08-04 Thread Matthew Weier O'Phinney
. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: can I use Apache v 2 with PHP?

2005-07-27 Thread Matthew Weier O'Phinney
(5.2, 5.3) before it's complete. By the way -- I'm hoping you meant Apache 1.3.33, and not Apache 1.3.3... ;-) -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with a home-grown function

2005-07-26 Thread Matthew Weier O'Phinney
. Capture your output into a variable and send it to output once all processing is done. This may be done using output buffering or other techniques. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: performance.

2005-07-26 Thread Matthew Weier O'Phinney
heredocs when using long, multiline strings to using double quotes -- they're easier to maintain. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: quick question about using capital letters coding w/ PHP

2005-07-24 Thread Matthew Weier O'Phinney
'] (note the quotes), which would refer to the value associated with the array key 'sender_emaail' in the $_POST array. You should probably do some reading in the introductory chapters of the PHP manual, specifically the variables section: http://php.net/variables Cheers! -- Matthew Weier

[PHP] Re: PEAR DB issue

2005-07-23 Thread Matthew Weier O'Phinney
, from what I can tell, and some of the more recent changes had to do with MS-SQL report, if memory serves. Good luck! -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Content Header

2005-07-22 Thread Matthew Weier O'Phinney
to the screen. The 'solution' was to use different URLs, and set Content-Disposition to either 'attachment' or 'inline', respectively. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] db insert question

2005-07-21 Thread Matthew Weier O'Phinney
into ... values($thisdata) where ...); } Hope this helps, but it would be useful to have code examples, etc so that a more relevant answer could be rendered. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net

[PHP] Re: Content Header

2005-07-20 Thread Matthew Weier O'Phinney
for 'download' requests, don't otherwise. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getting file size before upload

2005-07-19 Thread Matthew Weier O'Phinney
, big error message when it does so they know why the upload failed. -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   9   10   >