Re: [PHP] File Uploads

2001-09-13 Thread Christopher CM Allen

Thanks Much Martin!


--ccma
> --snip--
> 
> good luck!
> 
> /Martin
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] File Uploads

2001-09-13 Thread Christopher CM Allen

Greetings:

Looking for a way to say *.php in this code:
if ($file != ".htaccess" && $file != "." && $file != ".."&& $file != ANY PHP FILE) 
 


I have tried *.php...


Any Ideas?


Thanks


CCMA  
 



Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Christopher CM Allen

>>Well, exactly not!  Just look at the track record of "believe".  May I
>>remind you of the "great" deeds in the name of god (which god doesn't
>>matter).


Let me remind you of the deeds not done in Gods name -> Hitler Deed's &
Stalin Deed's.
Enough said... take it off the list.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Code Red Catcher

2001-09-10 Thread Christopher CM Allen

B-,

I get 4-5 new ip's daily on each of my machines. It's ridiculous and I have
given up trying ot notify each of these machines that they have a problem.

-ccma



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] urlencode

2001-09-07 Thread Christopher CM Allen

> for an example I send the variable $user='user 1', and in the url there
> appears user=user+1 (which I think is correct) but when I read the
variable
> in the php page it displays user+1 (doesn´t it has to return to user
'1'?).

urlencodes counterpart is "urldecode"
you need to decode each variable that youhave encoded


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Function call introspection: possible or not?

2001-09-06 Thread Christopher CM Allen


> > Is there any way for a function to determine the name of the calling
> > function?

This would be very useful!!  Great Idea!


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Tracking shipments UPS, FEDEX, etc...

2001-09-06 Thread Christopher CM Allen


> >
> >
> > has anybody written any routines or functions they'd care to share for
> > parsing the tracking information out of UPS, FEDEX, or other shipping
> > carriers tracking pages?
> >

/*
Begin FEDX GROUND
*/
$fp = fopen
("http://grd.fedex.com/cgi-bin/rrr2010.exefunc=Rate&Screen=Ground&;
OriginZip=$orig_zip&OriginCountryCode=US&DestZip=$new_zip&DestCountryCode=US
&Weight=$w_total", "r");
if(!$fp)
{
echo "Didnt open  $errstr
($errno)\n";
}
else
{
fputs($fp,"GET / HTTP/1.0\n\n");

while(!feof($fp))
{

$buffer=fgets($fp,100);
if ( ereg
 "^(<\!TotalCharges>)([0-9]{1,4})(\.)([0-9]{1,})", $buffer, $regs))
{

$fee
.=$regs[2];
$fee
.=$regs[3];
$fee
.=$regs[4];
}
echo
"The Shipping Fee is $fee";

   }



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Tru64

2001-09-05 Thread Christopher CM Allen

Hello,

With all the news of HP and Compaq I was wondering if php works and works well on 
Tru64 systems? I believe it does from a bug report I saw concerning StrongHold but 
does anyone have any pros or cons?

Thanks,
--ccma



Re: [PHP] The future of PHP

2001-08-31 Thread Christopher CM Allen

Php'ers:

These are great points that have been brought up (a kinda synopsis, since we
are repeating here :)


1) some want direct marketing
2) Some believe the status quo is enough
3) all agreee php is useful as a web development tool/language
4) some agree that it can/should be more (GTK/Command Line etc)

This originally started as a call to php'ers to step up and market the
language so that it can compete more vitally in a larger market.
Both Rasmus and Zeev have stated that they believe they are doing just that
via conferences and Zend. Mr Lemos et al believe that more should be done. A
more constructive targeted aim at the .NET and Java based crowd. Several
solutions/ideas have been suggested one of which is a poll/display of
quality/imaginative etc php sites. Another suggested that php go the way of
BIND and APACHE and that the wait will pay off with the volume of  users in
10-12 years.



Good Day!
--ccma


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: The future of PHP - accessory libraries

2001-08-28 Thread Christopher CM Allen

> Exactly.  When you do ./configure --with-foo=shared; make
> then modules/foo.so will appear magically and you can dl() that or load it
> using "extension=foo.so" in your php.ini.  You don't have to recompile

This is very good news! I must have mis-rad the manual on this part!! Is
there any way to make these extensions with out making it all?
Such as a "make extensions  ---extension=foo.so" , Is there any plan for
this?

Thanks,

CCMA


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] The future of PHP

2001-08-25 Thread Christopher CM Allen


Good Morning(CST USA here :))
>
> PHP is represented at every important technical conference right alongside
> Perl and Python.  When you hear someone talk about scripting languages,
> they will usually say Perl, Python and PHP.  I don't see any problem with
> the current state of PHP "marketing" in the technical community.

