Re: [PHP] XML array

2011-07-05 Thread Tamara Temple
On Jul 5, 2011, at 10:47 AM, Stuart Dallas wrote: $arr[] = array('name' = (string)$book-name, 'author' = (string)$book-author); } Interesting -- is the casting to string type necessary there? I haven't done that before, and it seems to have worked ok... -- PHP General Mailing List

Re: [PHP] Re: Top Posting

2011-07-05 Thread Tamara Temple
Business e-mail did not start with Outlook. Businesses have been using e-mail long before it even showed up as an option. The de jure standard on the Internet before that time, and before several other clients came about was either bottom posting or intermixed responses. This was true in

Re: [PHP] XML array

2011-07-05 Thread Tamara Temple
On Jul 5, 2011, at 12:48 PM, Stuart Dallas wrote: On Tue, Jul 5, 2011 at 6:43 PM, Tamara Temple tamouse.li...@gmail.com wrote: On Jul 5, 2011, at 10:47 AM, Stuart Dallas wrote: $arr[] = array('name' = (string)$book-name, 'author' = (string)$book-author); } Interesting -- is the casting

Re: [PHP] Re: Top Posting

2011-07-05 Thread Tamara Temple
On Jul 5, 2011, at 1:14 PM, Ashley Sheridan wrote: Have you looked into using Evolution as an email client? It's what I use on Linux, and the last time I checked there were Windows binaries available for it. It connect to MS Exchange Server if that's what you use in the office, it's

Re: [PHP] Re: Top Posting

2011-07-05 Thread Tamara Temple
On Jul 5, 2011, at 4:37 PM, Michelle Konzack wrote: Imagine here a quoting of 200 lines and then a ME TOO! Thanks, Greetings and nice Day/Evening Michelle Konzack -- # Debian GNU/Linux Consultant ## Development of Intranet and Embedded

Re: [PHP] Re: Re: Top Posting

2011-07-06 Thread Tamara Temple
On Jul 6, 2011, at 3:19 PM, Paul M Foster wrote: Postfix is a *nix program which can be connected to whatever program you use to grab mail with. With postfix, you write recipes which dictate what will be done with a piece of incoming mail, based on whatever characteristics you choose. Think

Re: [PHP] Re: Re: Top Posting

2011-07-07 Thread Tamara Temple
On Jul 7, 2011, at 7:27 AM, Daniel Brown wrote: On Thu, Jul 7, 2011 at 02:18, Hans Åhlin ahlin.h...@kronan-net.com wrote: I't is useless to argue with this guy, I had the same problem with him allot of times and it always ended up with him not understanding and insulting me. So i put a

Re: [PHP] vend-bot?

2011-07-07 Thread Tamara Temple
On Jul 7, 2011, at 9:07 AM, Stuart Dallas wrote: Now, what do I win? A free subscription to InformationWeek. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] using wget in shell for download(snort)

2011-07-10 Thread Tamara Temple
On Jul 10, 2011, at 5:38 AM, Negin Nickparsa wrote: I want to make a batch file and then exec it in php I have a problem in batch file wget have been installed in Yast I want to download a RuleFile from snort.org I used this on shell: $ wget

Re: [PHP] PHP control structure

2011-07-13 Thread Tamara Temple
On Jul 12, 2011, at 10:11 PM, Chris Stinemetz wrote: Hey all, I would like to add an if statement to the following function so that the value 1 is assigned corporate and the value is 2 assign standard to it. Would you show me an example on adding it to the below function? If there is a

[PHP] problem with session_write_close

2011-07-14 Thread Tamara Temple
I'm having a problem with a brand new installation of pmwiki. I've not encountered this before so I'm unsure why this is happening. The following two warnings are presented at the top of each page: Warning: session_write_close() [function.session-write-close]: open(/

Re: [PHP] Variable scope

