After my host recently upgraded to the latest version after reading the
recent advisory I have got an error that won't load one of my php pages and
I can't see why not. Here's the error I get -
Warning: Failed opening '' for inclusion
(include_path='.:/usr/lib/apache/php') in /home/sites/site41/w
>>how about this curve... getting PHP to append a line to the apache log.
>
>How about reading the documentation?
Deserved that for not being clear enough... see below.
>http://php.net/error_log
>
>>would much rather pump the clf formatted log sting directly into the
>appropriate
>>apache log,
A combination of the strtotime() function and date() or getdate() functions
should do what you want..
http://www.php.net/manual/en/function.strtotime.php
-Kevin
- Original Message -
From: "Cirkit Braker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 23, 2002 6:24 PM
Sub
I have been running 4.1.1 due to any time I upgraded to 4.2.0 I would
get emalloc errors. Now that this upgrade to 4.2.2 I am getting the same
errors and this is a must upgrade. If any one can help with finding out
why I am getting these errors I would appreciate it.
[This is from my error_log f
Check if the $page variable has a value. I'm thinking they had 4.0.x before,
or had register_globals enabled, and ur passing $page by querystring right?
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
From: "Daniel Thompson" <[EMAIL PROTECTED]>
To: <[EMA
"Ian Ball" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> patch -p0 < php-4.2.1-to-4.2.2.patch
> cd php-4.2.1
>
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-ldap
> make
> make install
> /usr/local/apache/bin/apachectl restart
Hmm...
> i had SO much trouble finding this out. hope it
> helps ya
Thanks for the help. This was the clincher. I knew
that, too, and had it in some forms, but you just
pointed out the one thing I was missing. Thanks!
__
Do You Yahoo!?
Yahoo! Health
Hi, I'm just starting to learn PHP. I couldn't find how to execute unix
command and read the result. Basically, I just want to execute "ls -lrt"
and read and display the output.
This may be very simple question, but for some reason, I couldn't find any
info on executing unix command from PHP.
update mytable set email = CONCAT(email,'[EMAIL PROTECTED]');
On Wed, 24 Jul 2002 11:00:48 +1200, Jason Morehouse wrote:
> update mytable set email = CONCAT(email,'[EMAIL PROTECTED]');
>
> On Wed, 24 Jul 2002 02:59:54 +1200, Shane wrote:
>
>> Greetings, is there a mySQL syntax command equivale
If all you're doing is applying the patch (not adding/removing any
extensions), you should be able to use
./config.nice
which will use all of the configuration commands from your last compile
(This is an extremely handy thing if your GD/Freetype setup was particularly
ornery the first time aroun
I'm trying to develop a thumbnail creation module for a website but I can't
get gd library to work in a Win2000 Advanced Server, PHP 4.2.1, IIS 5.
Does anybody has the php_gd.dll for this version??
Thanks.
Jadiel Flores
-
http://www.abargon.com
[EMAIL PROTECTED]
(52-55
Maybe opendir() and readdir() would work for you?
opendir():
http://www.php.net/manual/en/function.opendir.php
readdir():
http://www.php.net/manual/en/function.readdir.php
Jason Soza
- Original Message -
From: "Paul Oh" <[EMAIL PROTECTED]>
Date: Tuesday, July 23, 2002 3:03 pm
Subject:
Hi Paul,
this should help you out
\n");
print("All Output:\n");
for ($index = 0; $index < count($AllOutput); $index++)
{
print("$AllOutput[$index] \n");
}
print("\n");
print("Return Value: $ReturnValue\n");
?>
should work a treat for you ...
cheers
Peter
> -Original Message-
Apache 1.3.23 + PHP 4.1.2 + PostgreSQl 7.2
I have a guestbook that I would like to display the current month's entries.
I can display all the entries before the current month, but i can't seem to
figure out how to extract the currrent month's.
Although the code below is a db issue, I don't kno
on this you may want to have a look in the manual for exec(), the command I
used in my example, or system() they both let you run applications on your
server such as 'ls' and the like.
> -Original Message-
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 24 July 2002 9:23 AM
>
Jadiel,
i do that the file ur after and tried sending it to u but ur server rejected
it.
> -Original Message-
> From: Jadiel Flores [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 24 July 2002 9:03 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] GD Library for Windows
>
>
> I'm trying to devel
josh just a query did u try it with https:// rather than ssl:// ?
> -Original Message-
> From: Josh Levine [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 24 July 2002 9:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] secure sockets
>
>
> Thanks for the pointer! I had looked at it, but
Thanks for the pointer! I had looked at it, but didn't see too much
information on using CURL with a telnet type application. I'll take a
closer look at it.
--Josh Levine
Patrick Lynch wrote:
>
> Hi Josh,
>
> I have not done this myself but afaik, you can use curl to so this.
> http://www.p
Thanx for the help..
I ended up with this solution ;)
$dag = substr ( $row['endret_dato'], 7, 2 );
$mnd = substr ( $row['endret_dato'], 4, 2 );
$aar = substr ( $row['endret_dato'], 0, 4 );
date ("dmY", mktime(0,0,0,$mnd,$dag,$aar) )
-R
"Ragnar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROT
Hi
I try to compile php and got error message
any idea?
system:
Redhat 7.2
Apache 2.0.39 (for redhat 7.0 from apache website)
php 4.2.2
error messages
---
/bin/sh /usr/tmp/php-4.2.2/libtool --silent --mode=compile gcc -I.
-I/usr/tmp/php-4.2.2/sapi/apache2filter -I/usr/tmp/php-4
Patrick is right in that you can use CURL to do this, but as of PHP 4.3.0, you
can use https:// if you have compiled in OpenSSL support.
On Tuesday 23 July 2002 11:56 am, Josh Levine wrote:
> I'm trying to connect to a Java application that's listening on a socket
> using SSL. I am trying to
Ok guys i got this problem here:
I got a class i made that creates a link ressource for a mysql database.
Stores it inside of itself with different login and password and other
params. Other functions are also available for usage.
When i start this class it connects fine, i can also use it no pr
You could use an algorithms called mod10. Both Visa, MasterCard and I think
most other credit cards use the mod10 algorithm. A credit card must pass a
mod10 test to be a valid number(Like a Regular Expression test). It won't
tell you if the number exist, but it will tell you if it could exist.
What do you guys think? Should we tell him he's running a vulnerable version
of PHP _and_ of Apache???
On Tuesday 23 July 2002 16:26 pm, Andre Dubuc wrote:
> Apache 1.3.23 + PHP 4.1.2 + PostgreSQl 7.2
>
> I have a guestbook that I would like to display the current month's
> entries. I can disp
Well, that would be nice! Sort of 'completes-my-day' :>
So, both are vulnerable, eh? Great.
Thanks for the warning -- but I'm using them for design only. Once the site
is on-line, I'll be sure to use the upgraded versions. From what I read
on-list, however, the current 'upgrades' have their pro
Try this:
function do_mod_10($num)
{
// The Luhn formula works right to left, so reverse the number.
$num = strrev($num);
$total = 0;
for ($i = 0, $j = 1; $i < strlen($num); $i++, $j=3-$j)
{
$digit = $num[$i] * $j;
if ($digit > 9) $digit -= 9;
$total +=
There is a credit card validating class on phpclasses.org under e-commerce.
"Martin Towell" <[EMAIL PROTECTED]> wrote in message
6416776FCC55D511BC4E0090274EFEF5034CFBAF@EXCHANGE">news:6416776FCC55D511BC4E0090274EFEF5034CFBAF@EXCHANGE...
> Try this:
>
> function do_mod_10($num)
> {
> /
The docs for fsockopen() say I should use ssl:// (the docs for fopen()
say to use https:// for a secure HTTP 1.0, which I don't want). I can
go ahead and try it, though...
--Josh Levine
Peter wrote:
>
> josh just a query did u try it with https:// rather than ssl:// ?
>
> > -Original Mes
Does anyone know of such a programme?
--
Member - Liberal International On 11 Sept 2001 the WORLD was violated.
This is [EMAIL PROTECTED] Ici [EMAIL PROTECTED]
Society MUST be saved! Extremists must dissolve.
Beware of defining as intelligent only those who share your opinions
--
PHP
In article <000801c231e3$414d08e0$7897fea9@N4N8U9>, [EMAIL PROTECTED] says...
> It´s a silly question, but how can I create a directory on web?
>
>
Using PHP? mkdir() is the function - but beware that the user your web
server runs as may not have permissions to create directories in some
place
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
>
> I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
> announce in the web site. When I do make install, it stopped with
> errors. The following are the last few lines from the output:
>
> [activating module `php4' in /
I have not done this but have studied enough tcp/ip to know that ssl is not
a protocol. The opening portion would refer to your protocol, like http or
ftp. One would access via ssl using https://, not ssl:// Try that.
Curl would be your other option, and that should work just fine for most
use
PHP can't help here -- you should do a search on the web for "liquid"
website designs, or check out / borrow some code from other sites you've
seen work.
Although not valid, I've seen height="100%" work on 1000's of sites.
Combined with a CSS statement, you should be able to cover all browsers.
> Thanx for the help..
>
> I ended up with this solution ;)
>
> $dag = substr ( $row['endret_dato'], 7, 2 );
> $mnd = substr ( $row['endret_dato'], 4, 2 );
> $aar = substr ( $row['endret_dato'], 0, 4 );
>
> date ("dmY", mktime(0,0,0,$mnd,$dag,$aar) )
Did you even read the replies? Why are you
Isn't there a MONTH function in PG?
SELECT * FROM your_table WHERE MONTH(NOW()) = MONTH(your_column) ??
Or if PG stores dates in the Unix timestamp format, is the an equivalent
to date() that you can extract the month from the column and compare
them??
---John Holmes...
> -Original Message
From: "Mark McCulligh" <[EMAIL PROTECTED]>
Sent: Tuesday, July 23, 2002 8:47 PM
Subject: [PHP] Re: Credit card checks?
> You could use an algorithms called mod10.
Mod 10 catches keying errors. It's use is to prevent digits from being
swapped. So if you key 133791 instead of 137391, the mod 1
Hi John,
further research indicates that for PG I could trysomething like:
SELECT EXTRACT(MONTH FROM TIMESTAMP)
Big John has offered some advice using:
$today = getdate();
$start = $today['year'] . '-' . $today['mon'] . '-' . '01';
$end = $today['year'] . '-' . $today['mon'] . '-' . '31'
> further research indicates that for PG I could trysomething like:
>
> SELECT EXTRACT(MONTH FROM TIMESTAMP)
I'm sure there is a NOW() or TIME() function in PG that returns the
current date/time. Then you could do this:
SELECT * FROM your_table WHERE EXTRACT(MONTH FROM your_column) =
EXTRACT(MO
Hiya,
I'm new to installing php onto unix i can get the ./configure command to run
with out error (well any that are obvious)
but when i do the make it comes up with
# make
Making all in Zend
make[1]: Entering directory `/usr/local/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -
sorry forgot to say that I've tried to locate the unix.h file in other
distribs etc but wif no luck
> -Original Message-
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 24 July 2002 12:33 PM
> To: php_gen
> Subject: [PHP] install to unix... hastles
>
>
> Hiya,
>
> I'm new to i
Thanks to BigDog and John Holmes for their suggestions.
I figured it out: it was rather easy, in hindsight, of course:
Works as expected.
Regards,
Andre
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sure using MySQL specific calls is faster but makes you more dependant
on MySQL and thus makes your application less portable to other databases.
Cameron
John Holmes wrote:
>
>
> Did you even read the replies? Why are you going to do a bunch of string
> manipulation, mktime, and date calls i
Yeah. Apache is vulneralbe to a buffer overflow in the chunked-encoding, and
PHP has (i think) a buffer overflow in the multipart/form-data POST form
handling. It might be a format string though... that just came out this week.
yesterday, i think.
For dev you might want to consider using the C
Hi,
Can you tell me the steps of backup and restore the databases in Mysql?
And can i specific a path for the backup file?
Futhermore, i have installed the MySQL in Win2000 but i don't know how to
restore the database of MySQL from a Linux server to Win2000 MySQL.
Thanks
--
PHP General Mai
On Wednesday 24 July 2002 06:24, Brian Paulson wrote:
> I have been running 4.1.1 due to any time I upgraded to 4.2.0 I would
> get emalloc errors. Now that this upgrade to 4.2.2 I am getting the same
> errors and this is a must upgrade.
Why is it a 'must' upgrade? The recently announced vulnerab
grab ur self a copy of myphpadmin or use mysqldump or just simply make a
copy of the data dir or grab ur self a copy of mysql_front
> -Original Message-
> From: kip [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 24 July 2002 12:58 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] MySQL Backup a
I bought a web host service from a company named easyspace.com. I have
tried to ask them this question many times but until now there is no
response from them at all.
According to the security issue of placing password in script I brought up
days ago, some one on this news group suggested me to
> Sure using MySQL specific calls is faster but makes you more dependant
> on MySQL and thus makes your application less portable to other
databases.
>
> Cameron
Of course. It depends on your application. I know I'm only going to use
MySQL for the programs I'm doing now, so I can use this _faste
Second the MySQL Front recommendation. That's one heck of a tool that
makes things really easy.
Otherwise, use mysqldump like Peter recommended.
To dump the databases, use this from the system prompt:
mysqldump -uuser -ppassword database_name > filename.sql
To import, create the database and u
I'm trying to learn to create a directory in php, and from everything I've
read I created this simple test that I put into the file add_user_dir.php.
Unfortunately I can't get it to work. I am getting the error message:
Warning: MkDir failed (Permission denied) in
/home/sites/home/users/demo/web
> I bought a web host service from a company named easyspace.com. I
have
> tried to ask them this question many times but until now there is no
> response from them at all.
> According to the security issue of placing password in script I
brought
> up
> days ago, some one on this news group sug
On Wednesday 24 July 2002 11:12, Roger Lewis wrote:
> I'm trying to learn to create a directory in php, and from everything I've
> read I created this simple test that I put into the file add_user_dir.php.
> Unfortunately I can't get it to work. I am getting the error message:
>
> Warning: MkDir
How about a trailing slash after the directory name ;-)
like this:
$dirpath = "/home/sites/home/users/demodocs/web/userforum/" . $username;
you had:
$dirpath = "/home/sites/home/users/demodocs/web/userforum" . $username;
which would try to create a new directory inside the web directory.
die("$
Can highly recommend doing it (and a whole lot more) with phpMyAdmin
(http://phpMyAdmin.net)
Justin French
on 24/07/02 1:04 PM, Peter ([EMAIL PROTECTED]) wrote:
> grab ur self a copy of myphpadmin or use mysqldump or just simply make a
> copy of the data dir or grab ur self a copy of mysql_
If they don't allow you to store the file outside (above) the public_html
directory, then you may want to try the following:
- name your password files with .inc extension
- a .htaccess file (assuming apache) to Deny all requests for *.inc files
from the server
This means that any file you name
Is there any way of automatically adding a certain bit of code to every page
on a web server (or within a given directory)?
As in, is there any kind of Apache-specific PHP stuff that will add a banner
ad or copyright notice to pages (without editing the actual pages themselves
and without changin
use the auto_append or auto_prepend directives in the php.ini file
-Original Message-
From: Dave at Sinewaves.net [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 1:48 PM
To: PHPlist
Subject: [PHP] Banner Ad Serving...
Is there any way of automatically adding a certain bit of c
On Wednesday 24 July 2002 11:47, Dave at Sinewaves.net wrote:
> Is there any way of automatically adding a certain bit of code to every
> page on a web server (or within a given directory)?
php.ini --> auto_prepend_file, auto_append_file
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.
That works fine for files with .php extensions, but I need something to add
code to html pages as well... Any ideas???
Dave
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 8:55 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Banner Ad Serving...
Tell apache that .html files are to be served through php
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Dave at Sinewaves.net [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 11:00 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Banner Ad Servi
I think you may have it on that one! You get the gold star! :)
Thanks for the help -- I probably would have banged my head against my
keyboard for another week or so before I thought of that!
Dave
-Original Message-
From: Cal Evans [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 200
>Im getting Warnings about headers being already sent. But not on my local
>web server
>
>Im sending the headers (to try and make the page not cache) before anything
>is echoed to the browser.
Somebody somewhere is sending *SOMETHING* to the browser -- possibly a
NEWLINE at the tail end of one of
>I have a site with all my movies and stuff stored in a database. And I have
>made a admin page where I can add, delete and update records. When I add new
>records, I have made a listbox for the category (ex. action, comedy etc.) so
>I dont have to write it every time I add a new record. But when
>I want to store image data into mysql table using BLOB
Why?
It's just going to clog up your database, increase the risk of your database
self-destructing, and you can't *DO* anything with the data in that blob.
Unless you're actually de-constructing the image pixels with SQL and doing
photo co
>hi i am trying to implement error handling in a join page, i would like to
>try and use one page if possible and then go through in steps like ?step=1
>etc , i would like to be able to return form variables to the previous step
>if there is an error, how could i do this ?
Honestly, I've always f
>I'm using mysql to hold references to image files then served on my pages
>via PHP.
>
>I have typically a set of two files:
>
>thumb and a large original, on occasion there is also a variant inreasing
>the set to 3 per image
>
>currently I am holding all of the files in 1 directory since the DB
>I've got the login part working perfectly, and I can turn the URL into a
>link on the page, but I'd rather have the script just automatically forward
>the person to the page they're login gives them access to.
>
>I've tried using header(), but since the redirection takes place about
>mid-scrip
>I want to point something out to aspiring authors. The truth is, that few
>books and web pages out there show examples using OO methods. For example,
>the book I use as my primary reference has one chapter on OO PHP and that
>is it. The rest of the examples in the book are in regular functi
>Any one please let me know how to use PHP to add new user to a domain for
>using mail (sendmail).
You mean like a *REAL* user with a login and everything?
Yikes!
DANGER, WILL ROBINSON DANGER!
You *REALLY* shouldn't do this unless you *REALLY* understand Un*x
permissions and system security.
>
>
>onclick = "document.all['tree'].status[].value='expand';
No matter what you do, JavaScript will *NEVER* accept the [ or ] character
as part of a field's NAME.
Those are RESERVED keys in JavaScript.
You'll have to refer to the INPUT by NUMBER, rather htan name.
onClick = "document.all.tre
>Well, I'm not sure about the 'you get what you pay for'. Some paid for
>software has less support and documentation than PHP!
In my experience, *ALL* paid-for software has less support and documentation
than PHP.
This is excluding support contracts for software you paid for -- Once you
pay Orac
>#!/usr/local/bin/php -q
>// don't timeout!
>set_time_limit(0);
>
>// set some variables
>$host = "1.2.3.4...";
>$port = 1234;
>$command = "/usr/games/fortune";
# I must be missing something, cuz I don't see where this $command is
used...
>// create socket
>$socket = socket(AF_INET, SOCK_STREAM,
>I saw a comment in the online docs about setting the return-path for
>sendmail for virtualhosts. However, the note did not say WHERE to put the
>line - I attempted to put it into apache's virtual host tag and that failed.
>The line was:
>
>php_admin_value return-path "/usr/sbin/sendmail -t -i -f
>I have an embedded object in my webpage which will play a DVD movie right in
>the page (provided you have a disc in teh dvdrom drive). One of the
>javascript methods attached to this object returns the current time. OK, on
>to the php/mysql part. I have a mysql database which has a table to ca
>is there a more programmatically elegant way of saying...
One option would be to just exit; when you get an error if the rest of the
script isn't going to execute and send out some closing tags you need
anyway.
Future versions of PHP might have a try/catch mechanism, but that doesn't
help you r
>Hi,
>
>I'm using PHP to connect and perform queries with a MySQL database. I've
>noticed that it there is an error performing certain
>commands like 'mysql_connect()', I'll get a warning message in the browser.
>
>I'd like to suppress these messages as I am storing the error,
>mysql_error(), i
>I read the useful document about XML in PHP on
>http://www.analysisandsolutions.com/code/phpxml.html. I still haven't made
>much progress on XML. I'm still confuse about XML. I had to write XML
>stuffs on the client-side with the build-in XML request and it doesn't make
>sense that the client
>After my host recently upgraded to the latest version after reading the
>recent advisory I have got an error that won't load one of my php pages and
>I can't see why not. Here's the error I get -
>
>Warning: Failed opening '' for inclusion
>(include_path='.:/usr/lib/apache/php') in /home/sites/si
>Very cute! "Upgrade Now!" It will work well with PHP newbies. Not!
If you are on Windoze, just download and run the installer or whatever you
did last time that actually worked, as much as anything on Windoze works.
If on Un*x:
Download 4.2.2 from http://php.net and save it in /usr/src or
>With php 4.2.2 I get this when trying to compile with apache 2 support:
>
>I grabbed a CVS version of PHP and during configure it lets me know that I
>need apache 2.0.40 -- since the latest release of Apache 2 is 2.0.39 I'm not
>sure what to do there.. Does that mean the latest apache 2 devel sou
>Hi,
>Someone please tell me how to install apache on redhat
>linux.
Download the web-server that is named apache-1.3.xx (highest xx) and ends in
.tar.gz from:
http://apache.org/
Save it in /usr/src or somewhere convenient.
cd to that directory:
cd /usr/src
Untar it:
tar -xzf apache-1.3.xx.tar
>Is there a way to limit the total number of persistent connection to an
>oracle database? I know this functionality exists for MySQL through a
>setting in the php.ini but I haven't found it for oracle. I am in an
>environment where we have about 10 users that connect to oracle from
>each of 10
>I have a challenging part to this project. Let's say the PHP webserver
>establish a connection to a different website and received the ssl
>connection from there. How do I get the certificate information from that
>website and display it? I can use print_r($GLOBALS) but it only display the
>ce
>I'm trying to connect to a Java application that's listening on a socket
>using SSL. I am trying to use fsockopen with the address beginning with
>ssl://, but it doesn't work. There's no error message that I can find,
>it just doesn't create the file-handler.
>
>Here's some sample code:
>
> $ho
>I have been running 4.1.1 due to any time I upgraded to 4.2.0 I would
>get emalloc errors. Now that this upgrade to 4.2.2 I am getting the same
>errors and this is a must upgrade. If any one can help with finding out
>why I am getting these errors I would appreciate it.
>
>
>[This is from my erro
>and i never see any copy.) My only guess is that a mysql_link resssource is
>also an object and gets copied or lost somewhere in the middle.
In the old days, a MySQL link resource was just an integer.
It is now a 'Resource' type internal to PHP.
I don't *think* it will get copied on assignment
>Is there any way to get the day of the week given a date.
>
>For example if the date is the 22nd July 2003 I want to know if it will be a
>Monday or Wednesday, etc..
>
>Any help appreciated.
http://php.net/date/
Also look at the strfromtime or whatever the heck it is.
--
Like Music? http://l
>Does anyone know of such a programme?
Untested code:
\n";
}
elseif (crypt($PHP_AUTH_PW, $passwords[$HTTP_AUTH_USER]) !=
$HTTP_AUTH_PW){
echo "Invalid Password\n";
}
else{
# Continue script here.
}
?>
--
Like Music? http://l-i-e.com/artists.htm
I'm looking for a PRO QUALITY
On Tue, Jul 23, 2002 at 11:17:19AM -0700, Richard Baskett wrote:
>
> http://www.AnalysisAndSolutions.com/code/ccvs-ph.htm
Rick, thanks for the plug.
Allow me to plug it further...
I updated that page just this minute. So, whomever looked at it in the
past (prior to 12:00 am 24 July 2002 EST)
Simply wonderful news:>
But again, for design work, it isn't worth the trouble. I'm using SESSION
variables $_POST, $_SESSION, and as long as they don't change, there's
little point upgrading until the site is on-line. However, I will inform my
IP to use all the latest versions.
I'm running L
I must be dumb because I still can't get it to work.
Using the following instead of my previous preg_match_all statement:
preg_match_all("|(.*)|i",
$contents, $out);
Gives me only the -last- 3 headlines on
http://www.kinyradio.com/juneaunews/latest_juneau_news.html. I've looked at
the source and
hi am getting this error
# make
Making all in Zend
make[1]: Entering directory `/usr/local/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -I../TSRM
-g -O2 -prefer-non-pic -static -c -o zend_language_parser.lo `test -
>
>>>how about this curve... getting PHP to append a line to the apache log.
>>
>>How about reading the documentation?
>
>Deserved that for not being clear enough... see below.
My apologies if I missed the word "access log" or even assumed you meant
"error log" when you just said "log."I sho
http://www.mricon.com/SM/guide
he has a tutorial (for both redhat, and freebsd) that details exactly howto
setup a full mail server, using virtual domains/users. step by step. should
be what is needed here. I use it personally for my servers.
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.ac
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> sorry forgot to say that I've tried to locate the unix.h file in other
> distribs etc but wif no luck
>
> > -Original Message-
> > From: Peter [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 24 July 2002 12:33 PM
> > To: php_gen
Worked on this a bit tonight, thought it might help someone out there! I
looked at the bottomw of phpclasses.org at what they'd done to obfuscate
their e-mail address using JavaScript. While theirs is much more complex, I
couldn't figure a way to do it their way when you don't know the exact
user@
> > Hiya,
> > >
> > > I'm new to installing php onto unix i can get the ./configure
> > > command to run
> > > with out error (well any that are obvious)
> > > but when i do the make it comes up with
> > >
> > > # make
> > > Making all in Zend
> > > make[1]: Entering directory `/usr/local/php-4.2
I have started a session on the server, and now would like to add a user
name and password, and some other information to the session to carry it
across all the other pages that are in this session. Any hints on where to
start?
---
Philip J. Newman.
PhilipNZ.com Design Solutions
http://www.p
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> > > Hiya,
> > > >
> > > > I'm new to installing php onto unix i can get the ./configure
> > > > command to run
> > > > with out error (well any that are obvious)
> > > > but when i do the make it comes up with
> > > >
> > > > # make
> >
In article <004c01c232d3$9a600ef0$0401a8c0@philip>, [EMAIL PROTECTED]
says...
> I have started a session on the server, and now would like to add a user
> name and password, and some other information to the session to carry it
> across all the other pages that are in this session. Any hints on
101 - 200 of 216 matches
Mail list logo