Re: [PHP] Send php Mail not working in MAMP (non pro version)

2012-10-17 Thread Dave
r Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path =/usr/sbin/sendmail -t -i -f m...@site.com -- > > First off, make sure that sendmail is installed and functioning. I am not using sendmail that I know of. I didn't install anything - just t

[PHP] Send php Mail not working in MAMP (non pro version)

2012-10-17 Thread Dave
ional_headers [, string $additional_parameters ]] - i don't know how.. I also posted this at mamp forum but there does not seem much action there... http://forum.mamp.info/viewtopic.php?f=2&t=37583&p=53515#p53515 -- Thanks - Dave -- PHP General Mailing List (http://www.php.net/) T

[PHP] Working on a Subsummary Report

2011-12-16 Thread Dave
? do i just loop through the full set and only display if record is in month 1 or 2 or whatever? If there are any links describing this process - that would be great any help would be appreciated... -- Thanks - Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Constants in strings

2011-07-06 Thread Dave Wilson
de within the PHP source tree will allow us to use something like echo "{{XYZ}}" to access the constant value. Cheers Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Constants in strings

2011-07-06 Thread Dave Wilson
rs to mean that PHP is able to pick up the value of the constant and try to access a variable with that name. Any ideas? Cheers Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why is this array_walk_recursive action not working? [SOLVED]

2011-02-25 Thread Dave M G
Feln, Richard, Jim, Thank you for responding. I understand now that the problem wasn't with variable scope, but with my lack of understanding of what array_walk_recursive returns. Thank you all for your explanations. -- Dave M G -- PHP General Mailing List (http://www.php.net

Re: [PHP] Why is this array_walk_recursive action not working?

2011-02-24 Thread Dave M G
alled by array_walk_recursive has the same name as a global variable, it gets treated as if it only has local scope and nothing done to it applies to the global variable. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why is this array_walk_recursive action not working?

2011-02-24 Thread Dave M G
ds $item\n"; } $karamohOutput['test'] .= array_walk_recursive($karamohArray, 'test_print'); - - - Any advice would be much appreciated. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-10 Thread Dave M G
I'm a little fuzzy on what exactly is happening. Does the PHP mail() command (and by extension, classes built upon it) listen for responses from the server it is sending to? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-08 Thread Dave M G
sending a LF. This is actually a possiblity. I think I might be only using LF. Some of the text being sent in the emails is entered via a form on a web page. Is it possible to enforce CRLF on that text? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-08 Thread Dave M G
the remaining mails stop being sent. Is there perhaps some way I can force the PHP code to ignore the one mailing that failed and continue with the rest? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fsockopen with ADH cipher

2010-08-20 Thread Dave Cundiff
kopen. Can a cipher even be specified? Thanks, -- Dave Cundiff System Administrator A2Hosting, Inc http://www.a2hosting.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Malformed UTF-8 Data in JSON [SOLVED]

2010-07-14 Thread Dave M G
e, so obviously more experimentation is needed. In any case, your suggestion has got me on the next step, so thanks for that tip. I'll add 2 cents to your tab! -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Malformed UTF-8 Data in JSON

2010-07-14 Thread Dave M G
":"test...@testaddress.com","timeout":"1279145273"}'; $myArray1 = json_encode($myData); $myArray2 = utf8_encode (stripslashes($myArray1)); $myArray = json_decode($myArray2, true); $jsonerror = json_last_error(); -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie sequel question: how do we search for multiple things on 1 field like:

2010-06-18 Thread Dave
SELECT * FROM contacts WHERE state = 'CA' and name = 'bob' or name = 'sam' or name = 'sara' -- Thanks - Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] TCPDF line breaks [SOLVED]

2009-12-22 Thread Dave M G
;ve never been sure what units TCPDF works in, so I got the right numbers by experimenting and dialling it in. Thanks for the support! -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] TCPDF line breaks

2009-12-22 Thread Dave M G
no wider than I want. Is that possible with TCPDF? Any advice would be much appreciated. Thanks. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?

2009-11-09 Thread Dave M G
et the debugging environment up and running. Or, equally as valuable, would be recommendations on other debugging environments. The key is finding one that has a clear set of instructions for how to set it up (On Ubuntu/Debian Linux with a local LAMP server.) Thanks for any advice. -- Dave M G

Re: [PHP] Re: Die Page, Die! (Was: Preview button to show PDF without submittingpost data?)

