Re: [PHP] Algorithm Help

2013-10-02 Thread Tamara Temple
On Oct 2, 2013, at 9:05 AM, Marc Guay 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 > Well play

Re: [PHP] Algorithm Help

2013-10-02 Thread Tamara Temple
On Oct 1, 2013, at 1:51 PM, Floyd Resler 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 stay > together at a

Re: [PHP] Apache

2013-09-23 Thread Tamara Temple
On Sep 23, 2013, at 1:36 PM, Domain 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* to untainting

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 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 difference. Can you help

Re: [PHP] Apache's PHP handlers

2013-09-22 Thread Tamara Temple
On Sep 19, 2013, at 9:14 AM, Arno Kuhl 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 ( phpinfo(); ?> would be eno

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 wrote: > Hi all. > > I have a scenario, wherein I need to do something like this :: > > ### >$original_url = "/autologin.php"; >$username = "ajay"; >$password = "garg"; >

Re: [PHP] exec and system do not work

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

Re: [PHP] exec and system do not work

2013-08-25 Thread Tamara Temple
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg 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")); > { > $ou

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 wrote: > On 16 aug. 2013, at 19:17, Tamara Temple 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] 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 (htt

Re: [PHP] Finally....

2013-08-16 Thread Tamara Temple
On Aug 16, 2013, at 10:58 AM, Marc Guay 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: http://www.php.net/unsub.php

Re: [PHP] fpdf problem?

2013-08-09 Thread Tamara Temple
On Aug 9, 2013, at 10:50 AM, Jim Giner 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 pdf files that I create

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

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

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 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); > rs

Re: [PHP] /tmp/directory

2013-07-22 Thread Tamara Temple
On Jul 22, 2013, at 10:20 AM, Tedd Sperling 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 the > /tm

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 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: > > " required="required"> > > > the php source code look like this: > if(!empty($

Re: [PHP] pass parameter from client to server

2013-07-18 Thread Tamara Temple
On Jul 18, 2013, at 6:53 PM, Joshua Kehn 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 wrote: >

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

2013-07-18 Thread Tamara Temple
On Jul 18, 2013, at 12:28 PM, Daniel Brown wrote: > On Thu, Jul 18, 2013 at 3:08 PM, php colos 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), >> 'getting good with PHP'

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 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 database". >> >>

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

2013-06-28 Thread Tamara Temple
Tedd Sperling wrote: > On Jun 27, 2013, at 8:47 PM, Paul M Foster 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 transaction itself > >> it seems that the

Re: [PHP] Problem with variables

2013-06-28 Thread Tamara Temple
Fernando A 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 just a little unsure what y

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

2013-06-25 Thread Tamara Temple
Maciek Sokolewicz 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] json stream filter

2013-06-22 Thread Tamara Temple
Markus Staab 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 read/write files with

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

2013-06-22 Thread Tamara Temple
Daniel Pöllmann 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. Please show code and o

Re: [PHP] LightBox click detection

2013-06-15 Thread Tamara Temple
Marc Guay 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. -- PHP General Maili

Re: [PHP] LightBox click detection

2013-06-15 Thread Tamara Temple
Tedd Sperling 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/ > > All the jav

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

2013-06-15 Thread Tamara Temple
BUSCHKE Daniel 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 really the way PHP should

Re: [PHP] Detect and Redirect Mobile Users

2013-06-15 Thread Tamara Temple
Ford, Mike 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 fell off

Re: [PHP] Using Table prefixes

2013-06-10 Thread Tamara Temple
Julian Wanke 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 data > team

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tamara Temple
Julian Wanke 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 08.06.2013, 21:46 U

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tamara Temple
Tedd Sperling wrote: > On Jun 8, 2013, at 3:00 PM, Ashley Sheridan wrote: > dealTek 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 distinguish > >> tables per project like... > >> > >> -snip-

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

2013-06-02 Thread Tamara Temple
Csanyi Pal wrote: > Tamara Temple 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 files a

Re: [PHP] browser rendering

2013-06-02 Thread Tamara Temple
georg 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 jon fireforx, I realize

Re: [PHP] URL Rewriting

2013-06-02 Thread Tamara Temple
Daniel Brown 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] Re: How to enable cURL php extension on Debian Wheezy?

2013-06-02 Thread Tamara Temple
Csanyi Pal wrote: > Tamara Temple writes: > > Csanyi Pal 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 f

[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 (http://ww

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

2013-06-01 Thread Tamara Temple
Csanyi Pal 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, have no idea what

Re: [PHP] URL Rewriting

2013-06-01 Thread Tamara Temple
Silvio Siefke 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 want to > > u

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: http://www.p

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

2013-06-01 Thread Tamara Temple
Csanyi Pal 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 extension as well

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

2013-05-31 Thread Tamara Temple
Richard Quadling wrote: > Hi. > > Both > > 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 be able to be

Re: [PHP] limit access to php page

2013-05-31 Thread Tamara Temple
Camilo Sperberg wrote: > On 30 mei 2013, at 05:05, Paul M Foster wrote: > > > On Wed, May 29, 2013 at 08:51:47PM -0400, Tedd Sperling wrote: > > > >> On May 29, 2013, at 7:11 PM, Tim Dunphy wrote: > >> > >>> Hello list, > >>> > >>> I've created an authentication page (index.php) that logs in

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

2013-05-31 Thread Tamara Temple
Tedd Sperling wrote: > On May 29, 2013, at 5:53 PM, Ashley Sheridan > 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 do. -- PHP General Mailing List

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,

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 futur

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

2012-07-27 Thread Tamara Temple
JeffPGMT 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 to me: > $

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

2012-03-18 Thread Tamara Temple
$sText = substr($sText, 0, $pos).$quote.substr($sText, $pos+1); } } } return ($sText); } //fixSingleQuotes() Cheers Arno -- 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
st containing a string of chars? Thanks! I'm not at all sure what's going on with your code and/or site. Please look 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. -

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

