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:3
--
'./configure' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--with-config-file-path=/home/nobody/conf' \
'--with-mysql=/usr/local' \
'--enable-safemode' \
"$@"
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 compile
Yes.
If you've done something like this:
if(!empty($var)){echo"Blah!";
It'll root up your script and give an error at the end of the file.
Make sure all {'s are closed.
Cheers,
Liam
- Original Message -
From: "Georgie Casey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, S
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 Uploadi
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: Saturd
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 > Acces
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
I've spent over 6 months trying to get sendmail to work to my liking, don't
talk to me about sendmail!
:-P
eXtremail does the job real good ;-)
www.extremail.com
Is there any way of EASILY rewriting PHP's mail() function?
Cheers,
Liam
- Original Message -
From: "lallous" <[EMAIL PROT
m: "Dennis Moore" <[EMAIL PROTECTED]>
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 usin
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
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 (
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:
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
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 someo
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 PROTECT
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 t
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
WWW-
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
--
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
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
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...
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
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 Passwo
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
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 <00c101c2441b$83a612a0$0e00
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 ;-)
> t
ulist[1]);
echo "|".$ulist[1]."|";
if ($handle = opendir("$ulist[1]/data")) {
$i = "0";
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
$i++;
}
}
echo "$i";
closedir($handle
uot;;
closedir($handle);
}
}
It's meant to check how many emails that particular user has got, but it
can't get the dir listing because of that damned new line!
Any more ideas?
Cheers,
Liam
- Original Message -
From: "Liam MacKenzie" <[EMAIL PROTECTED]>
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 ;
e(' ','',$ulist[1]);
echo "|".$ulist[1]."|";
I get 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
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]>
S
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 Gen
ript like that in your pet's dedicated page, which maybe 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
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, I
str_replace
instead - 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 Ma
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]
($idx == "9") ) {
echo"$results";
}
You could also look into using a regexp.
Jc
Liam Mackenzie wrote:
> 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 val
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: http://www.php.
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 Us
ugust 2002 5:03 AM
To: Liam MacKenzie; Dave at Sinewaves.net; PHPlist
Subject: Re: [PHP] Win PHP Editor...
I noticed they have not come out with a new version in quite a long time
and
do not answer their emails? anybody else heard about any future
releases
of editplus?
Randy
- Original Mes
Well, I still believe the best editor for windows is Editplus
(www.editplus.com)
Small, fast, stable, tonnes of features and it supports a lot of file type.
If it doesn't give you colour coding for a particular language, say Cold
Fusion, go to the homepage and download the plugin.
It's only 800K
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
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 PROT
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=\"EM
Random Password :
In action:
http://scripts.operationenigma.net/passgen.php
Have fun :-)
- Original Message -
From: "Monty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 2:49 PM
Subject: [PHP] Password Generator Script
> Can anyone recommend where
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
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 exa
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 PROTECTE
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)
- Original Message -
From: "Chris Knipe" <[
--
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 13, 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
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 ;-)
Allowed!
Denied!
Thanks in advance :-)
Liam
--
PHP General Mailing List (http://www.php.n
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 fi
e_RadiX
Sent: Tuesday, June 11, 2002 6:50 AM
Subject: Re: 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 Nam
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 Mailin
$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;
>
>
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 Brisbane,
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
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] U
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.
> T
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 thi
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:
ech
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 Basket
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 f
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 have
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 have
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]>
Se
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 r
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!
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
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
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
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 th
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:0
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 can't
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
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
ening.
Could you please give an example?
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 w
- Original Message -
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 fir
;
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
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 but cause a loop and crash my browser...
";
}
?>
What's the problem with that?
Cheers,
Liam
- Original Message -
From: "Tom Rogers" <[EMAIL PROTECTED]>
To: "Liam MacKenzie" <[EMAIL PROTECTED]>;
<[EMAI
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: http://
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: http://w
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.
$date
$comment
";
}
}
?>
Is
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 (http://www.ph
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
www.hotscripts.com
Follow your nose.
Also, Richard's right. This list is for technical problems. If you can't
find it in a search engine, then and only then, ask here.
www.google.com is your god
- amen
- Original Message -
From: "CMS" <[EMAIL PROTECTED]>
To: "PHP General" <[EMA
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 wan
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
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 Ar
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, vi
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.
C
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!
y" <[EMAIL PROTECTED]>
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 e
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 no
- Original 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?
> c
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 t
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.
1 - 100 of 119 matches
Mail list logo