Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
.0\r\n"; and 12 - $message = stripslashes($message); Jeff At 02:32 PM 8/26/2004, Michal Migurski wrote: Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is o

Re: [PHP] Re: HTTP_POST Intermittent Problem

2004-08-26 Thread Jeff Oien
Manuel Lemos wrote: Hello, On 08/26/2004 02:12 PM, Jeff Oien wrote: I'm using the code below and about a third of the posts aren't getting through. We have no idea why and don't know where to start to trouble shoot. Any ideas? Thanks. Are you sure the data is always URL encode

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Turned out to be something different about PHP 4.3.8 vs. 4.3.4. That was the only difference between the two servers. As soon as I corrected that, all files are working like they used to. Thanks for your help. Jeff At 05:22 PM 8/26/2004, John Holmes wrote: Jeff - Webmaster wrote: Intersting

[PHP] CSS not picked up

2004-09-11 Thread Jeff Swanberg
and upload it and then refresh the browser, any changes to the font, style, etc to the "footer" class are not picked up. What should I look for?? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CSS not picked up

2004-09-11 Thread Jeff Swanberg
Nope, I have them all. Any other ideas??? Do I need to load the style.css on every sub-page or just on the main page? Perhaps the style sheet is cached so, after I upload a new one, I need to do something to flush the cache? js "Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[

[PHP] How to change font attributes in dropdown?

2004-09-12 Thread Jeff Swanberg
I've tried many locations but can't figure out how to change the font attributes for just my dropdown list on my page. The dropdown box populates its data perfectly but I'd like to change the font to Arial Bold 10pt on the items. Here's my code: ?> > "; echo " Choose Event "; mysql_connect

[PHP] Strip Everything But Letters and Numbers?

2004-09-15 Thread Jeff Oien
Is there an easy way to strip out everything but letters and numbers from a string? I tried searching the archives and didn't come up with much. Thanks. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL query for average records per day

2004-09-16 Thread Jeff Oien
lect date1 from $table_name where date1 != '$today'"; Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL query for average records per day

2004-09-16 Thread Jeff Oien
rfectly: "SELECT (COUNT(date1)/COUNT(DISTINCT(date1))) AS average FROM $table_name where date1 != '$today'"; I was looking for the average amount of records (submissions) per day. Thanks. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Searching My Database

2004-09-29 Thread Jeff McKeon
It sounds like what you need to do is create several different queries based upon what the user selects from a form.. For instance... Form fields: A,B,C,D (Drop downs are best for these field entries because you can control them, if not it's just a little tougher.) IF(isset($_POST['A']))

RE: [PHP] UNSUBSCRIBE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2004-09-30 Thread Jeff McKeon
Just prove's the saying "Make something idiot proof and someone will invent a better idiot" Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 10:20 AM To: [EMAIL PROTECTED] Subject: [P

[PHP] PHP (under httpd) reading a file outside DocumentRoot?

2008-12-26 Thread Jeff Weinberger
I don't know if this is an Apache (httpd) or a PHP issue (I suspect PHP, but I may be doing something wrong with mod_suexec), so I hope this is the right place to ask. I certainly appreciate any help anyone can offer! I am trying to get a PHP script to read a file that's outside the Docum

[PHP] Re: PHP (under httpd) reading a file outside DocumentRoot?

2008-12-27 Thread Jeff Weinberger
On Dec 26, 2008, at 1:52 PM, Nathan Rixham wrote: Jeff Weinberger wrote: I don't know if this is an Apache (httpd) or a PHP issue (I suspect PHP, but I may be doing something wrong with mod_suexec), so I hope this is the right place to ask. I certainly appreciate any help anyone can

[PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-06 Thread Jeff Weinberger
E_USER_ERROR & E_COMPILE_ERROR & E_COMPILE_WARNING (as you can tell, I prefer verbose logs, but not that verbose...). None of these combinations have stopped the "PHP Deprecated: ..." messages. System info: Mac OS/X 10.5.7 Client version, PHP 5.3.0 running as a CGI under Apac

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-06 Thread Jeff Weinberger
On Jul 6, 2009, at 7:47 PM, Paul M Foster wrote: On Mon, Jul 06, 2009 at 02:16:09PM -0700, Jeff Weinberger wrote: Hi: I am hoping someone can help me figure this out I've just upgraded my PHP installation to 5.3.0. Now I am receiving thousands of log messages of the form "PHP

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Jeff Weinberger
On Jul 7, 2009, at 5:50 AM, Richard Quadling wrote: 2009/7/6 Jeff Weinberger : Hi: I am hoping someone can help me figure this out I've just upgraded my PHP installation to 5.3.0. Now I am receiving thousands of log messages of the form "PHP Deprecated: ...". I know I h

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Jeff Weinberger
On Jul 7, 2009, at 8:38 AM, Daniel Brown wrote: On Tue, Jul 7, 2009 at 11:03, Jeff Weinberger wrote: This seemed like it would be the perfect solution...but alas it did not work. 22527 seems right, but after changing php.ini to that and restarting php and apache, I am still getting

Re: [PHP] How to stop E_DEPRECATED messages in the PHP log?

2009-07-07 Thread Jeff Weinberger
On Jul 7, 2009, at 12:30 PM, Tom Worster wrote: On 7/7/09 12:17 PM, "Jeff Weinberger" wrote: On Jul 7, 2009, at 8:38 AM, Daniel Brown wrote: On Tue, Jul 7, 2009 at 11:03, Jeff Weinberger wrote: This seemed like it would be the perfect solution...but alas it did not work. 2

[PHP] Passing a class through an array

2007-03-08 Thread Jeff Taylor
wwroot\MyProjects\SecondOffering\htmlFns.php on line 140 Can anyone help? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Troubles from the newb again

2007-03-09 Thread Jeff Taylor
ge the $newarray[$name] to something to represent the current element and just add the value to it? I might be able to work around it then ""Jeff Taylor"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey everyone, > Newb back again - Im trying to popu

Re: [PHP] Troubles from the newb again

2007-03-09 Thread Jeff Taylor
; } else { $newarray[$name] = 2; } } Sorry for the spam everyone "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sat, 2007-03-10 at 15:31 +1030, Jeff Taylor wrote: > > Hey everyone, > > Newb back again - Im trying to

