First off, if you don't already know, the linux passwords are stored in the
/etc/passwd file (unless you have a shadow suite installed, in which case
/etc/shadow would be a good bet.) Basing this on a shadow file, the file is a
text document with one user per line. The entries are stored in the
I just want to thank everyone who helped me get the css stuff to work. All
of the IF statements are now working properly --- I've certainly learned a
lot from all the messages.
thanks again...
Maxim Maletsky
Rasmus Lerdorf
and all others who responded to my message!
__
Jason Dul
You have the same requirement
Put this wherever you want in your script.
alert('Message!') ";
}
?>
- Original Message -
From: "Eduardo Kokubo" <[EMAIL PROTECTED]>
To: "Naintara Jain" <[EMAIL PROTECTED]>
Sent: Thursday, October 04, 2001 4:56 PM
Subject: Re: [PHP] something li
> I always depreciated WYSIWYG software, especially when they mention
> those things about HTML. HTML is the alphabet of the internet and as
> such should be well known by any webmaster and whoever else is
> interested in this kind of software.
>
> Still, it feels like it is better than Dreamveaw
To see exactly what image functions that are or aren't available to you, try
running this script.
Have:
--";
}
}
?>Don't Have:
";
}
}
?>
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "Adrian D'Costa" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent:
hi all,
I've been asked to do some work on some servers where php can only run as
cgi. Unfortunately it seems that php has a bug which means that
#!/usr/local/bin/php
gets printed out at the top of each page if I do this.
Are there any workarounds for this? Is it fixed in the cvs versions?
Did you uncomment the LoadModule/AddModule for PHP?
Or add an Action line?...
AddType is only half the puzzle piece...
It sets up a mime-type (application/x-httpd-php) for an extension (.php) but
doesn't say what to *DO* with that mime-type.
--
WARNING [EMAIL PROTECTED] address is an endangere
I'm no expert install guy, but...
I believe errno.h should be in one or more of these places where PHP can
find it:
/usr/include
/usr/src/linux-blah-blah-blah
Or, try this:
updatedb < might take a while
locate errno.h
Figure out why errno.h isn't where PHP expects it to be, and make it
You could roll your own...
% and (int) / and round() are all you need.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
-
You have to http://php.net/fopen (or http://php.net/curl for SSL page) the
login page, get the headers, snarf out the cookies or whatever, generate the
appropriate cookie headers to send back on the next page (and every page
thereafter).
Your goal is to "fake out" the web server into thinking you
Read php.ini
Not sure you can set it on a site-by-site basis or within Directory in
httpd.conf or not though.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: ht
Did you spell apx like that or apxs like you should?...
You should have ended up with a libphp.so to throw into Apache's modules
directory, not a binary for /usr/local/bin...
You needed that binary for cron scripts anyway, though :-)
--
WARNING [EMAIL PROTECTED] address is an endangered species
Try following the instructions for core dumps at http://bugs.php.net
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Ori
It *should* be able to... That's the whole point of the darn things. :-)
Is 0x576a the correct key?... Sure PHP isn't treating that as a string or
something?
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://
Your php_ming.so has to go in the directory specified in php.ini as
"extension_dir" It ain't gonna get found anywhere else.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a
100 lines of 200 chars each is 2 which is 20K which is chump change for
RAM...
Unless you are on a super busy page on a super high-volume server, just
file() it.
If you're on a super busy page on a super high-volume server, file() it
anyway, and then ap benchmark it to see if it's "slim enou
Require is not a function.
It's a language construct.
As such, it has never had a defined return value.
You can try include instead, just for fun, but you'd be better off to code
it cleaner and check something that virt_cust.inc does or sets and erroring
out if that didn't happen.
require 'tem
You *CAN* do that with PHP as CGI wrapped with suexec... But you lose
performance, and you'll have to convince the ISP to install that as a second
mime-type with a different extension... They'll need to read the suexec
docs at http://apache.org first and foremost. (Doing suexec incorrectly is
q
http://php.net/exec
You'll need to use & in the command to be executed.
That command may or may not need to be wrapped up in a shell script to muck
with stdin/stderr/stdout so that PHP isn't waiting for those to be freed
up... Or something like that. I don't really understand it, I just know
t
Hmmm mandrake 8 uses a different algorithm... not md5... outputs 34
characters, $ and / included (i think DES outputs alpha-numeric only. not
sure though). I sent an e-mail to a mandrake mailing list, until then here's
what I wrote before I actually looked at my /etc/shadow file. Should work fo
I just sent an email just before reading this, to the developers I
report to. I suggested that we take out the nice little feature I
worked so hard on. I dont think it would be benificial to people Im
writing it for, if it doesn't work for a great number of people who have
their websites on
http://php.net/is_numeric
On Fri, 5 Oct 2001, Chris Aitken wrote:
>
> Ive been playing around with ereg for about half an hour and having no joy
> because I dont really understand the medhod behind it and how it all works.
> But what im trying to do is check to see if a 9 digit string is all num
what if they were session variables...how can i fake that out?
can you plz give me an example on how to make a header with cookies before
requesting a page?
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
046401c14d62$917ce620$c801a8c0@Lynchux100">news:046401c14d62$917ce620$c801a8c0@Lynchux
I suggest you call: readfile() instead of include() at the end of your
script!
"David Otton" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 4 Oct 2001 07:32:17 -0700 (PDT), you wrote:
>
> >I have added a download button to a web-site that
> >enables us
That's not regexps Rasmus! :)
I always see you referring us the the manual! sometimes you refer to a
function i never say in my life! ;)
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> http://php.net/is_numeric
>
> On Fri, 5 Oct 2001, Chris Ait
Sorry,
I can't access php.ini.
It's on server, outside !!!
Thanks,
Rosen
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
046301c14d62$865a8ea0$c801a8c0@Lynchux100">news:046301c14d62$865a8ea0$c801a8c0@Lynchux100...
> Read php.ini
>
> Not sure you can set it on a site-by-site basis or within
101 - 126 of 126 matches
Mail list logo