> How do I return the name of a file without any extensions or path info.
> Eg how do I return "about" from "http://www.domainz.com/about.htm".
Here's a quick and dirty way:
http://www.domainz.com/about.htm";
$url = explode("/",$url);
$num = count($url);
$name = explode(".",$url[($num-1)]);
$doc
Although it's a wee bit off topic, your logic doesn't really make sense
here.
If the egg is a potential chicken, doesn't that mean the egg came before the
chicken?
Re-read the question. It only speculates which came first.
> -Original Message-
> From: Jerry Lake [mailto:[EMAIL PROTECTED]
it's in the php.ini file, which should be in your /etc folder (or windows
folder on a winbox)
or you can just use
to turn it off for that particular script.
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 12:37 PM
To: PHP User Group
Seems to be good enough for NASA. :)
-Original Message-
From: Chris Lee [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 1:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] shopping cart classes
I found the same as you, I wrote some classes of my own. have you done much
with post
and linux.
cheers,
Thor.
-- Original Message --
From: "Matt DeLong" <[EMAIL PROTECTED]>
Date: Wed, 14 Feb 2001 07:18:57 -0600
>Also try:
>http://www.textpad.com/
>
>
>
>Thanks,
>
>Matt DeLong
>Studio 77
>
try this script:
http://www.wokzilla.com/usage/usage.php3
-Original Message-
From: Michael McGlothlin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 1:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Piping/parsing Apache logs though PHP?
I'd like to pipe and parse my Apache lo
a rule of thumb with windows boxes:
always install software in the default location :)
in this case that would be c:\mysql
cheers,
Thor.
-Original Message-
From: Paulson, Joseph V. "Jay" [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 2:19 PM
To: PHP-DB-LI
,
Thor.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jonatan Bagge
Sent: Tuesday, February 13, 2001 1:15 AM
To: ajay arora
Cc: php general
Subject: Re: [PHP] Here you have, ;o)
You guys should really stop using outlook.
ajay arora wrote:
> Hi:
>
This should do the trick.
(.*)", $readfile, $output);
fclose($file);
echo $output[1];
?>
cheers,
Thor.
-Original Message-
From: Mark Green [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 6:06 PM
To: PHP General Mailing List
Subject: [PHP] Parse HTML Block
Hi G
I've done this.
Once I did everything in CF.
Today, I do everything in PHP and have not looked back. PHP is faster,
easier and far less taxing on the server than CF.
Basically, once you know the syntax and functions of PHP, converting is
pretty easy, although time consuming. What you need to do
SAFE MODE!!
That's exactly what I was looking for...
It did the trick.
Thanks Chris.
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 4:18 PM
To: php
Subject: Re: [PHP] security help
If you include a file as a link, so the browser sees:
www.my
So:
>
> /home/myfiles/.htpasswd
>
> Rather than
>
> /home/myfiles/publicwwwfiles/.htpasswd
>
> Hope that's of some use to you.
> James.
>
> ""Thor M. Steindorsson"" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTEC
Should this be possible?
I know this isn't an issue with php, but since I used php to do this, I
figured maybe someone here has encountered the same thing, and knows how to
help.
Is this something that can be fixed by making some changes on the linux
server?
By using this:
";
include("/home/some
You don't need to go through these hoops.
Any include page you use will automatically use any variable that has been set in the
master page.
Thus, all you need to do is include the book_reviews.php page, and the $asin variable
will work in that one IF it has been set in the master file. If it
Answers are numbered according to questions.
1. Contact your hosting provider about this one.
2. Unless the webserver is instructed to let php handle html files, you
cannot include php code within html. It has to be a php file so php can
process it.
3. Again, contact your hosting provider and as
Does anyone have a solution for importing data from a RDF-XML file into a
MySQL database?
I've been racking my brain, as well as looking at tutorials and some xml
parsers, but if someone has something like this it would save me tons of
time.
Thanks!
--
PHP General Mailing List (http://www.php
Hi,
you might want to take a look at this one:
http://www.thewebmasters.net/php/Htpasswd.phtml
Works in both php3 and php4.
Give you functions for adding/deleting/listing/renaming users + much more,
in standard .htpaccess password files.
I use it myself on several sites, it works great.
- t.a
Yes, you are taking this too literally.
Our first amendment right superecedes any law.
What you may be referring to is when competitors in a small market (or in a market
with limited competition) compare their prices behind the scenes in order to keep the
prices high. Which is what the oil com
check this out:
http://www.hotscripts.com/Detailed/3903.html
It does what you're asking for...
why write the code when you can copy and paste? :)
-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 1:22 PM
To: [EMAIL PROTECTED]; [EMAIL PRO
Excellent answer...
somewhat when you're asked
"Can you tell me where the Bakery is?"
and you say
"Yes, I can."
Forgive me for saying so, but I find this sort of attitude on a mailing list
designed as help forum very arrogant, impolite and snooty, and completely
unnecessary.
-Original Messag
x27;, '$Description',
'$FileSize', '$FileName', '$DownloadCount', '$Categories', '$Redirect')";
}
Thor M. Steindorsson - [EMAIL PROTECTED]
http://www.netwood.net - Find Out Why We're Better.
-Original Message-
From: Darren Evans
try this:
http://www.dogpile.com";
header ("Location: $rdrct");
exit;
?>
Thor M. Steindorsson - [EMAIL PROTECTED]
http://www.netwood.net - Find Out Why We're Better.
-Original Message-
From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, Janu
source and configuring it
with mssql and re-installing it.
But if there's any way to add the mssql support without such drastic
measures, I'd sure like to hear about them.
Can anyone help?
Thanks.
Thor M. Steindorsson - [EMAIL PROTECTED]
http://www.netwood.net - Find Out Why We're Better.
23 matches
Mail list logo