Re: [PHP] Passing a class through an array

2007-03-15 Thread Jeff Taylor
; > > On Thu, March 8, 2007 11:51 pm, Jeff Taylor wrote: > > Hey all, > > I'm very new to programming and PHP. > > I want to pass instances of a class through an array, and then use a > > foreach > > later to grab details of each class at once... but it returns

[PHP] working with class inheritance

2007-03-20 Thread Jeff Taylor
ent { $public function __construct() $this->type= 'Child'; } } $Child= new Child(); echo $Child->getType; Can u see any reason why the type would return null? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: working with class inheritance

2007-03-20 Thread Jeff Taylor
OOPS!... typo Please replace implements with extends: class Child extends Parent Sorry about that ""Jeff Taylor"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey all, got a slight problem, where for some reasons my variables dont seem > t

[PHP] Re: working with class inheritance

2007-03-20 Thread Jeff Taylor
Child class __construct $this->foo.='Bar'; $this->foo2 .= rand(1,6); $this->type = 'Child'; Outputs of variables foo == Bar Bar foo2 == 11-16 type == Child Th

Re: [PHP] working with class inheritance

2007-03-20 Thread Jeff Taylor
Thanks everyone, Gave me a much better understanding of it "Jim Lucas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jim Lucas wrote: > > Jeff Taylor wrote: > >> Hey all, got a slight problem, where for some reasons my variables > >>

[PHP] DateTime/DateInterval/DatePeriod Class PHP source for older than PHP 5.3.0

2009-09-28 Thread jeff brown
elp me unless I compile it on my own. I'm looking for a lighter weight solution, just the php code that's equivalent to the classes ... doesn't it exist somewhere? A basis that Derick Rethans used to make it? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Where's my memory going?!

2009-09-28 Thread jeff brown
Yes, that's the best way to clean up after yourself. And you really should use that on anything you have sitting around daemon like. Jeff Philip Thompson wrote: On Sep 28, 2009, at 4:27 PM, Ralph Deffke wrote: well this sound clearly to me like you are not freeing resultsets you ar

Re: [PHP] Where's my memory going?!

2009-09-29 Thread jeff brown
Philip Thompson wrote: On Sep 28, 2009, at 4:40 PM, jeff brown wrote: Yes, that's the best way to clean up after yourself. And you really should use that on anything you have sitting around daemon like. Jeff Philip Thompson wrote: On Sep 28, 2009, at 4:27 PM, Ralph Deffke wrote: well

[PHP] Re: POST without POSTing