2011-07-14 Thread Tamara Temple
On Jul 14, 2011, at 3:54 PM, Karl DeSaulniers wrote: Can anyone explain this to me. function sendEmail($uname,$subjField,$firstname,$lastname,$email, $reply,$e_cc,$e_bcc,$comments,$ip,$Date,$time){ $uname = trim($uname); $subjField = trim($subjField); $firstname =

[PHP] Re: problem with session_write_close

2011-07-14 Thread Tamara Temple
I'm having a problem with a brand new installation of pmwiki. I've not encountered this before so I'm unsure why this is happening. The following two warnings are presented at the top of each page: Warning: session_write_close() [function.session-write-close]: open(/

Re: [PHP] chained select with ajax

2011-07-17 Thread Tamara Temple
On Jul 17, 2011, at 2:38 PM, Chris Stinemetz wrote: This is a [Cross-post] I didn't receive any feedback from phpdb list. Hope fully there is someone out there that may offer some advice why my code isn't working correctly. Thanks all. I am trying to create a cascading seletct with 3 menu

Re: [PHP] ? simple solution for error resulting from upgrade to php5

2011-07-19 Thread Tamara Temple
On Jul 19, 2011, at 3:05 AM, Dr Michael Daly wrote: Hi is there a simple solution here, other than reverting to php4? An upgrade from php5 to php5 has resulted in an error msg in this line: if( strlen($db_res ) 0 ) { I understand this is bec. php5 is object orientated. It says an Object

[PHP] Fwd: ezmlm warning

2011-07-20 Thread Tamara Temple
Um... what's going on here? Why would google mail be bouncing?? Begin forwarded message: From: php-general-h...@lists.php.net Date: July 20, 2011 1:08:54 AM CDT To: tamouse.li...@gmail.com Subject: ezmlm warning Hi! This is the ezmlm program. I'm managing the php-general@lists.php.net

[PHP] Fwd: ezmlm warning

2011-07-20 Thread Tamara Temple
-general Digest of: get.313991 Topics (messages 313991 through 313991): Mail System Error - Returned Mail 313991 by: rick.duvals.ca Administrivia: --- Administrative commands for the php-general list --- [snip] --- Enclosed is a copy of the request I received. [snip] From: Tamara Temple

Re: [PHP] Problem with header(Location: )...

2011-07-31 Thread Tamara Temple
On Jul 31, 2011, at 1:40 PM, Jason Pruim wrote: So I'm attempting to redirect back to the main site of a page after a successful insert into a database... Here's my code: ?PHP if (!$resp-is_valid) { // What happens when the CAPTCHA was entered incorrectly die (The reCAPTCHA wasn't

Re: [PHP] Best editor?

2011-08-03 Thread Tamara Temple
On Aug 3, 2011, at 8:40 AM, Florian Müller wrote: With your description, I think it is the most simple way with it: Connect it with a webserver, and then you can edit all files right on the server, so if you save, they are live. Not to hijack the thread, but I really, *really* hope you

Re: [PHP] Best editor?

2011-08-03 Thread Tamara Temple
On Aug 3, 2011, at 11:39 AM, David Harkness wrote: On Wed, Aug 3, 2011 at 9:36 AM, Tamara Temple tamouse.li...@gmail.com wrote: Not to hijack the thread, but I really, *really* hope you are not suggesting that someone do live edits on a production server I would never consider

Re: [PHP] Re: testing

2011-08-04 Thread Tamara Temple
On Aug 4, 2011, at 10:21 AM, Jim Giner wrote: Because I'm lazy. I LIKE the newsgroup method - all my mail in one place: email, newsgroups together yet separate so that I can read the news postings when I have time, and the email is purely mine. Tim Streater t...@clothears.org.uk wrote in

Re: [PHP] Intentionally generate an Internal Server Error

2011-08-07 Thread Tamara Temple
On Aug 6, 2011, at 10:50 PM, Ghodmode wrote: I'd like to use PHP to intentionally generate an Error 500 Internal Server Error. Here's the problem. My site has this error intermittently and I'd like to monitor the error log to figure out the problem. Unfortunately, I don't get to see the

Re: [PHP] pass text variables to next page

2011-08-08 Thread Tamara Temple
On Aug 8, 2011, at 11:58 PM, Chris Stinemetz wrote: I am trying to pass text strings from on page to a next to populate the queries on the passed to page. The only way I can get the query to work is if I am able to put single ticks around the string to make it literal, but I can't seem to

Re: [PHP] pass text variables to next page

2011-08-09 Thread Tamara Temple
On Aug 9, 2011, at 7:42 AM, Jasper Mulder wrote: Date: Tue, 9 Aug 2011 07:30:47 -0500 From: chrisstinem...@gmail.com To: tamouse.li...@gmail.com CC: php-general@lists.php.net Subject: Re: [PHP] pass text variables to next page Thank you Tamara. Not sure if I am doing it right. It

Re: [PHP] Problem with inserting numbers...

2011-08-11 Thread Tamara Temple
On Aug 10, 2011, at 8:22 PM, Jason Pruim wrote: So here I am attempting to generate some numbers to be inserted into a database... eventually they will make up a phone number (Which I've emailed about before and know about the bad ideas with it.. But it's the customer :)) Here is the

[PHP] trying this again....

2011-08-14 Thread Tamara Temple
installing Zend PDT in Eclipse From: Tamara Temple tamouse.li...@gmail.com To: php-general@lists.php.net Content-Type: text/plain; charset=UTF-8 Date: Sat, 13 Aug 2011 19:22:47 -0500 Message-ID: 1313281367.9066.3.camel@caesar Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding

Re: [PHP] Login with Remember me Feature

2011-08-14 Thread Tamara Temple
On Aug 14, 2011, at 8:23 AM, Alekto Antarctica wrote: Hi guys! I have now tried to take some of your hints into consideration, by encrypting the password with md5 adding a salt. As some of you pointed out, this code is the work of a newbie, that is totally correct, so please bear with me ;)

Re: [PHP] Where is the code for this page?

2011-08-18 Thread Tamara Temple
On Aug 18, 2011, at 3:17 PM, Daniel Brown wrote: On Thu, Aug 18, 2011 at 16:13, Dotan Cohen dotanco...@gmail.com wrote: 2) I learned a new trick today! Grep this/that syntax: cat .htaccess | grep RewriteCond\|RewriteRule That's a backslash-pipe double operator in there. Easy to remember:

