always do serverside - that the only secure option -
use clientside (in addition) as a favour to the user to avoid repeated
page requested to fill the form in correctly. (or in order to rearrange
data before submitting to server)
Matthew Oatham wrote:
Yes I agree I need some validation, dunno w
user curly braces around your arrays in the string e.g:
$sql = "INSERT INTO x VALUES ({$_SESSION['add']['name']} ";
oh, and unless add & name are actually constants you should always wrap
them in single quotes. (php will covert the non-exstent constant into a
string a issue an E_NOTICE + its
> $sql = "INSERT INTO x VALUES ({$_SESSION['add']['name']} ";
>
> oh, and unless add & name are actually constants you should always wrap
> them in single quotes. (php will covert the non-exstent constant into a
> string a issue an E_NOTICE + its overhead)
well that got me on the right track..
how would you assign NULL to a variable if its original value is ""? otherwise leave
it with its value...
the form im working on has a date field called "date" on the form itself. that "date"
will get turned into $_SESSION[add][date] on the next page...
i want it so if the person filling out the
By upload meter do you mean a progress bar which can tell a user how
much of a large upload has been processed thus far?
As far as I understand it PHP cannot access raw POST data so this cannot
be done with PHP alone.
Thanks for the mention pablo. megaupload does indeed get a little help
from
I was making a parabola grapher and I was testing out some values. Part of
the script is to take the variable b and multiply it was negative one, then
multiply by 2 times a. I entered a test value where a equals 1, b equals 0,
and c equals 0. The result told me that -1 times 0 is -0.
Here's the
[EMAIL PROTECTED] (Nathan Croker) wrote in
news:[EMAIL PROTECTED]:
> Thank you for your reply.
>
> Yes the user has permission to execute chmod since when I access the
> server using an FTP Client it works perfectly.
>
> - Nathan Croker
>
> (amazing as a result of one post, I get 6 different s
[EMAIL PROTECTED] (Nunners) wrote in
news:[EMAIL PROTECTED]:
> I've got a series of functions which return a list in an array. How
> can I create an empty array? Or do I need to check it's a valid array
> before I use it?
>
> Cheers
> James
This may be helpful:
http://uk.php.net/manual/en/la
[EMAIL PROTECTED] (Mathias brito) wrote in
news:[EMAIL PROTECTED]:
> Hello, I made a script that make a backup of the
> entire site with the PHPZip lib. It's works well with
> small sites, but when the size grow, i receive the
> following message:
>
> Fatal error: Allowed memory size of 1048680
Hi ..
i just wonder, is there any way to detecting the type of field
(like textarea, button, radio, etc) from $_REQUEST / $_POST ?
I need to detect that all .. because I want to put a script that
will remove html tag (with htmlspecialchars() function) ... and
the problem happen whe
On 5 Apr 2004 [EMAIL PROTECTED] wrote:
> When doing apachectl startssl I get:
>
> [Mon Apr 5 12:19:53 2004] [warn] Loaded DSO libexec/libphp4.so
> uses plain Apache 1.3 API, this module might crash under EAPI!
> (please recompile it with -DEAPI)
Sorry, I just realized there is a sep
--- adwinwijaya <[EMAIL PROTECTED]> wrote:
>i just wonder, is there any way to detecting the type of field
>(like textarea, button, radio, etc) from $_REQUEST / $_POST ?
Nope.
>I need to detect that all .. because I want to put a script that
>will remove html tag
You should filt
hey,
yes it would take 2 steps i made a script like this before so i know, i
stpent much time looking for it, but php doesn't get info like that because
it is running on the server and not the computer or viewer's computer
From: E.H.Terwiel <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To:
What exactly does this do:
/< (?<=p|br) [^>]+ >/x
It may work, I just want to understand what it's looking for.
Thanks,
Matt
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Matt Palermo ([EMAIL PROTECTED]):
> > I have a page where I am stripping the ht
I've already a php function that outputs a file from a folder outside the www
path to a page, but I can't find a way to do this and then close the window
where it was outed. Any 1 can point me in the right direction?
Thanks,
Vicente
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
I'll try to explain..
For example I have a link: "index.php?fd=car"
then the Request part looks like this:
if(isset($_REQUEST['fd'])){
$dir = ($_REQUEST['fd']);
}
But for example I have a link "index.php?fd=car&c=green"..
How to Request more then one variable if I want to get something like th
http://pear.php.net/package/db
"Monty" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am trying to use fewer resources and processes when making database
> connections in my scripts, so, upon the first call to make a DB
connection,
> I store the Link Resource ID in a constant vari
101 - 117 of 117 matches
Mail list logo