On Tue, 08 Feb 2005 03:14:43 +0100, Niels [EMAIL PROTECTED] wrote:
I'm doing an intranet website for managing users. I need to be able to
change passwords, move files and folders around and that kind of thing.
What is the best way?
sudo can assist you with this task.
--
Greg Donald
Zend
On Tue, 8 Feb 2005 14:19:38 +, Rory Browne [EMAIL PROTECTED] wrote:
This question is as much about politics, and religion, as it is technical.
In all my years of attending Church I never once heard anyone
discussing Linux. Must be a denominational thing.
--
Greg Donald
Zend Certified
simple to scrub the data away.
$cc = '1234123412341234';
// do processing
$cc = md5( time() );
--
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
?php
$cc = '1234123412341234';
$cc = md5( time() );
echo `cat /dev/mem | strings | grep ^1234123412341234$`;
?
--
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
,
--
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
();
}
function slashes($var){
if(is_array($var))
return array_map(slashes, $var);
else
return addslashes($var);
}
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
distros as well depending if you want security, hardware support, or a
little of both. Most anything released in the last year has included
or will support Apache2 and PHP5. If not it probably will soon.
I run Gentoo and FreeBSD at home and Suse at work.
--
Greg Donald
Zend Certified Engineer
On Mon, 07 Feb 2005 22:25:46 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I think this is an extraordinary (and unjustified) level of paranoia.
cat /dev/mem | strings | egrep ^[0-9]+$
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http
On Mon, 7 Feb 2005 16:21:26 -0600, Brad Ciszewski [EMAIL PROTECTED] wrote:
What is the function, or how do you make a script that displays the server's
uptime?
php -r 'system(uptime);'
or
?php
echo `uptime`;
?
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General
, but then
later I discovered the PHP ncurses functions are mostly the same.
Here's the docs I read:
http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
();
print isset($_SESSION['time_to_expire']);
always get '0';
How are you passing the session from one page to the next? You can
pass it in the url or you can use transparent sessions (cookies).
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http
no bugs.. especially when you look at the other
5.0.x releases:
http://www.php.net/ChangeLog-5.php
Sure PHP 5 is getting better all the time, but bug free I seriously
doubt. That said, I'm using it for new development and it does appear
to work fine.
--
Greg Donald
Zend Certified Engineer
http
at that time. This will result in only one event in crontab with a
greater potential for load on the server.
I'm leaning towards Option 2*. What do you think? What other options do
I have?
That's pretty much how I do it.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP
list.
--
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
smart to learn something new.
--
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 learn PHP. I don't think 'newbie' status has anything to do with
the actual difficulty in producing a correct answers to their
questions.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
people to his classy site when he can, and how
you like to alienate people with RTFM, STFA, STFW etc.
than to shove them off on
a 'newbie' list and forget about them(!).
Well, like I said.. I'd participate.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing
192.168.1.100
So edit your pg_hba.conf and add an entry.
The easiest way to get PG up and running on a Windows system is cygwin.
Or at least that's my opinion... YMMV
The 8.0 beta installed for me just fine with no cygwin.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP
\wwwroot\test.php on
line 15
Do not set cookies after you have ouput anything, set them before. Or
use the output buffering functions.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Mon, 24 Jan 2005 16:22:23 -0500, Matt [EMAIL PROTECTED] wrote:
/tmp is not it's own partition... but I have 6Gig free on the / drive.
Right now I have 401 sessions and am pushing 2Gig on the /tmp directory.
What does
cat /proc/sys/fs/file-max
say?
--
Greg Donald
Zend Certified Engineer
On Fri, 21 Jan 2005 12:07:34 -0600, chris [EMAIL PROTECTED] wrote:
$test2=str_split($test);
Do echo 'pre'; print_r( $test2 ); right here and see if the $test2
array has the data you expect.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http
On Sat, 22 Jan 2005 06:52:37 +0300, Alawi Albaity [EMAIL PROTECTED] wrote:
I Want to control some privacy is there class to help me do that ?
http://www.anonymizer.com/
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
that clearly (and simply) explains this?
php.net/imagecopyresized
There's an example right there on the manual page.
--
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
://www.devshed.com/c/a/PHP/Search-This/
--
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
quotes generally for quoting strings. So are the two
totally synonymous in HTML?
Feed it to the validator and see for yourself:
http://validator.w3.org/
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
-This/
--
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
:]+], '', $string );
I'm no regex guru so there may be a better way.. but it seemed to work for me.
--
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
? Thanks.
You might try http://www.boutell.com/gd/manual2.0.33.html#support
--
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
Relatively new to PHP. Having an issue trying to nest sql statements.
Basically I am trying to pull a variable from SQL1, Pass it as a
Variable/Bind or Parm to SQL2 and then Go back to SQL1 and pull the next
value and pass to SQL2 again for processing.
It seems like the SQL2 is getting stuck
On 17 Jan 2005 18:55:21 -, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
Me, I use vim.
Amen.
--
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 Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker
[EMAIL PROTECTED] wrote:
Any help here would be appreciated.
Simple.. your PHP doesn't have MySQL support. Rebuild it or install
the rpm or package or whatever. What kind of 'Linux box' is it?
--
Greg Donald
Zend Certified Engineer
http
provide a listing of
similar words from the db lookup. It's all up to you what words go
into the db to pick from.
I read somewhere most English speaking folks only use about 80K words or so.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http
to make sure that
that my following conditional statements are working properly and the values
are set.
So is there a way to print out the name of the variables?
print_r( $array );
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
,qsappend]
You might also want
RewriteRule ^$ default.php?p=index [L,qsappend]
for a catch-all bounce to the homepage.
http://httpd.apache.org/docs/mod/mod_rewrite.html
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
in the user comments.
--
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 Sat, 15 Jan 2005 18:30:02 -0800, Graham Anderson [EMAIL PROTECTED] wrote:
is there a php function out there that can get the operating system of
the user...Mac/PC/Linux
$_SERVER[ 'HTTP_USER_AGENT' ]
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List
.
imagejpeg() is for outputting the data to the browser.
--
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 Wed, 12 Jan 2005 04:13:17 -0800, Galen [EMAIL PROTECTED] wrote:
What do you all do to handle situations
like this?
If you need threads then use a language that has threads. I'd go with
Java or Perl.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List
( 'display_errors', 1 );
But later when you go to a production environment I'd go with:
error_reporting( E_ERROR | E_WARNING | E_PARSE );
ini_set( 'display_errors', 0 );
ini_set( 'log_errors', 1 );
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
On Thu, 13 Jan 2005 16:37:24 -0800 (PST), welly limston
[EMAIL PROTECTED] wrote:
i'm usually use Dreamweaver to edit php code
and debug in it
it's very help ones us
why don't u try
Why don't you mail me $399 and I will. :)
--
Greg Donald
Zend Certified Engineer
http://destiney.com
it, but sadly.. I'm not
one of them. Good luck in your quest.
--
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
you make the
trunk, branches, and tags directories from the start.
--
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
or even part of the task be better handled better with
another language?
--
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
,
and it will update the image paths as well. One little command is all
you need:
wget -m -np http://example.com/
--
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 Thu, 13 Jan 2005 18:02:12 +0200, William Stokes [EMAIL PROTECTED] wrote:
I'm quite new with writing php code. I was considering of using some kind of
php editor program to help with the syntax. Know any goog ones?
vim.org
editplus.com
Both support PHP syntax highlighting.
--
Greg Donald
...
thanks
I'd go with Subversion. I switched from CVS about 6 months ago and
haven't had any issues.
--
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
);
$char = chr( ord( $char ) - ord( $keychar ) );
$result .= $char;
}
return $result;
}
--
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
can readout
your key!
Imagine a world where there were no inexperienced sysadmins.
oh and Greg, you may just have told the world the key that you are
actually using!
I made that one up just for the post. And even if I didn't.. good
luck finding the data.
--
Greg Donald
Zend Certified
can control how their PHP is built. Think 'many different clients on
many different web hosts'.
You think I would say to a client that I can't build them a PHP cart
because their PHP doesn't have mcrypt support? Umm.. no.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP
On Thu, 13 Jan 2005 03:37:29 +0100, Jochem Maas [EMAIL PROTECTED] wrote:
(no disrespect to Zend, but ZCE _sounds_ a lot like MSCE and everyone
knows what thats worth ;-) - just a but of humour guys!)
Yeah that's hilarious.
--
Greg Donald
Zend Certified Engineer
http://destiney.com
with them, but they've worked pretty
good for me more than a couple of times when mcrypt wasn't available.
If you don't want to use them then don't use them. I couldn't care less.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
server, so it's not going to be available to PHP.
php -r 'system(set|grep DISPLAY);'
DISPLAY=65-86-94-210.client.dsl.net:0.0
--
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
variable set for that
user...
Try putting your code on your web server and surfing to it. What do you
get as output?
Not much.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
/ 57.3 )
miles = sqrt( x^2 + y^2 )
This does not take into account the curve of the earth. In addition
you'll need a db with the latitude and longitude for each zip code.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
ways, I just do stuff like:
$id = isset( $_POST[ 'id' ] ) ? $_POST[ 'id' ] : 0;
$id = isset( $_GET[ 'id' ] ) ? $_GET[ 'id' ] : $id;
--
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
What am I doing wrong ?
Use eval() on the string after you construct it.
php.net/eval
--
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 Mon, 10 Jan 2005 06:58:21 +0600, Raditha Dissanayake
[EMAIL PROTECTED] wrote:
Alex Greg wrote:
(apologies if this reaches the list twice - the first time I sent it,
it didn't arrive within 12 hours)
Hi,
Recently I migrated the front-end of our bulletin board (running
phpBB, patched
On Sun, 9 Jan 2005 21:37:33 +1100, Juergen Rehberger
[EMAIL PROTECTED] wrote:
i have a problem with my resizing image script.
It all works fine on my localhost server, but once i upload the whole thing
on my webhost, the script allows resizing of images not bigger than 600kb or
something
(apologies if this reaches the list twice - the first time I sent it,
it didn't arrive within 12 hours)
Hi,
Recently I migrated the front-end of our bulletin board (running
phpBB, patched against the recently highlight vulnerability) to a pair
of servers running Fedora Core 3. I compiled Apache
(get_included_files());
?
If you switch the ordering of inclusion and get a different listing,
there's your answer.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is implemented using !=/
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Recently I migrated the front-end of our bulletin board (running
phpBB, patched against the recently highlight vulnerability) to a pair
of servers running Fedora Core 3. I compiled Apache 1.3.33 and PHP
4.3.10 from source. The MySQL database is running on a separate machine.
This morning,
from other email accounts to view with IMP
/snip
--
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 Thu, 06 Jan 2005 16:15:43 +, symbulos partners
[EMAIL PROTECTED] wrote:
We know that. We understood all of that.
What we need to know is:
Please, do not assimilate me.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
see 1.3.4,
upgrade and try again.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
before namespaces are
added -- if then.
It will not be added in PHP 5.x. 6.0 is the next version that will
consider adding them, unless someone comes up with a brilliant
implementation that doesn't break everything.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On Sun, 2 Jan 2005 21:48:01 -0500, GH [EMAIL PROTECTED] wrote:
Can you please explain Threads to me?
Multiple isolated tasks executing at the same time.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
cases.
It's all right there in the fine manual:
http://us2.php.net/register_globals
--
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
can
easily turn it back off later when my code goes production:
if( $debug )
{
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );
ini_set( 'log_errors', 1 );
}
else
{
error_reporting( E_ERROR | E_WARNING | E_PARSE );
ini_set( 'display_errors', 0 );
}
--
Greg Donald
sessions query. You can even
force garbage collection before the count to get a realtime count.
--
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
maintaining parallel setups for a while, which is a real
pain, but you would get the cutting-edge features you are looking for
with a safety fallback, which your clients would be looking for.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
escaping function for another database.
Web security hinges on ensuring that your allowed input is finite and
verifiable.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 4 Jan 2005 10:40:51 +1100, HarryG [EMAIL PROTECTED] wrote:
How do I have database driven php sessions. Any examples??
Hmm.. maybe you missed the url the first time, here it is again:
http://destiney.com/pub/Destiney_db_sessions_0.1.0.tar.bz2
--
Greg Donald
Zend Certified Engineer
Anyone found any good deals with webhosts supporting PHP5 yet?
Thanks,
--
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
Greg Donald wrote:
Anyone found any good deals with webhosts supporting PHP5 yet?
it's not exactly for newbies, but bluga.net has been doing a fine job
for me.
Greg
P.S. ZCE doesn't exactly imply newbie :) this is for others on the list
--
PHP General Mailing List (http://www.php.net
($field1) . ' ');
Regards,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 1 Jan 2005 14:15:27 -0500, GH [EMAIL PROTECTED] wrote:
It would be nice if phpMyAdmin would kindly note that on their website...
http://www.phpmyadmin.net/documentation/
snip
Note: phpMyAdmin's MySQL 4.1 support is experimental!
/snip
--
Greg Donald
Zend Certified Engineer
http
On Sat, 1 Jan 2005 10:07:20 -0800 (PST), Lewis LaCook [EMAIL PROTECTED] wrote:
...just looking for opinions: will PHP eclipse (IS PHP
eclipsing) Java?
I'd like to see threads added to PHP. Java has them, and Perl does as
well. And I'm sure there are others that I don't know about.
--
Greg
anything that's similar, or that could be used as a starting point for the architecture... the closest i can find is the open source gnutella/limeware p2p app structure...
Do a websearch for XML REST.
Regards,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On Wed, 29 Dec 2004 11:27:35 -0500, GH [EMAIL PROTECTED] wrote:
#1 what is ISAPI?
Internet/Information Services Application Programming Interface
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
What is a $_FILE[user][error]= 6
It appears undefined per the manual:
http://www.php.net/manual/en/features.file-upload.errors.php
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
a job at Zend later down the road. :)
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
} else {
RETURN_LONG(Z_LVAL_PP(value) 0 ? -Z_LVAL_PP(value) :
Z_LVAL_PP(value));
}
}
RETURN_FALSE;
}
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On Sat, 25 Dec 2004 15:36:05 -0500, Sebastian
[EMAIL PROTECTED] wrote:
how do i get the path to my home directory..
eg, /usr/home/
$_SERVER['home']
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could anyone recommend a good PHP-based Wiki script, for PHP 4.x?
I've been testing a bunch of them and almost all seem to be crap so
far.
Thanks..
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
for, was hoping someone out there could offer some tips, suggestions,
pseudo-code, etc for how this could be done.
php -r 'system( strings *.swf | grep http );'
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
http://tech.irt.org/articles/js126/
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-r 'system( whoami );'
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; $t++ )
{
$size /= 1024;
$file_size = round ( $size, 1 ) . ' ' . $file_type[ $t ] . 'B';
}
echo \$file_size = $file_size;
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Thanks a lot Sagar,
The logic looks perfect. Having no web programming experience at all I
didn't even know what I was looking for.
And I didn't know I needed a java script for the PHP page.
Greg.
- Original Message -
From: Sagar C Nannapaneni [EMAIL PROTECTED]
To: Greg Wardawy [EMAIL
Hi Brad,
That's what I'm trying to achieve (my post Next page every second). Maybe
Sagar's response will help you a bit.
Greg
Brad Ciszewski [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am having problems coming up with a way to do this. I highly appreciate
any help what so ever
On Fri, 24 Dec 2004 19:08:03 -0500, Aaron Paulley [EMAIL PROTECTED] wrote:
I know that the line in a file that I want to replace completely is
line number 9.
Is there a simple function I can use to replace that line?
php -r 'system( sed 9s/.*/replacement/g old new );'
--
Greg Donald
Zend
On Fri, 24 Dec 2004 20:45:28 -0300 (ART), Alaor Barroso
[EMAIL PROTECTED] wrote:
Merry Christmas and happy new year for all that is
part of php community, god bless us. Peace!
Same. :)
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General
fun.
:)
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for
example.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$contents;
?
//
mp3.m3u ( one line ):
mp3.php
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 23 Dec 2004 16:33:30 +, Richard Davey [EMAIL PROTECTED] wrote:
and I have to say - the F in RTFM has NEVER stood for Fine in my
books :)
You people and your double quotes.. pffftt.
:)
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP
'. The anonymous
function you create will have a name but it's not a name you can use,
it's just a randomly generated string for preventing naming
collisions. That's why you must access anonymous functions with a
variable.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com
or tons of
the variables displayed in a single cell of the table. I could really use
your help here.
Happy Holidays to all of you and many thanks for any suggestions given.
Greg.
#
__SNIP__
table width=420 height
501 - 600 of 1436 matches
Mail list logo