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

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

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

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] 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] 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] 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] 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

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

[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

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: [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] 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

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] 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

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

2007-06-04 Thread Dave M G
MySQL injection. I was searching via Google because I thought I had seen before a site that listed 10 common injection attacks. But I can't find it now, and seem to be only coming across proprietary software for sale. Can someone recommend some MySQL code that I can use to test my code? -

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

2007-06-04 Thread Dave M G
apostophes and other special characters in the case of MySQL? Can someone inject a workable MySQL command into my database if all apostrophes and other non-alphanumeric characters are converted to hex? -- 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] Double checking - I should turn off "magic quotes"

2007-06-04 Thread Dave M G
isable magic quotes on my testing environment and do my own escaping? While I'm asking about escaping, is converting characters like apostrophes and ampersands to hex characters before storing them in a MySQL database a safe way to go? Thank you for any advice. -- Dave M G Ubuntu Feisty 7.0

Re: [PHP] Is the GD module standard? [SOLVED]

2007-06-04 Thread Dave M G
ortunately it turns out it's only a matter of making a check box selection and then clicking a button to install. Thank you for helping me understand what to expect out of a normal PHP installation. -- Dave M G Ubuntu Feisty 7.04 Kernel 2.6.20-15-386 -- PHP General Mailing List (http://w

[PHP] Is the GD module standard?

2007-06-03 Thread Dave M G
servers would have the GD module? If not, what do people usually do to manipulate images? Thank you for any advice. -- 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

Re: [PHP] Re: Confused about how exactly to output image using imagepng function [SOLVED]

2007-05-20 Thread Dave M G
Robert, Zoltan, Stephen, Tijnema, Thank you for your responses. I did take some code off of the internet, but I had to modify it to work within the context of my general system. The explanations offered here have helped me achieve that. Thank you all for your insight and help. -- Dave M G

[PHP] Confused about how exactly to output image using imagepng function

2007-05-17 Thread Dave M G
file. Or, if it has to be a temporary file, to delete it immediately after displaying it. What part am I not understanding? Thank you for any advice or information. -- 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

Re: [PHP] What determines the relative directory, and can I control it?

2007-04-24 Thread Dave M G
people will like my approach better. Or maybe not. In any case, I think I've got an approach that may suit the needs of some better than the other systems. At the very least, I like it (insert emoticon here). -- Dave M G Ubuntu 7.04 Feisty Fawn Kernel 2.6.20-15-generic Pentium D Dual Core Pro

[PHP] What determines the relative directory, and can I control it?

2007-04-23 Thread Dave M G
have described the situation adequately. My question is, as implied above: Can I somehow manipulate any of the PHP scripts involved so that the HTML within layout.php will look first in it's own directory for inclusion of files, such as CSS and javascript and anything else? Thank you for

[PHP] Mailing list combined with PHP based forum

2007-01-15 Thread Dave M G
Can anyone start me off with some tips as to how, and if, this might be possible? Thanks for any advice or informaiton. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Passwords suddenly not working

2006-11-29 Thread Dave M G
#x27;t think of anything else that could be a culprit (though of course I'm open to suggestions). Any advice would be much appreciated. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing objects in sessions recursively

2006-11-27 Thread Dave M G
finitely a serialization issue. -- Dave M G Community Moderator -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Storing objects in sessions recursively

2006-11-24 Thread Dave M G
7;]; } I may have missed a detail in trying to keep this brief and readable. If so, please let me know and I will try to provide it. Thank you for any advice. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Upload not finding directory to write to.

2006-10-27 Thread Dave M G
e" directory has fully open permissions, and it's currently set to "drwxrwxrwx", or "0777". Am I missing some fundamental issue with directory structures on an Apache server? -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ensuring all links go to index.php [SOLVED]

2006-10-23 Thread Dave M G
time and advice. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Ensuring all links go to index.php

2006-10-20 Thread Dave M G
t;); Or: header("/local/server/www/directory/"); Bottom line is, how do I ensure that all links and user requests through the URL end up going to the index.php in my web site's root directory? I hope this question is clear enough, and thank you for any and all advice. -- Dave M

[PHP] array_walk, or array_map, or foreach?

2006-10-20 Thread Dave M G
ray) I've even tried accomplishing it with a foreach(), but no matter what I do, it doesn't work. As it walks through the array, it seems to trim a copy of the element in the array, trim that, but leave the original array untouched. What am I missing here? -- Dave M G Ubuntu

[PHP] Setting try and catch to use my own error handler