Re: [PHP] Newbie security database connection question

2011-08-19 Thread Tamara Temple
On Aug 19, 2011, at 7:52 PM, DealTek wrote: Hello, NEWBIE: I have a security question: When working with PHP and MySQL, it seems that a one method is to create a connection.php page to the database that will store the connection parameters such as username, password and URL ip in clear

Re: [PHP] Sniping on the List

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 12:24:17 -0600, tamouse mailing lists tamouse.li...@gmail.com sent: On Tue, Nov 15, 2011 at 12:12 PM, Tedd Sperling tedd.sperl...@gmail.com wrote: PS: I know it's not Friday, but this question came up in class yesterday and I thought maybe all of you might like to guess

Re: [PHP] RSS Feed

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 20:30:29 +, Christopher Lee ct...@ucensys.com sent: Hello All, I am interested in importing RSS Feed content into a MySQL database and displaying the aggregated content on a website. I am thinking of developing the website within a CMS type framework (i.e. Drupal).

Re: [PHP] Safari and PDF

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 22:36:58 +, Ashley Sheridan a...@ashleysheridan.co.uk sent: On Tue, 2011-11-15 at 23:15 +0100, Matijn Woudt wrote: On Tue, Nov 15, 2011 at 11:08 PM, HallMarc Websites m...@hallmarcwebsites.com wrote: I'm sure everyone here is aware that the latest Mac OS and Safari

Re: [PHP] Re: Sniping on the List

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 21:40:59 -0600, Shawn McKenzie nos...@mckenzies.net sent: On 11/14/2011 11:51 AM, George Langley wrote: Am concerned over the number of posts that appear to be from people... ... You're messing with the wrong guy! You forgot your punctus percontavius. ⸮ -- PHP General

RE: [PHP] Safari and PDF

2011-11-15 Thread Tamara Temple
. -- Tamara Temple aka tamouse__ May you never see a stranger's face in the mirror -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sniping on the List

2011-11-17 Thread Tamara Temple
On Nov 17, 2011, at 10:33 AM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Nov 17, 2011, at 11:07 AM, Stuart Dallas wrote: On 17 Nov 2011, at 16:01, Tedd Sperling wrote: To all: Okay, so now that we have had people reply, here's my take. The Unix timestamp started on 01 Jan 1970

Re: [PHP] Sniping on the List

2011-11-17 Thread Tamara Temple
On Nov 17, 2011, at 10:01 AM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Nov 15, 2011, at 2:54 PM, Steven Staples wrote: tamouse.li...@gmail.com sent: tedd.sperl...@gmail.com wrote: PS: I know it's not Friday, but this question came up in class yesterday and I thought maybe all of

Re: [PHP] include

