[PHP] ! in front of a variable?

2006-02-17 Thread Jeff
($var1,$var2,!$var2,$var3-cc,$var3-bcc); The question I have is on the 3rd input variable, what does the ! in front of $var2 do to that variable? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ! in front of a variable?

2006-02-17 Thread Jeff McKeon
Ok, the variable is boolean and that does make sense. Thanks for all the replies. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What does a ? represent

2006-02-17 Thread Jeff
-Original Message- From: Shaunak Kashyap [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 15:22 To: php-general@lists.php.net Subject: RE: [PHP] What does a ? represent I'm not sure if these completely answer your question but they might get you started:

[PHP] What software do you use for writing PHP?

2005-12-06 Thread Jeff McKeon
Hey all, Forever now I've been using Frontpage for all my web work including php. I'm sure there's better software out there that is more suited to writing and editing PHP pages. What do you all use? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] What software do you use for writing PHP?

2005-12-06 Thread Jeff McKeon
What is it you like about Zend Studio? Jeff -Original Message- From: David Grant [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 09:19 To: Jeff McKeon Cc: php Subject: Re: [PHP] What software do you use for writing PHP? Jeff, Jeff McKeon wrote: Forever now

[PHP] Upgrading on RH ES3

2005-12-02 Thread Jeff McKeon
--with-mysql It's the: --with-apxs2=/usr/local/apache2/bin/apxs Switch that has got me scratching my head. /usr/local/apache2/ doesn't exist and I can't find apxs anywhere on the sys. Can I just configure with ./configure --with-mysql?? Thanks, Jeff -- PHP General Mailing List (http://www.php.net

RE: [PHP] Upgrading on RH ES3

2005-12-02 Thread Jeff McKeon
-Original Message- From: Kristen G. Thorson [mailto:[EMAIL PROTECTED] Sent: Friday, December 02, 2005 14:50 To: Jeff McKeon Cc: php Subject: Re: [PHP] Upgrading on RH ES3 Jeff McKeon wrote: I've got a server with RedHat ES3 running. It has PHP 4.3.2 installed

RE: [PHP] Upgrading on RH ES3 [SOLVED]

2005-12-02 Thread Jeff McKeon
-Original Message- From: Jeff McKeon Sent: Friday, December 02, 2005 15:18 To: php Subject: RE: [PHP] Upgrading on RH ES3 -Original Message- From: Kristen G. Thorson [mailto:[EMAIL PROTECTED] Sent: Friday, December 02, 2005 14:50 To: Jeff McKeon Cc: php

[PHP] Performance of server-side DOM?

2005-10-10 Thread Jeff Schmidt
Hello, I've been toying around, lately, with using PHP's DOM API (specifically, domxml because I'm still using PHP4) for doing some of my server side dynamic pages, instead of the 'classic' method of outputting a serial stream of html dynamically generated with, e.g. php print() statements.

[PHP] ldap_add errors

2005-09-14 Thread Jeff Loiselle
Hello, According to the PHP documentation for the ldap library, ldap_add() returns a boolean value. However, if there is an error, it immediately throws a Warning to the browser with display_errors on. I would like to do this: $result = ldap_add($ldap, $dn, $array) if (!$result) {

[PHP] Re: php ldap

2005-08-26 Thread Jeff Loiselle
Santosh Jambhlikar wrote: Hi , I have a ldap server the user password are stored in that. my php ldasearch result says that the result is ldap user password : {SMD5}eRuT8dttD6M6N6tgMJF33/TNAvc= i want to compare this password with the user given password in other application (obviously php)

[PHP] Re: previous + next buttons, no DB

2005-08-18 Thread Jeff Loiselle
Ashley, How are you creating the gallery page? You must be reading the filenames in the directory and producing an img for each one. Can you create an array of those filenames, save it to session (or generate it each time), and iterate through them? -- PHP General Mailing List

[PHP] Re: Catching all errors and redirecting

2005-08-18 Thread Jeff Loiselle
You can also try output buffering the whole page, checking for an error with string functions, and email yourself if there is an error. ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Error default 16 with PHP 5.1b3

2005-07-26 Thread Jeff Norton
I upgraded from PHP 5.0.4 to 5.1b3 yesterday and all my scripts die the only trace being a lone line: default 16 written to the command window. There are a few Notice's that preceed that look like: Notice: Only variable references should be returned by reference in

[PHP] Copy to network share

2005-06-01 Thread Jeff McKeon
to copy the uploaded files to it. I've tried Chdir(server//share); Chdir(server\\share); But it always returns: Warning: chdir(): No such file or directory (errno 2) Is what I'm trying to do possible and if so, how? Many thanks, Jeff -- PHP General Mailing List (http://www.php.net

RE: [PHP] Copy to network share

2005-06-01 Thread Jeff McKeon
PROTECTED] Sent: Wednesday, June 01, 2005 9:34 AM To: php-general@lists.php.net Subject: Re: [PHP] Copy to network share On Wednesday 01 June 2005 14:42, Jeff McKeon wrote: $dirhandle = opendir(server\\share); Readdir($dirhandle); Chdir(server//share); Chdir(server

RE: [PHP] Copy to network share

2005-06-01 Thread Jeff McKeon
Is that drive mapped on your local machine or on the web server? Jeff -Original Message- From: Clive Zagno [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 8:31 PM To: Jeff McKeon; php Subject: Re: [PHP] Copy to network share sorry I ment to send to email to the list

RE: [PHP] Copy to network share

2005-06-01 Thread Jeff McKeon
That won't work. I don't want the users mapping a drive on their local machine. I tried mapping it on the server running the IIS and doing as you suggest, but it doesn't work. Jeff -Original Message- From: Clive Zagno [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 10:04

[PHP] File_get_contents()

2005-04-07 Thread Jeff McKeon
}'); 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 to have file_get_contents() accept a file handle? $handle=fopen(/tmp/file

RE: [PHP] File_get_contents()

2005-04-07 Thread Jeff McKeon
'); 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/,r); file_get_contents($handle); I should have put that in the original post, my bad. Now that I look at it, does anyone think

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 PROTECTED

Re: [PHP] noob need help for sessions

2005-04-07 Thread Jeff Weinberger
very much for your help!! --Jeff On Wed, April 6, 2005 1:59 am, [EMAIL PROTECTED] said: I'm having problem with my session, when I login my session is registered ok but when I click on another page it's canceled again. I use that kind of link: index.php?menu=voyage#038;sid=$sess_id then on top

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] Piping email into a php script

2005-04-04 Thread Jeff McKeon
stuck 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

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] Problem with arrays Hello there. Well

[PHP] ldap_get_values warning

2005-03-18 Thread Jeff Bunting
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

Re: [PHP] Re: multiple OR's

2005-03-17 Thread Jeff Schmidt
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 Schmidt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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
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[Andrea]', 'age[Bob]', etc. When the form

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

2005-03-16 Thread Jeff Schmidt
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 Mailing List (http://www.php.net/) To unsubscribe, visit: http

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

2005-03-15 Thread Jeff Schmidt
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
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
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.phps 404

[PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread Jeff Schmidt
(can't find any obvious syntax errors, for example). Thanks for any help you can give me, Jeff Schmidt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Issue with virtual() calls...

2005-01-24 Thread Potter, Jeff
be appreciated. Thanks, JP -Original Message- From: Ford, Mike [mailto:[EMAIL PROTECTED] Sent: Monday, January 24, 2005 6:40 AM To: Potter, Jeff; php-general@lists.php.net Subject: RE: [PHP] Issue with virtual() calls... To view the terms under which this email is distributed, please go

RE: [PHP] Issue with virtual() calls...

2005-01-24 Thread Potter, Jeff
, January 24, 2005 1:09 PM To: Potter, Jeff; php-general@lists.php.net Subject: RE: [PHP] Issue with virtual() calls... To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 24 January 2005 16:42, Potter, Jeff wrote: Hi Mike, I would

[PHP] Issue with virtual() calls...

2005-01-21 Thread Potter, Jeff
Hello, Could someone help me understand why later versions of PHP (4.3.9, 4.3.10, 5.0.3) do not maintain the same ordering for virtual() call output as the older versions? Basically, generated pages that worked in PHP 4.3.7 PHP 4.3.8 are now broken. Setting the output_buffering=0 seems to

[PHP] GD Module

2005-01-07 Thread Jeff McKeon
I've been searching the net all moring for this. Can anyone give me a link were I can find information on how to compile PHP with GD module support? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Magic-quotes

2004-12-06 Thread Jeff McKeon
Does having magic-quotes=on prevent an attacker from using a urlized sql inject query? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Magic-quotes

2004-12-06 Thread Jeff McKeon
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 1:45 PM To: Jeff McKeon Cc: PHP-General Subject: Re: [PHP] Magic-quotes On Mon, 2004-12-06 at 12:57, Jeff McKeon wrote: Does having magic-quotes=on prevent an attacker from

[PHP] Re:[PHP] Magic-quotes

2004-12-06 Thread Jeff McKeon
the PHP perspective, is Apache/PHP(as Module)/MySQL a secure enough platform to use for a public website that will access a production database? Opinions? Thoughts? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-18 Thread Jeff - Webmaster
Brent, Declaring the DOCTYPE did it! I completely overlooked that. Thank you very much for your help. Jeff At 06:40 AM 11/17/2004, Brent Baisley wrote: For the record, this is NOT a PHP problem. I have no problem on my Mac using Safari or FireFox, or even Camino .7. However, there is a problem

[PHP] PEAR::SOAP return tag trouble in migration to PEAR::SOAP from NuSOAP

2004-11-18 Thread Jeff Rodriguez
I'm trying to migrate to PEAR::SOAP from NuSOAP, but I'm confused as to why the result sent back from a function is wrapped in a return tag. The return part of my code is simple enough: return array('lastStatus' = 'ok'); But this gets wrapped in a return tag: return xsi:type=xsd:string

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
https://www.shoppingnw.com/ccare/auto_bill.php Thanks Jeff At 01:12 PM 11/16/2004, Jonel Rienton wrote: do you have the actual link of this page, i can test it for you. -- I not know English well, but I know 7 computer languages

[PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
to type in certain fields. The fields in question are text boxes. There is not anything special about the code (snippet at the end of this email). They are hitting the issue using Safari, Netscape, or IE and with varying versions of each. Has anyone out there run into this before? Thanks Jeff form

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-16 Thread Jeff - Webmaster
Thank you for the response Brent. I made that change and the problem still exists. I ran the page through the validator and it found some generic problems, but nothing that seemed like it would relate here. Jeff At 01:19 PM 11/16/2004, Brent Baisley wrote: I never had a problem with a Mac, nor

[PHP] Error Code Airhead

2004-11-02 Thread Jeff Oien
- //works: if ($Promotion_Sub == 'Checked' $code != 'D04E') { Thanks Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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

[PHP] MySQL query for average records per day

2004-09-16 Thread Jeff Oien
$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
(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

[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] 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: ? div style=position:absolute; top:100px;

[PHP] CSS not picked up

2004-09-11 Thread Jeff Swanberg
][EMAIL PROTECTED]/a - 206 240-5543 /div/td/tr But, when I change the style.css file 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

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

[PHP] HTTP_POST Intermittent Problem

2004-08-26 Thread Jeff Oien
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. Jeff function http_post($host, $path, $data) { $http_response = ''; $content_length = strlen($data); $fp

[PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
and the same behavior exists. I am running IIS in Windows 2000. Any ideas? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP_POST Intermittent Problem

2004-08-26 Thread Jeff Oien
to post and some that should have been posted (we know because we get confirmation email) didn't show up at all on their end. If it's on my end what would I look for? Thanks. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP_POST Intermittent Problem

2004-08-26 Thread Jeff Oien
if this would solve the problem. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
The error reporting level is the same as it was for the same websites on a different server that is working. Jeff At 11:49 AM 8/26/2004, Greg Donald wrote: On Thu, 2004-08-26 at 12:55, Jeff - Webmaster wrote: Hello all. I just finished placing a new server in production and PHP is not working

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
['message']; The variables are being passed from an html form that calls this script with the post method. Jeff At 12:06 PM 8/26/2004, John Holmes wrote: From: Jeff - HarborNet [EMAIL PROTECTED] Hello all. I just finished placing a new server in production and PHP is not working. I am getting

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
,$headers); ? At 12:06 PM 8/26/2004, John Holmes wrote: From: Jeff - HarborNet [EMAIL PROTECTED] 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 on in php.ini

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Intersting. This is the same pair of html and php files that was functional on another server. Can you think of any reason that could account for the difference? Jeff At 01:51 PM 8/26/2004, John Holmes wrote: Jeff - Webmaster wrote: Another website dies on line 4 here: $headers .= MIME

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
- $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 on in php.ini, but it still

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 encoded? Anyway, some

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] O'Reilly Website Problem

2004-08-05 Thread Jeff - Webmaster
- Removing and re-installing PHP - Troubleshooting content associations in O'Reilly WebSite Pro Thanks Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTTP POST then Redirect?

2004-08-04 Thread Jeff Oien
. Thanks Jeff - function http_post($host, $path, $data) { $http_response = ''; $content_length = strlen($data); $fp = fsockopen($host, 80); fputs($fp, POST $path HTTP/1.1\r\n); fputs($fp, Host: $host\r\n); fputs($fp, Content-Type: application/x-www-form

Re: [PHP] HTTP POST then Redirect?

2004-08-04 Thread Jeff Oien
Justin Patrin wrote: On Wed, 04 Aug 2004 16:01:31 -0500, Jeff Oien [EMAIL PROTECTED] wrote: I'm using the code below to post form data to an ASP script. But I need to redirect to a thank you page when it all done or the person filling out the form sees what they're not supposed to see. Any way I

[PHP] is_numeric questions

2004-07-28 Thread Jeff Oien
Does is_numeric include commas decimals and dollar signs? How do I use this to error check form data? I'm having a hard time figuring out what the correct syntax is for that application. Thanks. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] is_numeric questions - followup

2004-07-28 Thread Jeff Oien
Jeff Oien wrote: Does is_numeric include commas decimals and dollar signs? How do I use this to error check form data? I'm having a hard time figuring out what the correct syntax is for that application. Thanks. Jeff I think what I should have asked is how to tell if something is not numberic

[PHP] Changing items in $_POST

2004-07-23 Thread Jeff Oien
$rate_1m? If that makes any sense. Thanks. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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 List (http

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

2004-07-16 Thread Jeff Oien
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 field=data 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 wrong before. Notice his URL

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 HFS and

[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

[PHP] Why is PHP Segmentation Faulting?!?!?!?

2004-06-19 Thread Jeff
Hey all Total PHP newbie here. I posted a day ago about php working 'intermittently'. I was told to check my apache logs which was a good hint cause php is seg faulting. I've broken it down to my connection script to my database and I ran it in gdb to see if it would tell me anything. Since I

[PHP] Why is PHP Segmentation Faulting?!?!?!? --- ANOTHER HINT

2004-06-19 Thread Jeff
I don't know if this helps... but when I comment out all of the print functions it seg faults at a totally different spot... SCRIPT!!! ?PHP //DEFINE GLOBAL VARIABLES TO BE USED BY ALL DATABASE FUNCTIONS global $g_dbConn; function dbConnect($HostName, $UserName, $Password) { global $g_dbConn;

[PHP] Intermittent PHP operation

2004-06-17 Thread Jeff
Hello all... I am new to php and the news group so sorry if I don't provide all of the info you need. Just ask and I will post more. My question is this... it appears like my php is operating intermittently when connecting to mysql. I have the die statements in my connection code... but the

[PHP] Sessioin Management URL rewriter problem

2004-06-15 Thread Jeff Schmidt
to delimit the name=value pairs using ampr instead of a literal 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: a href='script.php?var=value' And session management is rewriting these as: a href='script.php?var

[PHP] Displaying Secure Server Lock Symbol??

2004-05-25 Thread Jeff Swanberg
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] using returned references directly?

2004-05-17 Thread Jeff Schmidt
, 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] 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
need someway to turn it off... A simple: Echo scriptfunction('stop')/script; 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
'%$keyword%' status = 'active' || field_2 like '%$keyword%' status = 'active' || field_3 like '%$keyword%' status = 'active' Jeff -Original Message- From: Brian Dunning [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 11:30 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] OK SQL

RE: [PHP] Call to external function

2004-04-23 Thread Jeff McKeon
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 may be legally privileged. If the reader

RE: [PHP] Call to external function

2004-04-23 Thread Jeff McKeon
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] Activate function in another frame

2004-04-22 Thread Jeff McKeon
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 Message- From: Jay

[PHP] Upload file form

2004-04-20 Thread Jeff McKeon
the browers: The page cannot be displayed: Cannot file server or DNS Error Any ideas? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 upload form on a webpage, here's the code

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 -Original Message

[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] 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).

[PHP] Preg_match_all problem

2004-04-12 Thread Jeff McKeon
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] Compare Case Insensitive?

2004-04-08 Thread Jeff Oien
How can I compare a variable submitted by a form as case insensitive? A promotional code will be entered into a form and it's important that they can enter the code either way. So if I have if ($code == 'ABC123') { I want that to match 'aBC123' 'abc123' or whatever. Thanks. Jeff -- PHP General

<    1   2   3   4   5   6   7   8   9   10   >