2009-11-08 Thread Dave M G
made. *How* do I get the page to die? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Die Page, Die! (Was: Preview button to show PDF without submitting post data?)

2009-11-08 Thread Dave M G
. So since the user is downloading the PDF, they don't need an in-browser window to view it. Once the PDF is downloaded/viewed, I want the new window to die by any means necessary. Surely there's a way. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Die Page, Die! (Was: Preview button to show PDF without submitting post data?)

2009-11-08 Thread Dave M G
PHP List, Okay, so I've got a nice situation where a form has a preview button as well as a submit button. When the user presses "Submit", the page reloads, and it emails a PDF. If the user presses "Preview", it launches a new page in a new window, and also outputs a PDF directly to the user so t

[PHP] Preview button to show PDF without submitting post data?

2009-11-05 Thread Dave M G
this possible? Thank you for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Does anyone here use TCPDF?

2009-09-24 Thread Dave M G
that only TCPDF supports Japanese. So I still need to know if/how to write text into a PDF, like I did with FPDF, but with TCPDF instead. If this turns out to not be possible, I am going to be suffering a great deal. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Does anyone here use TCPDF?

2009-09-18 Thread Dave M G
for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Taking body of an email and storing it in MySQL database

2009-09-07 Thread Dave M G
t me to a new stage, and hopefully even take me to the end of this current problem. I'll see what I can do with it and then hopefully report back success. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Taking body of an email and storing it in MySQL database

2009-09-07 Thread Dave M G
Paul, Is there a decent tutorial anywhere on the net for the pop3.class.inc available on phpclasses.org? http://www.phpclasses.org/browse/package/1120.html Maybe I'm blind, but I just can't find anywhere a decent description or tutorial of what calls you can make to its functions. The documentat

Re: [PHP] Taking body of an email and storing it in MySQL database

2009-09-07 Thread Dave M G
uding headers) I just want to store in MySQL. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Taking body of an email and storing it in MySQL database

2009-09-07 Thread Dave M G
I can create a body of text for each email (including the headers) so that I can then store it in the database, that would be awesome. Any advice would be much appreciated. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Write Japanese text into an existing PDF [SOLVED]

2009-09-07 Thread Dave M G
s text on top of a PDF document. Haven't tried Japanese fonts yet, but it looks possible. Thank you for the tip. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Write Japanese text into an existing PDF

2009-08-31 Thread Dave M G
generation script? Thank you for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Compare PHP settings of two different servers

2009-08-04 Thread Dave M G
x27;--with-freetype-dir=/usr' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-libxml-dir=/opt/xml2/' '--with-mime-magic' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-xpm-dir=/usr/X11R6' And, just to note, *both* servers have the following: * '--with-gd' * '--with-ttf' * '--enable-gd-native-ttf' -- Dave M G http://tlug.jp/mediawiki/index.php?title=User:Dave_M_G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Compare PHP settings of two different servers

2009-07-25 Thread Dave M G
x27;t have shell access, so I'm limited in how much I can poke and prod at its settings. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Compare PHP settings of two different servers

