[PHP] After a PHP script timeout, Apache logs the error but may not cleanly exit the script

2013-10-06 Thread Meta Seller Admin
Hi. I'm wondering if anyone can help with this. We're using PHP and Apache, hosted on a dedicated server running Debian Linux. The specific versions in each case are mostly immaterial, as this problem has been around since Debian 6, and is still present in Debian 7; in the meantime we've been usin

RE: [PHP] PHP programming a members only access site

2013-01-13 Thread admin
> -Original Message- > From: Stephen [mailto:stephe...@rogers.com] > Sent: Sunday, January 13, 2013 9:06 AM > To: php-general@lists.php.net > Subject: [PHP] PHP programming a members only access site > > Can anyone point me to good tutorials/documentation on the subject? > > I want to a

RE: [PHP] Can't connect to MySQL via PHP

2013-01-13 Thread admin
> -Original Message- > From: Jim Giner [mailto:jim.gi...@albanyhandball.com] > Sent: Sunday, January 13, 2013 9:13 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Can't connect to MySQL via PHP > > Regardless of the choice of interface to mysql, regardless of the > completely har

RE: [PHP] Can't connect to MySQL via PHP

2013-01-13 Thread admin
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Sunday, January 13, 2013 8:52 AM To: admin Cc: 'tamouse mailing lists'; 'Rick Dwyer'; php-general@lists.php.net Subject: RE: [PHP] Can't connect to MySQL via PHP On Sun, 2013-01-13 at

RE: [PHP] Can't connect to MySQL via PHP

2013-01-13 Thread admin
> -Original Message- > From: tamouse mailing lists [mailto:tamouse.li...@gmail.com] > Sent: Saturday, January 12, 2013 7:55 PM > To: admin > Cc: a...@ashleysheridan.co.uk; Rick Dwyer; php-general@lists.php.net > Subject: Re: [PHP] Can't connect to MySQL via PHP &g

RE: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread admin
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Saturday, January 12, 2013 10:03 AM To: admin Cc: 'Rick Dwyer'; php-general@lists.php.net Subject: RE: [PHP] Can't connect to MySQL via PHP On Sat, 2013-01-12 at 12:56 -0800, admin wrote: > ---

RE: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread admin
> -Original Message- > From: Rick Dwyer [mailto:rpdw...@earthlink.net] > Sent: Saturday, January 12, 2013 8:26 AM > To: php-general@lists.php.net > Subject: [PHP] Can't connect to MySQL via PHP > > Hello all. > > I used the code below successfully to connect to a MySQL db on one > hosti

RE: [PHP] PDO question

2012-11-29 Thread admin
> -Original Message- > From: Jim Lucas [mailto:li...@cmsws.com] > Sent: Wednesday, November 28, 2012 9:23 PM > To: ad...@buskirkgraphics.com > Cc: php-general@lists.php.net > Subject: Re: [PHP] PDO question > > On 11/28/2012 12:58 PM, ad...@buskirkgraphics.com wrote: > > > > Guys, > > I am

Re: [PHP] PDO mysql Connection issue

