Daniel Brown wrote:
And fear not, Sergeant Sperling register_globals is deprecated
and is removed as of PHP6.
so long, farewell, bye bye
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act
Daniel Brown wrote:
On Thu, Oct 2, 2008 at 12:57 PM, Jim Lucas [EMAIL PROTECTED] wrote:
so long, farewell, bye bye
If you say so. Do you realize how many websites are going to
break now? ;-P
https://www.example.com/secure/shop.php?page=creditcardinfo.php
?php
include($page
always add this...
http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_unix-timestamp
SELECT *
FROMtimeStore
WHERE timeinUNIX_TIMESTAMP(DATE_SUB(NOW(),INTERVAL 7 DAYS))
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have
($_SESSION['first_name'][$i]);
}
How about this?
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
address and spammed the hell out of us if they'd wanted.
Why do you think they are looking for a programmer...
*what's wrong with me today*
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
,
'/td';
}
# Don't forget to reset the $days array
# otherwise the array pointer is at the last index
reset($days);
echo '/tr';
}
echo '/table/form';
?
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth
Nathan Rixham wrote:
Jim Lucas wrote:
Nathan Rixham wrote:
Richard Heyes wrote:
Thanks for quoting the whole message then! :P
Maybe he just wanted to make sure you got it...
I'm always really tight on these guy's - but it is just somebody
offering us a job I guess; they could have scoured
Wolf wrote:
Nathan Rixham [EMAIL PROTECTED] wrote:
Jim Lucas wrote:
Nathan Rixham wrote:
Jim Lucas wrote:
Nathan Rixham wrote:
Richard Heyes wrote:
Thanks for quoting the whole message then! :P
Maybe he just wanted to make sure you got it...
!-- SNIP --
I just wish you guys
[$key][] = FALSE;
}
}
return $result;
}
?
Hope this helps.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http
total for the week.
BTW- What happened to your weekly report emails?
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net
. I want
to know by looking, or reading on the chart, that our Customer #1234 is
connected to FSB slot t1-1/0/1:16 on our Juniper M20.
So, if anybody has suggestions for software, I'm all ears.
TIA
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have
total to that doesn't get reset when the new
DAY is started.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net
Jason Pruim wrote:
On Sep 25, 2008, at 11:28 AM, Jim Lucas wrote:
Jason Pruim wrote:
So I'm trying to figure out how to do a little math in php to add up the
number of hours that people have worked (Still on the timecard for
anyone following along at home)
I have it inserting time
) machine and try to view it then.
I think it is a simple mistake of uploading the file when you had it open.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General
Philip Thompson wrote:
Nothing ever goes between br tags!
There should never be a between regarding a br tag
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
($WhereList AS $cond) {
$where_parts[] = $cond[0].' '.$cond[1].' '.$cond[2];
}
$WHERE = '';
if ( count($where_parts) ) {
$WHERE = 'WHERE ' . join(' AND ', $where_parts);
}
# put it all together.
}
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some
it is
causing the problem.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
get_http_protocol();
?
That is about as simple as you can get.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net
jmatt wrote:
Hi, I was using NVU to edit PHP but when I upload the index.php file back
there will always be a slight error in disorientation.
Example using NVU I edited the text just a bit then bam..The webpage became
really funny
What is the best to edit my PHP file?
Thanks
-
Popular free
, try starting your own thread if you have a question.
Thanks
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net
, {allowHtml:true});
}
/script/head
bodydiv id=chart_div/div/body
/html
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net
will see
234.00 in your file.
So, the question becomes, what _exactly_ are you doing when you are
writing this stuff out.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
Jochem Maas wrote:
Diogo Neves schreef:
On Wed, Sep 3, 2008 at 12:35 AM, Vernon [EMAIL PROTECTED] wrote:
I've gotten the one array down and I've figured out how to sort that
array,
however, I need to sort the array by the modified date of the file.
Here's
what I got so far:
?php
// Open
Jim Lucas wrote:
Vernon wrote:
I've gotten the one array down and I've figured out how to sort that
array, however, I need to sort the array by the modified date of the
file. Here's what I got so far:
?php
// Open current directory
if($handle = opendir($dir)){
// Loop through all files
while
Nathan Nobbe wrote:
On Wed, Sep 3, 2008 at 3:27 AM, Richard Heyes [EMAIL PROTECTED] wrote:
when will Google bring out the Google levitation device...?
i heard they programmed it in c++ :)
-nathan
I would think something that sophisticated should be written in LISP
--
Jim Lucas
Some
;
}
}
} else {
echo 'Directory listing call failed!';
}
?
Thanks
That is because you have to build the array, then sort it, then use it.
you are building, using { sorting }
So, move the if ( array_multisort() ) call out side and after the foreach loop
--
Jim Lucas
Some men are born
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vernon wrote:
I've gotten the one array down and I've figured out how to sort that
array, however, I need to sort the array by the modified date of the
file. Here's what I got so far:
?php
// Open current directory
if($handle = opendir($dir)){
// Loop through all files
while(false !== ($file
Robert Cummings wrote:
On Sat, 2008-08-30 at 00:01 -0400, Eric Gorr wrote:
No, I will not help you troll. But, I certainly cannot prevent you
from doing so.
Hopefully the list moderators will shut you down.
This is PHP General. We discuss PHP and related issues. CAPTCHA is
certainly an
Stut wrote:
On 26 Aug 2008, at 15:23, tedd wrote:
At 3:14 PM -0700 8/25/08, Jim Lucas wrote:
Here is the function that I added to a generic guest book script. It
works great for me. I have a predefined list of sexual,
pharmaceutical, rude, vulgar, etc... words that I have
Korgan wrote:
Hi,
I have a problem with array_key_exists in if statement.
I have a class with this function
class XXX {
private items = array();
...
...
...
public function addXXX($id, $count)
{
$count = (int)$cout;
Let me point at it
Check your spelling
If
for separated on each line.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Tom Shaw wrote:
I'm having a problem sorting my array and wondered if anybody had experience
sorting arrays by their values. What I need to do is resort the array below
where the most expensive product shipping price starts at position zero no
matter how big the array is.
array(2) {
to and will not display the file in a browser.
Any ideas?
Thx,
Dan
Who needs PHP... :)
The following will open a new browser window and load the href in it.
a href=http://examples.com/123.xls; target=_blankOpen It!!!/a
If that isn't what you are looking for, please give a little more details.
--
Jim Lucas
automatically round it to 0. I think.
I will test, brb..
hmmm weird, if I set my precision to 20 and restart, I still get 0 for the
value. Odd, I would have thought it would have then shown me the expected value.
--
Jim Lucas
Some men are born to greatness, some achieve greatness
'
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anders Norrbring wrote:
Anders Norrbring wrote:
Thanks Per,
I think so too, I glanced it, but unfortunately I have no idea
whatsoever about *how* to do it... So, if anyone have suggestions, or
concrete examples, please do share!
Anders.
I did play around with it once, but I don't have any
Per Jessen wrote:
How about if I upload a 1Gb file to a webserver on a machine that only
has 256Mb memory - would you say that's impossible?
/Per Jessen, Zürich
In my experience that would the correct.
--
Jim Lucas
Some men are born to greatness, some achieve greatness
tedd wrote:
At 7:45 PM +0100 8/8/08, Richard Heyes wrote:
Hi,
Well, whatever it is, I made one. Just a picture at the moment because
I have no website... :-(
http://picasaweb.google.com/richard.heyes
--
Richard Heyes
http://www.phpguru.org
Seriously, it looks just like a horizontal bar
, Fedora 1 - 7,
OpenBSD 3.6-current, and older versions of NetBSD and FreeBSD.
I have also frequented a number of friends installs and I have never seen
uploads happen any other way. Nor have I heard of uploads happening any other
way.
Just my 2cents :)
--
Jim Lucas
Some men are born
Simple answer is yes. But others might argue this answer.
Luke wrote:
Tom's machine only has 1 GB of physical memory doesn't it? Could that be the
problem?
2008/8/7 Jim Lucas [EMAIL PROTECTED]
Tom wrote:
Hi,
on a linux system (Suese 10.2) with 1 GB memory its not possible to upload
via
}));
}
myFunction (1, 5, 'Hi');
// This will result in calling anotherFunction as such
anotherFunction ('1, 5, Hi');
// and not
anotherFunction (1, 5, 'Hi');
?
If this isn't what you are looking for, please explain a little more!
--
Jim Lucas
Some men are born to greatness, some achieve
VamVan wrote:
Hello All,
Does any body create installable RPM's for reinstalling their PHP based
websites? Is it possible
If yes could you please share your experience. Oh yes you could tar it but
that's a primitive method.
My quest is to make all my websites installable on any given
are looking for... :)
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Philip Thompson wrote:
On Jul 30, 2008, at 1:29 PM, Jim Lucas wrote:
Marten Lehmann wrote:
Hello,
I'm using some php-classes which worked fine with php-5.0.4. Now I
tried to upgrade to php-5.2.6, but the classes give a lot of errors.
If I set
error_reporting(E_ALL);
I see messages like
to the customer.
But, on the flip side, you don't want to be just a knowledge base that people
could login to on your website. Isn't that they reason you have live support?
Anyways...
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust
in a similar manner
(unfortunately I have no ressources to code these classes from scratch)?
Thanks.
Kind regards
Marten
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William
John Meyer wrote:
Apache 2.2
PHP 5.2.6 (as a module)
Windows
Relevant parts of php.ini
; Directory in which the loadable extensions (modules) reside.
extension_dir = I:\php\ext
extension=I:\php\ext\php_mssql.dll
extension=I:\php\ext\php_mysql.dll
Note: I did try it with just the name
.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the short_open_tag = Off to short_open_tag = On in your php.ini file.
Older versions of PHP had this On by default. Newer versions do not.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
Chris wrote:
Don't forget that in PHP5, the constructor named has changed. In PHP4
it called a method with the same name as the class. But, in PHP5, it
looks for __construct() instead.
If __construct doesn't exist then it falls back to the php4 way - makes
it backwards compatible :)
But,
) {
$both[$date] = array(null,linked-day {$myCalTime['reason'][$i]},$date);
}
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http
));
print($mailsend);
?
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Payne wrote:
Jim Lucas wrote:
So, to summarize everything said, with my own added notes.
[EMAIL PROTECTED] wrote:
Hi,
I am currently working on a php script that will be called by cron.
But I
have an error that keeps coming up.
Parse error: syntax error, unexpected T_VARIABLE
variable search engine, that is finding the
root cause of the symptoms that are the very best fit given the
multi-variables...
Thanks heaps for any assistance,
Aslan.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them
httpd.conf file do this.
UserDir disabled
That way it will not process url that starts with a tildy ~...
That should take care of it. Apache should then only report a 404 error to
the error log for the given virtual host.
--
Jim Lucas
Some men are born to greatness, some achieve greatness
that the allow_url_fopen is set to '1'.
If you need to change the value, make sure that you restart your web server so
the settings will take effect.
Hope this helps.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night
Richard Heyes wrote:
http://www.phpguru.org/downloads/HTML5_radar/
Look at me, I'm so cool. This perhaps shows the magnitude of the data a
little better than a pie chart. Not quite a normal radar, but this is
finished... :-)
Hey, your title tag has an undefined variable in it...
--
Jim
Alex Chamberlain wrote:
Hi,
Has anybody had any success implementing an OpenID server in PHP??
Alex
Third result on a search in Google using openid server php returned this page.
http://wiki.openid.net/Run_your_own_identity_server
--
Jim Lucas
Some men are born
http://www.php.net/array_unique
Cheers,
tedd
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
in that ISO have already been fixed in the current
releases.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net
Shawn McKenzie wrote:
Jim Lucas wrote:
tedd wrote:
The only downside of the classroom environment is that I can honestly
learn more from this group et al than I can in a classroom. I just
don't see academia keeping up with technology. By time the
instructors prepare their class-notes
do this? Any hints,
Encouragements,
#1 is in your PHP code and is unique to your php scripts. It is not a generic
message that PHP generates.
#2 is done client side with either Javascript or meta .../ tag redirects
--
Jim Lucas
Some men are born to greatness, some achieve greatness
by uid/gid 191739/191739 in
/**/local/home/**/dev.**.net/alb**acl.php on line 11
Thanks in advance for any assistance.
-dg
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William
tedd wrote:
Hi gang:
Here's the logic problem.
First the site:
http://php1.net/b/zip-files/
Now, the site works well enough. The user selects what they want, clicks
Submit, the order is assembled in zip file and presented to the user for
downloading.
However, as it stands now, before the
with a 22in wide screen
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
));
// Echo done
echo date('H:i:s') . Done writing file.\r\n;
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net
=ExamplesreferringTitle=Home
You can see that infact they do give the column/row combo in the
setCellValue() method.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP
']);
$offSet++;
$row = ifx_fetch_row($query, NEXT);
}
ifx_free_result($query);
?
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http
that I submitted that he should try.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
' .
str_replace('.php', '', $filename) . /a;
}
} else {
# well duh...
echo 'No results!';
}
?
their is no need for a condition, because the way that you have it, if it fails,
then it doesn't print anything at all.
?
--
Jim Lucas
Some men are born to greatness, some achieve
David Sky wrote:
Hey,
Can't use your example, as you check weather
$sorted is empty, if it is - run the foreach and return,
but on next recursion when it's not empty - do nothing :)
Though I found how to cut a few seconds (on very big array),
removing the first if, and adding a $return=true to
Roberto Costumero Moreno wrote:
I think the problem is easier... and also the solutions doing a for
instead of foreach are not good solutions because if the array is not
index-consecutive the loop fails.
So, if you has an array with the colors as indexes and the integer value X
as the value for
had it enabled by default. This setting would be found in your php.ini file on
the server. If you need to change the setting, make sure you restart your httpd
server before testing.
Just a couple of thoughts
--
Jim Lucas
Some men are born to greatness, some achieve greatness
Robert Cummings wrote:
On Sat, 2008-06-28 at 11:27 -0400, Andrew Ballard wrote:
On Sat, Jun 28, 2008 at 9:44 AM, Colin Guthrie [EMAIL PROTECTED] wrote:
Robert Cummings wrote:
I will never do it... it looks ugly,
Only if you're not used to it. IMO this is how it should be taught in all
the
[EMAIL PROTECTED] wrote:
� I am working with videos and I need to Know how I can obtain the duration
of the videos
�I had a formula that did not need any�function
of�php, but i lost de page,� please i need any help with this.
Sorry for my english, i am from Cuba.
Lester..Univ de
://www.php.net/unsub.php
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Jim Lucas wrote:
Wei, Alice J. wrote:
Hi,
This is my current code:
$lines = file(http://www.mysite.com/hello.txt;);
$file=http://www.mysite.com/hello.txt;;
You are referring to the file from the website point of view.
You must access it from the filesystem point of view
$file
snippet, but it is
not from what she originally posted to the list.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net
[EMAIL PROTECTED] wrote:
� I am working with videos and I need to Know how I can obtain the duration
of the videos
�I had a formula that did not need any�function
of�php, but i lost de page,� please i need any help with this.
Sorry for my english, i am from Cuba.
Lester..Univ de
problem. They limit things so remote files cannot be access
via fopen/include/etc...
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List
Ron Piggott wrote:
I am writing a form right now.
I would like to make the checkbox an array variable. The first part of
the array is the component reference, the second part is the package
reference. What name would you assign to it that I could use in
processing the form in the PHP script
// Create a new row of data and append it to the last row
$data .= join(',', $row).\n;
} // End while
?
BTW: what are you doing, if anything, if your data has a comma in it?
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness
. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http
Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.
Sorry, forgot to send the link to my example in action
http://www.cmsws.com/examples/php/testscripts/[EMAIL PROTECTED]/0001.php
--
Jim Lucas
Some men
Peter Ford wrote:
Frank Arensmeier wrote:
17 jun 2008 kl. 22.14 skrev Jim Lucas:
Jason Pruim wrote:
Hi everyone,
I am attempting to adopt some code to work more reliably then how it
is now...
What I am doing is coding a upload form where people could be
uploading .zip files in excess
,
tell me why you are wanting to do this?
If it is the reason I think it is, I can give you a better way to accomplish
this.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William
need to use your form to do so, I an just use my own form and post data
directly to the script.
If anybody remembers, this was an exploit that was found in the 4.0.6 code back
in the day.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness
Iv Ray wrote:
Jim Lucas wrote:
Iv,
tell me why you are wanting to do this?
If it is the reason I think it is, I can give you a better way to
accomplish this.
I have the source and a configuration file, which I want outside the
source - it is different from server to server.
The easiest
) ) {
// Correct extension; do what ever
} else {
// Incorrect extension; do nothing
}
}
}
?
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
is going to run into is the Chicken before the Egg
problem. PHP will not start processing until the file upload has already been
completely uploaded.
Personally, I do not see a PHP solution to your problem. Unless allowing them
to upload then just throwing it away is ok with the op.
--
Jim
, Apache hands off the processing to
Apache. Problem is, by this time the DoS has already happened. Apache has
waisted its time receiving the file.
HTH
On 16/06/2008, Per Jessen [EMAIL PROTECTED] wrote:
Jim Lucas wrote:
Per Jessen wrote:
Michelle Konzack wrote:
My biggest problem
then what IP's would you write to this?
If a person changed their IP each time they access the script, then it still
would not work.
I would have to say that I just don't think that PHP is going to be the medium
in which this problem has to be handled.
HTH,
Nitsan
On 16/06/2008, Jim Lucas [EMAIL
to
force them to download a broken PDF document.
One suggestion to go along with this is that you will need to have a routine
that will clean out all the generated PDF's every now and again.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness
,$connect_id);
$row = ifx_fetch_row($result);
echo $row[0];
?
Daniel Brown, did you read through this too quickly also???
You and Jay both need to slow down a bit...
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act
a function like mysql_real_escape_string() that will
escape/filter you input. But until then, you will need to sanitize it yourself.
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William
Daniel Brown wrote:
On Tue, Jun 10, 2008 at 10:54 AM, Jim Lucas [EMAIL PROTECTED] wrote:
Daniel Brown, did you read through this too quickly also???
Jim Lucas, what did I miss?
He is using the ifx extension for an informix database, not mysql
--
Jim Lucas
Some men are born
Jim Lucas wrote:
Dan Shirah wrote:
Hello all,
I am having a problem with trying to count the number of rows returned
by my
query. I connect to the database fine, my query displays and runs
fine, but
my row count is incorrect.
If I do not put in any serch criteria and my basic query ends up
'];
This makes a little more sense then using the count(*) thing, to me at least
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http
601 - 700 of 1672 matches
Mail list logo