($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
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
-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:
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
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
--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
-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
-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
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.
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) {
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)
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
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
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
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
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
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
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
}');
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
-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
'); 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
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
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
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:
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
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
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
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
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
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
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
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
be causing the parser error.
Jeff Schmidt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
(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
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
, 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
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
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
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
-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
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
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
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
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
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
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
-
//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
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
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']))
$table_name where date1 != '$today';
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(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
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
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;
][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
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
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
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
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
if this would solve the problem.
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
['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
,$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
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
- $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
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
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
- 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
. 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
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
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
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
$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
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
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
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
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
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
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
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
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;
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
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
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
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
, 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
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
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
'%$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
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
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
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
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
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
-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
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
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
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).
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
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
101 - 200 of 1096 matches
Mail list logo