2009-10-01 Thread Jeff Brown
supports fsockopen or curl, only if your form hosting host does. (Boy that looks more confusing in re-read than it felt writing it ;D ... ) To the foreign redirect target, both curl and fsockopen are supposed to look like a browser hitting the site. So if your site allows curl or fsockop

[PHP] Unknown error with imagecreatefromjpeg() on specific GD/PHP versions.

2010-06-16 Thread Jeff MacDonald
, Working function : http://www.equipmentsearch.com/~jeff/tmp/image.php?i=w Not working function : http://www.equipmentsearch.com/~jeff/tmp/image.php?i=n http://www.equipmentsearch.com/~jeff/tmp/image.php.txt is the code. Does anyone have any ideas or suggestions of where to look next? Jeff

Re: [PHP] Unknown error with imagecreatefromjpeg() on specific GD/PHP versions.

2010-06-16 Thread Jeff MacDonald
ow the function was failing. > >Is the image loaded from the local filesystem directly, or is it > using an HTTP or other over-the-wire call? If it's not local, check > to ensure that you have the URL fopen option enabled. They're both local. The next poster in the this t

Re: [PHP] Unknown error with imagecreatefromjpeg() on specific GD/PHP versions.

2010-06-16 Thread Jeff MacDonald
On 2010-06-16, at 11:37 AM, Richard Quadling wrote: > On 16 June 2010 15:26, Jeff MacDonald wrote: >> Hi Everyone, >> >> One of my developers is reporting a problem on our Live server but not our >> devel server. >> >> Specifically when someon uploads

Re: [PHP] Unknown error with imagecreatefromjpeg() on specific GD/PHP versions.

2010-06-16 Thread Jeff MacDonald
On 2010-06-16, at 11:44 AM, Richard Quadling wrote: > On 16 June 2010 15:37, Richard Quadling wrote: >> On 16 June 2010 15:26, Jeff MacDonald wrote: >>> Hi Everyone, >>> >>> One of my developers is reporting a problem on our Live server but not our >

Re: [PHP] Invoice Software

2010-06-23 Thread Jeff MacDonald
freshbooks.com On 2010-06-23, at 11:44 AM, Paul M Foster wrote: > On Wed, Jun 23, 2010 at 09:52:21AM -0400, Floyd Resler wrote: > >> Now that I'm finally landing some freelance PHP work, I am in need of some >> software that I can add clients, enter estimates, keep track of hours, and >> creat

[PHP] Differences between PHP on LAMP and PHP on Windows Servers

2012-05-22 Thread Gates, Jeff
get a sense of the pros and cons of each platform. Thanks. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Differences between PHP on LAMP and PHP on Windows Servers

2012-05-31 Thread Gates, Jeff
From: Matijn Woudt mailto:tijn...@gmail.com>> Date: Wednesday, May 23, 2012 3:59 PM To: "a...@ashleysheridan.co.uk<mailto:a...@ashleysheridan.co.uk>" mailto:a...@ashleysheridan.co.uk>> Cc: Jeff Gates mailto:gat...@si.edu>>, "php-general@lists.p

[PHP] global array

2012-06-14 Thread Jeff Burcher
Part_BOM($BOMPartID, $BOMreq, $phase); //this calls itself and can refer/loop back to itself several times } } ?> -- Thanks

RE: [PHP] global array

2012-06-14 Thread Jeff Burcher
ntry if one doesn't exist? Thanks, Jeff Burcher - IT Dept Allred Metal Stamping PO Box 2566 High Point, NC 27261 (336)886-5221 x229 j...@allredmetal.com > -Original Message- > From: ma...@behnke.biz [mailto:ma...@behnke.biz] > Sent: Thursday, June 14, 2012 8:0

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

2012-07-19 Thread Jeff Burcher
ed interface screens for AS400 programs in a manufacturing environment. I can spend all the time I want programming the next greatest program, but if the guys in the plant don't/won't use it, I have completely wasted my time. My two cents. Thanks, Jeff Burcher - IT Dept Allred Metal S

RE: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Jeff Burcher
Hi, I have been out of the loop and just did some quick skimming of SOPA/PIPA to see what all the fuss was about. PIPA seems a little vague, but SOPA seems pretty straight forward, stop piracy of copyrighted materials. I don't understand what is wrong with that? Thanks, Jeff Burcher - IT