Is there any marketing done at various universitys? Beyond the the tech
market these are new recruits to the arena.
Has there ever been a poll done on where the people have picked up PHP? How
many people are exposed thru conferences-educational-facilities-book stores
etc?

Thanks,

CCMA


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] The future of PHP

2001-08-24 Thread Christopher CM Allen

>
> Large corporations are like railroad steam locomotives whose era has
> ended.  They may continue running for a while, but in time, many will
> disappear like the steam locomotive did.

hmm not according to Marx. ;p
Anyways,
back on topic, how to promote php and who is going to do it? Who is in a
position to offer a coding competition like Mr Lemos suggested?
Who has the $'s that is willing to support it?  Is this something that needs
to be run through the PHP GROUP?

--ccma


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] The future of PHP

2001-08-23 Thread Christopher CM Allen

>
> I'm afraid that PHP is not yet very credible in that world. The truth is
> there is not great marketing force behind PHP like there is Sun behind
> Java or Microsoft behind .Net

Good point, and how does one go about marketing a language that is
open-source?
I do it by not allowing FP like extensions on my server's. All of my custom
apps are php or if need be I switch to C/perl.
If I get pushed hard enough I will do c++ :)

By your own words though , the  volume of users of a non-marketed php,
compared to the users of  marketed Java et al. speaks for itself.
Php holds its own..
What if a group of developers/designers started marketing PHP?

> So, it is very hard to convince the anybody to bet all the farm in PHP.
> You may have the technical arguments, but is not enough, I'm afraid.
>
> You in particular, may not need to convince others to bet on PHP, but it
> is nothing like that for most people that want to live from software
> development. They have to put up with work/business opportunities that
> the market offers to live from it.

hmmm, I might live in a smaller world than you but I find tons of  small to
middle businesses that have no clue as to why or how things are done in
applications(primarily web). Sure they know the buzz words of Java etc but
when I come in and tell them I work with a certain tool set and that I can
get it done for less $ and time they really don't care if I have a hammer or
a mallet.

 >So, today, I'm afraid that you
> already still have an hard time to convince people to dedicate only to
> PHP, even those that know and believe PHP is that great.

that's the truth.

thanks,

ccma




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: The future of PHP

2001-08-23 Thread Christopher CM Allen

Greetings Php'ers:
<2 cents>
bahh to servelts-asp these are new kids on the block. Template this or that,
it doesnt matter, most templates are for lazy peeps anyways :)
, a solid base of people have been using phtml->php for years. It doesnt
matter to me what the e-zines say about which is more robust or feature
enhanced, php is tested and true! I have been using it for many years and
have grown in my development as a writer as much as the source has changed.
And with that I would trust a phper more than I would trust a servelt on my
system.

Procedural Programming will never Die!


Yes, yes I am a child of the 70's,

CCMA


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] URGENT AND CONFIDENTAIL

2001-08-21 Thread Christopher CM Allen

> 
> In order to transfer out (USD 126 M) One hundred and
> twenty six million United States Dollars) from African
> Development Bank
>your private telephone and fax
> number including the full details of the account to be
> used for the deposit.

lol sheesh!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] close browser

2001-08-07 Thread Christopher CM Allen

Thanks to all for the replies, I am looking into many options. One of which
is traveling back in time and creating the table correctly


;p

-ccma
- Original Message -
From: Robert V. Zwink <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; Christopher CM Allen <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 5:01 PM
Subject: RE: [PHP] close browser


> Did you look in the manual?
> http://www.php.net/manual/en/function.strtotime.php
> strtotime() --  Parse about any english textual datetime description into
a
> UNIX timestamp
>
>
> This is probably what you are looking for.
>
> As far as converting a CHAR (assuming) type column in MySQL to DATE, I
think
> you would have to write php to select each row, convert the date, then
> update the row with the new date.  I would create a new TIMESTAMP column,
> write php to select the old date, convert it, then update the row with the
> new TIMESTAMP added.
>
> Robert V. Zwink
> DAID Development LLC
> http://www.zwink.net/daid.php
>
>
>
>
> -Original Message-
> From: Christopher CM Allen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07, 2001 4:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] close browser
>
>
> Greetings:
>
> I have a field entry in a MYQSL table that stores the date as:
> August 02, 2001 :(
>
> Is there anyway to convert this to 08-02-2001 outside of the table via
php?
>
> Better yet is there ayway I can go back into my table and change these
dates
> into a better format for computation?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] close browser

2001-08-07 Thread Christopher CM Allen

Greetings:

I have a field entry in a MYQSL table that stores the date as:
August 02, 2001 :(

Is there anyway to convert this to 08-02-2001 outside of the table via php?

Better yet is there ayway I can go back into my table and change these dates
into a better format for computation?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]