On 6/2/05, GamblerZG <[EMAIL PROTECTED]> wrote:
> I don't understand why everyone like these mailing lists so much.
> Web-forums more convenient.
What's keeping you..
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.ph
you from writing tons of include statements.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
eporting` Language. It's really
good for making report files in most any format you want.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> this document will get "included" as the content in my "shell".
You might look into Apache's mod_rewrite to help clean those URLs up.
Search engines love nice clean URLs if that sort of thing matters to
you.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
en_spaw/en_spaw_intro
>
> it might help
>
> hope it does.
There's no need to reply to me directly since I'm on the list.
Besides that I'm not the requester. Try using a threaded email
client, it is a mailing list after all.
--
Greg Donald
Zend Certified Engineer
h
th answers/opinions to the original poster but
then you replied to me as if I were the one asking the question. Just
a matter of paying attention to what's going on I guess. A threaded
email client helps in that regard is why I suggested it.
Do what you want, I dunno why I even made any
wers questions.
Using x for free then complaining that it's not y benefits no one.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/6/05, Clive Zagno <[EMAIL PROTECTED]> wrote:
> what php GUI editors do you recommend.
> any other recommendations, thanks
vim
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/6/05, John Nichel <[EMAIL PROTECTED]> wrote:
> You newbies and your fancy editors. Back in my day, you got vi, and you
> were happy with it. ;)
# dd if=/dev/tty of=/dev/hda1
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.
On 6/6/05, Robert Cummings <[EMAIL PROTECTED]> wrote:
> I didn't know the mailing list was a popularity contest :/
It's not? Man..
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to your spec,
even for a shared account. I'm not affiliated with them in any way,
found them using Google.
> That's really frustrating because I find 5.x's current features so
> compelling and useful.
I find a great many of the new 5.0 features get emulated using PHP4
On 6/7/05, Miguel Guirao <[EMAIL PROTECTED]> wrote:
>
> Try NVU, from www.nvu.org
I don't see any sort of text editor there.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; pros and cons of this approach in PHP?
>
> I am particularly very concerned about performance. Are object methods slower
> than functions in php?
Definitely not scientific but have a look:
http://destiney.com/Benchmarks
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP
my opinion.
The overhead involved in bringing a web-based object into existence
for the extremely short period of time it will live can never justify
the 'maintainability' and 'readability' arguments I'm always hearing
preached. I've never seen any OO PHP code that was easier to read or
maintain for that matter.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/9/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> whats your take on ifsetor()?, personally I would like to see it. I think
> its a great way to teach newbies about checking vars before use (if nothing
> else)
That and error_reporting( E_ALL );
--
Greg Donald
Zend Certifie
under a deadline, you don't always have that luxury.
Exactly why I always write procedural style. It's much faster to
code, to run, and to debug.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an attack to find random collisions
for the MD5 compression function. It took just a few hours on a
customary PC.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the
> session id is being passed around just fine.
You have two options:
1) Pass the session name and id between pages.
Link
EOF;
?>
2) Use transparent sessions (cookie based).
ini_set("session.use_trans_sid", 1);
--
Greg Donald
Zend Certified Engineer
http://des
ourself a phpinfo() page. Your PHP configuration will be at the
top of the page. You can use that configure line to build/upgrade to
a newer PHP.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/15/05, Brian Dunning <[EMAIL PROTECTED]> wrote:
> On Jun 15, 2005, at 2:28 PM, Greg Donald wrote:
>
> > Make yourself a phpinfo() page. Your PHP configuration will be at the
> > top of the page. You can use that configure line to build/upgrade to
> > a newe
nitial install in c:\php. That will
get you a ton of extra extensions you may or may not want.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/21/05, Al <[EMAIL PROTECTED]> wrote:
> Why bother.
>
> http://news.netcraft.com/archives/web_server_survey.html
http://www.securityspace.com/s_survey/data/200504/index.html
http://www.securityspace.com/s_survey/data/man.200504/apachemods.html
--
Greg Donald
Zend Certified
much harm there. Lighttpd may be one to watch
however: http://www.lighttpd.net/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;
> mod_perl or .NET users don't have that choice.
.NET code runs on Apache via mod_mono.
http://www.mono-project.com/ASP.NET
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
w.rubyonrails.org/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tiney.com/Scripts
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;system( "php -i|grep ini" );'
Configuration File (php.ini) Path => /etc/php.ini
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/30/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> Use htdig to index your site.
Here's a nice tutorial on how to wrap ht://Dig results with PHP for
custom layouts and formatting:
http://www.devshed.com/c/a/PHP/Search-This/
--
Greg Donald
Zend Certified Engineer
MySQL Core
On 7/1/05, Andrew Scott <[EMAIL PROTECTED]> wrote:
> Hey it's not my fault that this stupid list needs a reply all!
My reply-to-all button is right next to my reply button. Sounds like
the pebkac to me.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http:
On 7/1/05, Andrew Scott <[EMAIL PROTECTED]> wrote:
> But I guess you get what you pay for:-)
Feel free to go away if the deal isn't working for you.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://ww
ad xeon box while
there. Very security minded setup too. $6.95/month and up.
http://geekhosting.com - Super cheap. $1.95/month and up.
I'm not affiliated with any of those companies btw, I used their
services and thought they were good. YMMV.
--
Greg Donald
Zend Certified Engineer
MySQ
On 7/5/05, James <[EMAIL PROTECTED]> wrote:
> Is there a way to, on a script by script basis, change the maximum
> allowed time that a script is allowed to run?
ini_set()
http://php.net/manual/en/ref.info.php#ini.max-execution-time
--
Greg Donald
Zend Certified Enginee
way. Just clean out the stuff you don't want and be
done with it.
define( 'ALLOWED_TAGS',
''
);
$string = strip_tags( $string, ALLOWED_TAGS );
Cleaning an tag can be accomplished just as easily as cleaning a [url] tag.
--
Greg Donald
Zend Certified Engineer
MySQL
On 7/8/05, Ryan A <[EMAIL PROTECTED]> wrote:
> The problem with this approach is if people dont close their tags properly
Nothing makes it impossible for me to hand type and not close one of those tags.
[i]blah
--
Greg Donald
Zend Certified Engineer
MySQL Core Certifica
On 7/8/05, Ryan A <[EMAIL PROTECTED]> wrote:
> Yep, but this has no way of breaking my html
If [/i] is missing, it'd be the same as being missing.
I can just as easily clean out any missing tags as I can any
missing [/i] tags.
--
Greg Donald
Zend Certified Engin
a good preview function comes in handy.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7/9/05, Richard Davey <[EMAIL PROTECTED]> wrote:
> I have to say I disagree, because with all modern BBcode parsers it
> would never get to that stage.
The same regular expression magic that keeps you from forgetting your
[/i] can just as easily keep you from forgetting your
On 7/11/05, Richard Davey <[EMAIL PROTECTED]> wrote:
> I gave several valid good usability reasons, that I've yet to see
> anyone provide a coherent reason not to use.
Misuse of CPU cycles.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com
realy is not
> compresed (is send only like text/html)
It's likely the browser is uncomressing it before you ever see it. I
would telnet to port 80 and make an HTTP request to see for sure.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP Genera
nstruct() in
/home/greg/class.php on line 13
Fatal error: Cannot redeclare __construct() in /home/greg/class.php on line 13
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
iew
function. Even after that, if the user goofs up I allow a specific
time span in which to edit the post to correct the goof.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7/11/05, Alessandro Rosa <[EMAIL PROTECTED]> wrote:
> But, right because PHP is weakly typed, multiple constructors could be
> handled easier, I suppose ... isn't true?
The sky is the limit with the function handling functions:
http://php.net/manual/en/ref.funchand.php
--
ular php script then
start it up from a DOS prompt like:
c:\PHP\php.exe -f yoursocketfile.php
or if you are using a *nix setup run it just as it is, making sure the
first line points to your php binary, for example mine is
/usr/bin/php. Chmod it so it's executable.
--
Greg Donald
Zend Cert
On 7/12/05, Ahmed Saad <[EMAIL PROTECTED]> wrote:
> yeah the manual is completely drak when it comes to php CLI binary
`php -h` tells you all the command line options.. and all the basic
fuctionality is covered in the manual online. Seems complete to me.
--
Greg Donald
Zend Certified
On 7/19/05, Mikey <[EMAIL PROTECTED]> wrote:
> $money = $money - 10;
Make sure you protect it against multiple browser sessions.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
ly crashes Firefox in Linux.
Works fine here, Firefox 1.04 on Debian GNU/Linux 3.1.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
local
candidates will be considered.
Thanks,
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t my proyects only on
> kernel 2.4.x !
Any exotic security patches been applied to the kernel that is having issues?
I have PHP5, Apache2 on a 2.6.8 kernel with no issues. It may be that
you have a non-thread-safe library added to your Apache/PHP setup.
Apache 1.3.x is still the Apach
'
> '--with-opennssl' '--with-zlib' '--with-bz2' '--enable-calendar'
> '--with-curl' '--with-curlwarppers' '--enable-ftp' '--with-gettext'
--with-curlwrappers, I doubt that's your segfault issue though.
ounds like you want Nagios.
http://www.nagios.org/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e
> heard of it done.
http://sourceforge.net/projects/geoip/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 8/11/05, Greg Donald <[EMAIL PROTECTED]> wrote:
> http://sourceforge.net/projects/geoip/
Actually, here's a better URL:
http://freshmeat.net/projects/geoip/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http
On 8/14/05, Sebastian <[EMAIL PROTECTED]> wrote:
> now if they say php5 is 20% faster than php4 than i would upgrade
> overnight ;)
Who is 'they' ? Go write a benchmark and see for yourself.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destine
On 8/18/05, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote:
> Since I don't have a list of
> images in any kind of array (such as a result from DB query)
Sure you do.
#!/usr/bin/php
read() ) )
{
$a[] = $e;
}
$d->close();
print_r( $a );
?>
--
Greg Donald
Zend Certif
$k = implode( ',', array_keys( $_POST ) );
$v = implode( ',', array_values( $_POST ) );
$sql = "INSERT INTO db ( $k ) VALUES ( $v )";
I'd never do something like this though, just begs for SQL injection.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 8/21/05, Lizet Pena de Sola <[EMAIL PROTECTED]> wrote:
> I need to test whether a library is installed with php or not.
extension_loaded();
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To un
s?
>
> I think the functions to make this done should be execute a program with
> some function, passes values and receive values from the 'shell'
>
> any idea?
http://pecl.php.net/support.php#tutorials
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 8/29/05, Stuart Murray-Smith <[EMAIL PROTECTED]> wrote:
> I've googled... how is it that no PHP list-server email goes to any of
> my gmail accounts?
>
> This email is in itself a test ;-) so I might not even get your reply(ies).
Works fine here.
--
Greg Donald
On 8/31/05, hitek <[EMAIL PROTECTED]> wrote:
> For the record, I passed :)
Congrats.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2) Rip out your PHP rpms and install PHP from source.
I don't use rpm based distros much anymore, but I usually go for
option #2 anyway.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsu
it's very much a PHP world:
http://www.securityspace.com/s_survey/data/man.200508/apachemods.html
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
urce PHP carts already out
there. Not to mention the ones written in Perl.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
that. Toss this in a web directory and pull it up in
a browser.
read() ) )
{
if( $entry != '.'
&& $entry != '..'
&& !is_dir( $entry ) )
{
$files[] = $entry;
}
}
sort( $files );
foreach( $files as $file )
{
echo <<$file
this
> task?
While learning Rubyonrails recently I discovered Yaml. It's sorta
like .ini files on steroids. There's a PHP implementation available
here:
http://whytheluckystiff.net/syck/
And the main site is here:
http://yaml.org/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
random numbers that is portable between
platforms for the same MySQL version.
You might try pulling the results into a PHP array and then use PHP's
random functions instead. I always got good randomness with
mt_rand().
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
r less than $40/mo? Dedicated hosting is right out as
> we obviously don't have the budget for that. Any thoughts/suggestions
> would be very much appreciated. Thanks.
http://www.ocssolutions.com/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
with multiple php.ini files, one for
the cli PHP, one for the mod_php.
I'd cut out the middle man and add a call to error_reporting() at the
top of the script.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
http://www.kofler.cc/mysql/mssql2mysql.html
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
dle this easy enough:
RewriteEngine on
RewriteRule ^([a-z].*) /index.php?username=$1 [L,qsappend]
RewriteRule ^$ /index.php [L,qsappend]
$_GET[ 'username' ] will be available in your index.php when you pass
a url like:
www.mysite.com/joesoap
This can be expanded for more variables/matc
On 10/10/05, zzapper <[EMAIL PROTECTED]> wrote:
> Image that there could be a string
>
> fred
> Fred
> FRED
>
> First of all I need to know that these are same which I can do with
> strtolower,
> but how could I tell
$a = array( 'fred', 'Fred
On 10/10/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> cute - but it doesn't always work e.g.:
>
> $a = array( "FrEDDie", "fREDdIE", "FReddie" );
> sort( $a );
> echo $a[ 0 ]; // we want the 2nd item from the unsort array
Works for the samp
y get to use 'bloody' in programming conversation.
The code I posted works with the sample data provided. Sorry if it
bothers you that I didn't test it with a full dictionary word list.
> *shrug* is rather blasee btw.
http://dictionary.reference.com/search?q=blasee
Blase? Wh
t;In range\n";
}
else
{
echo "Not in range\n";
}
?>
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
On 10/5/05, Scott Fletcher <[EMAIL PROTECTED]> wrote:
> Then do something like this...
>
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * *
> /usr/local/bin/inquiry_pull_test.php
Or more simply: */5
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
as
> it matches.
in_array()
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
end Optimizer would be helpful in
this area too:
http://pecl.php.net/package/APC
http://zend.com/store/products/zend-optimizer.php
I think putting each function in it's own file is a bit drastic.
There are simpler ways to gain performance.
--
Greg Donald
Zend Certified Engineer
My
o speed on md5 history and the current
hash collisions work being done:
http://en.wikipedia.org/wiki/Md5
Md5 has been adequate for 15 or so years, but now it's time to move on.
Disclaimer: There are only 5 or 6 people in the entire world who know
anything about encryption. I am not one
0m0.226s
real0m0.336s
user0m0.011s
sys 0m0.007s
real0m0.978s
user0m0.160s
sys 0m0.225s
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
On 10/18/05, Oliver Grätz <[EMAIL PROTECTED]> wrote:
> Usually customers pay a fix fee for
> some free traffic and then must pay for traffic exceeding those limits.
> What they do with that traffic is none of your business.
You've obviously never been a hosting provider.
efined function: ldap_connect()
>
> What am I missing? TIA.
Did you uncomment (and properly define) the 'extension_dir' directive
in your php.ini?
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
same
time with no problems.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
On Fri, 28 Oct 2005, mbneto wrote:
is it possible to use sqlite with php 4.4 ? What do I have to do ?
I could not find and option in ./configure.
http://php.net/sqlite
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http
ou do it outside the class:
Foo::getMe();
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
name as the checkbox
field before the actual checkbox field. I store my 'false' value in
there. If the checkbox is checked the hidden field is overridden.
';
print_r( $_POST );
echo '';
}
echo <<
Blah?
EOF;
?>
--
Greg Donald
Zend Certified
and etc.
http://pear.php.net/package-info.php?package=Numbers_Words
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2 Nov 2005, John Nichel wrote:
Hmare you saying that it would be good to have an active moderator on
this list? ;)
:0
* [EMAIL PROTECTED]
/dev/null
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http
, just use the handy-dandy Perl module:
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2 Nov 2005, John Nichel wrote:
There has to be a way to do thisreset the internal STDIN pointer to the
begining but I'll be damned if I can find it.
reset ( STDIN );
returns an error.
You can use rewind() on an fopen()'d php://stdin.
--
Greg Donald
Zend Certifie
On Thu, 2005-11-03 at 10:32 +0600, viraj wrote:
> second point is, different organizations have different policies on
> validating email addresses
RFC822 Section 6.1 provides the standard (policy).
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
-
ndles.
http://php.net/manual/en/function.rewind.php
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ssign my data in the view for use in the
template after it's already ready already in the controller, pointless.)
A database-agnostic database abstraction layer capable of using database
meta data effectively. (Why am I still writing SQL?)
Ajax, built-in. (Cause all the cool kids are using it
but you have
to code it yourself.
Not really, it's builtin to Rubyonrails. Very simple to use:
http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 15 Nov 2005, Leonard Burton wrote:
I know that it is pretty darn impossible to come up with a regular
expression for validating emails.
Nah.. just depends on how closely you want to follow the RFC.
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
--
Greg Donald
Zend Certified
27;ve seen are written in Perl and do not run on
the server being exploited. I've seen a few written in Python, but
never have I seen one written in PHP or ASP.
Short tags have nothing to do with security.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.co
On Tue, 15 Nov 2005, Jim Moseby wrote:
It will be when you have to sort through 1,000,000 lines of code in 400
files to change '
for file in *.php; do
cp $file $file.tmp
sed -e "s/$file
rm $file.tmp
done
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://de
.
for file in *.php; do
cp $file $file.tmp
php -r 'echo preg_replace("/<\?php=\s*/i","",preg_replace("/<\?(?!php)/i","$file.tmp >$file
rm $file.tmp
done
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP
hies who like to draft stuff in MS Word first.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
framework I've ever used.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 1 Dec 2005, Ahmed Saad wrote:
http://www.agavi.org
0.10rc is already in the svn
Do you still have to reassign the data in the view for use in the
template after having already created it once in the action? That is
quite the pain.
--
Greg Donald
Zend Certified Engineer
MySQL
901 - 1000 of 1003 matches
Mail list logo