RE: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Jeff Burcher
Hi, I agree. My wife is from China and both copyright issues and government enforcement of things have a whole new meaning there, so I understand the concerns on both sides. Thanks, Jeff Burcher - IT Dept Allred Metal Stamping PO Box 2566 High Point, NC 27261 (336)886-5221 x229 j

RE: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-20 Thread Jeff Burcher
t was created by military and higher educational systems, both tax supported entities. Corporations and governments maintain the infrastructure that keeps the internet working. Without governments and corporations there would be no internet. They are the internet. The alternative is to go back to

RE: [PHP] MS SQL server connection problem.

2012-09-05 Thread Jeff Burcher
Hi, I am relatively new as well. I tried both of those methods with no luck. I finally had success using odbc_connect(). See below: $conn = odbc_connect("Driver={SQL Server};Server=$server;Database=$database;", $user, $password); Thanks, Jeff Burcher - IT Dept Allred Metal Stamping P

RE: [PHP] Re: Programmers and developers needed

2012-09-18 Thread Jeff Burcher
internet or a government controlled internet? Also, for those of us who are old enough to remember posting to text based bulletin boards, the influx of corporate money has greatly increased the infrastructure and functionality of the internet and has helped to make it a global phenomenon, w

RE: [PHP] Bounce messages

2012-09-21 Thread Jeff Burcher
s are in the blanks and I need to delete them all and move the list email address from the CC: box to the TO: box. If I am not paying attention and don't do this little email musical chairs process, sometimes I will get out of office replies from some of the email addresses in the re

[PHP] select function

2012-10-25 Thread Jeff Burcher
ng I just need to get creative with the switch or elseif commands, but thought I would ask the list first if they had any better suggestions. Thanks, Jeff Burcher - IT Dept Allred Metal Stamping PO Box 2566 High Point, NC 27261 (336)886-5221 x229 j...@allredmetal.com

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

2013-08-19 Thread Jeff Burcher
ou get my point. Comments? Suggestions? (I am also the kind of guy who thinks quality made hand tools from the 1800s are superior to many purchased today at Lowes or Home Depot.) Thanks, Jeff Burcher - IT Dept Allred Metal Stamping Works "Making Metal Parts since 1946." > -

RE: [PHP] Friday's Question

2013-09-20 Thread Jeff Burcher
> http://www.php.net/unsub.php > Age: 54 Mousepad: Yes Laser mice don't like reflective surfaces so much and if I don't carve out desk space for my mouse with a mousepad, I find that moving my mouse over multiple sheets of paper, paperclips, and whatnot is not very effective and somewhat frustrating. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Syntax Question

2011-08-03 Thread Gates, Jeff
<http://ids.si.edu/ids/dynamic?container.fullpage&id=http://americanart.si.e du/images/$tmpImageDirectory/$artwork.accessionNumber_1a.jpg> " + $tmpImageDirectory + "/" + $accessionNumber + "_1ajpg"; That's as far as I've gotten. I don't know how to pu

Re: [PHP] Syntax Question

2011-08-03 Thread Gates, Jeff
On 8/3/11 10:41 AM, "ad...@buskirkgraphics.com" wrote: >> -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 >> &g

[PHP] Google Search Appliance and PHP

2011-11-03 Thread Gates, Jeff
lanation on how to do steps 2 and 3? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread Jeff Schmidt
plain this error? It's completely breaking my script. I suspect, that the *real* error is somewhere earlier in the file, but I've read through it 20 times and just can't find anything out of place (can't find any obvious syntax errors, for example). Thanks for any help you can

[PHP] (SOLVED) Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-15 Thread Jeff Schmidt
nk it indented the cursor 4 spaces, and I hit 'home' and typed the delimiting token, and forgot about the whitespace at the end (normally, whitespace is ignored/collapsed by the parser). Jeff Schmidt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-15 Thread Jeff Schmidt
truction set up so strangely, is that I was testing out to see if certain things were causing problems. Originally I had it setup more like how you suggested. I only changed it to test some theories out about what might be causing the parser error. Jeff Schmidt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-15 Thread Jeff Schmidt
after the token. This caused the parser to basically treat the whole rest of the script file as a heredoc string, which is where the problems came from. Jeff Schmidt Jason Barnett wrote: Jeff Schmidt wrote: Hello, I've made the source available at: http://www.weldingconsultants.com/wcapp/admin

Re: [PHP] opt-in mail list best practice

