[PHP-WIN] Session problem...

2002-02-15 Thread Brian Feliciano
how can i avoid this message in IE - Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you. To resubmit

[PHP-WIN] Classes

2002-02-13 Thread Brian Feliciano
i've seen a code like this... --- $conn = DB::Connect($connstr); $conn->query($sql); --- i think this is from PEAR's DB abstraction layer.. but my problem is, i don't know how to create a class like the 'DB'. I tried to, but i failed. How can i create an instance of a class witho

[PHP-WIN] reading from an excel file..

2002-02-12 Thread Brian Feliciano
how can i read data from an excel file?? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] binary

2001-11-28 Thread Brian Feliciano
how?? > --- Received from FPU.WHITES1 799 3703 28-11-01 11:49 > > -> [EMAIL PROTECTED] > -> [EMAIL PROTECTED] > > Use the BLOB datatype. You have to do a bit of work in uploading and > downloading and the current effective maximum size (due to the data packet > limit i

[PHP-WIN] binary

2001-11-28 Thread Brian Feliciano
can MySql can hold a binary data? is it possible to upload an image "inside" the database? i want to upload an image, but i don't want it to be a file, i want it to be a data in my database. is there a way i can deconstruct the image and place it in the database and then retrieve and reconstruct

[PHP-WIN] mulit dimensional array

2001-11-25 Thread Brian Feliciano
i have set up an array like this... array(),"qty"=> array()); ?> i am inserting an entry by: but i am getting an error of an undefined variable 'm' of which the first letter of $$myCart... how can i insert an entry to this kind of array? pls help. thanks.. -- PHP Windows Mailing List

Re: [PHP-WIN] mysql not giving result

2001-11-22 Thread Brian Feliciano
_unit.abbr, products.weight, > wt_unit.abbr, manufacturer.name, products.datemanuf, products.country, > products.order_inst FROM products, dim_unit, wt_unit, manufacturer WHERE > products.id='11' AND dim_unit.id=products.dimunit AND > wt_unit.id=products.wtunit AND manufact

[PHP-WIN] mysql not giving result

2001-11-22 Thread Brian Feliciano
; AND dim_unit.id=products.dimunit AND wt_unit.id=products.wtunit AND manufacturer.id=products.manufacturer >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thanks so much for the help, Brian Feliciano -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] upload image

2001-11-19 Thread Brian Feliciano
how can i upload an image?? i tested using copy( ) but it returned a Permission Denied error... please help...thanks. do i really have to do an ftp? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP-WIN] date problem

2001-10-30 Thread Brian Feliciano
this is my code: ereg("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})",$rowsko[2], $pdate); echo date("l, F j, Y [h:i:s A]", mktime($pdate[4],$pdate[5],$pdate[6],$pdate[3],$pdate[2],2001)); $rowsko[2] is equal to "2001-10-31 10:55:02" but the result was: Thursday,

[PHP-WIN] MySQL help!!!

2001-10-28 Thread Brian Feliciano
this maybe an OT but i accidentally revoked my mysql root. how can i fix this?? thanx -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] .diff files

2001-10-22 Thread Brian Feliciano
i've got a patch from source forge and received a diff file. how do i open .diff files. or what should i do to implement the scripts. thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP-WIN] phpmyadmin

2001-10-21 Thread Brian Feliciano
it doesn't works in my pc. i have win2k. > > try editing the index to use this: > > // checks if you have entered a username and a password > if (!$PHP_AUTH_USER || !$PHP_AUTH_PW) > { > // if empty, send header causing dialog box to appear > header('WWW-Authentic

[PHP-WIN] phpmyadmin

2001-10-21 Thread Brian Feliciano
i've got a copy of phpmyAdmin on my local and it's raw. is there a copy out there that have a user login or some security access before going inside the main database? thanks. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP-WIN] mysql php help

2001-10-19 Thread Brian Feliciano
this is maybe a beginners question, that's because im a newbie to PHP-MySQL i want to run UPDATE sql command and this is the sample code. if (!mysql_query ($sql)) echo("Invalid query".$sql); and i know that my $sql is correct because i tried to paste it to my PHPmyadmin and it works. how come i

[PHP-WIN] expecting a variable

2001-10-12 Thread Brian Feliciano
my login page (login.php) passes it's form elements to my main page (main.php). in my main page, i try to call the elements from my login page as $element1; but if go to my main page directly, without going to the login page, php tells me that $element is not initialized, which is true because it

Re: [PHP-WIN] php question

2001-10-12 Thread Brian Feliciano
"go.php"); > exit; > } else { > include ("error.php"); > exit; > } > } > > > > > Dan > -Original Message- > From: Brian Feliciano [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 12, 2001 9:09 AM > To: Sichta Daniel; [EMAIL PR

Re: [PHP-WIN] php question

2001-10-11 Thread Brian Feliciano
okay, this is what i want to do. i have a login.php that asks the user to login. and then if the login was successful the user will "redirected" to my main.php. and also if the user is already logged and went to my index.php, he will be redirected immediately to main.php i tried to do header("Loc

Re: [PHP-WIN] php question

2001-10-11 Thread Brian Feliciano
can i redirect using include/requre?? i think this like the serverside include for php... > Hi, > > You can use Include or required instead !! > > Dan > > -Original Message- > From: Brian Feliciano [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 12, 2001

Re: [PHP-WIN] php question

2001-10-11 Thread Brian Feliciano
thanks Ig! is there a better way than this? What i am doing is a login page. if the login is a success, then i will redirect it to the inside pages. thanx! > header("location: http://mydomain.com/index.php";); > > > - Original Message - > From: "Brian Felic

[PHP-WIN] php question

2001-10-11 Thread Brian Feliciano
ive been using ASP and now i'dlike to try PHP. But i cant seem find the counterpart of response.redirect to the PHP language. Pls. help. thanks. -- B R I A NF E L I C I A N O == Server Administrator The Websense Group Co. - Unit 103