2009-07-23 Thread Dave M G
end up with is a ton of text, no more streamlined or easy to analyze than the original output from phpinfo(). I'm hoping there's a way more targeted way of discerning what settings one server may have that another server might not. -- Dave M G -- PHP General Mailing List (http://w

[PHP] Compare PHP settings of two different servers

2009-07-23 Thread Dave M G
7;m open to any ideas. Thanks for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Accessibility problem with delegates

2008-10-20 Thread Dave Kok
other class can call them. This seems rather strange as the callback functions have no meaning when invoked arbitrarily. So I was wondering whether I am doing something wrong. Could someone comment? Regards, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Dave M G
that does that? Or a good recommendation? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mozilla user agent escapes detection

2008-09-01 Thread Dave M G
illa would be different. Any suggestions? Is there something about my code right in front of my face that I'm not seeing? Any suggestions would be greatly appreciated. Thanks. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forward slashes and header requests

2008-08-21 Thread Dave M G
r the suggestion, though. Anyone have any other ideas? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Forward slashes and header requests

2008-08-20 Thread Dave M G
27;t figure out why this: click here ... does not work with this: $userRequest = trim($_SERVER['REQUEST_URI'], "/"); header ("Location: /$userRequest"); Any suggestions or help would be greatly appreciated. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Kill Magic Quotes [SOLVED]

2008-08-07 Thread Dave M G
hp_value magic_quotes_gpc off php_flag magic_quotes_gpc off Right now I'm using php_value, so I'll stick with that. This seems to have solved my magic quotes woes. Thank you Richard, Chris, Roger, Viraj, and the PHP list for responding. -- Dave M G -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Kill Magic Quotes

2008-08-07 Thread Dave M G
eason for the restoreSlashes function to exist. If you ever think you need it, you're wrong. I guess that makes sense. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Kill Magic Quotes

2008-08-07 Thread Dave M G
blic static function restoreSlashes($string) { // Check if "Magic Quotes" is turned on. if (get_magic_quotes_gpc()) { // Add escape slashes. return addslashes($string); } // Return a string that has escape slashes. return $string; } Any advice much appreciated. -- Da

[PHP] Memory limit of 8 MB not enough

2008-04-16 Thread Dave M G
thout some guidance. What should I set the memory limit to? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP gives session error on remote server, but not local test machine [SOLVED]

2008-04-07 Thread Dave M G
PHP list, Solving my own issue: It turns out that some PHP scripts had an extra carriage return character at the end of the file. Once I removed these, the problem went away. Strange that it only happened on some servers, not others, but there it is. -- Dave M G Articlass - open source CMS

[PHP] PHP gives session error on remote server, but not local test machine

2008-04-07 Thread Dave M G
session_id($sessionArray[0]); $userRequest = $sessionArray[1]; } else { $userRequest = $sessionArray; } } session_start(); } --- code ends --- -- Dave M G Articlass

Re: [PHP] Re: fwrite/fclose troubles

2008-03-21 Thread Dave Goodchild
Why are you writing a logging class? Why not use error_log and enable error logging? On Fri, Mar 21, 2008 at 1:11 PM, Al <[EMAIL PROTECTED]> wrote: > int file_put_contents ( string $filename, mixed $data [, int $flags [, > resource $context]] ) > > This function is identical to calling fopen(), f

Re: [PHP] PHP and #if

2008-03-14 Thread Dave Goodchild
in php you have a number of constructs that can be used to execute code (or not) based on certain conditions ie is_defined(). Not sure if the comparison with C holds true as C is compiled and PHP is interpreted. On Fri, Mar 14, 2008 at 6:34 PM, Eric Gorr <[EMAIL PROTECTED]> wrote: > If you are ta

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Dave Goodchild
Will you two pricks cut it out. How fucking tedious. On Wed, Mar 12, 2008 at 9:34 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-03-12 at 22:26 +0100, Aschwin Wesselius wrote: > > Robert Cummings wrote: > > > On Wed, 2008-03-12 at 16:11 -0500, Greg Donald wrote: > > > > > >> On 3

Re: [PHP] Re: Why use session_register()?

2008-03-10 Thread Dave Goodchild
session_register is old school. RTFM. On Mon, Mar 10, 2008 at 4:26 PM, Al <[EMAIL PROTECTED]> wrote: > Read the current php manual. > > Lamonte H wrote: > > Is it necessary to use session_register()? What exactly was the point > of > > this function if you can set sessions using $_SESSION it sel

Re: [PHP] Importing and exporting from MySQL, escape slash problem

2008-03-04 Thread Dave M G
ing trouble importing a mysql dump using phpMyAdmin, it might be simpler not to use it, and use mysqldump instead. I suppose I'll have to if I can't get phpMyAdmin to behave. It's too bad, though, as phpMyAdmin is so convenient otherwise. -- Dave M G -- PHP General Mailing

[PHP] Importing and exporting from MySQL, escape slash problem

2008-03-01 Thread Dave M G
est practice for preserving my database as is when backing up and restoring? Thanks for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about functions

2008-01-24 Thread Dave Goodchild
Said it was a crude example and I was pushed for time On Jan 24, 2008 8:13 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > On Jan 24, 2008 3:08 PM, Dave Goodchild <[EMAIL PROTECTED]> wrote: > > header("Location: index.php"); > > Redirect uri's should be absolute. >

Re: [PHP] Question about functions

2008-01-24 Thread Dave Goodchild
Methink you're a little confused. A function is a piece of code that performs a specific job that can be called. You may send it data, you may not. It may return data, it may not. If your link goes to logout.php, that script may use functions to do it's job. You can't call a function in a link as p