2005-03-16 Thread Jeff Schmidt
but you'd probably use a run-once script that did that in a batch). Anyhow, that is just my thoughts on the matter. Packages like Mailman are very good at managing mailing lists, so I would just use something like that to take care of that problem. Jeff Schmidt -- PHP General Maili

Re: [PHP] Re: multiple OR's

2005-03-17 Thread Jeff Schmidt
ou want. As an earlier poster suggested, the best way to do this would be to use the in_array construct, which tests to see if the first value is in the array specified as the second value. if (in_array($name, array("jim", "andrea", "bob"))) { //code here } Jeff Schm

Re: [PHP] can I do a for each here??

2005-03-17 Thread Jeff Schmidt
I would be tempted to do the following. First, I would setup the html form so that the text boxes are named something like 'age[Andrea]', 'age[Bob]', etc. When the form submitted, this will give you an array, accessible as $_POST['age'] (or $_GET['age'] depending on whether you used POST or GET

Re: [PHP] can I do a for each here??

2005-03-17 Thread Jeff Schmidt
e values of $name and $age to make sure they are legal, and in the correct format, and then assign them individually, as before. Jeff Jeff Schmidt wrote: I would be tempted to do the following. First, I would setup the html form so that the text boxes are named something like 'age[Andre

[PHP] ldap_get_values warning

2005-03-18 Thread Jeff Bunting
a FALSE? I'm running PHP 4.3.10, ldap query is against Windows 2003 server. I'm a relative newb to PHP. thanks. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] Problem with arrays

2005-03-25 Thread Jeff Schmidt
I sent this to the original user, but forgot to CC it to the list. I'm just sending this now, for completeness. - Original Message - From: "Jeff Schmidt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 25, 2005 5:10 PM Subject: Re: [PHP] Proble

[PHP] Piping email into a php script

2005-04-04 Thread Jeff McKeon
k on how to actually pipe the file into the script so that it winds up in the $buffer variable. Can anyone give me a clue as to how I can do this? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Tool to answer emails

2005-04-05 Thread Jeff McKeon
www.eforcer.com It's a fairly cheap but very good ticket system that can auto inject emails into it or retrieve them from a pop account. Jeffrey S. McKeon Manager of Information Technology Telaurus Communications LLC [EMAIL PROTECTED] +1 (973) 889-8990 ex 209 > -Original Message- > From

[PHP] File_get_contents()

2005-04-07 Thread Jeff McKeon
ile_get_contents('{$handle}'); But that doesn't work either... Thanks, jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] File_get_contents()

2005-04-07 Thread Jeff McKeon
> > > -Original Message- > > From: Jeff McKeon [mailto:[EMAIL PROTECTED] > > Sent: 7 April 2005 1:03 pm > > To: php-general@lists.php.net > > Subject: [PHP] File_get_contents() > > > > > > Does anyone know if it's possible

RE: [PHP] File_get_contents()

2005-04-07 Thread Jeff McKeon
ni, > file_get_contents('php://stdin'); should work > > > On Apr 7, 2005 2:21 PM, Jeff McKeon <[EMAIL PROTECTED]> wrote: > > > > Sorry, > > > > What I'm actually doing is this. > > > > $handle=fopen("php//stdin/&q

RE: [PHP] File_get_contents()

2005-04-07 Thread Jeff McKeon
Because I was unclear on how file_get_contents() worked... :o) The php manual is a little vague on the topic. Best Reguards, Jeff McKeon IT Manager Telaurus Communications LLC [EMAIL PROTECTED] +1 (973) 889-8990 > -Original Message- > From: Josip Dzolonga [mailto:[EMAIL PRO

Re: [PHP] noob need help for sessions

2005-04-07 Thread Jeff Weinberger
er) session_start() and on the same page and in the same script? I'd prefer to avoid creating an index.php page that only sets a cookie (or starts a session) and immediately redirects to another page just to get around this problem Thank you very much for your help!! --Jeff On Wed, Apri

[PHP] Preg_match_all problem

2004-04-12 Thread Jeff McKeon
ed,2,9); } I basically have a phone bill that sometimes has the phone number preceeded by "00" and sometimes not. When it has the "00" I want to trim it with the substring command. Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql_fetch_array problem? O.o

