I run a small ISP and am looking at ways to automate grabbing the headers
from email. I currently copy all email to a BSD box, then use Pine in
header mode to get the IP addresses from which I build my spam filters.
A search did not yield much in what I am trying to do:
1)Open the mailbox
John-
This would best be asked on a Red Hat list, but I can tell you that if you
are using Red Hat 7.3 I would not really count on getting them to release
PHP 4.3 as once a major Red Hat release is out they usually only provide
security updates - NOT feature updates.
Red Hat also modifies the
Usually you would have the actual page between the () so it would be:
echo a class=\white\
href=\javascript.openpopup('whatever.php?Unique_Id')\;
-Scott
At 04:10 PM 2/25/2003 -0800, Todd Barr wrote:
I have tried this 3 different ways and none of them worked...
I am trying to get javascript
At 04:54 AM 10/4/2002 -0600, Peter Janett wrote:
You can just put the username and password in the MySQL database as normal
text, then build your applications that are reading them to check the
passwords with the UNIX Crypt function.
Basically that is what I am trying to do. I just converted a
At 01:54 PM 10/4/2002 +0200, lallous wrote:
Peter, I think he's stuck with the parsing part?
you can file() the /etc/passwd file then explode() it and add the
username,passhash parts and/or more values into the mysql table.
I can parse the file just fine, what I am trying to do is actually make
I am using fsockopen to test several of our SQL and WEB servers at our
office. Testing ports 80, 1433 and 8080 work fine, but I would like to
set something up to test ports on our mainframe. These are printers
listening on 9100 and when I test it fails. I don't see anything in the
online
Has anyone seen or know if it is possible to use PHP to test if a SQL
server is alive on port 1433? I know I could run a query, but was looking
for something to actually test on the port.
Thanks,
-Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thank you Miguel! I was missing the /86400 and it works much better now
:)
On Thu, 9 May 2002, Miguel Cruz wrote:
On Wed, 8 May 2002, Scott St. John wrote:
Sorry to be so thick this morning, but I have a unix time stamp in my MS
Sql server that is the date, plus 60 days to expire
Morning
I am working on a password aging system that will force a user to change
their password every 60 days. Can anyone recommend the best method for
taking the current date and adding 60 days to that number? Should I do a
unix timestampe and add or strtotime and add 60 days?
Thanks,
Will the fact that the server is on NT be a problem?
On Tue, 7 May 2002, John S. Huggins wrote:
On Tue, 7 May 2002, Scott St. John wrote:
-Morning
-
-I am working on a password aging system that will force a user to change
-their password every 60 days. Can anyone recommend
I second that! I was to the point where I bought Ultra Dev but only used
it for table layout and then spent the rest of my time in Home Site. Now
with the new Dreamwever MX Home Site is built in. I was able to complete
a site I was working on in PHP in about an hour last night! Since Home
Macromedia/Allaire Home Site 5.0 has PHP color coding, not auto-complete,
but you can customize it for auto-complete if you want. You can also
make it tab 2 instead of 4 :) It's been my editor since the free version
1.0 and it's a work horse. And Home Site has Ultra Dev/Dream Weaver
Change nvarchar to varchar, ntext to text. I do not think you can return a
nvarchar from SQL Server like that. Was this imported from Excel?
-Scott
On Mon, 22 Apr 2002, Jeff Hatcher wrote:
I'm running Advance Server with MSSQL 2000 Enterprise.
I can not get php to return more than 255
Kelly-
My way may not be perfect, but this is what I do.
$sql_temp = select last_insert_id() as mainid from transfers;
$sql_result_temp = mysql_query($sql_temp,$connection);
$row_temp = mysql_fetch_array($sql_result_temp);
$file_temp_id = $row_temp[mainid];
-Scott
On Wed, 17 Apr 2002,
I have been trying to organize my code better by using functions,
especially where I am repeating logic. The problem seems to be when I run
a condition within the function, an if statement to check for results of a
variable. As is the code seems to be bypasses, but if I put a die; in the
On Tue, 16 Apr 2002, Erik Price wrote:
First of all, try organizing your code using whitespace. Here is an
example of the code, formatted to be a bit easier to read:
Thank you, that was Pine doing some nice formatting tricks of it's own.
Now, my first question, is why do you have $userID
I have developed a security application for our intranet that handles a
user login. It writes values to a cookie and uses that to verify them on
the intranet sites until the sessions expire.
Since we have not totally moved over to PHP I have some ASP applications I
need to protect as well.
On Wed, 10 Apr 2002, Gordon Stewart wrote:
As far as I know - ALL cookies set by a particular server - can be read
re-set by any programme / process on the same server / website..
So your ASP script could read your PHP cookies vice-versa..
I'm just learning PHP, dont know cookies as yet (I
Custom 404 what? Do you want to make one?
On Tue, 2 Apr 2002, Craig Donnelly wrote:
Custom 404
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
? echo phpinfo(); ?
On Mon, 1 Apr 2002, vins wrote:
Happy Happy Easter.
and to all you peeps out there who don't celebrate this day.
Hope you enjoyed your day.
And just too keep the cool
How do i run that script that give all the information about php ?
Someone told me the you type
Help! I have not had a need to use sessions or cookies on PHP until now.
My experience has been to use Sessions in ASP. I am building a system to
have users log in and then drop a cookie on their machine so they can log
onto other apps. It's an internal app. The cookie will contain a
I didn't think Programming PHP was out yet?
On Tue, 26 Mar 2002, Rasmus Lerdorf wrote:
Or, of course, if you want to be cool like Carl:
http://lerdorf.com/buy/
;)
-Rasmus
On Tue, 26 Mar 2002, Ralph Friedman wrote:
In article [EMAIL PROTECTED], Septic Flesh wrote:
I
Not really a bad question as both are great tools. If you are new to Perl
check out the Perl Beginners group. Wonderful group of people and very
patient with newbies. Make sure you read up on things you are trying to
do before you ask the how do I do this question.
-Scott
On Wed, 20
Yes, I have tried that. To view them on the next page I would call
them as $choice[0];$choice[1];, etc, but only the first item in the list
is available.
-Scott
On Thu, 14 Mar 2002, Erik Price wrote:
Did you try putting brackets at the end of the input names? This tells
PHP to put the
Ok, how about a code snipet since I seem to be blind this morning. The
select box code:
select multiple=yes name=groups id=av
?
$sql = select groupID,groupName from groups order by groupName;
$result = mssql_query($sql,$connection);
while($row = mssql_fetch_array($result)){
$groupID =
On Thu, 14 Mar 2002, Erik Price wrote:
Sure! First go get a cup of coffee! :)
Then change the first line to say this:
select multiple=yes name=groups[] id=av
Let me know how that works for you.
Erik-
I don't do coffee, but the Iced Tea works just as well :) Thank you, all
is well and my
Hi gang-
I am working on a javascript box that will allow the user to drag values
from one select box to another. I will use this box to set the values.
This is a standard, multiple select box. On the next page I need to
figure out what PHP is doing with the data coming in.
If I send 5
Hi everyone,
I am trying to format a number for a report, the one consistant thing is
the three decimal places. But I need to strip them, then fill in zero's
from the left.
So, if the number coming in is 8.000 I need to convert to 00800, 11.070
would convert to 01107.
I have tried a
Lightwood Consultancy Ltd
http://www.lightwood.net
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: 08 March 2002 17:02
To: [EMAIL PROTECTED]
Subject: [PHP] number_format
Hi everyone,
I am trying to format a number for a report, the one
Call me silly, but I would just call the hidden values:
$order1 and $order2
Did I miss why they both must be called order?
On Tue, 5 Mar 2002, karthikeyan wrote:
Hi Guys,
I allready posted this question in detail but I believe I didn't explain it
properly
There are 2 hidden
1)Create the db in mysql: mysqladmin -u (your user name) -p (if you have
a password) create (new database name)
2)mysql -D (the name you used above) (the text file)
Works on Unix and 2000. Is that what you mean?
-Scott
On Mon, 4 Mar 2002, Wilbert Enserink wrote:
Hi all,
I have a
Black background, white text used to work :)
On Fri, 1 Mar 2002, Diana Castillo wrote:
Is there any way tomake a page that cannot be printed??
--
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
Seriously, another option that works in IE would be to use the link tag
in the head of the document Put an alternate document in the tag
so when they print the page you can control the content Here is the
tag:
link rel=alternate media=print href=whatevertxt
-Scott
On Fri, 1 Mar 2002, Diana
Just download the CGI version and call it from the command line I am
doing a project now based entirely on the command line using PHP as a file
parser on Win 2K You can add it to your path or just call it:
c:\php\phpexe -q nameOfScriptphp
Make sure you write it like a normal PHP script with
I am currently building an intranet security system to handle internal
users and the web applications we have.
When we are done we will have the ability to add/remove users, control
what apps they can and can't see, etc. One thing I would like to be able
to do is set up groups and have the
Thank you. What I am trying to avoid is doing a parsing of the string
everytime a user comes in. My thought is to use a user table, a group
table and then a permissions table that will allow the user to be a member
of more than one group.
Thank you,
-Scott
On Wed, 27 Feb 2002, Julio
36 matches
Mail list logo