2012-11-28 Thread Admin
> On Wednesday, November 28, 2012 at 4:50 PM, ad...@buskirkgraphics.com wrote: >> I am having a PDO mysql connection issue I cant explain. >> >> On server server1.mydomain.com (http://server1.mydomain.com) >> I have a test script >> > $pdo = new PDO('mysql:host=171.16.23.44;dbname=test', 'user','

RE: [PHP] Table help needed

2012-10-20 Thread admin
> -Original Message- > From: tamouse mailing lists [mailto:tamouse.li...@gmail.com] > Sent: Saturday, October 20, 2012 1:53 AM > To: admin > Cc: Chris Payne; php-general@lists.php.net > Subject: Re: [PHP] Table help needed > > On Fri, Oct 19, 2012 at

RE: [PHP] Table help needed

2012-10-19 Thread admin
> -Original Message- > From: Chris Payne [mailto:oxygene...@gmail.com] > Sent: Friday, October 19, 2012 7:01 PM > To: > Subject: [PHP] Table help needed > > Hi everyone, > > So i'm stuck, and I admit it. I have to (QUICKLY) display information > from a database, easy. But the formatt

RE: [PHP] Differences

2012-10-03 Thread admin
function filename($prefix) { $array_to_return = array(); $matches = glob('images/property_pics/'.$prefix.'*'); foreach($matches as $filename){ $array_to_return[] = $filename; } return $array_to_return; } If this better explains it. The first return will stop the process you need to

RE: [PHP] Differences

2012-10-03 Thread admin
> Hi everyone, I have been playing around with some code the list helped me with a while back and I'm not grasping the concept between return and echo and the PHP manual doesn't answer this, unless I'm missing something. There is an > example at the very bottom of PHP's return manual, but it's conf

RE: [PHP] Problem with PHP in Moodle LMS

2012-09-27 Thread admin
> Has anyone ever heard of a problem with the Moodle LMS when trying to edit an activity (quiz, resource) in which there is a timeout after only a few seconds and a message saying something to the effect of > that the system is sorry but there was a time out, please retry. When I look in the URL I

RE: [PHP] Joining a team, where no wiki or docs are available

2012-09-24 Thread admin
> -Original Message- > Hi, > > i'm going to join a mid-size company with a few PHP-driven projects written > in procedural PHP, million years old. > > At the moment, they don't have a wiki or any documentation about their > projects. For me, the first challenge in probation period is to

RE: [PHP] Images can execute php script?

2012-09-23 Thread admin
> Jpgs can hold other data rather than image data > One thing to try is to run strip_tags($image) to remove any php code > http://stackoverflow.com/questions/3499173/my-php-site-was-hacked-by-codes-u ploaded-as-image > http://josephkeeler.com/2009/04/php-upload-security-the-1x1-jpeg-hack/ > > Bast

[PHP] Images can execute php script?

2012-09-23 Thread admin
Today I seen a hack into php that has rocked me to my foundation. I seen a picture uploaded onto a server using php and when php displayed the image, phpinfo() was executed and displayed. Does this problem exist in PHP 5.2.17 +? How do you stop it? Sorry, I have never known of this before today.

[PHP] PHP Threading on Windows

2012-09-13 Thread admin
It has been suggested: That because php does not support PCNTL threading on Windows that multiple services of php are an alternative. I am interested in this theory, if anyone is currently working on a project that (forks) processes off to another instance or service of PHP on windows plea

RE: [PHP] another Array question

2012-09-10 Thread admin
Length was my problem the whole time. Thank you very much. Resolved -Original Message- From: Jim Lucas [mailto:li...@cmsws.com] Sent: Tuesday, September 11, 2012 1:02 AM To: admin Cc: php-general@lists.php.net Subject: Re: [PHP] another Array question On 9/10/2012 9:41 PM, admin

[PHP] another Array question

2012-09-10 Thread admin
Hello everyone, I have a very long array. I want to pull all the data from the array from a certain position to a certain position. $myarray = array('0'=>'me', '1'=>'you','2'=>'her','3'=>'him','4'=>'them', '5'=>'us'); Yes I know the array above it small it's an example, mine has over 150 p

RE: [PHP] PHP to XLS Security Alert issue

2012-08-29 Thread admin
-Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Tuesday, August 28, 2012 3:55 PM To: admin Cc: php-general@lists.php.net Subject: Re: [PHP] PHP to XLS Security Alert issue > I believe that's normal, and that it does that with any document downloaded > f

[PHP] PHP to XLS Security Alert issue

2012-08-28 Thread admin
I am exporting to a XLS file and the file does export, but when I open the file Microsoft is giving a Excel Security Notice. I am sure there is something in the header that is missing or causing this problem. header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalid

RE: [PHP] Dynamic Content thoughts

2012-08-23 Thread admin
-Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Thursday, August 23, 2012 4:39 PM To: admin Cc: php-general@lists.php.net Subject: Re: [PHP] Dynamic Content thoughts On Thu, Aug 23, 2012 at 9:51 PM, admin wrote: > Hello everyone, > > In my

[PHP] Dynamic Content thoughts

2012-08-23 Thread admin
Hello everyone, In my quest to build bigger and better dynamic content, I am putting forth a concept to see what you all think. Many times I come across customers who want drop down menus dynamically built from database tables. Old way Example: Echo '--Please Select--'; $qu

RE: [PHP] Crash course

2012-08-20 Thread admin
seems to be working and I've run 'test connection' in mysql workbench with what I think are the same settings in the joomla without a problem, but the website just gives "Database connection error (2): Could not connect to MySQL." I can browse the data in workbench, and c

[PHP] get_browser error

2012-08-03 Thread admin
Anyone using Get_browser() notice that IE 9 is reporting as IE 7? I am aware of compatibility mode in IE 9 but that should not change the version information sent will it?

RE: [PHP] What do you call the end-user?

2012-07-19 Thread admin
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Thursday, July 19, 2012 6:31 PM To: php-general@lists.php.net Subject: Re: [PHP] What do you call the end-user? On Thu, Jul 19, 2012 at 01:26:50PM -0400, Tedd Sperling wrote: > Hi gang: > > I can't wait for t

RE: [PHP] What do you call the end-user?

2012-07-19 Thread admin
-Original Message- From: Tedd Sperling [mailto:t...@sperling.com] Sent: Thursday, July 19, 2012 1:27 PM To: php-general@lists.php.net General Subject: [PHP] What do you call the end-user? Hi gang: I can't wait for tomorrow -- so here's my off-topic post today. First question: What do

RE: [PHP] Entry point of an MVC framework

2012-07-12 Thread admin
-Original Message- From: Timmy Sjöstedt [mailto:m...@iostream.se] Sent: Thursday, July 12, 2012 6:01 PM To: php-general@lists.php.net Subject: Re: [PHP] Entry point of an MVC framework On 07/12/2012 11:44 PM, Daevid Vincent wrote: >> -Original Message- >> From: Simon Dániel [mai

RE: [PHP] slicing and dicing strings

2012-06-28 Thread admin
-Original Message- From: Geoff Shang [mailto:ge...@quitelikely.com] Sent: Thursday, June 28, 2012 5:12 AM To: php-general@lists.php.net Subject: Re: [PHP] slicing and dicing strings On Wed, 27 Jun 2012, tamouse mailing lists wrote: > RTFM with no hint of where to look is a problem. But t

RE: [PHP] slicing and dicing strings

2012-06-27 Thread admin
Read http://php.net/manual/en/function.substr.php -Original Message- From: Kirk Bailey [mailto:kbai...@howlermonkey.net] Sent: Wednesday, June 27, 2012 6:15 PM To: php-general@lists.php.net Subject: [PHP] slicing and dicing strings ok, it slices and dices, but how? in python, to print

RE: [PHP] Variable representation

2012-06-21 Thread admin
-Original Message- From: Ron Piggott [mailto:ron.pigg...@actsministries.org] Sent: Thursday, June 21, 2012 3:47 AM To: php-general@lists.php.net Subject: [PHP] Variable representation I am trying to represent the variable: $row['Bible_knowledge_phrase_solver_game_question_topics_1']

RE: [PHP] help with preg_match

2012-06-03 Thread admin
-Original Message- From: Chris Purves [mailto:ch...@northfolk.ca] Sent: Sunday, June 03, 2012 8:26 PM To: php-general General Subject: [PHP] help with preg_match Hello, I am trying to use preg_match to match something from an html file. Within the html file is some text that looks lik

RE: [PHP] Re: Function size

2012-05-30 Thread admin
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Wednesday, May 30, 2012 10:54 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: Function size On Wed, May 30, 2012 at 04:31:12PM +0200, Sebastian Krebs wrote: [snip] > > If the functions were named p

RE: [PHP] What is The best way/tool for debuging PHP?

2012-05-26 Thread admin
-Original Message- From: LEOPARD Corporation [mailto:leopardonline@gmail.com] Sent: Saturday, May 26, 2012 12:02 PM To: php-general@lists.php.net Subject: Re: [PHP] What is The best way/tool for debuging PHP? Thanks for your reply. Dev-PHP is an IDE, and I don't need such tool becaus

RE: [PHP] w.r.t. mail() function

2012-05-22 Thread admin
-Original Message- From: Ashwani Kesharwani [mailto:ashwani.kesharw...@gmail.com] Sent: Wednesday, May 23, 2012 12:13 AM To: php-general@lists.php.net Subject: [PHP] w.r.t. mail() function Hi , I have a query w.r.t. mail() function in php. I have hosted my site and i have created an ema

RE: [PHP]How to handle E_ERROR,E_PARSE with a user defined function

2012-05-22 Thread admin
-Original Message- From: Yuchen Wang [mailto:phob...@gmail.com] Sent: Tuesday, May 22, 2012 10:19 PM To: php-general Maillist Subject: [PHP]How to handle E_ERROR,E_PARSE with a user defined function Hi all, How to handle E_ERROR,E_PARSE with a user defined function ? -- *Yuchen Wang*

RE: [PHP] Time out issue

2012-05-12 Thread admin
-Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Saturday, May 12, 2012 3:54 PM To: admin Cc: php-general@lists.php.net Subject: Re: [PHP] Time out issue On Sat, May 12, 2012 at 9:42 PM, admin wrote: > I am running Windows 2008 R2, IIS 7 > > I am runnin

[PHP] Time out issue

2012-05-12 Thread admin
I am running Windows 2008 R2, IIS 7 I am running into an issue where no matter what I set the script time out to be the server is Giving me a 500 error after like 60 seconds when the process exceeds the configured activity timeout. Here is the example script I fully understand this m

RE: [PHP] Best practice question regarding set_include_path()

2012-05-10 Thread admin
-Original Message- From: Al [mailto:n...@ridersite.org] Sent: Thursday, May 10, 2012 11:44 AM To: php-general@lists.php.net Subject: [PHP] Best practice question regarding set_include_path() For my applications, I've been using includes and other file addressing by using the doc root as

RE: [PHP] I need a good access and error log..

2012-05-07 Thread admin
-Original Message- From: rene7705 [mailto:rene7...@gmail.com] Sent: Monday, May 07, 2012 3:00 AM To: php-general Subject: [PHP] I need a good access and error log.. Hi. I've been using Google Analytics, and I'm sure I'm using the analytics code correctly, but when I checked my dev server

RE: [PHP] code deployment through php

2012-05-01 Thread admin
-Original Message- From: Stuart Dallas [mailto:stu...@3ft9.com] Sent: Tuesday, May 01, 2012 8:19 AM To: rene7705 Cc: Camilo Sperberg; php-general Subject: Re: [PHP] code deployment through php On 1 May 2012, at 10:19, rene7705 wrote: > On Tue, May 1, 2012 at 11:11 AM, Camilo Sperberg w

RE: [PHP] Array_diff problems

2012-04-27 Thread admin
-Original Message- From: Rick Dwyer [mailto:rpdw...@earthlink.net] Sent: Friday, April 27, 2012 3:37 PM To: PHP-General Subject: [PHP] Array_diff problems Hello all. I have two arrays and when compared against each other via array_diff, I do not get any output: $myarray1 = Array ( [0]

RE: [PHP] Insert group by

2012-04-27 Thread admin
$sql='select count(*) as count, searchkeywords from searchkeywords group by searchkeywords having searchkeywords LIKE searchkeywords order by count desc' Ir this does not work for you explore the HAVING CLAUSE -Original Message- From: Rick Dwyer [mailto:rpdw...@earthlink.net] Sen

RE: [PHP] Blocking URL hacking attemps

2012-04-22 Thread admin
-Original Message- From: sono...@fannullone.us [mailto:sono...@fannullone.us] Sent: Sunday, April 22, 2012 12:55 PM To: PHP General Subject: [PHP] Blocking URL hacking attemps I'm using a script called BlackHole that uses PHP and a "hidden" directory to catch bad bots and block th

RE: [PHP] Sorting Help

2012-04-11 Thread admin
-Original Message- From: Floyd Resler [mailto:fres...@adex-intl.com] Sent: Wednesday, April 11, 2012 11:26 AM To: PHP Subject: [PHP] Sorting Help I need to sort the following array: { [Smith, Bob]=>array(137.5,125.5), [Jones, Robert]=>array(132.7,128.2) } The array need

RE: [PHP] Sorting Help

2012-04-11 Thread admin
-Original Message- From: Floyd Resler [mailto:fres...@adex-intl.com] Sent: Wednesday, April 11, 2012 11:26 AM To: PHP Subject: [PHP] Sorting Help I need to sort the following array: { [Smith, Bob]=>array(137.5,125.5), [Jones, Robert]=>array(132.7,128.2) } The array needs

RE: [PHP] Function mktime() documentation question

2012-03-07 Thread admin
Tedd, This area was always a little grey to me. I have used -1 to obtain the previous months for some time now. 0 always indicated the beginning index of the current month but the explanation never seemed to fit the bill. Having worked extensively in time manipulation in many of the deve

RE: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread admin
> -Original Message- > From: Mike Mackintosh [mailto:mike.mackint...@angrystatic.com] > Sent: Tuesday, February 07, 2012 1:57 PM > To: PHP General List > Subject: [PHP] What's Your Favorite Design Pattern? > > I was curious to see what everyones favorite design patterns were, if > you use

RE: [PHP] syntax question

2012-02-07 Thread admin
> -Original Message- > From: ma...@behnke.biz [mailto:ma...@behnke.biz] > Sent: Tuesday, February 07, 2012 10:47 AM > To: php-general@lists.php.net; ad...@buskirkgraphics.com > Subject: Re: [PHP] syntax question > > > > ad...@buskirkgraphics.com hat am 7. Februar 2012 um 15:11 geschrieb

RE: [PHP] syntax question

2012-02-07 Thread admin
> -Original Message- > From: Louis Huppenbauer [mailto:louis.huppenba...@gmail.com] > Sent: Tuesday, February 07, 2012 9:24 AM > To: ad...@buskirkgraphics.com > Cc: php-general@lists.php.net > Subject: Re: [PHP] syntax question > > Generally... Wouldn't grouping by an id (which is normall

[PHP] syntax question

2012-02-07 Thread admin
I have been struggling with this issue for an hour and honestly I am not sure why. I consider myself to be pretty savvy with MySQL but I am running into an syntax error that is just flat out eluding me. $query = "SELECT `table2`.`name` from `table1` ,`table2` WHERE `table2`.`user_id`=`table1`.

RE: [PHP] free space

2012-01-31 Thread admin
> -Original Message- > From: Sean Greenslade [mailto:zootboys...@gmail.com] > Sent: Tuesday, January 31, 2012 2:50 PM > To: saeed ahmed > Cc: PHP General > Subject: Re: [PHP] free space > > On Tue, Jan 31, 2012 at 1:59 PM, saeed ahmed > wrote: > > > is there any free server where one can

RE: [PHP] differences in between these env. variables

2012-01-27 Thread admin
> -Original Message- > From: Tedd Sperling [mailto:tedd.sperl...@gmail.com] > Sent: Friday, January 27, 2012 12:09 PM > To: php-general. List > Subject: Re: [PHP] differences in between these env. variables > > On Jan 11, 2012, at 9:24 PM, tamouse mailing lists wrote: > > > Is there ever

RE: Re: [PHP] Question about date calculations

2011-12-30 Thread admin
> -Original Message- > From: Eric Lommatsch [mailto:er...@pivotaldata.com] On Behalf Of Eric > Lommatsch > Sent: Friday, December 30, 2011 12:31 PM > To: Fatih P.; ad...@buskirkgraphics.com > Cc: 'Frank Arensmeier'; 'Eric Lommatsch'; php-general@lists.php.net > Subject: RE: Re: [PHP] Quest

RE: [PHP] Question about date calculations

2011-12-29 Thread admin
> -Original Message- > From: Fatih P. [mailto:fatihpirist...@gmail.com] > Sent: Thursday, December 29, 2011 5:10 PM > To: Frank Arensmeier > Cc: Eric Lommatsch; php-general@lists.php.net > Subject: Re: [PHP] Question about date calculations > > On Thu, Dec 29, 2011 at 11:40 PM, Frank Aren

RE: [PHP] Preferred Syntax

2011-12-14 Thread admin
> -Original Message- > From: Adam Richardson [mailto:simples...@gmail.com] > Sent: Wednesday, December 14, 2011 2:19 PM > To: Rick Dwyer > Cc: PHP-General > Subject: Re: [PHP] Preferred Syntax > > On Wed, Dec 14, 2011 at 7:59 AM, Rick Dwyer > wrote: > > > Hello all. > > > > Can someone t

RE: [PHP] Preferred Syntax

2011-12-14 Thread admin
> -Original Message- > From: Tamara Temple [mailto:tamouse.li...@tamaratemple.com] > Sent: Wednesday, December 14, 2011 1:40 PM > To: Tedd Sperling > Cc: Rick Dwyer; PHP-General > Subject: Re: [PHP] Preferred Syntax > > Tedd Sperling wrote: > > On Dec 14, 2011, at 7:59 AM, Rick Dwyer wrot

RE: [PHP] Problem with date

2011-12-07 Thread admin
> -Original Message- > From: Jack [mailto:jacklistm...@gmail.com] > Sent: Wednesday, December 07, 2011 1:49 PM > To: PHP > Subject: [PHP] Problem with date > > Hello All, > > > > I have a problem where Dates are coming out as 12.31.1969 19:00:00 > which of > course we didn't have PC's

Re: [PHP] Help with redeclare error

2011-10-27 Thread UltraMega Admin
On 10/27/2011 5:33 PM, Daniel Brown wrote: On Thu, Oct 27, 2011 at 20:06, Jason Pruim wrote: Most likely you have in included in 2 files... Look into it from that angle... It only needs to be included in 1 file to work throughout all the files. Prune is spot-on. That error generally hap

RE: [PHP] Re: newline and return issues in string

2011-10-11 Thread admin
Richard L. Buskirk Senior Software Engineer/Systems Administrator You can’t grow your business with systems that are on life support... > -Original Message- > From: Al [mailto:n...@ridersite.org] > Sent: Tuesday, October 11, 2011 10:17 AM > To: php-general@lists.php.net > Subject: [PHP

RE: [PHP] newline and return issues in string

2011-10-11 Thread admin
> -Original Message- > From: Richard Quadling [mailto:rquadl...@gmail.com] > Sent: Tuesday, October 11, 2011 9:44 AM > To: ad...@buskirkgraphics.com > Cc: php-general@lists.php.net > Subject: Re: [PHP] newline and return issues in string > > On 11 October 2011 12:58, wrote: > > I have co

RE: [PHP] newline and return issues in string

2011-10-11 Thread admin
> -Original Message- > From: Bastien Koert [mailto:phps...@gmail.com] > Sent: Tuesday, October 11, 2011 8:53 AM > To: ad...@buskirkgraphics.com > Cc: php-general@lists.php.net > Subject: Re: [PHP] newline and return issues in string > > On Tue, Oct 11, 2011 at 7:58 AM, wrote: > > I have

[PHP] newline and return issues in string

2011-10-11 Thread admin
I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I exploded on the new line explode(“\n”, $ string) This gave me a nice array but when I try to implode I get the

RE: [PHP] Code should be selv-maintaining!

2011-08-29 Thread admin
> -Original Message- > From: Rico Secada [mailto:coolz...@it.dk] > Sent: Monday, August 29, 2011 3:42 PM > To: php-general@lists.php.net > Subject: [PHP] Code should be selv-maintaining! > > Dont get me wrong, I love programming! But what an absolute pain in the > ass it is when you re-us

RE: [PHP] Struggling with MySQL query

2011-08-09 Thread admin
> -Original Message- > From: David Green [mailto:simp...@gmail.com] > Sent: Tuesday, August 09, 2011 10:14 AM > To: php-general@lists.php.net > Subject: [PHP] Struggling with MySQL query > > Hi > > I have a simple from which uses the post method to get to my page > script > results.php >

RE: [PHP] control structure

2011-08-04 Thread admin
()) > { > session_start(); > } > if($_SESSION['signed_in'] == false | $_SESSION['user_level'] != 1 > || $_SESSION['user_level'] != 2 ) > { > //the user is not an admin > echo 'Sorry, you do not have suff

RE: [PHP] Syntax Question

2011-08-03 Thread admin
> -Original Message- > From: Gates, Jeff [mailto:gat...@si.edu] > Sent: Wednesday, August 03, 2011 10:23 AM > To: php-general@lists.php.net > Subject: [PHP] Syntax Question > > I, too, am a super newbie. I have a beginning knowledge of being able > to > "read" php and understand its syntax

RE: [PHP] Re: testing

2011-08-02 Thread admin
> -Original Message- > From: Jim Giner [mailto:jim.gi...@albanyhandball.com] > Sent: Tuesday, August 02, 2011 5:25 PM > To: php-general@lists.php.net > Subject: [PHP] Re: testing > > > ""Jim Giner"" wrote in message > news:6d.60.30104.5b968...@pb1.pair.com... > > Don't seem to be getting

RE: [PHP] How to sum monetary variables

2011-07-18 Thread admin
> -Original Message- > From: Martín Marqués [mailto:martin.marq...@gmail.com] > Sent: Monday, July 18, 2011 6:01 PM > To: PHP General > Subject: [PHP] How to sum monetary variables > > I'm building a table (which is a report that has to be printed) with a > bunch of items (up to 300 in som

RE: [PHP] Constants in strings

2011-07-06 Thread admin
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Wednesday, July 06, 2011 10:49 AM > To: ad...@buskirkgraphics.com; 'Dave Wilson'; php-general@lists.php.net > Subject: RE: [PHP] Constants in strings > > > > > > >define('DIR_JAVA', '/js/'); > > > >Wh

RE: [PHP] Constants in strings

2011-07-06 Thread admin
> -Original Message- > From: Dave Wilson [mailto:dai_bac...@hotmail.com] > Sent: Wednesday, July 06, 2011 10:11 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Constants in strings > > On Wed, 06 Jul 2011 12:56:21 +0100, Stuart Dallas wrote: > > My guess is that the preceding $ cau

RE: [PHP] Re: Top Posting

2011-07-05 Thread admin
> -Original Message- > From: Jim Giner [mailto:jim.gi...@albanyhandball.com] > Sent: Tuesday, July 05, 2011 1:53 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Re: Top Posting > > > "Ashley Sheridan" wrote in message > news:21e916f2-2a1f-4982-bc4d-9a574da92...@email.android.com.

[PHP] Top Posting

2011-07-05 Thread admin
Since this is the 3rd time I have been chewed out for top posting. Anyone know how to make Outlook changes its reply position. I am using outlook 2007 and I do not find an option for this. I have to scroll down to the bottom of the email and it considers that to be an adjustment to the origi

RE: [PHP] Re: Parent Limits?

2011-06-30 Thread admin
Brian, I totally get what you are saying. I just may have not translated my thoughts to you very well and I am very sorry for that. I tested the design on a few of my servers. I had issues on my windows Servers and did not have issues on my RHEL servers There is an actual term for this pra

RE: [PHP] I want to use POST when redirect via PHP Header function.

2011-06-30 Thread admin
I could be wrong on this but, I am pretty sure you can use GET variables but not POST in a header redirect. Example header('Location:http://www.yourmom.com/?large=incharge&hasorbit=yes'); Richard L. Buskirk -Original Message- From: Md Ashickur Rahman Noor [mailto:ashickur.n...@gmail

RE: [PHP] caching problem

2011-06-28 Thread admin
Fatih, I am sorry spell check auto corrected your name, I was not changing your name on purpose. It was not my intension to piss you off. I understand your frustration, trust me. I am running 5.3.6 on Windows Server 2008 R2 IIS, I am running massive class based methods in my own framew

RE: [PHP] caching problem

2011-06-28 Thread admin
Faith, I actually did read from the beginning of the message. That does not make sense. PHP files are cached intentionally, the system does not Cache PHP on its own. Sounds to me like you have an issue re-declaring an object or calling the right script/path/class/method something. I have never

RE: [PHP] caching problem

2011-06-28 Thread admin
If the issue is a caching proxy or browser caching I suggest you look into controlling the page caching header. You can expire the header. // calc an offset of 24 hours $offset = 3600 * 24; // calc the string in GMT not localtime and add the offset $expire = "Expires: " . gmdate("D, d M Y H:i

RE: [PHP] Upgrade or Die?

2011-06-24 Thread admin
The message for Netscape was very clear, the development community refused to write for it they had started a precedence that could not be forgotten. I say communities will not forget this act and remove the browser from their systems rather than be forced into an update for security reasons. Ho

[PHP] Upgrade or Die?

2011-06-24 Thread admin
In shifting gears to a faster pace of development and release, Mozilla has opted to abandon security support for Firefox 4 immediately upon the release of version 5, which came out this week. This could be a risky move, since many users neglect to update their browsers immediately for various rea

RE: [PHP] Call to undefined function

2011-06-23 Thread admin
Okay, I am just start apologizing for my own ignorance. In the task scheduler I told the php.exe to use a older configuration file. TOTALLY my fault, seems PHP.ini file I used for the web was not the one I pointed the task manager at. Resolved and I will crawl back under my rock and read m

[PHP] Call to undefined function

2011-06-23 Thread admin
I am running a scheduled task for the first time since switching from linux to Windows IIS I am getting an error when the task runs. Fatal error: Call to undefined function mysql_connect() I ran php.exe -m to see that the MySQL Module is loaded. I have no issues unless I am running a php fi

RE: [PHP] Parent Limits?

2011-06-20 Thread admin
Why not set a constants for a base path and then you do not have to do that? define('BASE_PATH','C:\\inetpub\\vhosts\\yourwebsite.com\\httpdocs\\'); <--windows format for path define('DIR_INCLUDES', './includes'); require_once(BASE_PATH.DIR_INCLUDES.'ini.inc.php'); Richard L. Buskirk -Or

RE: [PHP] 【N級、 S級、AAA級 財布、バッグ!】【ブランド館】

2011-06-20 Thread admin
I see that it is actually from rjck...@gmail.com I am not bilingual in Japanese but this is what I can make out it is an Advertisement. (A/the N class, S class, AAA class purse, bag! ) (A/the brand mansion) Japanese highest level copy brand 激 cheap market ☆*. http://www.special-price.biz/ ☆*. Ma

RE: [PHP] Doctrine madness!

2011-06-17 Thread admin
While I do agree with your discloser of the bloat for all off the shelf frameworks. I created my own framework and my development time drop drastically and not by a few hours, in some cases days. The complaint of time is always an issue, if you do not scope out a project properly. Timelines and

RE: [PHP] Ftp upload

2011-06-14 Thread admin
LOL yeah. Since I can buy a 2 terabyte external hard drive and caddy for less than $300. At Best Buy. Richard L. Buskirk... -Original Message- From: Marc Guay [mailto:marc.g...@gmail.com] Sent: Tuesday, June 14, 2011 8:25 PM To: PHP General Subject: Re: [PHP] Ftp upload I bought a 1GB

RE: [PHP] Convert a PDF to a PNG?

2011-06-14 Thread admin
Will they allow you to recompile PHP http://www.php.net/manual/en/imagick.installation.php Richard L. Buskirk -Original Message- From: Tamara Temple [mailto:tamouse.li...@gmail.com] Sent: Tuesday, June 14, 2011 6:18 PM To: PHP-General List Subject: Re: [PHP] Convert a PDF to a PNG? O

RE: [PHP] Ftp upload

2011-06-14 Thread admin
Andre, Anything over 7 MB to me should be done with FTP. You have a lot of issues with file corruption, length of upload, and bandwidth on each end. But you have to remember, I am crazy in the head. "I think that customer satisfaction is key!!!" Richard L. Buskirk -Original Messa

RE: [PHP] Ftp upload

2011-06-14 Thread admin
Andre, I have checked the $_POST, and THE $_FILES. I am pretty sure the actual path is not passed. Now you can find the path on the server in the tmp_name of the $_FILES array. I have read a few DOM related issue concerning the PATH of the file uploaded in mulitpart/form-data. Microsoft: Inter

RE: [PHP] Can't use class "'DOMDocument"

2011-06-09 Thread admin
http://www.php.net/manual/en/dom.requirements.php They usually post the requirements or dependencies if there are any. Richard L. Buskirk -Original Message- From: Adam Tong [mailto:adam.to...@gmail.com] Sent: Wednesday, June 08, 2011 10:30 PM To: ad...@buskirkgraphics.com Cc: php-gen

RE: [PHP] What do you get for ...

2011-06-07 Thread admin
Microsoft Windows Version 5.1.2600 E:\>php -r "var_dump(realpath(null));" string(41) "E:\" E:\> Richard L. Buskirk -Original Message- From: Richard Quadling [mailto:rquadl...@gmail.com] Sent: Tuesday, June 07, 2011 6:35 AM To: PHP General list Subject: [PHP] What do you get for ... H

RE: [PHP] Can't use class "'DOMDocument"

2011-06-07 Thread admin
Did you install the php-xml ? Richard L. Buskirk -Original Message- From: Adam Tong [mailto:adam.to...@gmail.com] Sent: Monday, June 06, 2011 9:49 PM To: php-general@lists.php.net Subject: [PHP] Can't use class "'DOMDocument" Hi, When I try using DOMDocument I get the following error:

RE: [PHP] php hide menu

2011-06-07 Thread admin
Dynamically changing displays can be done with JavaScript. First thing I want you to think of is whether or not your 2nd and 3rd menus require information from the first menu to display or sort. According to what I see they do not. If they do not : We start off wrapping each of the second and 3r

RE: [PHP] Found this and I thought of you.

2011-06-04 Thread admin
LOL, that’s awesome. Cough.. Cake... cough can anyone guess the DB username LOL Richard L. Buskirk -Original Message- From: Richard Quadling [mailto:rquadl...@gmail.com] Sent: Saturday, June 04, 2011 7:35 PM To: PHP General list Subject: [PHP] Found this and I thought of you. http:

RE: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-04 Thread admin
LOL, That is too funny. I took the wording "System Detonation" literally. Did it take your server offline or did it just say that in CLI. Richard L. Buskirk -Original Message- From: xucheng [mailto:helloworldje...@gmail.com] Sent: Saturday, June 04, 2011 2:55 AM To: Daniel Bro

RE: [PHP] phpsadness

2011-06-03 Thread admin
I am writing a filter as I reply, to delete any comments to this thread that come to my mailbox So I do not have to deal with manually deleting them as they come in. Richard L. Buskirk -Original Message- From: Marc Guay [mailto:marc.g...@gmail.com] Sent: Friday, June 03, 2011 10:58 AM T

RE: [PHP] https help

2011-05-30 Thread admin
Negin, That is pretty vague. More details please Richard L. Buskirk Senior Software Engineer/Systems Administrator You can't grow your business with systems that are on life support... -Original Message- From: Negin Nickparsa [mailto:nickpa...@gmail.com] Sent: Monday, May 3

[PHP] Unique multi dimensional arrays

2011-05-29 Thread admin
I have worked for some time on developing a method for this issue. The problem has always been the flexibility of the method to work in any situation. I had initially thought this might be my solution. Function multi_dim_unique($array='') { For ($a=0;$b=count($array);$a<$b;$a++)

RE: [PHP] Detecting HTTPS connections under Apache

2011-05-26 Thread admin
tion is to check %{SERVER_PORT} for port 80 or port 443 -- or for "not > port 80" or "not port 443." ah but this doesn't actually work for me, I get 80 regardless of whether I use HTTP or HTTPS, even if I use https://example.com:443 > Also, you're requiring an *exact*

  1   2   3   >