2004-04-14 Thread Jeff Ostapchuk
Ok, I have no clue what version of PHP I have installed, 4.??.??, and I have like the newest version of MySQL insatlled, and PHP and MySQL work fine together, excpet when I use mysql_fetch_row($query) then I have problems, mysql_fetch_array($query) works fine, but not mysql_fetch_row($query). Why

[PHP] mysql_query won't work!!!

2004-04-15 Thread Jeff Ostapchuk
ok, this same query, works EVERYWHERE ELSE, why won't it work now? it returns to me: Warning: Supplied argument is not a valid MySQL result resource $query_result = mysql_query("SELECT * FROM AotH_Users"); while ($row = mysql_fetch_array($query_result, MYSQL_NUM)){ -- PHP General Mailing List

[PHP] Upload file form

2004-04-20 Thread Jeff McKeon
Ok, not exactly pure PHP problem but I hope someone here has seen this before.. I'm got an upload form on a webpage, here's the code: SNIP ?> Select the file type and browse for that file. The press 'Upload'. The file will be uploaded to the server. No changes in the database are done du

RE: [PHP] Upload file form

2004-04-20 Thread Jeff McKeon
> -Original Message- > From: Jeff McKeon > Sent: Tuesday, April 20, 2004 10:21 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Upload file form > > > Ok, not exactly pure PHP problem but I hope someone here has > seen this before.. > > I'm got an upl

RE: [PHP] Upload file form SOLVED

2004-04-20 Thread Jeff McKeon
The problem is solved. /etc/httpd/conf.d/php.conf the parameter LimitRequestBody is set to 524288 by default. Jeff > -Original Message- > From: Jeff McKeon > Sent: Tuesday, April 20, 2004 10:48 AM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Upload file form > &g

[PHP] Activate function in another frame

2004-04-22 Thread Jeff McKeon
ge is loading in the main frame, then stop the function after the page in the main frame has finished loading. Thanks! Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Activate function in another frame

2004-04-22 Thread Jeff McKeon
> > JavaScript is your friend. > Yeah I thought it would probably involve some javascript. I'm just not very good at it and not sure how to refernce the other window in a frameset. I know there is a way, I just don't know the mechanics of it. Jeff > -Original Me

[PHP] Call to external function

2004-04-23 Thread Jeff McKeon
Is there a way in PHP to make a call to a javascript funtion? I have a javascript that I want to start when an sql query begins and stop when the php code is done. Is this possible? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Call to external function

2004-04-23 Thread Jeff McKeon
function('go') in the tag. But I need someway to turn it off... A simple: Echo "function('stop')"; at the end of the page doesn't seem to work. Should it? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] OK SQL experts...

2004-04-23 Thread Jeff McKeon
try to remove the ' ' from around the field names in the where statement.. Or SELECT * FROM My_Table WHERE field_1 like '%$keyword%' && status = 'active' || field_2 like '%$keyword%' && status = 'active' || field_3 like '%$keywo

RE: [PHP] Call to external function

2004-04-23 Thread Jeff McKeon
ing to show the user that the server is still "thinking". Jeff McKeon IT Manager Telaurus Communications LLC [EMAIL PROTECTED] (973) 889-8990 ex 209 ***The information contained in this communication is confidential. It is intended only for the sole use of the recipient named above and ma

RE: [PHP] Call to external function

2004-04-23 Thread Jeff McKeon
keeps waving while the php script runs. In Apache, it doesn't. If you don't look at the status bar in IE it and see that it still says "loading http://blahblah"; appears that the page has already loaded... jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using returned references directly?

2004-05-17 Thread Jeff Schmidt
nt? I mean, I could: $b = $A->getObjectB(); $b->methodFromObjectB(); But since I only want to use object B once, it seems like a waste to store it and then use it. I do this kind of thing in other OO languages quite frequently. Jeff Schmidt signature.asc Description: OpenPGP digital signature

[PHP] Displaying Secure Server Lock Symbol??

2004-05-25 Thread Jeff Swanberg
ed I do on my end? Or, is the error in the authorizenet.php script on the secure server? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sessioin Management URL rewriter problem

2004-06-15 Thread Jeff Schmidt
ral ampersand? I'm not sure that this is exactly a bug, but it is an annoyance nonetheless, as it adds a lot of white noise when I try to validate my pages. Jeff Schmidt signature.asc Description: OpenPGP digital signature

Re: [PHP] Sessioin Management URL rewriter problem

