You will need to use the following techniques:
* In Apache you will need to enable mod_rewrite module
http://httpd.apache.org/docs/mod/mod_rewrite.html
this allows you to "remap" URI to any script, in your case you'd probably
want and request to "/news" to be mapped to for example /news.php etc.
Hi,
You'd be better off running this process from a command line, i.e. not
through your Web Browser as I'm more than certain that it will timeout if
you are to send 3000+ emails in a loop :). And then you'll have to start
again , and I'm sure your client won't be so happy if they were to get
multi
The function that you want is called: ucfirst()
http://www.php.net/manual/en/function.ucfirst.php
To make sure that string are consistant you might want to convert all
characters in the string to Lower case first then call this function. This
will ensure that stuff like "JoHn sMITH" gets convert
> I will look into JSP.
>
> Even on the same website, we could have two different languages: Maybe
> we'll use JSP for the transaction stuff, and PHP for customer support
> pages, where things are less critical.
Incidentally, PHP4 can also use some Java Serverlet or Bean. Check out this
bit from
> Also obviously, this capability isn't needed for most of what PHP is
> used for, and so maybe it doesn't belong in PHP, and maybe those of us
> who are writing more sensitive aps should look into other things. Any
> sugestions?
I suppose that if you *really* do need strongly typed language tha
Lol :)
Obviously they didn't even look at the ODBC functions part of PHP :)
Besides I don't know what they're bitching about DB abstraction layer
anyway. I mean Oracle SQL and MS SQL and MYSQL and Interbase SQL is
not exatcly compatible :) So even if you use the DB Abstraction layer
to connect to
> if i perform a SELECT query (say) like the following:
>
> SELECT email_addr FROM myTable WHERE x = 1
>
> in this query i want to pull-out (or list) all email
> addresses where x equals 1, however, suppose i don't want any
> duplicate email addresses... would i use ORDER BY and COUNT(*) to
get l
Try this site
http://www.cod.edu/people/faculty/lawrence/romaindx.htm
> -Original Message-
> From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 10:14 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] L?
>
>
> what does the roman numeral L mean?
>
> can someone po
Unix "Crypt" function is a one way encrypytion algorithm therefore you
can not technically decrupted as such. The way that you can check to
see if the given uncrypted value is equals to its crypted value is to
1) Crypt the string with the same "salt"
2) Compare this with the crypted version
If t
I can think of one way that you can take in an attempy to prevent
this.
It is not totally fool proof but it will make it more difficult
to send spoof data:
1) Check your HTTP refereer when the form is submitted. If the
referer is not from your host then don't process the form.
Of course this can
Hi,
To enumerate the key/value in ASP from the form you'd do this
<%
dim element
dim objForm
dim strURL
'/* We're creating an object so that it won't matter which
' * HTTP method the previous form uses.
' */
If LCase(Server.Request("HTTP_METHOD")) = "post" Then
Set objForm = Request.Fo
Hi,
Why do you want to access /etc/shadow from your PHP?. As a general
rules of thumb that's a pretty bad idea. The reason for this is that
/etc/shadow is owned by Root and it's *should* only be readable by
Root
and noone else.
Now in answer to your question "Why your PHP" script can't read
/etc
Humm... that's a bit difficult. There are easier solution:
1) Get your users to learn and usr SCP :) (not likely :))
2) Get a better FTP Server. There are better FTP servers out there other than
Wu-FTPD :). Try Pro-FTPD
3) SSH server to forward the FTP port (21). This will pass the "command" c
13 matches
Mail list logo