2011-11-20 Thread Tamara Temple
Tim Streater t...@clothears.org.uk wrote: At the moment I'm using an instance of apache to run PHP scripts, as and when required via AJAX. Having got some understanding of web sockets, I'm minded to look at having a small server to execute these functions as required. The scripts, some 50 or

Re: [PHP] include

2011-11-21 Thread Tamara Temple
Tim Streater t...@clothears.org.uk wrote: I'm looking for confirmation that: include $fn; is an allowed form of the include statement. Yes, it is definitely allowed. The syntactic sugar of using parens around the include subject is optional, as it is in other parts of php as well. That

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Tamara Temple
Andreas maps...@gmx.net wrote: Am 26.11.2011 01:35, schrieb Simon J Welsh: On 26/11/2011, at 1:14 PM, Andreas wrote: how could I identify the server the script runs on? php_uname('n'); http://php.net/php_uname Great, that even works on a ssh-tunnel. I got derailed by the fact

Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Tamara Temple
Bastien phps...@gmail.com wrote: Why not download some and dig into them? Something from sourceforge or a cms like pyrocms? See how they stuck it all together. This is not a bad idea at all. Learning from something concrete, how they do things, looking into why they chose to do it that, etc.

Re: [PHP] PHP exercises

2011-11-26 Thread Tamara Temple
Larry Garfield la...@garfieldtech.com wrote: Hi folks. A friend of mine is trying to learn PHP. She already knows programming basics, but wants to learn PHP specifically. However, she learns much better with assignments or exercises than just from reading articles or books. The only site

Re: [PHP] Is there a decent design app ?

2011-11-26 Thread Tamara Temple
Andreas maps...@gmx.net wrote: Is there a decent design app that can automatically update links within the pages of a php site whenever a referred file gets moved or renamed? Like you have /foo.css and for some reason or another you move it to /lib/css and rename it to bar.css. Now it'd

Re: [PHP] news and article posts in one table

2011-11-26 Thread Tamara Temple
muad shibani muad.shib...@gmail.com wrote: i wanna to create one table that contains both news and articles posts, they have similar columns like id, title, content, and date but they are differ in one column = the source of news or article post article has writers that have permanent names

Re: [PHP] PHP based online survey tool

