Or..
$required = array($name,$addr,$phone);
foreach($required as $x) {
if(!$x) {
print "error";
}
}
~Ryan
- Original Message -
From: "Philip Hallstrom" <[EMAIL PROTECTED]>
To: "Brandon Lamb" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 20, 2001
You can do this in a per-page basis w/:
$modified = stat("yourfile.html");
echo date("l, F dS",$modified[9]);
(As with most things ;).. this can be found in the manual. Check @
php.net/stat for more info..
%Ryan
> -Original Message-
> From: oliver walkhoff [mailto:[EMAIL PROTECTED]]
That's likely not the problem.. More the fact that if you don't have the
"ServerName" directive set to match the ip address you're accessing it
with in this case.. (unless you have DNS pointing a domain to it that's
configured as a vhost).
So, try adding the line:
ServerName 209.204.111.121
To
Just a refresher.. I never got any feedback on this, and would
appreciate any input anyone has.
Thanks!
Ryan
> -Original Message-
> From: Ryan Christensen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 26, 2001 6:03 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Try
First.. here's the synopsis of what I'm trying to do:
I'm working on a site where everything is based off a really simple template
system I'm using, see the chunk of my index page that deals with the plates
for example:
-
$tmpl_file = fopen ("./templat
BY
'\n'
.. for anyone who might have been looking for the same thing.
Thanks!
Ryan
> -Original Message-
> From: Ryan Christensen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07, 2001 3:34 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Rewriting a textfile fo
I have a few thousand entries that have been (until now) stored in
text-files that I need to get imported into a MySQL database for a new
system I'm writing that makes use of them. So.. the long and short of
it, I was wondering if someone could help me write a script (or supply
me with one.. Perl
Pretty sure it can, it just prompts the user before it is closed..
(otherwise JS would have a BIT too much power :)
Ryan
> -Original Message-
> From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07, 2001 1:12 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subjec
I'm curious as to how the "hacker" would see all this information (the
username.. password, etc..) just by going to a site where the SQL backend
was down?
Ryan
> -Original Message-
> From: BRACK [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07, 2001 12:36 PM
> To: [EMAIL PROTECTED]
; Subject: [PHP] Re: Installation error..
>
>
> hi Ryan,
>
> did u make clean on your php 2?
>
> i can't recall, u must delete a file config.*** (i can't recall the
> extension...) b4 u reconfigure...
> refer in the php install.txt
>
> hope it works :)
Quick question..
I'm installing PHP 4.0.6 on a fresh install of Trustix 1.2. It compiles
fine (I've even slimmid down the modules I'm compiling it with down to
just apxs+mysql), but when I try to restart apache, it gives me the
following error:
Starting httpd: Syntax error on line 241 of /etc/h
-
Ryan Christensen
> -Original Message-
> From: Kees Hoekzema [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 22, 2001 11:41 AM
> To: Ryan Christensen
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] PHP shell scripting..
>
>
> Hello Ryan,
>
> Let me gi
while
executing the script)?
Thanks in advance for the help!
-
Ryan Christensen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [
No.. as I said in my original post, this is on Linux.. so I was actually
wondering how it would be a risk in Linux.. not win..
Ryan Christensen
OlyPen Technical Support
[EMAIL PROTECTED]
360.457.3000
800.303.8696
- Original Message -
From: MaD dUCK <[EM
I wouldn't be asking.. :)
----
Ryan Christensen
- Original Message -
From: Matthew Schroebel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 5:32 PM
Subject: Re: [PHP] Uptime script?
> If you were trying to take
That's what I was wondering.. hehe.. I just want to be able to show users
that the server is stable.. (this is for a server-status page.. shows
general information.. only for members of the site anyways.)
Ryan
> -Original Message-
> From: Christian Reiniger [mailto:[EMAIL PROTECTED]]
I know I've seen one before, and before I go write my own version, does
anyone know of a PHP script that echoes the uptime of a server (Linux) in
days,hour,minutes, etc?
Thanks!
Ryan Christensen
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
I personally use EditPlus (v2).. I really like it's syntax highlighting..
I've also heard good things about PHPed..
----
Ryan Christensen
- Original Message -
From: Daniel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09
Does anyone know of a Perl to PHP converter? (I'm just about to start
searching the net.. but wanted to see if I could save myself some time by
looking here..)
Thanks!
Ryan Christensen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
just so we can
save some money? (even though PHP is already free!!!)
hehe..
----
Ryan Christensen
OlyPen Technical Support
[EMAIL PROTECTED]
360.457.3000
800.303.8696
- Original Message -
From: Philip Olson <[EMAIL PROTECTED]>
To: Mike <[EMAIL PROTECTED
If you want it quicker though, I would suggest what Egon says.. it's not
that hard to find.
ttyl,
Ryan
Ryan Christensen
OlyPen Technical Support
[EMAIL PROTECTED]
360.457.3000
800.303.8696
- Original Message -
From: Nathan Handler <[EMAIL PROTEC
hanks!
Ryan Christensen
OlyPen Technical Support
[EMAIL PROTECTED]
360.457.3000
800.303.8696
- Original Message -
From: Nathan Handler <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 3:19 PM
Subject: Re: [PHP] Old PHP.net website..
>
ould automate this process, going through all the documents in
a directory, and making the needed changes?
Thanks in advance..
----
Ryan Christensen
OlyPen Technical Support
[EMAIL PROTECTED]
360.457.3000
800.303.8696
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
I think he's referring to the comment below.. ;)
Ryan Christensen
OlyPen Technical Support
[EMAIL PROTECTED]
360.457.3000
800.303.8696
> -Original Message-
> From: Jon Haworth [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 08, 2001
I'd definitely agree with that.. I've been using EditPlus for quite a while
now, and have no complaints..
""PHPBeginner.com"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Have you tried EditPlus? www.editplus.com
>
> they are especially good for search, repl
25 matches
Mail list logo