Re: [PHP] More frustration with MySQL and PHP

2008-01-21 Thread Dave Goodchild
Don't be scared of functions, no magic or mystery there, all you are doing is putting your code in a function like so: function add($a, $b) { return $a + $b; } ..for example and calling it like so: $a = 12; $b = 100; $sum = add(12, 13); ...etc etc, not too much more to learn than that and now I

Re: [PHP] Scripts are fast locally, but slow on remote server

2008-01-15 Thread Dave M G
If it were a name server issue, I would expect the slowdown to happen regardless of which page I load first. So, I guess to be more specific, the slowdown happens the first time I load one of my PHP scripts on this site, not the first time I access the site. -- Dave M G -- PHP General Ma

[PHP] Scripts are fast locally, but slow on remote server

2008-01-15 Thread Dave M G
of slowdown. Is there any way I can diagnose a situation like this to get to the root of the problem? Perhaps there are common discrepancies between server settings that I can look out for? Any advice would be much appreciated. Thank you. -- Dave M G Articlass - open source CMS http

Re: [PHP] http_request

2008-01-05 Thread Dave Goodchild
It's advisable as the page you will be redirected to will be relative to the one the browser actually requested, so it's a good habit to get into. On Jan 5, 2008 4:05 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Jan 5, 2008 10:59 AM, Dave Goodchild <[EMAIL PROTECTED]>

Re: [PHP] http_request

2008-01-05 Thread Dave Goodchild
Also, supply an absolute URL when using header redirects. On Jan 5, 2008 3:44 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Jan 5, 2008 9:06 AM, peeyush gulati <[EMAIL PROTECTED]> wrote: > > Greetings on New Year :) > >To you, as well! > > > We have a script, say layer.php, which uses HTTP

Re: [PHP] First stupid post of the year.

2008-01-02 Thread Dave Goodchild
don't use nonbreaking spaces use CSS to style the input button then you wont have to deal with redundant presentational gunk in your data On 1/2/08, David Giragosian <[EMAIL PROTECTED]> wrote: > On 1/2/08, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > > > On Jan 2, 2008 1:34 PM, tedd <[EMAIL PROTECT

Re: [PHP] best way for PHP page

2008-01-02 Thread Dave Goodchild
If MVC is too heavy for you it may also be worth exploring templating engines such as Smarty: http://www.smarty.net/ On Jan 2, 2008 4:10 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Jan 2, 2008 2:17 AM, Alain Roger <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > i would like to improve my codi

Re: [PHP] Writing text into images, and setting text size [SOLVED]

2007-12-19 Thread Dave M G
or my code to be portable. In any case, you've helped me get to the point that I needed to get to, so I am very grateful for your support. Thanks. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Select Box CSS OT

2007-12-18 Thread Dave Goodchild
Why not try a css list? css-discuss for example? On Dec 18, 2007 8:06 PM, Børge Holen <[EMAIL PROTECTED]> wrote: > On Tuesday 18 December 2007 20:03:53 Stut wrote: > > VamVan wrote: > > > Please apologize for sending this question to PHP forums. > > > > If you know this already why ask the questi

Re: [PHP] Writing text into images, and setting text size

2007-12-18 Thread Dave M G
enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Supportenabled GetText Support enabled Am I missing a necessary module? Hope this helps It helps very much. Thank you. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Writing text into images, and setting text size

2007-12-17 Thread Dave M G
is yielded no results. Am I still getting the syntax wrong somehow? Thank you for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Writing text into images, and setting text size

2007-12-17 Thread Dave M G
out what font it is, just that it's large and readable. If there are other options than what I've explored here, then I would be open to those too. Thank you for any advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Writing text into images, and setting text size

2007-12-16 Thread Dave M G
and will I be able to locate them? 3. I'm not really concerned about what font it is, just that it's large and readable. If there are other options than what I've explored here, then I would be open to those too. Thank you for any advice. -- Dave M G -- PHP General Mailin

Re: [PHP] Mysqli support - test or complain? [SOLVED]

2007-12-10 Thread Dave M G
future calls will use the correct mysqli or "regular" syntax. Thank you for helping me to find this solution. My scripts are that much more portable now. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mysqli support - test or complain?

2007-12-10 Thread Dave M G
t versions of my script? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mysqli support - test or complain?

