DO NOT validate anything important with javascript, the user can easily
bypass the javascript by creating his own HTML page or disabling javascript
on his browser. if you *Absouloutly* need to use javascript, check the last
page the browser visited with Javascript or PHP and either allow or deny
ac
Quiet? you GOTTA be kidding me, i got like 400 PHP email's here, I don't
have to time to read em all
On 12/1/05, Mehmet Fatih AKBULUT <[EMAIL PROTECTED]> wrote:
>
> hi.
> me is registered but till now have had no crucial questions to ask :p
> but soon will need professional help on php ldap functi
Yeah, Apache (or other web server) just gives the HTML page to the web
browser without really doing anything, if a page has a .php extension Apache
gives the page to PHP which proccesses it and returns it to Apache and
Apache gives it to the client. You could do what Matt Monaco says and let
every
-- Forwarded message --
From: Unknown Unknown <[EMAIL PROTECTED]>
Date: Dec 1, 2005 8:26 PM
Subject: Re: [PHP] script won't work on other server
To: Peppy <[EMAIL PROTECTED]>
execute this code:
print_r($_SERVER);
on a page, what is the result?
On 12/1/
Echo should be echo and also are you sure that you have those tables and
databases?? make some DB's called table1 and table 2 and in that make tables
db1 and db2 that might work...
On 12/1/05, Ahmed Saad <[EMAIL PROTECTED]> wrote:
>
> On 12/1/05, Albert <[EMAIL PROTECTED]> wrote:
> > The downside
What are the server types like Apache IIS or something else?
i am asking because the webserver might not give the PHP script all the data
from the browser like browser name and stuff...
On 11/30/05, Peppy <[EMAIL PROTECTED]> wrote:
>
> Short tags are on on both servers.
>
> - Original Message
I have heard from someone you must keep turning register_globals on and off
while restarting your web server for $_POST and $_GET to work
properly although I'm not very sure..
On 12/1/05, Norbert van Nobelen <[EMAIL PROTECTED]> wrote:
>
> register_globals=on will result in a totally non transpara
Thank you, my login script started to work and i'l find some functions to
clean data properly
aracters that will alter your SQL statement before you actually INSERT
> that value into your table.
>
>
> "Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> Doesn't that cause security problems?
>
> On 11/25/05, Matt Mona
Wow somehow I fixed the error, I don't really know how... oh well
PHP5 code is faster generally, and OOP is also accelerated a lot
On 11/25/05, Tim Meader <[EMAIL PROTECTED]> wrote:
>
> Are there any benchmarks that people are aware of comparing
> PHP4|PHP5|PHP5.1 as far as performance is concerned? I mean, it's easy
> to say that performance is improved... but
Coder
>
> http://www.ouradoptionblog.com
> Join our journey of adoption
>
> http://www.thelonecoder.com
> [EMAIL PROTECTED]
>
> continuing the struggle against bad code
>
> */
> ?>
>
>
> > From: Unknown Unknown <[EMAIL PROTECTED]>
> > Date: Fri, 25 Nov 2005 17:38:02 -0500
> > To: Richard Davey <[EMAIL PROTECTED]>
> > Cc:
> > Subject: Re: [PHP] $_GET and $_POST arrays not working
> >
> >
>
>
>
ot the class (the file containing the class
> definition is included on all necessary pages with
> require_once("file.inc.php");
>
> I want to create an object on one page ($obj = new MyClass();) and have it
> on other pages, all members and functions intact.
>
> Matt
>
>
Doesn't that cause security problems?
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> In php.ini (most likely located in your windows directory) look for the
> globals section and turn register_globals = on
>
> Matt
>
>
> "Unknown Unknown"
Well it returned all values with print_r(); but i can't access them...
this is what the page returns:
Array ( [Username] => SFF [Password] => dSF [EMail] => sfdf ) Array ( )
*Notice*: Undefined index: Username in *
D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *5*
*Notice*: Undefine
Do you mean passing the class statement or the vars? couldn't you format the
vars into mysql and pull them?
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> What is the best way to pass an object between pages? Currently I am
> first
> serializing, then doing a base64_encode, this doesn't
Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET and
$_POST arrays do not seem to be working, I am Sure I am spelling them right,
but i keep getting the errors:
**
*Notice*: Undefined index: Username in *
D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *3*
*Notice*: Un
Ah yes that fixed it, thanks
I was working with objects, and suddenly i got this error:
*Parse error*: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in *
D:\Apache\Apache(re)\Apache2\htdocs\Include.php* on line *11*
is this like a bug in PHP or is it a valid error?
thanks in advance
you only need 3 <<<
On 11/7/05, Curt Zirzow <[EMAIL PROTECTED]> wrote:
>
> * Paul Williams <[EMAIL PROTECTED]> [2005-11-07 12:31:17 -0500]:
>
> > I'm trying to write the following code into my program but each time it
> > runs, I get an error message. Can anyone help?
> >
> >
> >
> > print EO
I don't mean the php.ini file, I mean the extension directive setting in
php.ini
On 11/5/05, Unknown Unknown <[EMAIL PROTECTED]> wrote:
>
>
>
> On 11/4/05, Vizion <[EMAIL PROTECTED]> wrote:
> >
> > php 5 on windows xp with apache 2 and mysql 5.
> >
> > Php start up unable to load dynamic library:
> > E:\php\ext\php
On 11/4/05, Vizion <[EMAIL PROTECTED]> wrote:
>
> php 5 on windows xp with apache 2 and mysql 5.
>
> Php start up unable to load dynamic library:
> E:\php\ext\php_bz2.dll with error 'The specified module could not be
> found'
> same for and php_yaz.dll
> I have php5ts.dll in both E:\php\ and E:\php
why not
extract($_POST);
and use your old code or somthing like that,
same thing really if code don't work
how do you reference the sessions? do you refrence them *with* the old
arrays? because that would obviously be a problem
Hi everyone, i have some code that proccesses a login form. i have an object
$DB which works only in SOME areas, this is the code:
Query($SQL);
$UserInfo=$DB->QueryInfo("Array");
if($UserInfo==0) $Login="FALSE";
else $Login="TRUE";
//Make Sure the user is not a duplicate user trying to log in agai
Oh thanks again
and what does RTFM mean?
A thanks, i tried that before didn't seem to work, now it works
Thanks again!
Hi everybody i have a class that i reference with:
$DB= new DBInterface;
outside a function it works fine, but using $DB inside a function changes
the data type i think... i get an error saying i'm using a method on a
non-object...
any help appreciatted
you could also use javascript and forms, and maybe open up an iframe with
query strings probably
30 matches
Mail list logo