Well, just in case anyone's interested...
My problem was fixed by just compiling PHP as a standard module, not APXS.
- Original Message -
From: Liam MacKenzie [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 10:37 PM
Subject: Re: [PHP] 4.2.2 4.2.3
Hi guys,
I've found me a problem...
A portion of a script is causing the child apache process to be terminated:
[notice] child pid 23620 exit signal Segmentation fault (11)
I never had a problem with this script until I upgraded to 4.2.3.
The only other difference is that now I have PHP
=/home/nobody/conf' \
'--with-mysql=/usr/local' \
'--enable-safemode' \
$@
--
Slackware 8.1
Any ideas yet ;-)
Cheers,
Liam
- Original Message -
From: Liam MacKenzie [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 10:26 PM
Editplus, all the way.
www.editplus.com
Small, fast, very configurable, lots of features, project support, direct
FTP upload
Give it a shot, it's the best :-)
Liam
- Original Message -
From: Bryan McLemore [EMAIL PROTECTED]
To: PHP GEN LIST [EMAIL PROTECTED]
Sent: Saturday,
http://www.php.net/manual/en/ref.ftp.php
You'll need FTP support compiled into PHP.
do a phpinfo() and search for FTP
Cheers,
Liam
- Original Message -
From: Stephen Craton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 22, 2002 7:27 AM
Subject: [PHP] FTP Uploading?
Thanks.
That's fine, it's either $55 for this or a couple of hundred to pay someone
to do it manually.
Go figure ;-)
Cheers,
Liam
- Original Message -
From: M1tch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 21, 2002 3:51 AM
Subject: [PHP] Re: MySQL Access
I
Yeah, I know this doesn't have much to do with PHP...
does anyone know of a tool that automatically converts an access database to
MySQL readable data?
Thanks a heap!
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
G'day everyone,
I have a dilemma...
I'm running BIND locally, with a wildcard A record.
That means that if someone goes to http://somebullshit.mydomain.com/ they'll
get my page up.
What I want to do is catch that subdomain into a variable... Is there a PHP
global that can get that?
So, if
G'day all...
$variable = joe blow;
How can I automatically make $variable = Joe Blow;
The value's obviously dynamic, so I need to capitalise each letter of each
word in the var.
Any ideas?
For those of you who read my previous post, you may have worked out what I'm
doing ;-)
Cheers,
Liam
oh cool, didn't know that existed!
thanks!
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Liam MacKenzie [EMAIL PROTECTED]
Cc: php [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 11:53 AM
Subject: Re: [PHP] Capitialisation
ucwords()
Liam MacKenzie wrote
Give a man a day at home sick with nothing to do, and you get some...
Interesting results...
http://bill.clinton.fuckedyourmum.com/
Try your mate's name in there... =)
Thank's for everyone's help in producing this absolutely useless
masterpiece!
Cheers,
Liam
--
PHP General Mailing List
Yeah, good idea.
I'll do that now, I've got nothing else to do!
:-)
- Original Message -
From: Tyler Longren [EMAIL PROTECTED]
To: Liam MacKenzie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 12:13 PM
Subject: Re: [PHP] Don't read if easily offended
]
To: Liam MacKenzie [EMAIL PROTECTED]; php
[EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 12:31 PM
Subject: Re: [PHP] subdomain
Grab the $SERVER_NAME environmental variable. Then parse the variable using
explode on the period in the domain name. Count the number of elements in
the array
Agreed,
This is quite a good engine.
I don't have very big log files as I just rolled them over a couple of weeks
ago, but you gan view sample live stats here:
http://www.nudenurd.com/stats/
Cheers,
Liam
- Original Message -
From: olinux [EMAIL PROTECTED]
To: tomba [EMAIL PROTECTED];
It seems nearly everyone has a problem with this function, probably because
it relies on third party software.
It doesn't work. That's my problem!
I'm using Sendmail as my MTA, not running as a Daemon as I have POP3/SMTP
server running on the same
machine (eXtremail)
I'm starting Sendmail like
I'm afraid you're going to have to be more specific than that my friend.
- Original Message -
From: Hendråwan Rinäldi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 30, 2002 7:43 PM
Subject: [PHP] PHP_AUTH_USER
anyone can help me what is the script for log out
I just happen to be re-compiling my hosting servers right now...
I'll compile those things into PHP.
If your sites are:
non-profit
personal
development
I'll host them free for you.
Read up a few messages to one with the subject Hosts and look for one from
me for more details.
Cheers,
Liam
What's your site about?
I can do all that for free if if it's:
- Non-Profit
- Personal homepage
- PHP Dev.
Apache, PHP, MySQL on Slackware 8.1
98% Uptime, 2 Meg pipe based in Brisbane, Australia.
I allow external MySQL DB Access, FTP, mail(), DNS hosting and unlimited
POP3 accounts.
BUT...
I also work for a webhosting company, if you need corporate hosting, I can
help you there too.
Low rates, payable by check...
Fibre Optic pipe
Slackware 8.1
Apache 1.3.26
PHP 4.2.2
MySQL
Perl 1.27
POP3 Accounts
Admin console
FTP Access
Contact me on [EMAIL PROTECTED] if you're interested.
I'm
Hey all,
I need to restart apache using PHP. Is this possible?
Or, ar least apply a modified config file...
PHP is running as nobody:nobody as is Apache.
Thanks,
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey guys, got a basic question for you...
?
function getvar()
{
$vari = bollocks;
}
getvar();
echo $vari;
?
How do I make that function return the variable?
Thanks,
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I just had a massive open house party...
Is it possible to write a PHP script to collect all the bottles and
cans, mop the floor, fumigate the carpet and make me lunch?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
These may help
http://scripts.operationenigma.net/
note:
passgen.php
passgen.phps
Leave the rest alone ;-)
- Original Message -
From: César Aracena [EMAIL PROTECTED]
To: PHP General List [EMAIL PROTECTED]
Sent: Sunday, August 18, 2002 2:51 PM
Subject: [PHP] Random Passwords
;
$dir = substr($dir, 0, $strlen);
$dir = $dir./data;
if ($handle = opendir($dir)) {
$i = 0;
while (false !== ($file = readdir($handle))) {
if ($file != . $file != ..) {
$i++;
}
}
echo $i;
closedir($handle);
}
}
- Original Message -
From: Liam MacKenzie [EMAIL
Damnit!
I think I need to go home, or even better, take a holiday for a fortnight.
Thanks dude.
- Original Message -
From: Luke Welling [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 5:30 PM
Subject: Re: [PHP] Got another ripper for you all ;-)
Oi!!!
Don't knock the Irish!
I got it working eventually :-)
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 15 August 2002 7:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Got another ripper for you all ;-)
In article
Hi guys,
I'm looking to get a specific bit of data out of a slightly complex amount
of data.
Ok, I have this in a variable:
User : [EMAIL PROTECTED]
Dir : /home/eXtremail/mbox/i-redlands.net/3/1/liam
Forward :
Copy :
Account mapping :
User Disk Quota : 0
Disk Space
Ok, I'm having a blonde day...
If $idx == 1, 4 or 9 I don't want it to echo $results.
I have this, what's the syntax to put multiple values in there?
if ($idx != 1) {
echo$results;
}
Thanks,
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
has nothing to do with the thread your posting now becomes part of.
To answer you question though:
I don't know of any short-hand for what you want to do. But this should
work.
if ( ($idx != 1) ($idx == 4) ($idx == 9) ) {
echo$results;
}
You could also look into using a regexp.
Jc
Liam
Hey all, got another dumb question :-)
Output text is as follows:
User : [EMAIL PROTECTED]
I do this:
$results = ereg_replace(User :, '', $results);
I get this:
User : [EMAIL PROTECTED]
But when I do this:
$results = ereg_replace(User, '', $results);
I get this:
: [EMAIL PROTECTED]
How
- it's faster and you don't risk bumping into key-chars like
you just did. While regexps are very useful when needed, people tend to
use the same functions even when they don't need regexps just out of
habit... There, now I said it! :-)
Bogdan
Liam Mackenzie wrote:
Hey all, got another dumb question
Hey, if you don't have access to CRON, you could try and include the page in
your index.php.
Set it so it only runs once though, per day. That means that as soon as
someone visits your site they activate it for that day. It'd only work if
you had the traffic though.
Just an idea.
Then again,
will
not have that many visitors at first, you will probably miss a lot of
appointments. In the other hand, if Hotmail or Yahoo want to do that...
fine... I think they WILL have at least ONE visitor per day for sure.
C.
-Original Message-
From: Liam MacKenzie [mailto:[EMAIL PROTECTED
Hey guys,
yep, another one...
I do this:
echo -.$dir.-;
I get this:
-/home/eXtremail/mbox/i-redlands.net/9/1/liam
-
Note the new line at the end.
Is there a way to get rid of any new lines in a string?
Because this is making my directory listing go whacko.
Cheers,
Liam
--
PHP
Cool...
Yeah, I know, and I always spend at least 3 minutes looking through it
before I post!
seriously!
(Thanks!)
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: Liam MacKenzie [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 3:27 PM
Subject: Re
this:
|/home/eXtremail/mbox/i-redlands.net/9/1/steve
|
Still got that new line there :'(
Any ideas?
- Original Message -
From: Liam MacKenzie [EMAIL PROTECTED]
To: Justin French [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 3:25 PM
Subject: Re: [PHP] Got another
Oh
Whoops
Thanks Tom
- Original Message -
From: Tom Rogers [EMAIL PROTECTED]
To: Liam MacKenzie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 3:34 PM
Subject: Re: [PHP] Got another ripper for you all ;-)
Hi,
Thursday, August 15, 2002, 3:20:47 PM
because of that damned new line!
Any more ideas?
Cheers,
Liam
- Original Message -
From: Liam MacKenzie [EMAIL PROTECTED]
To: Tom Rogers [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 3:32 PM
Subject: Re: [PHP] Got another ripper for you all ;-)
Oh
Whoops
File permissions.
Each user has their own username, but all are a member of the group
hosting
They can CHMOD their files to whatever they like, so security is really up
to them.
And PHP's Safe mode of course.
- Original Message -
From: Matt Babineau [EMAIL PROTECTED]
To: [EMAIL
Hi all,
I do this:
dbconnect();
$query=SELECT * FROM users where username='$PHP_AUTH_USER';
$result=mysql_query($query);
$list=mysql_fetch_array($result);
if ($PHP_AUTH_PW !== $list[passwd] || == $PHP_AUTH_PW || all !=
$list[domain]){
Header(WWW-authenticate: basic realm=\EMM\);
Mmm.. think you misinterpreted my question...
http://www.mysql.com/doc/M/i/Miscellaneous_functions.html
PASSWORD(str)
how do you unPASSWORD(str) in PHP?
- Original Message -
From: Negrea Mihai [EMAIL PROTECTED]
To: Liam MacKenzie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent
?
$password = substr(ereg_replace([^A-Za-z0-9], , crypt(time())) .
ereg_replace([^A-Za-z0-9], , crypt(time())) .
ereg_replace([^A-Za-z0-9], , crypt(time())),
9, 10);
?
Random Password : b? echo $password; ?/b
In action:
http://www.hotscripts.com/PHP/Tips_and_Tutorials/Image_Manipulation/
- Original Message -
From: Alawi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 21, 2002 4:40 PM
Subject: [PHP] write some text over image
Hi
how can I write some text on the left corner of the image?
Hi guys,
I have a function:
$substring = substr($REMOTE_ADDR,0,9);
if ($substring != '192.168.0') {
echo Access Denied;
exit;
}
If the user isn't from the local network, he's not allowed in.
This works fine, but is there a way to get apache to do it for me instead?
Like, this for
VirtualHost *
DocumentRoot /home/scripts
ServerName scripts.blahblah.com
ErrorLog /home/nobody/logs/hosting/error.scripts.blahblah.com.log
CustomLog /home/nobody/logs/hosting/access.scripts.blahblah.com.log common
php_admin_flag safe_mode off (or on)
/VirtualHost
- Original Message
What extras are you compiling in with it?
Compile PHP and Apache with the bare minimum only, no fancy stuff. Try it
then.
I sucessfully compiled several machines using the latest source code
yesterday.
- Original Message -
From: Brandon Pearcy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hey all, I'm looking to deny access to all IPs except those that fall into a
specific IP range. 192.168.0.* in this case.
Am I missing something out of this code, it don't work too well ;-)
?
$localip = 192.168.0.13;
if ($REMOTE_ADDR == $localip) {
?
Allowed!
?
}
else {
?
Denied!
?
}
?
, 2002 3:49 PM
Subject: Re: [PHP] Restricting access using IPs
On Saturday 13 July 2002 13:10, Liam MacKenzie wrote:
Hey all, I'm looking to deny access to all IPs except those that fall
into
a specific IP range. 192.168.0.* in this case.
Am I missing something out of this code, it don't work
EditPlus
Small, fast and very very effective.
www.editplus.com
- Original Message -
From: Daniele Baroncelli [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 14, 2002 5:18 AM
Subject: [PHP] Editor
Hi guys,
Although any editor should be fine when coding PHP, I find that
: Hosting_submission
No!
- Original Message -
From: website
To: Liam Mackenzie ([EMAIL PROTECTED])
Sent: Monday, June 10, 2002 11:26 PM
Subject: Hosting_submission
User registered with these details...
Real Name The_RadiX
Username spectrum
Domain
$PHP_SELF
- Original Message -
From: Christoph Starkmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 11, 2002 8:00 PM
Subject: [PHP] Name of script
Hi there!
I don't find the function or variable
returning/containing the name of the
script itself;
like:
Err, that's not going to unsubscribe you mate...
Follow the directions at the bottom of the email.
- Original Message -
From: Bjorn Abt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 12, 2002 12:07 AM
Subject: [PHP] hi
unsubscribe
--
PHP General Mailing List
Free hosting for PHP Developers!
As many MySQL Databases as you need (Also accessible remotely if needed)
PHP with all the bits http://scripts.operationenigma.net/phpinfo.php
FTP Access
Subdomain or Your own Domain
Tech Support over MSN if needed
98% Uptime
2 Megabit Connection based in
And what exactly has this got to do with PHP?
- Original Message -
From: Martin Thoma [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 04, 2002 3:14 PM
Subject: [PHP] Bot?!
Hello! Perhaps you know the programms called Bot, which allows the
user to ask questions just by
Amen
- Original Message -
From: r [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 25, 2002 8:36 PM
Subject: Re: [PHP] IMPORTANT, wanna know about MY PROJECT SALE !!!
I would really like to call you scum but I think the scumy people of this
world would object.
This aint
http://www.zend.com/zend/spotlight/uploading.php
Who's server are you trying this on mate? Yours or mine?
- Original Message -
From: Dani [EMAIL PROTECTED]
To: 1LT John W. Holmes [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, May 26, 2002 10:38 AM
Subject: Re: [PHP] UPLOADING
echo My dog has \fleas\;
- Original Message -
From: Shane [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 25, 2002 9:20 AM
Subject: [PHP] HELP!!! QUOTES!
Question Please.
What is the syntax for getting double quotes to appear in an echo statement.
EXAMPLE:
echo My dog
Hi guys,
I was wondering if it were possibe to have safemode activated for some users
but not others.
Say I have 3 Virtual Hosts in Apache.
I don't trust one, but I want him to have PHP, so I enable safe mode.
But the others are my mates and they don't want safe mode. How could I get
around
Phorum is nice and simple.
phpBB has more features, generally better.
Both are very good systems. I'd recommend phpBB for a more 'fun' type of
site and phorum for a more serious atmosphere. But both can be configured
accordingly.
Cheers,
Liam
- Original Message -
From: Richard
nononononon
www.vectorstar.net
EXCELLENT hosting and it's free!
- Original Message -
From: Salman Ahmed [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Thursday, May 16, 2002 12:05 PM
Subject: [PHP] Plz dont hate me for this
Hi,
I am also PHP lover plz dont hate me for this
If you read up about 10 messages you'll get the answer.
Also, RTFM. (Don't ask what that means, because if you read up 10 messages
you'll find out)
http://www.php.net/manual/en/function.mail.php
- Original Message -
From: Salman Ahmed [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hi guys,
Got a little prob that's got me stumped.
This simple image generator script:
http://scripts.operationenigma.net/image_generator.php
Source: http://scripts.operationenigma.net/image_generator.phps
works, I know because it was working on my system before I recompiled PHP.
Feel free to
Hi guys,
Got a little prob that's got me stumped.
This simple image generator script:
http://scripts.operationenigma.net/image_generator.php
Source: http://scripts.operationenigma.net/image_generator.phps
works, I know because it was working on my system before I recompiled PHP.
Feel free to
RTFM
http://www.php.net/manual/en/function.mail.php
- Original Message -
From: Alex Shi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 12, 2002 10:00 AM
Subject: [PHP] Send html email
Hi!
How can I send a html email with just the build-in function mail()?
Is this
Hi all,
I need some opinions, what are some good modules to build into PHP?
I'm starting a hosting service (properly)
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
MySQL
- Original Message -
From: David Duong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 11, 2002 10:29 AM
Subject: [PHP] MySQL or FlatFile
To store large values (100k+) and load them as much as 6+ times within the
same hour what would be better MySql or Flatfile?
That's strange..
I always compile in this order...
1. MySQL
2. PHP
3. Apache
- Original Message -
From: Andy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 11, 2002 9:10 AM
Subject: [PHP] Re: Apache is not rendering php pages. Config problem?
I did find the prob!
So
Hi all,
I was wondering if anyone knows of a system that will keep track of the
amount of bandwidth a site has used.
For example, someone has webspace, but is limited to 1 gig of data transfer.
Someone downloads a 500M file off their site, so they've obviously got 500M
left.
Is there a script
Hey all,
another real basic question, how would I add up all the numbers in a log
file in this format?
Start log file
6353
3309
294
762
6443
6353
3309
-
-
-
-
-
-
294
762
6353
6443
3309
-
-
-
-
-
-
-
-
294
867
859
7695
97
49
-
-
-
-
---
end log file
how can
I don't know, can it be done?
http://scripts.operationenigma.net/adduser.php
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 08, 2002 12:06 AM
Subject: Re: [PHP] Creating mail account on Linux server
On Tuesday 07 May 2002 22:02,
Free web hoting for PHP developers
MySQL database (more if you need more)
Subdomain, or I can host your domain
Apache /w all the bits and pieces
Slackware Linux OS
512/512 Cable connection in Brisbane, Australia
Only catch is, I've got a 3 GIG monthly transfer limit, so no big
uploads/downloads
Free hosting for PHP Developers.
As many MySQL Databases as you need
PHP with all the bits http://scripts.operationenigma.net/phpinfo.php
FTP Access
Subdomain or Your own Domain
Tech Support over MSN if needed
98% Uptime
512/512 Connection based in Brisbane, Australia
Only catch is that I
Hi guys,
just a simple question, how would I go about displaying the last 100 lines
of a log file?
I know that on the command line it's:
tail -n 100 access_log
Is there a PHP function to do this?
Cheers,
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
]
To: Liam MacKenzie [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Sunday, May 05, 2002 4:35 PM
Subject: Re: [PHP] Tailing a log file {!?}
Hi
You need
exec(tail -n 100 access_log,$result);
$result will be an array with the output of the command.
see http://www.php.net/manual/en/ref.exec.php
for more info
Tom
It returns nothing
It's got me stumped
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 05, 2002 5:58 PM
Subject: Re: [PHP] Tailing a log file {!?}
On Saturday 04 May 2002 15:32, Liam MacKenzie wrote:
OK, I did this and it does nothing
]
To: [EMAIL PROTECTED]
Sent: Sunday, May 05, 2002 5:58 PM
Subject: Re: [PHP] Tailing a log file {!?}
On Saturday 04 May 2002 15:32, Liam MacKenzie wrote:
OK, I did this and it does nothing but cause a loop and crash my
browser...
?
exec(tail -n 100 /www/logs/access.log,$result);
for ($i=0
-
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 05, 2002 6:22 PM
Subject: Re: [PHP] Tailing a log file {!?}
On Saturday 04 May 2002 16:09, Liam MacKenzie wrote:
Sorry, I should have included this in the first email...
[snip]
When I call the page, I get the expected
?
Thanks!
Liam
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 05, 2002 6:40 PM
Subject: Re: [PHP] Tailing a log file {!?}
On Saturday 04 May 2002 16:25, Liam MacKenzie wrote:
$cmd = exec(tail -n $len /www/hosting/domains/lanolot/logs/$open
That doesn't work either!
Something's going on here...
- Original Message -
From: Tom Rogers [EMAIL PROTECTED]
To: Liam MacKenzie [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Sunday, May 05, 2002 6:49 PM
Subject: Re: [PHP] Tailing a log file {!?}
Hi
The following works for me, give
Hi all, got a problem here...
This bit of script works, but it displays the results the wrong way. I have
to scroll to the end of the page to see the last bit of data entered into
the database, I want the last bit of data entered to be displayed first.
?
$usr = lanolot;
$pwd = ...;
$db =
Hi guys,
just a simple question, how would I go about displaying the last 100 lines
of a log file?
I know that on the command line it's:
tail -n 100 access_log
Is there a PHP function to do this?
Cheers,
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have a script that outputs this:
0.023884057998657
What's the command to make it shrink down to this:
0.023
I thought it was eregi() something, but I forgot. sorry
Cheers
(I've spent the last 10 minutes reading the manual, can't find it!!!)
--
PHP General Mailing List
RTFM?
what's this abbrev?
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 27, 2002 4:55 PM
Subject: Re: [PHP] Re: Redirecting
On Monday 22 January 2001 14:31, The_RadiX wrote:
IOW ??
what's this abbrev?
in other words
--
Hey all,
Just curious as to what the best way is to move someone off your site, apart
from bringing up a picture of male pornography...
Seriously, I've tried using
header(Location: http://www.php.net/;);
but it returns an error saying that the headers are already set.
The situation I'm in is
Hello
I have a form that is to entered into a MySQL database.
A couple of the feilds must contain irregular characters, such as
(/\+;]{'.,:?}|_~`)
What MySQL Field type should I use?
varchar doesn't work.
Thanks, Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
This is a PHP help list, if you've got a question, by all means just post it
here. BUT!! You will be given a short shift if it's obvious that you
haven't read the documentation first.
Download this, it's the most useful doovey I've ever downloaded:
http://www.php.net/download-docs.php
List
http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Upload_
Systems/
- Original Message -
From: Gabriele Biondo [EMAIL PROTECTED]
To: ML PHP [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 11:00 PM
Subject: [PHP] Upload
Hi, guys!
Does anyone know how to write a php
http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Email_Utili
ties/
- Original Message -
From: The_RadiX [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 10:22 PM
Subject: [PHP] Attachments
I have read briefly through past topics..
Just wanted
Hi all,
I have a form, with about 40 checkboxes, I want to write a PHP document that
processes the submission and displays the values of the checkboxes that were
checked.
Pretty basic stuff, I've tried a few different things, some work but display
Array at the top of the list of values.
Hey all,
I was just wondering if someone's written a script that will let me send lots of
emails to an address, but with a small pause inbetween emails.
And no I'm not using this for spam, I need to test a SMTP server that I'm developing.
Thanks for your help!
ARGH!!!
I'm seriously sick of this! I've spent days on end reading
documentation, trying settings, seeking help, and it still
won't bloody work! So I've taken the ultimate step, and
applied the trusty rm -rf command to everything that has
to do with sendmail!
In other words, sendmail is
]
To: 'Liam MacKenzie' [EMAIL PROTECTED]
Sent: Tuesday, February 19, 2002 2:04 AM
Subject: RE: [PHP] Sendmail, I've had enough of it!
Liam,
I, too, am trying to set-up sendmail on my RH 7.0 Linux. I can't even get
the damned daemon to start. So, I'm going to try your eXtrememail
application
Sorry about this, yet another question about sendmail...
I've spent days on this, read stacks of docs and just can not get it to work!
It sends some emails... But others it rejects.
Please, if you know of any tutorials on how to set this stuff up, please
tell me!
If you think you may be able
Message -
From: -BD- [EMAIL PROTECTED]
To: Liam MacKenzie [EMAIL PROTECTED]
Sent: Sunday, February 17, 2002 11:01 PM
Subject: Re: [PHP] Sendmail PHP
it's operationenigma.net, not operationengima.net, isn't it?
check your sendmail aliases - think you have a typo...
http
Ello all!
Whazzup?
Ok, I'm over it. Now...
Does anyone know how to set up MySQL, or phpMyAdmin to restrict users to a
single database? For instance, the user JoeBlow...
Joe has a database called JB, I want him to have full access to it and
nothing else. How would I go about doing this? I'd
Hey mate,
There's several template engines out there, Take a look around here:
http://www.hotscripts.com/PHP/Scripts_and_Programs/Content_Management/
Hope that helps ya!
- Lum
- Original Message -
From: Truniger, Stefan Martin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday,
Perhaps a better way of wording my question would have been to say this:
At the moment, I can make seperate users, the do not have
permission to create tables in other databases, but the can
still browse them and view the information.
Any the example I used for the named.conf was a bad one.
Hi all,
Just wondering if anyone out there's worked out how
to send emails through an SMTP server using PHP.
Cheers,
Liam
Whoops, my bad!
If there's anyone out there that needs to use SMTP:
http://phpclasses.upperdesign.com/browse.html/package/14
Gotta love it when you answer your own question ;-)
- Original Message -
From: Liam MacKenzie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February
, because if you do, I won't even consider
doing anything like this in the future.
Also, anyone else out there that needs a platform to test their stuff on,
email me and I'll see what I can do.
Cheers,
Liam
- Original Message -
From: Balazs Laszlo [EMAIL PROTECTED]
To: Liam MacKenzie [EMAIL
1 - 100 of 114 matches
Mail list logo