2007-12-10 Thread Dave M G
ct the web host and ask that they install it, or I find a different host. Which assumption should I be proceeding with? Thank you for any advice or assistance. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Convertig xml into array

2007-11-27 Thread Dave Goodchild
Hi guys. I have the following XML file which I want to convert into a multidimensional array. I am using PHP5 so don't want to use SimpleXML as apparently there are issues with sessions and after conversion I want to pass this array into the session. Any ideas on the best and cleanest way to do thi

Re: [PHP] Basic question - PHP usage of SVG files [SOLVED]

2007-11-23 Thread Dave M G
as an array, I can do a little math on them to manipulate their scale and whatnot. The interpolation between points gets lost with this method, but in this case, I can get by with straight lines. Thanks for helping me to see the value in using PHP's XML functions. -- Dave M G -- PHP Gener

Re: [PHP] Basic question - PHP usage of SVG files

2007-11-21 Thread Dave M G
int of making the questions unclear. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Basic question - PHP usage of SVG files  [SOLVED]

2007-11-21 Thread Dave M G
Casey, There is no SVG support in PHP, as far as I know. Thank you. That clears things up. I'll just go with PNGs then. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Basic question - PHP usage of SVG files

2007-11-20 Thread Dave M G
nk you for your help. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] tell me :which book is good for newman??

2007-11-17 Thread Dave Goodchild
Start with Programming PHP and then get Upgrading To PHP5 (both by O'Reilly) On Nov 17, 2007 2:31 PM, David Giragosian <[EMAIL PROTECTED]> wrote: > On 11/17/07, joychen <[EMAIL PROTECTED]> wrote: > > > > tell me :which book is good for newman?? > > > You mean paul? > -- PHP General Mailing List

Re: [PHP] Need a hint how to track an error

2007-11-12 Thread Dave Goodchild
Start by coding proper semantic xhtml and you will have less headaches too - that code looks very ugly. On Nov 12, 2007 8:38 AM, Ronald Wiplinger <[EMAIL PROTECTED]> wrote: > Chris wrote: > > Ronald Wiplinger wrote: > >> My php program is working with Firefox, but not with Internet Explorer. > > >

Re: [PHP] moving over to php 5

2007-10-29 Thread Dave Goodchild
Support for php4 will be dropped at the end of the year so hosts will be forced to make the upgrade at some point. On 10/29/07, Hulf <[EMAIL PROTECTED]> wrote: > > Hi, > > > It is about time I made the jump to 5, however the only thing that is > holding me back is the problem with hosts. How many

Re: [PHP] Looking for a framework

2007-10-23 Thread Dave Goodchild
You mean a javscript library? If so, check out jquery and moo.fx. On 10/23/07, Merlin <[EMAIL PROTECTED]> wrote: > > Hi there, > > I am looking for a framework to integrate some AJAX Functionality into > my PHP4 MySQL Apache webapp. First thing I would like to do, is an edit > function that opens

[PHP] Mime Magic functions - how standard are they?

2007-10-03 Thread Dave M G
.doc, .odt, .zip, .gz... maybe that's it. -- Dave M G Zend Studio 5.5 Ubuntu 7.04 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] CAN'T GET OUT OF THIS LIST

2007-08-29 Thread Dave Howard Schiff
Please someone remove me! I can't get out! ___ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/ -- PHP General Mailing List (http:

Re: [PHP] Strip numerical indices from array [SOLVED]

2007-08-13 Thread Dave M G
imple as replacing every instance of mysql_ with mysqli_. I will look into it further and see if I can migrate to using mysqli_ somehow. Thank you for the advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Strip numerical indices from array

2007-08-12 Thread Dave M G
index, leaving only the associative key names? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Includes eating up my time [SOLVED]

2007-08-02 Thread Dave M G
w and again, but I think I have a handle on that. Thank you for pointing that out to me. Just the right solution. -- Dave M G Ubuntu Feisty 7.04 Kernel 2.6.20-16-386 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Includes eating up my time

2007-07-31 Thread Dave M G
at any one time, so I'm unsure how to efficiently include only the necessary classes. My second question is: Is there a systematic way of determining how to incrementally include files that people use? Or is it just a constant process of testing and checking? Thank you for any advice.

RE: Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
TECTED] Sent: Tuesday, July 24, 2007 10:56 AM To: Daniel Brown Cc: Bosky, Dave; php-general@lists.php.net Subject: Re[2]: [PHP] Help needed with Curl Hi Daniel, Tuesday, July 24, 2007, 2:34:06 PM, you wrote: > In order to enable cURL on a Windows box, you have to copy > libeay32.dll and ssleay