2011-11-26 Thread Tamara Temple
Christopher Lee ct...@ucensys.com wrote: I am looking to develop an online survey for a non-profit. The user should be able to complete the survey and see the results in the form of a visualization (i.e. pie chart) upon completion. I found this tool (http://www.iscripts.com/survey/) but not

Re: [PHP] Apache's .htaccess issue with absolute addressing

2011-11-29 Thread Tamara Temple
Grega Leskovšek legr...@gmail.com wrote: That is problem on my skavt.net server, but also an issue of knowledge. I need to access my css/js/pic files with absolute addressing(starting with /) I can do this on my home server if I start from /var/www and not from /var/www/peace-refuge/, but

Re: [PHP] Common way to store db-password of open session?

2011-11-29 Thread Tamara Temple
Jim Lucas li...@cmsws.com wrote: On 11/29/2011 6:28 AM, Al wrote: On 11/29/2011 7:40 AM, Nilesh Govindarajan wrote: On Tue 29 Nov 2011 01:34:08 PM IST, Andreas wrote: Hi, is there a most advisable way to store db-passwords of an open user-session? As far as I get it, a common login

Re: [PHP] Common way to store db-password of open session?

2011-12-03 Thread Tamara Temple
Andreas maps...@gmx.net wrote: Am 29.11.2011 23:54, schrieb Tamara Temple: As I read it, the OP may be confusing application user logins and the credentials used by the application to access the data base. Individual application users should *NOT* have access directly to the data base

Re: [PHP] Preferred Syntax

2011-12-14 Thread Tamara Temple
Tedd Sperling tedd.sperl...@gmail.com wrote: On Dec 14, 2011, at 7:59 AM, Rick Dwyer wrote: Hello all. Can someone tell me which of the following is preferred and why? echo a style='text-align:left;size:14;font-weight:bold' href='/mypage.php/$page_id'$page_name/abr; echo a

Re: [PHP] [php] static html search engine for php static html site

2011-12-29 Thread Tamara Temple
Ashley Sheridan a...@ashleysheridan.co.uk wrote: Please don't top post. Wonder if said poster understands what that means -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Got HTML5 History API + caching LICKED, I think, grin

2012-03-18 Thread Tamara Temple
to say that the artwork is quite impressive, although I doubt I'd have really much use for the code parts. -- Tamara Temple aka tamouse__ May you never see a stranger's face in the mirror -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fgetcsv doesn't return an array?

2012-03-18 Thread Tamara Temple
is entirely dependent on what fgetcsv() is returning, and nothing that happened prior to line 154. -- Tamara Temple aka tamouse__ May you never see a stranger's face in the mirror -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables are empty only in fwrite

2012-03-18 Thread Tamara Temple
at: http://mouseha.us/demos/larryproblem.txt To see the php code, and: http://mouseha.us/demos/larryproblem.php?q=meh123 to see the demo. -- Tamara Temple aka tamouse__ May you never see a stranger's face in the mirror -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-18 Thread Tamara Temple
. I'm wondering, though, wouldn't a call to addslashes work in this case? -- Tamara Temple aka tamouse__ May you never see a stranger's face in the mirror -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mac 10.7 Install/Copy fresh PHP over Pre-Installed PHP

2012-07-27 Thread Tamara Temple
JeffPGMT jeffp...@gmail.com wrote: Please correct me if I'm wrong and IMAP is available (maybe a known config issue?) Mac OSX 10.7, Using the pre-installed Apache Php, IMAP is not installed, pulled out my Apple for this server OS. I don't know if it is, but something below seems very odd

Re: [PHP] Re: Differences

2012-10-05 Thread Tamara Temple
On Thu, 2012-10-04 at 18:06 -0400, Jim Giner wrote: I've read thru 9 responses to the OP and not one of you mentioned that the code presented is problematic in itself. Very forgiving, but perhaps someone should have suggested that he post actual code when looking for help in the future,

Re: [PHP] Friday - Return of Brain Teasers

2012-10-05 Thread Tamara Temple
On Fri, 2012-10-05 at 22:50 +0200, iostream wrote: If you want to execute some code... I'm sure you've all heard of the new goes to operator by now, but I hope it might be new to somebody. $i = 10; while ($i -- 0) { // while $i goes to 0 echo $i .\n; } Okay, I haven't

Re: [PHP] need some regex help to strip out // comments but not http:// urls

2013-05-31 Thread Tamara Temple
Tedd Sperling tedd.sperl...@gmail.com wrote: On May 29, 2013, at 5:53 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Sometimes when all you know is regex, everything looks like a nail... Thanks, Ash There are people who *know* regrex? Well, not *biblically*, but yeah, I

Re: [PHP] limit access to php page

2013-05-31 Thread Tamara Temple
Camilo Sperberg unrea...@gmail.com wrote: On 30 mei 2013, at 05:05, Paul M Foster pa...@quillandmouse.com wrote: On Wed, May 29, 2013 at 08:51:47PM -0400, Tedd Sperling wrote: On May 29, 2013, at 7:11 PM, Tim Dunphy bluethu...@gmail.com wrote: Hello list, I've created an

Re: [PHP] Has this always been the case?

2013-05-31 Thread Tamara Temple
Richard Quadling rquadl...@gmail.com wrote: Hi. Both ?php class Oddity{ public $var = 'a' . 'b'; } ? From http://www.php.net/manual/en/language.oop5.properties.php: This declaration may include an initialization, but this initialization must be a constant value--that is, it must

Re: [PHP] How to enable cURL php extension on Debian Wheezy?

2013-06-01 Thread Tamara Temple
Csanyi Pal csanyi...@gmail.com wrote: I have installed following packages related to this issue: curl, libcurl3, libcurl3-gnutls, php5-curl. All good. I have in /etc/php5/mods-available/curl.ini ; configuration for php CURL module ; priority=20 extension=curl.so Have you enabled the

Re: [PHP] php links doest work when im using mod rewrite

2013-06-01 Thread Tamara Temple
Farzan, I don't have a direct answer to your question, but I work a lot with a wiki application called PmWiki that does something very similar to what you are doing. Their instructions for using clean urls such as http://example.com/blog/2 (only in their syntax) can be seen here:

Re: [PHP] URL Rewriting

2013-06-01 Thread Tamara Temple
Silvio Siefke li...@silvio-siefke.de wrote: On Wed, 22 Jun 2011 17:50:49 -0400 Daniel P. Brown wrote: Has someone a Link with Tutorials or other Information? Not entirely sure what you're asking here, or how you (or the nginx folks) expect it to relate to PHP. Do you mean that you

Re: [PHP] Re: How to enable cURL php extension on Debian Wheezy?

2013-06-01 Thread Tamara Temple
Csanyi Pal csanyi...@gmail.com wrote: It is interesting.. that when I switch to English language for Moodle installation ( on the web interface ), then I get not this error, but if I switch back to Hungarian language for installation, I get it again. I am completely unfamiliar with Moodle,

[PHP] sorry for the blast from the past

2013-06-01 Thread Tamara Temple
Sorry for replying to a message from 2011 -- for some reason I had a whole bunch of PHP messages suddenly show up in my inbox from the past. I generally don't check the year of an unread message in my inbox, as I try to keep inbox-zero. Anyway, carry on! -- PHP General Mailing List

Re: [PHP] Re: How to enable cURL php extension on Debian Wheezy?

2013-06-02 Thread Tamara Temple
Csanyi Pal csanyi...@gmail.com wrote: Tamara Temple tamouse.li...@gmail.com writes: Csanyi Pal csanyi...@gmail.com wrote: It is interesting.. that when I switch to English language for Moodle installation ( on the web interface ), then I get not this error, but if I switch back

Re: [PHP] URL Rewriting

2013-06-02 Thread Tamara Temple
Daniel Brown danbr...@php.net wrote: Studying archaeology now, Tam? ;-P Always been a huge fan. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] browser rendering

2013-06-02 Thread Tamara Temple
georg georg.chamb...@telia.com wrote: Possibly this issue is for other fora, which you might direct me, anyways; It's actually an HTML question. But most PHPers do a lot of HTML, too, it turns. out. :) I have been dablling making my own little webpages, however having gotten a nice result

Re: [PHP] Re: How to enable cURL php extension on Debian Wheezy?

2013-06-02 Thread Tamara Temple
Csanyi Pal csanyi...@gmail.com wrote: Tamara Temple tamouse.li...@gmail.com writes: My ../apache2/conf.d directory is a symlink to the ../conf.d directory. This might indeed be the problem. Yes. My system was Debian Squeeze and I just upgraded it to Debian Wheezy. Some configuration

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tamara Temple
Tedd Sperling tedd.sperl...@gmail.com wrote: On Jun 8, 2013, at 3:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: dealTek deal...@gmail.com wrote: I can see the basic need for a table prefix in a case where you may use one mysql database for several projects at once so as to

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tamara Temple
Julian Wanke jswp...@gmx.at wrote: A database for each client? Isn't that over-powered? If you have 1000 clients, you would loose the overview over your databases... I believe what is being talked about is one DB per application install -- 'client' can be a way-overloaded term. Am

Re: [PHP] Using Table prefixes

2013-06-10 Thread Tamara Temple
Julian Wanke jswp...@gmx.at wrote: Facebook has 1,11 Billion Accounts. If we divide this through 1000 members per data team member they need 1 Million data team mebers, each of them has a salary which I would say is about 2000$. That means they have to pay 2 Billion US$ (!) per month to the

Re: [PHP] Detect and Redirect Mobile Users

2013-06-15 Thread Tamara Temple
Ford, Mike m.f...@leedsmet.ac.uk wrote: (someone else wrote:) $browser = get_browser(null, TRUE); if (isset($browser['ismobiledevice']) ($browser['ismobiledevice'] == TRUE)) { $isMobile = TRUE; } else { = FALSE; Mike's remarks below notwithstanding, I think something

Re: AW: AW: [PHP] PHP is Zero

2013-06-15 Thread Tamara Temple
BUSCHKE Daniel daniel.busc...@nextiraone.eu wrote: Why is PHP doing that? I know it works as designed and I know it is documented like this but that does not mean that it is a good feature, does it? So lets talk about the question: Is that behaviour awaited by PHP software developers? Is that

Re: [PHP] LightBox click detection

2013-06-15 Thread Tamara Temple
Tedd Sperling t...@sperling.com wrote: It's Friday so I am allowed to ask odd questions. W00T! Friday! Here's the problem -- I need to count the number of times a user activates a LightBox -- how do you do that? Here's a LightBox Example: http://www.webbytedd.com/c2/lightbox/

Re: [PHP] LightBox click detection

2013-06-15 Thread Tamara Temple
Marc Guay marc.g...@gmail.com wrote: $('.lightbox-image-class').click(function(){ $.post('ajax.php', {click: true}); }); Do javascript DOM events stack? If they do, this is definitely the simplest way to go. If they don't, you need to capture the previous click handler and call it. --

Re: [PHP] scandir doesn't find all files

2013-06-22 Thread Tamara Temple
Daniel Pöllmann poellmann.dan...@gmail.com wrote: I have some files in a directory - some are uploaded via ftp and some other are created by a php script. Scandir just finds the uploaded files, but none of the created files. I can't run chown() because the server is part of shared hosting.

Re: [PHP] json stream filter

2013-06-22 Thread Tamara Temple
Markus Staab maggus.st...@gmail.com wrote: first post on the list, so please bare with me ;-) No, I'm getting nekkee with you... :) we are handling a lot of cache files in our apps and use json to persist those contents on the filesystem, because it seems to be the fastest possible way to

[PHP] Thread-Hijacking (was: Re: [PHP] Fwd: Is it possible???)

2013-06-25 Thread Tamara Temple
Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: Please please please please don't do this! Please Please Please Do Not Hijack Threads. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with variables

2013-06-28 Thread Tamara Temple
Fernando A soporteallpurp...@gmail.com wrote: I am working with php and codeigniter, but I have not yet experienced. I need create a variable that is available throughout system. This variable contains the number of company and can change. as I can handle this? Hi, Fernando, welcome. I'm

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-28 Thread Tamara Temple
Tedd Sperling tedd.sperl...@gmail.com wrote: On Jun 27, 2013, at 8:47 PM, Paul M Foster pa...@quillandmouse.com wrote: On Thu, Jun 27, 2013 at 11:47:28PM +0200, adriano wrote: holes in sequence of auto increment happen using transaction for insert new record but you don't commit

Re: [PHP] Web dev, DB and proper db design.

2013-07-04 Thread Tamara Temple
On Jul 4, 2013, at 8:02 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 7/4/2013 6:42 AM, Richard Quadling wrote: Hi. I've just had a conversation regarding DB, foreign keys and their benefits. I was told I've never worked on a web application where foreign keys were used in the

Re: [PHP] I am completely lost and need an advice (beginner)

2013-07-19 Thread Tamara Temple
On Jul 18, 2013, at 12:28 PM, Daniel Brown danbr...@php.net wrote: On Thu, Jul 18, 2013 at 3:08 PM, php colos phpco...@gmail.com wrote: Hello world! I'm trying to learn PHP ( first programming language that I learn) and I feel kinda lost. I've read PHP programming 3rd edition( O'reilly),

Re: [PHP] pass parameter from client to server

2013-07-19 Thread Tamara Temple
On Jul 18, 2013, at 6:53 PM, Joshua Kehn j...@kehn.us wrote: Could also use jquery instead True, but it's good to see the bare javascript as well in a demo. Best, -Josh ___ http://byjakt.com Currently mobile On Jul 19, 2013, at 4:08, Tedd Sperling

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Tamara Temple
On Jul 22, 2013, at 1:19 AM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello again. I have this this source code that not work as I want... THe PHP/HTHML form fields is generated by a while loop and looks like this: input type=number name=number_of_items[] size=6 value=?hp echo

Re: [PHP] /tmp/directory

2013-07-22 Thread Tamara Temple
On Jul 22, 2013, at 10:20 AM, Tedd Sperling t...@sperling.com wrote: Hi gang: I should know this, but I don't. Where is the /tmp/ directory? You see, I have a client where his host has apparently changed the /tmp/ directory permissions such that old php/mysql scripts cannot write to

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Tamara Temple
On Jul 26, 2013, at 4:18 AM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Below is something I try that ofcourse not work because of rsosort. Here is my code: --- $lagret_dato = $_POST['lagret_dato']; foreach($lagret_dato as $dag){ $dag = explode(/, $dag);

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Tamara Temple
augh, apologies; i didn't see all the other replies…. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Just passing this along: Free Book

2013-08-02 Thread Tamara Temple
O'Reilly has a free download, apparently through a company called SAVVIS. No affiliation, just passing this along… http://go.savvis.net/paas You give them some contact info, and you get a download link. Nothing is actually checked to see if the info you fill in is real or not. (cross-posted:

Re: [PHP] fpdf problem?

2013-08-09 Thread Tamara Temple
On Aug 9, 2013, at 10:50 AM, Jim Giner jim.gi...@albanyhandball.com wrote: I've been using fpdf to create pdf files for my site. All has been well for over a year. Suddenly I have a problem wherein IE 10 on W7 crashes when I try to print one of these pdfs created by my php scripts. The

Re: [PHP] Finally....

2013-08-16 Thread Tamara Temple
On Aug 16, 2013, at 10:58 AM, Marc Guay marc.g...@gmail.com wrote: Those Belgacom emails were the only thing keeping me from a crushing loneliness - undo! I'll place a forward on my other spam… -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] how old is this version of PHP?

2013-08-17 Thread Tamara Temple
Looking into a problem for someone who is using Godaddy Shared Web Hosting (I know..), I noticed the version tag reported by phpinfo is: PHP API 20041225 PHP Extension 20060613 Zend Extension 220060519 Just how old is this version of PHP?? -- PHP General Mailing List

Re: [PHP] how old is this version of PHP?

2013-08-17 Thread Tamara Temple
On Aug 17, 2013, at 6:26 PM, Camilo Sperberg unrea...@gmail.com wrote: On 16 aug. 2013, at 19:17, Tamara Temple tamouse.li...@gmail.com wrote: Looking into a problem for someone who is using Godaddy Shared Web Hosting (I know..), I noticed the version tag reported by phpinfo is: PHP

Re: [PHP] exec and system do not work

2013-08-26 Thread Tamara Temple
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg erosenb...@hygeiabiomedical.com wrote: Dear List - I'm lost on this one - This works - $out = system(ls -l ,$retvals); printf(%s, $out); This does - echo exec(ls -l); This does not - if( !file_exists(/var/www/orders.txt)); {

Re: [PHP] exec and system do not work

2013-08-26 Thread Tamara Temple
On Aug 26, 2013, at 1:41 PM, Ethan Rosenberg erosenb...@hygeiabiomedical.com wrote: On 08/26/2013 11:36 AM, ma...@behnke.biz wrote: Tamara Temple tamouse.li...@gmail.com hat am 26. August 2013 um 08:33 geschrieben: On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg erosenb

Re: [PHP] How to send post-variables in a Location header

2013-08-26 Thread Tamara Temple
On Aug 26, 2013, at 2:48 PM, Ajay Garg ajaygargn...@gmail.com wrote: Hi all. I have a scenario, wherein I need to do something like this :: ### $original_url = /autologin.php; $username = ajay; $password =

Re: [PHP] Apache's PHP handlers

2013-09-22 Thread Tamara Temple
On Sep 19, 2013, at 9:14 AM, Arno Kuhl a...@dotcontent.net wrote: Arno: If you can request that file using a web browser, and it gets executed as PHP on your server then there is an error in the Apache configuration. Easy test: create a file in a text editor containing some PHP (?php

Re: [PHP] filesize() fails on file and works on it's copy (same permissions, same directory)

2013-09-23 Thread Tamara Temple
On Aug 13, 2013, at 3:00 AM, Michał Kochanowicz mic...@michal.waw.pl wrote: Hello I've got a file, which can't be checked with filesize(). I copy it (with permissions) and then I can filesize() the copy. This is same directory, permissions are same. I don't understand what's the

Re: [PHP] Apache

2013-09-23 Thread Tamara Temple
On Sep 23, 2013, at 1:36 PM, Domain nikha.org m...@nikha.org wrote: Better solutions? One I have used, and continue to use in Apache environments, is place uploads only in a place where they cannot be executed by turning off such options and handlers in that directory. This is *in addition*

Re: [PHP] Algorithm Help

2013-10-02 Thread Tamara Temple
On Oct 1, 2013, at 1:51 PM, Floyd Resler fres...@adex-intl.com wrote: Here's my task: A group of kids is going to be staying with different host families throughout the next 8 months. The number of kids staying with a host family can range from 2 to 10. When deciding which kids should

Re: [PHP] Algorithm Help

2013-10-02 Thread Tamara Temple
On Oct 2, 2013, at 9:05 AM, Marc Guay marc.g...@gmail.com wrote: If you have the technology handy, it could also just be easier to wipe the children's memories after each stay. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   >