With apache, in the httpd.conf file, you can change the .htaccess file to
whatever file you want it to access (and protect) ...1st change:
AccessFileName .htaccess
to
AccessFileName whateverfilename.filetype
This changes the file apache looks for in each directory for its settings
Then right b
> Most normal intelligent persons without any programming skills are able
> to put together a workable program if they only have a manual, because
> humans are creative beings. But then manage to make a program that works
> for a task doesn't mean that these guy can do programming! These fellows
>
Don't you mean beatification?
Ignatius
-Original Message-
From: Bob Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 May 2001 13:11
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] My SQL
(First he posts the entire contents of a large file, and then he
wants to know where we want him to
I think you've answered your question. Perhaps this might help you decide...
Does the new provider run PHP (version?) and MySQL on their NT box?
Ignatius Teo
Project Manager, Internet Access Services
Information Technology Directorate
Southern Cross University
PO Box 157, Lismore NSW 2480
Emai
php-windows Digest 18 May 2001 05:17:15 - Issue 604
Topics (messages 7682 through 7705):
doesn't work too
7682 by: M. Weller
include paths
7683 by: mjrobey.maxoncorp.com
7684 by: Michael Kelley
7685 by: Netcom Mail
7703 by: Netcom Mail
Re: PHP and M
Rename any test text file to "tester.htaccess", open, choose open with,
check always open with, notepad.exe, and Description of type may be httpd
DIR OverRide Settings ...
This will associate .htaccess with notepad and make life easier.
""Matt Hivner"" <[EMAIL PROTECTED]> wrote in message
9dr8f
Excuse me, I have some question about LDAP, need help! Thanks.
What is LDAP?
Does Windows 98 support LDAP?
When I run my php program, a message seems to say:
unable to load dynamic library 'C:\Windows\System\php_ldap.dll',
cannot find files to execute this application.
I am using PWS & PHP,
I p
On Thu, 17 May 2001 11:30:59 -0500, you wrote:
On second thought (see my previous note), how exactly are you typing your
include() in code? I realized after posting previously, that include()
automatically traverses the path(s) set by the include_path variable, so as
long as that is set up proper
The database is structured so that what we expect will be the most common
queries will run as quickly as possible. Unfortunately, some of the queries
which are expected to be run less often are also the longer-running queries
which get data from lots of different tables.
We're expecting 6,000 -
I have tried running the PHP funciton exec() on a Microsoft Windows 2000
(5.00.2195 Service Pack 1) box and it does not run. The cmd.exe process
loads but just sits there, as if it either crashed quietly or is still
waiting for something (like it doesn't know how to process the request).
The same
Yep, putting gnu_gettext.dll into c:\windows\system fixed it ... thanks a
lot to everybody who replied.
Greetings,
Michel
""Liquidice"" <[EMAIL PROTECTED]> wrote in message
9ds97o$2s4$[EMAIL PROTECTED]">news:9ds97o$2s4$[EMAIL PROTECTED]...
> your missing a dll file..
> i found that *.
Hi: I have sucsessfuly installed PHP on my Win2k/IIS5/SQL
Server 7 machine, and I moved an application that I had
developed in my computer that has Win ME/Apache/PHP/SQL
Server 7 to it.
It all works fine except for one thing, I can't get the
setcookie() function to work on this server, in my
dev
Dear Brinkman,
With out having seen the design, my objections below might
be misplace, but: have the database been designed with respect
of your queries? Even though the designer might have optimized
the database for a special intention, your queries might be out
of this scope, this is just a fir
>1. I have "some" basic programming skills
>(see sites I already programmed by
Well, quite nice design!, but... what
do you want for that? A medal or what? ;-)
>and some more sites...) BUT I expect to find here some
>people they will TEACH me something I still do not know
>(and, of course, th
Well, the queries are taking a long time because they're searching through
8GB+ of database doing joins across multiple tables. The guy who did the
database design and indexing has gotten the database to the fastest point he
knows how. Any other indexes he's tried so far have actually SLOWED the
I'm in a tricky situation with a client and I was hoping to get some advice.
Someone (old provider) wrote a php3 script that creates a mySQL database
from a text file for access over the web. The problem is my client has
switched providers and has decided to run on an NT server. Their new
provid
Dear Brinkman,
First I wonder one thing: Why are the queries long running
in the first place? Might it be because improper indexing
of the attribute in the tables? Maybe it can be worth to
have alook at this to see if you can increase performance
this way. You might very well be able to speed up
- Original Message -
From: "Svensson, B.A.T. " <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "afan" <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 11:36 AM
Subject: RE: [PHP-WIN] extracting email addresses
> >there is my problem: I have a large text file with a lot of
> >email addresses
Have you copied your php.ini file to the C:Windows\system folder yet??
Calvin Chang wrote:
> When I try to execute my php file, the netscape brower only show blank
> screen.
>
> I have done all the necessary setup in window98 , apache, php4. Someone
> please help me to trouble-shoot this probl
Well, a query can be long running without having
to return lots of rows!!!
One can easliy construct a query that will run for
hours, and just returning some few rows, even zero
rows.
First things is basically to drop all index on the
database... ;-) And then start to make nested table
scans... e
When I try to execute my php file, the netscape brower only show blank
screen.
I have done all the necessary setup in window98 , apache, php4. Someone
please help me to trouble-shoot this problem.
Thanks a lot.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAI
Well, I hardly believe it will work:
I spotted some semantic faults in the SQL code...
>-Original Message-
>From: Zak Greant
>Sent: Thursday, May 17, 2001 12:17 AM
>To: Manesh Manickam; [EMAIL PROTECTED]
>Subject: Re: [PHP-WIN] My SQL
>
>
>Manesh,
>
>Don't be surprised that people are les
Looks like a Zend error according to the PHP source code. Maybe they
"improved" the engine to the point that it doesn't work any longer. I tried
many different ways including "file" and "fopen" but to no avail.
"Paul Smith" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PRO
>there is my problem: I have a large text file with a lot of
>email addresses included in text. I have to extract just email
>addresses from a whole text.
>What's the way to do that?
They way to do it is first to do your homework: which simply
is to develop some basic programming skills with
Yes you can. I'd say the major annoyance is that each database has it's
own functions that you have to learn. There are some projects to create
a uniform database wrapper classes.
andrew
-Original Message-
From: Scott Ellis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 08:43
To
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 12:30 PM
Subject: [PHP-WIN] include paths
Try typing the include() line in your code like this:
include($include_path."\SomeFilenameToInclude");
Alan
> Greetings,
>
> I'm running Apac
my include looks like
;
; Paths and Directories ;
;
include_path
=\apache\includes
do you have the quotes & ; & . in yours??
[EMAIL PROTECTED] wrote:
> Greetings,
>
> I'm running Apache with the PHP mod under Windows 2000, but I seem to h
Greetings,
I'm running Apache with the PHP mod under Windows 2000, but I seem to have
a recurring problem with includes. Every time I try to view a page with an
include() statement, it returns an error of the following sort:
Warning: Failed opening 'menutop.php' for inclusion (include_path='')
Thanks Guiseppe,
I tried this class before and received this error which I cannot resolve.
Warning: Bad Message destination in class.html.mime.mail.inc on line 285
Markus
""Giuseppe D'Ambrosio"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
008301c0deed$9371d460$[EMAIL PROTECTED]">news:008301c
php-windows Digest 17 May 2001 15:55:50 - Issue 603
Topics (messages 7657 through 7681):
truncating of file in fopen.
7657 by: pratap.ladhani.processbiz.co.in
Re: [PHP] Web Host
7658 by: Deependra B. Tandukar
Re: error in ip2long
7659 by: Chris Adams
Re: Web Host
Thank you Michael,
it isn't working with images larger then 3kB.
I start to belive Windows is making the trouble. Who knows why.
Meanwhile I tried a lot of different mail classes, wrote my own code but
nothing works.
Markus
"Michael Kelley" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PR
Thank you Michael and Brian,
I tried your code and the behavior is still the same.
It isn't working with images larger then 3kB.
No idea what to do.
I am using W2k server running IIS 5 and the latest release of php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
I am fairly new to PHP and have used it on a few sites but I have not been
dealing with databases much (in PHP). I am wanting to know if a single
instance of PHP can be configured to connect to multiple databases or does
is a new instance required for each DB. The scenario is that I may be
pul
>I found this on PHP.net It works when you hardcode the values (where I
>have the value arrows.gif). I've been playing with it trying to modify
>it to do an upload and sending of an email with any kind of attachment.
>
>
>/*
> * Class mime_mail
> * Original implementation by Sascha Schuman
They way I handled something like this was, I read the line in with
fread breaking it up into "$chunks"
$chunk1 = fread( $fp, 12); //Your string#1
$chunk2 = fread( $fp, 11); //The URL
$chunk3 = fread( $fp, 5); //the INT
$chunk4 = fread( $fp, 50); //The final Stri
(First he posts the entire contents of a large file, and then he
wants to know where we want him to put it. A world full of comedians,
and he's volunteering to be the straight man!)
You can put it anywhere you want. But if you put it in your bin
folder, you won't have to include the path.
(I
I found this on PHP.net It works when you hardcode the values (where I
have the value arrows.gif). I've been playing with it trying to modify
it to do an upload and sending of an email with any kind of attachment.
* Modified by Tobias Ratschiller <[EMAIL PROTECTED]>:
* - General code
Thanks Brian for your fast respond.
I tried but still the same: it doesn't work.
I used the following code:
---
$filename = 'background.gif';
$myimage = fread($fp = fopen($filename, 'r'), filesize($filename));
fclose($fp);
$content = chun
I found this as a solution:
$content = eregi("([[:alnum:]_.-]+)@([^[:space:]>;\"]*)", $contents,
$EmailArray);
echo"$EmailArray[0]";
but I have to try with your solution too.
Thank you Mike.
p.s. It's not for spam. Client want to check his incoming emails!
- Original Message -
From: "
Thanks Johan for your HELP!
- Original Message -
From: "Johan Lundqvist" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 12:38 AM
Subject: Re: [PHP-WIN] extracting email addresses
> Get in contact with some SPAM people... they all seem to get it done...
>
> afan
Are you trying to attach it or put the image in the body of the message?
If you are trying to attach it try looking at this message from the
archives
http://marc.theaimsgroup.com/?l=php-general&m=99003506223055&w=2
Thank You
Brian Paulson
Sr. Web Developer
The Pueblo Chieftain
www.chieftain.co
Hello,
does anybody know if it is possible to sent mails with Windows2000 including
images???
I am trying now since ages. As long as I echo the result of all works fine.
-
$filename = 'mypicture.jpg';
$myimage = fread($fp = fopen($filename, 'rb'), filesize($filename));
Could someone help me to find tutorials or any kind of docs
on the subject "How to develop, build and compile my own code libs in C/C++
for PHP-Win32
in form of DLLs or implement it in the PHP source"
Many Thanks,
Igor Grigin.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-
For the following code blocks:
#-- top.php first program entered
session_start();
session_register ('trackingnumber');
if (IsSet($trackingnumber)){
print ("Issued session destroy because trackingnumber =
$trackingnumber");
session_destroy();
print ("trackingnum
Hi,
I have installed the php_pgsql extension that comes with php-4.0.5 on NT but
it keeps hanging. I tried running PHP both as CGI and as an Apache module
but keeps hanging whenever I enable the php_pgsql extension. All other PHP
extensions for windows are running properly.
I will be very grate
I've used this script to include modify date and copyright notes in every
page.
It grab the informations of the page where was included... i think you can
do something similar for other varibles than the last modification date.
Greets,
Alessio.
note.php.inc
\n";
echo "\n";
?>
"Timo Würsch" <[
I've got a bit of a problem here: I've got a php script which is
included and will thus be executed in every page on my web site. How can
i change the behaviour of this included script depending on the parent
page's URL? Many thanx
Timo
--
PHP Windows Mailing List (http://www.php.net/)
To unsu
Hi everyone,
I'd like to know your opinion about these question:
I have to create a redistribuitable CD using Scriptview. The CD will contain
a limited edition of an actual website, based on a MySQL database.
The question is: what's the best way to use the data with Scriptview?
The data are some
Get in contact with some SPAM people... they all seem to get it done...
afan wrote:
>
> Hi all,
> there is my problem: I have a large text file with a lot of email addresses included
>in text. I have to extract just email addresses from a whole text.
> What's the way to do that?
>
> Thanks for
49 matches
Mail list logo