RE: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
om: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 9:01 AM To: Bosky, Dave Cc: php-general@lists.php.net Subject: Re: [PHP] Help needed with Curl On 7/24/07, Bosky, Dave <[EMAIL PROTECTED]> wrote: > > I downloaded a copy of PHP Version 5.2.3 and installed

[PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
s for Curl to work? What the heck am I missing? Thanks, Dave ** HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not th

Re: [PHP] Re: Form Data Filtering

2007-06-15 Thread Dave Goodchild
No, because extra processing is done on the other side - now fuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuck

Re: [PHP] Re: Form Data Filtering

2007-06-15 Thread Dave Goodchild
I use something like this: $_SESSION['profane'] = false; foreach ($_POST as $value) { foreach ($swearbox as $profanity) { if (preg_match("/$profanity/i", $value)) { $errors = true; $_SESSION['profane'] = true; mail(TECHEMAIL, 'profane content

Re: [PHP] Reformatting the URI on return to the browser

2007-06-14 Thread Dave M G
it seems to work like a charm so far. Thanks for all your advice and assistance. -- Dave M G Ubuntu Feisty 7.04 Kernel 2.6.20-15-386 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] does this code look like it would check a file extensions, and disallow php files or exe files to be attached

2007-06-14 Thread dave peaachepea
storeFile(); } ?> I'm not a programmer, and I'm very new at php so im sure there are errors and stupid logic in my code. It would be greatly appreciated if anyone here could critique and rip apart my code. thank you, -dave

[PHP] Reformatting the URI on return to the browser

2007-06-13 Thread Dave M G
a URI request and returning a page that the URI will get set. Can anyone help me with figuring out at what point I can gain control over the URI sent back, as Wikipedia does? Thanks for any advice. -- Dave M G Ubuntu Feisty 7.04 Kernel 2.6.20-15-386 -- PHP General Mailing List (http://www.ph

[PHP] php script from bat file

2007-06-12 Thread Bosky, Dave
ry and contains a single line 'php.exe C:\Inetpub\scripts\run.php'. It seems to run ok but nothing happens. Any ideas? Thanks, Dave ** HTC Disclaimer: The information contained in this message may be privileged and

Re: [PHP] Re: any security problems with this?

2007-06-12 Thread Dave Goodchild
Sure, I usually put these files outside the docroot - unless I am in some f**ked-up hosting environment that doesn't let me change the include path...

Re: [PHP] Re: any security problems with this?

2007-06-12 Thread Dave Goodchild
Unless some server config error causes that stuff to be output on the page? I tend to put such functions in a .inc file and amend the .htaccess to prevent download.

Re: [PHP] Going from simple to super CAPTCHA

2007-06-10 Thread Dave M G
nes that is not obvious to me. I came across this page: http://sam.zoy.org/pwntcha/ ... which conveys a feeling that some CAPTCHAs that look good actually aren't. According to this page, the Yahoo CAPTCHA image, which looks quite minimal to me, is actually one of the better ones. -- Da

[PHP] Going from simple to super CAPTCHA

2007-06-09 Thread Dave M G
on a pre-built library of images? Can someone maybe point me to an online instructional on how to get a CAPTCHA image that really works? Tips on what differentiates a good CAPTCHA from a bad one would also be really sweet. Thank you for any advice. -- Dave M G Ubuntu Feisty 7.04 Kernel 2.6.

Re: [PHP] file permissions

2007-06-09 Thread Dave Goodchild
Why not use umask?

[PHP] [URL file-access is disabled]

2007-06-09 Thread Dave Howard Schiff
/www/myhost.pandela.org/bd/loginuser.php on line 41 Any help would be very appreciated. Best Regards, Dave Howard Schiff. - Novo Yahoo! Cadê? - Experimente uma nova busca.

Re: [PHP] Double checking - I should turn off "magic quotes"

2007-06-09 Thread Dave M G
adn't made that distinction, my site would have malfunctioned immediately. Thank you for following up. -- Dave M G Ubuntu Feisty 7.04 Kernel 2.6.20-16-386 -- 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   >