2012-03-18 Thread Tamara Temple
after line 154 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] Got HTML5 History API + caching LICKED, I think,

2012-03-18 Thread Tamara Temple
t 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] [php] static html search engine for php static html site

2011-12-29 Thread Tamara Temple
Ashley Sheridan 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] Preferred Syntax

2011-12-14 Thread Tamara Temple
Tedd Sperling 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 " > href='/mypage.php/$page_id'>$page_name"; > > > > echo " > href='/mypage.php/".$page_id."'>".$page_name.""; > > > > W

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

2011-12-03 Thread Tamara Temple
Andreas 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 &g

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

2011-11-29 Thread Tamara Temple
Jim Lucas 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 com

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

2011-11-29 Thread Tamara Temple
Grega Leskovšek 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 when I upload to

Re: [PHP] PHP based online survey tool

2011-11-26 Thread Tamara Temple
Christopher Lee 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 sure how good it

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

2011-11-26 Thread Tamara Temple
muad shibani 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 and pictures obtain

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

2011-11-26 Thread Tamara Temple
Andreas 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 be nice if

Re: [PHP] PHP exercises

2011-11-26 Thread Tamara Temple
Larry Garfield 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 I've found so fa

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

2011-11-25 Thread Tamara Temple
Bastien 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. Don't pick just

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

2011-11-25 Thread Tamara Temple
Andreas 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 fa

Re: [PHP] include

2011-11-21 Thread Tamara Temple
Tim Streater 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 said, it's usually

Re: [PHP] include

2011-11-20 Thread Tamara Temple
Tim Streater 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 so, are only about

Re: [PHP] Sniping on the List

2011-11-17 Thread Tamara Temple
On Nov 17, 2011, at 10:01 AM, Tedd Sperling wrote: On Nov 15, 2011, at 2:54 PM, Steven Staples wrote: sent: 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 why null is Wednesday? Wait.. What?? $ php

Re: [PHP] Sniping on the List

2011-11-17 Thread Tamara Temple
On Nov 17, 2011, at 10:33 AM, Tedd Sperling 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 00:00:00 + -- and tha

RE: [PHP] Safari and PDF

2011-11-15 Thread Tamara Temple
always downloaded and I view it in Preview or Skim. The more cardinal point that the one I gave above about giving end users choice is never force an end user to change how they do something they're used to doing. My point is also largely philosophical. On practicalities, one does what one

Re: [PHP] Re: Sniping on the List

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 21:40:59 -0600, Shawn McKenzie 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 Mailing List (http://

Re: [PHP] Safari and PDF

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 22:36:58 +, Ashley Sheridan sent: On Tue, 2011-11-15 at 23:15 +0100, Matijn Woudt wrote: On Tue, Nov 15, 2011 at 11:08 PM, HallMarc Websites wrote: > I'm sure everyone here is aware that the latest Mac OS and Safari 5.1.x do not support opening PDFs in the browser w

Re: [PHP] RSS Feed

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 20:30:29 +, Christopher Lee 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). If anyone can

Re: [PHP] Sniping on the List

2011-11-15 Thread Tamara Temple
On Tue, 15 Nov 2011 12:24:17 -0600, tamouse mailing lists sent: On Tue, Nov 15, 2011 at 12:12 PM, Tedd Sperling 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 why null is Wednesday? Wait.. What?? $ p

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] 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 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: they're both on the s

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 ;) I

[PHP] trying this again....

2011-08-14 Thread Tamara Temple
ived: from [192.168.1.136] (c-71-63-211-0.hsd1.mn.comcast.net [71.63.211.0]) by mx.google.com with ESMTPS id c63sm4184829yhe. 4.2011.08.13.17.22.57 (version=SSLv3 cipher=OTHER); Sat, 13 Aug 2011 17:22:57 -0700 (PDT) Subject: OT: failures installing Zend PDT in Eclipse From: Tam

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 cod

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.

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 figu

Re: [PHP] Intentionally generate an "Internal Server Error"

2011-08-06 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 act

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" wrote in message news:08.87.1

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 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 tinkering on test pages while

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 are

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: is_valid) { // What happens when the CAPTCHA was entered incorrectly die ("The reCAPTCHA wasn't entered correctly. G

[PHP] Fwd: ezmlm warning

2011-07-20 Thread Tamara Temple
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 To: php-general-get.313...@lists.php.n

[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 mailing

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

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 cho

[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(/ var/lib/php/session/sess

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 = trim($firstname);

[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(/ var/lib/php/session/sess

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 be

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 http://www.snort.org/reg-rules/snortrules-snapshot-

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] 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 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 slash ignore on him ;) Thi

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: 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 Syste

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 completely

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 wrote: On Jul 5, 2011, at 10:47 AM, Stuart Dallas wrote: $arr[] = array('name' => (string)$book->name, 'author' => (string)$book->author); } Interesting

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

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 (

  1   2   3   >