hi list,
I am given a task to connect to a database and display the info there onto the Web.
So that whatever changes are made in the database...my web page will also show the
newly changed data. I am planning to try doing this using PHP but as i am new to
php...i don't know how to go about
If you put that in the file itself, there is not much point though?
If I do say:
if (md5($_SERVER['PHP_SELF'])<>'asda8sd6asd7'){ ...
Anyone with access to the file could just comment that out and the script
self check wouldn't work.
I have honestly no idea how that pearl file did it, but
y
Hi guys,
another quick one. I was wondering what you'd have to do
with a function, so it would be able to have 'optional' parameters
when calling it.
much like:
string substr ( string string, int start [, int length])
where you can just omit the [, in length] part if you want.
What do you hav
I get a parse error and maybe its just me but I cant see what I am doing
wrong maybe someone could cut through my c**p and tell me
error:
Parse error: parse error, unexpected T_VARIABLE in
/hsphere/local/home/dancing/dancingdivaz.net/development_side/layout/code/fu
nctions_video.php on line 41
Nevermind I found it
Dylan Barber
www.codegalaxy.com - A webservices company
DotNetNuke Portal Specialists
Simple Affordable & Reliable - Web Design, and Programming
> -Original Message-
> From: Dylan Barber [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 09, 2004 4:24 AM
> To:
Very easy, check out
http://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list
Regards Henrik Hornemann
-Oprindelig meddelelse-
Fra: Ragnar [mailto:[EMAIL PROTECTED]
Sendt: 9. august 2004 10:59
Til: [EMAIL PROTECTED]
Emne: [PHP-WIN] optional function parameters
http://www.hkvstore.com/phpmaker/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> another quick one. I was wondering what you'd have to do
> with a function, so it would be able to have 'optional' parameters
> when calling it.
>
> much like:
>
> string substr ( string string, int start [, int length])
>
> where you can just omit the [, in length] part if you want.
> What do yo
Hi everyone,
I've seen several examples of passing arrays by reference such as the
following:
$a = array();
function foo(&a)
{
for ($i=0; $i < 10; i++)
{
$a[$i] = $i;
}
}
foo($a);
echo "";
print_r($a);
echo "";
However, when I try this on my setup, it
I've always used PHP on *Nix platforms. So I'm assuming that this is a
windows issue. Here is identical code
(1) on an MS server:
http://www.cgapdirect.org/annes/ProductCosting/contribute.php
(2) on a Linux sever:
http://www.language-works.com/cgap/contribute.php
The form variable values are dis
On Mon, 9 Aug 2004 17:28:40 -0400, Jim MacDiarmid
<[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I've seen several examples of passing arrays by reference such as the
> following:
>
> $a = array();
>
> function foo(&a)
function foo(&$a)
> {
> for ($i=0; $i < 10; i++)
> {
>
Thanks everyone for the help with this issue !
> > another quick one. I was wondering what you'd have to do
> > with a function, so it would be able to have 'optional' parameters
> > when calling it.
> >
> > much like:
> >
> > string substr ( string string, int start [, int length])
> >
> > where
12 matches
Mail list logo