2006-10-19 Thread Dave M G
rfile . $errline ; } However, I get errors saying that the arguments for handleError don't exist. Shouldn't they be automatically passed to my own error handler? Thank you for any advise. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL

Re: [PHP] Re: Setting PHP to use SMTP

2006-10-16 Thread Dave M G
and full of settings I don't need, really turns me off. Is there no way to simply force my PHP emails through SMTP? I'm happy about everything else with my email set up, so surely there's a way to handle this one thing. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dua

[PHP] Setting PHP to use SMTP

2006-10-15 Thread Dave M G
ctly do I set the variables? Do I have to manually edit php.ini and then restart Apache? Is there a command I should be running? Thank you for any and all advice. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List

Re: [PHP] Working with overly aggressive anti-spam measures [SOLVED]

2006-10-10 Thread Dave M G
ddress = "[EMAIL PROTECTED]"; $fromName = "My Name"; $headers = "From: " . $fromName . " <" . $fromAddress . ">\n"; $headers .= "Reply-to: " . $fromName . " <" . $fromAddress . ">\n"; $extra = "-f"

Re: [PHP] Working with overly aggressive anti-spam measures

2006-10-10 Thread Dave M G
r.com [123.123.123.123] (may be forged) (Note that I've changed the names of servers and the DNS just to keep some info private) Why are my attempts to set these headers in PHP not taking effect? -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Working with overly aggressive anti-spam measures

2006-10-09 Thread Dave M G
Sun, 03 Sep 2006 14:22:42 -0700 Which parts are key to change, and how? Thank you for any and all advice. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using a variable to call another variable [SOLVED]

2006-09-09 Thread Dave M G
of a class and method, which is my ultimate intent with this process. I will also make sure to name my variables with at least one leading alphabet character. Thanks for the warning. All your time and expert advice is much appreciated. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual

[PHP] Using a variable to call another variable

2006-09-08 Thread Dave M G
ted. Thank you for your time. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: strip slashes from beginning and end of string in one expression

2006-08-31 Thread Dave M G
iated. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strip slashes from beginning and end of string in one expression

2006-08-31 Thread Dave M G
;. I've looked around and can't seem to find a way of connecting these in the same search. However, I'm sure that is because I'm not familiar enough with regular expressions to know what I'm looking at. How would I connect "#^/*#" and "#*/$#" in

Re: [PHP] Recommendations for PHP debuggers?

2006-08-20 Thread Dave M G
own set of error handlers, which would themselves need constant tweaking, especially as I'm a newbie. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Recommendations for PHP debuggers?

2006-08-20 Thread Dave M G
rk on Linux? Any tutorials or instructions available anywhere that are newbie friendly? After all, aren't the newbies the ones most likely to be the ones to use a GUI debugger? Any advice or help would be greatly appreciated. Thank you for your time. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.

Re: [PHP] Creating User Friendly URLS [SOLVED]

2006-08-19 Thread Dave M G
at it seemed like it was supposed to be listed there. If anyone can see problems in the above, or if I've misunderstood some part, please let me know. Thanks to the PHP list for their ever-present help and support. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Creating User Friendly URLS

2006-08-17 Thread Dave M G
up. But, while I'm sure there are more steps than that, I'm halted initially because I'm not sure where in the $_SERVER array my URL is being stored. Any advice on how to proceed here would be greatly appreciated. Thank you. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dividing, and keeping, text from the first space

2006-08-09 Thread Dave M G
his advice has come together, and my script now accomplishes what I had hoped it would. Thank you and the PHP list in general for the continued great support. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Create an EUC-JP encoded file just for download, not to be kept on server

2006-08-09 Thread Dave M G
rything I set out for it to do. Everyone's time and expertise is very much appreciated. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Create an EUC-JP encoded file just for download, not to be kept on server

2006-08-09 Thread Dave M G
e that no one goes out of their way to document or explain it. I'm too lost to know where to begin. How do I create a file that the user saves, and is not stored on the server? -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dividing, and keeping, text from the first space

2006-08-09 Thread Dave M G
ckslash and "s" again. Hmm... does the (.*) after the second "\s" mean to match all the whitespace found? For example if there happened to be two space characters instead of just one? The PHP manual says the "$" means to "assert end of subject". Which

[PHP] Dividing, and keeping, text from the first space

2006-08-08 Thread Dave M G
e? Thank you for all your time and help. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular expression to find from start of string to first space [SOLVED]

2006-08-08 Thread Dave M G
ugh if anyone believes that it could be more efficient or something, of course I'm all ears. Thank you for all your time and advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >