Re: [PHP] Re: Managing files on the client

2005-11-01 Thread Unknown Unknown
you could also use javascript and forms, and maybe open up an iframe with query strings probably

[PHP] Classes and Functions

2005-11-02 Thread Unknown Unknown
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

Re: [PHP] Classes and Functions

2005-11-02 Thread Unknown Unknown
A thanks, i tried that before didn't seem to work, now it works Thanks again!

Re: [PHP] Classes and Functions

2005-11-02 Thread Unknown Unknown
Oh thanks again and what does RTFM mean?

[PHP] Classes and Functions and If's (Problems Again)

2005-11-03 Thread Unknown Unknown
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: ?php require_once(Include.php); global $DB; $Username= $_REQUEST['Username']; $Password= $_REQUEST['Password']; $SQL= SELECT * FROM members WHERE Username='$Username'

Re: [PHP] Sessions and register_long_arrays

2005-11-04 Thread Unknown Unknown
how do you reference the sessions? do you refrence them *with* the old arrays? because that would obviously be a problem

Re: [PHP] Re: Register Globals

2005-11-05 Thread Unknown Unknown
why not extract($_POST); and use your old code or somthing like that, same thing really if code don't work

Re: [PHP] PGP 5 start up issue

2005-11-05 Thread Unknown Unknown
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\ext I

Re: [PHP] PGP 5 start up issue

2005-11-05 Thread Unknown Unknown
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_bz2.dll with error 'The specified module could not be found' same

Re: [PHP] PGP 5 start up issue

2005-11-06 Thread Unknown Unknown
I don't mean the php.ini file, I mean the extension directive setting in php.ini

Re: [PHP] Using the echo tag...

2005-11-07 Thread Unknown Unknown
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 EOF !-INSERT HTML

[PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread Unknown Unknown
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

Re: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread Unknown Unknown
Ah yes that fixed it, thanks

[PHP] $_GET and $_POST arrays not working

2005-11-25 Thread Unknown Unknown
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*:

Re: [PHP] Passing objects between pages

2005-11-25 Thread Unknown Unknown
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 seem

Re: [PHP] $_GET and $_POST arrays not working

2005-11-25 Thread 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*: Undefined

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Unknown Unknown
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 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED

Re: [PHP] Passing objects between pages

2005-11-25 Thread Unknown Unknown
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 Unknown Unknown [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP] $_GET and $_POST arrays not working

2005-11-25 Thread Unknown Unknown
does not need to have it turned on. Hope that helps . ?php /* Stephen Johnson c | eh The Lone 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

Re: [PHP] Any performance experiences to offer?

2005-11-25 Thread Unknown Unknown
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

Re: Re[2]: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Unknown Unknown
Wow somehow I fixed the error, I don't really know how... oh well

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-25 Thread Unknown Unknown
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 Monaco [EMAIL PROTECTED] wrote: In php.ini (most likely located in your windows directory

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-26 Thread Unknown Unknown
Thank you, my login script started to work and i'l find some functions to clean data properly

Re: [PHP] Re: $_POST won't work for me

2005-12-01 Thread Unknown Unknown
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 transparant

Re: [PHP] script won't work on other server

2005-12-01 Thread Unknown Unknown
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

Re: [PHP] Database Class Help

2005-12-01 Thread Unknown Unknown
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 of this

Fwd: [PHP] script won't work on other server

2005-12-01 Thread Unknown Unknown
-- 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/05, Peppy [EMAIL PROTECTED

Re: [PHP] Re: A basic question

2005-12-03 Thread Unknown Unknown
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

Re: [PHP] hi everyone

2005-12-03 Thread Unknown Unknown
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 functions

Re: [PHP] javascript, forms and php

2005-12-03 Thread Unknown Unknown
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