2004-06-15 Thread Jeff Schmidt
Thanks, that did the trick. Now my pages actually validate. :-) Jeff Robin Vickery wrote: On Tue, 15 Jun 2004 09:50:55 -0400, Jeff Schmidt <[EMAIL PROTECTED]> I have some tags that look like: And session management is rewriting these as: Which at first glance appears fine, right? But the p

[PHP] Earliest PHP/FI

2004-06-30 Thread Jeff Loiselle
Does anyone know where I would be able to find the earliest version of PHP/FI or PHP possible? I am looking for the earliest possible version for academic reasons. Thanks in advace. -- Jeff Loiselle - http://www.newnewmedia.com/~jeff -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP on MAC

2004-07-14 Thread Jeff Williams
> PHP is already installed. If you want the latest 4.x series, use the > entropy installer. If you want PHP 5 you will have to build it > yourself from source. I have recently done that, I found this article > useful in doing so: > > http://www.phpmac.com/articles.php?view=177 Any idea why the HF

[PHP] Putting $_POST into string to send to ASP

2004-07-16 Thread Jeff Oien
URL\n"); How do I gather up all the variables in $_POST and attach them as a string after the question mark? Thanks. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Putting $_POST into string to send to ASP

2004-07-16 Thread Jeff Oien
Thanks for the helpful examples. One other question. Is there an advantage to sending the URL via a header as opposed to doing http_post like this? http://shiflett.org/hacks/php/http_post Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Putting $_POST into string to send to ASP

2004-07-16 Thread Jeff Oien
The client's vendor only specifies that it's = pairs and that it's URL encoded so I don't think that's an issue. But don't let that squelch any discussion. :) Jeff Oien Vail, Warren wrote: I believe we all missed something important here, but I've been

[PHP] Plain Number

2004-07-19 Thread Jeff Oien
Is there an easy way to make a number have no comma or decmal points? I've tried string replace with the comma but thought there would be a better alternative that I'm missing to cover more bases. number_format seems to add instead of take away items. Jeff -- PHP General Mailing

[PHP] Using a variable for include statement

2007-09-11 Thread Jeff Benetti
it is a path problem then how do I get around this, I can control my local server config but I only have a local server for development. Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MAX_FILE_SIZE not working with file uploads

2007-09-20 Thread Jeff Cohan
failed. [/quote] Here is the form code: [code] Filename on your PC: Please click ONCE and be patient: [/code] Pertinent php.ini settings: version = 4.3.10 file_uploads = on upload_max_filesize = 2M post_max_size = 8M Any guidance would be appreciated. Jeff -- PHP General Mailing L

Re: [PHP] MAX_FILE_SIZE not working with file uploads

2007-09-22 Thread Jeff Cohan
Chris wrote: > [error] => 2 > And also gives you an error code. Yes, I know and knew that. That's why the upload ultimately fails (which is okay). My point is that when a file's size exceeds the MAX_FILE_SIZE value, I want the browser to (a) detect that it's too large BEFORE attempting to upload

Re: [PHP] MAX_FILE_SIZE not working with file uploads

2007-09-22 Thread Jeff Cohan
Dan Parry wrote: > I might be wrong but this would be classed as > 'exploitable'... Webservers should not be allowed > to read from or write to clients... Of course there > is ActiveX... I think we're off the point. My script is simply interrogating the value of the $_FILES[userfile][size] a

Re: [PHP] MAX_FILE_SIZE not working with file uploads

2007-09-22 Thread Jeff Cohan
Thank you, all who replied. This helps me understand. I might give a try to the workarounds some suggested. Great newsgroup. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Beginner Tutorials for using CLASSES in PHP4

2007-09-29 Thread Jeff Cohan
TIA for any guidance you might be able to offer. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Beginner Tutorials for using CLASSES in PHP4

2007-09-29 Thread Jeff Cohan
Greg - Greg Maruszeczka wrote: > Jeff: > The following books really helped me get my head around basic > OOP and design patterns in PHP, especially the first one > which directly addresses both PHP4 and PHP5: > > 1. PHP Architect's Guide to PHP Design Patterns, Jason E.

Re: [PHP] Beginner Tutorials for using CLASSES in PHP4

2007-09-29 Thread Jeff Cohan
Nathan Nobbe wrote: > > although some people believe differently than i; i would argue > trying to learn how to design w/ the classes that php4 provides > is a waste of time. most books you will find regarding object oriented > design assume the language has the basic constructs. ppp mainly. > a

<    5   6   7   8   9   10   11   12   >