[PHP] File Uploads Security Fix

2002-05-03 Thread Miguel Loureiro
Hello, after copy do_download.php to php4.0.6/main what I have to do? T.Y. -- Best Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE:mad .... again jpeg files...

2001-12-05 Thread Miguel Loureiro
Valentim said: Try to specify absolute path to the jpeg - possible php do not look up for jpeg in current folder... (or use './image.jpg')- but the image.jpg created had file size=0 Johan Holst Nielsen said: Try to remove all html, and instead make a ImageJPEG($img); You should then

Re: [PHP] problem with ImageCreateJPEG ...

2001-12-04 Thread Miguel Loureiro
Hello , sorry for taking your time, but I still dont understand why I got errors with pjeg... I use the following code on other machine with jpeg support to , and it works, while in my machine I got an empty jpeg file ? Header(Content-type: image/jpeg); $im=ImageCreate(400,200); $bcg =

[PHP] mad .... again jpeg files...

2001-12-04 Thread Miguel Loureiro
Hello all, I still having problem when use jpeg functions... I got: testout.jpg is not a valid JPEG file in .. , with follow code: Header(Content-type: image/jpeg); $img=ImageCreateFromJPEG(testout.jpg); ImageJPEG($img,a.jpg); ImageDestroy($img); testout.jpg was one image created by

[PHP] problem with ImageCreateJPEG ...

2001-12-03 Thread Miguel Loureiro
Hello all, anyone can help me in line command to configure php : './configure' '--with-mysql' '--with-apache=/usr/src/packages/SOURCES/apache_1.3.9/' '--with-zlib-dir=/usr/src/packages/SOURCES/zlib/'

[PHP] upload problem

2001-11-29 Thread Miguel Loureiro
Hello all, when I want to do an upload ( form ENCTYPE=multipart/form-data action= . $PHP_SELF . method=post), sometimes ( having in form, several input file types, ex.:input type=file name=aa), after submit , dont show me the values uploaded ( aa_name ; aa_type) ?? Any ideas why ? thanks for

[PHP] Re:php modules

2001-07-25 Thread Miguel Loureiro
Sorry for taking your time, but I solve my problem, T.Y. Best RegardsMiguel Joaquim R. Loureiro [EMAIL PROTECTED] NEXTVISION - DEVTEAM www.nextvision.pt

[PHP] No more connection??

2001-05-18 Thread Miguel Loureiro
Hello , since may 15 I dont receive your mail , why I lost the connection???

[PHP] shutted down!!!!!

2001-05-18 Thread Miguel Loureiro
Hello all, but since 15 of May I dont receive mail from php-general-digest, and even from php-db-digest, there is any problem, or its my problem... Best Regards mailto:[EMAIL PROTECTED]

[PHP] require_once , include_once Vs irix

2001-05-10 Thread Miguel Loureiro
Hello all, when I use the functions require_once and include_once in Linux I have no problem (php 4.0.2), but using it in irix and in older version of php (4.04bl1) I have problems, any idea? Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] Re:user info?

2001-04-16 Thread Miguel Loureiro
Hello, have you saw the result of phpinfo(); try and see in Apache Environment, if make a login use a sessions... Good luck and good code Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] Re:Passing Parameter

2001-04-12 Thread Miguel Loureiro
By my understanding what Jack said,the problem can be solved with something like this: echo "a href="namefrom.ext?part_no=".$partvalue.""" and in nameform.ext you can use the partvalue... Hope that help, if its not what you want, well, sorry, and good luck, and cod

[PHP] Re:Passing Parameter

2001-04-12 Thread Miguel Loureiro
By my understanding what Jack said,the problem can be solved with something like this: echo "a href="namefrom.ext?part_no=".$partvalue.""" and in nameform.ext you can use the partvalue... Hope that help, if its not what you want, well, sorry, and good luck, and code.

[PHP] Sorry....sessions ... again...with code...

2001-03-23 Thread Miguel Loureiro
oila' here is a. I have try to follow some Jeff Armstrong tips, but I have no success.Thank you very much Jeff (really...I'm no jocking...). Any ideas ?? T.Y all Best Regards Miguel Loureiro [EMAIL

[PHP] session destroy???

2001-03-21 Thread Miguel Loureiro
, it continues appers sessions data, it's bad because someone can enter in my browser after me and make fully things in my page How can I solve this problem? I already try to use OnLoad and UnOnload events in Javascript T.Y all Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] variable on 2 forms

2001-03-14 Thread Miguel Loureiro
...???).I try to read directly $var2, but without result T.Y all Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] javascript question

2001-03-12 Thread Miguel Loureiro
Hello all, I have a small problem, when using IE4.0 the property, in javascript, document.name_form_nameRadio[n].DISABLED it woks fine, but in Netscape 4.6 it dont. Anyone can give an ideia or an url for more information. I know that this isn't a php question, sorry. T.Y. all Miguel Loureiro

[PHP] refresh

2001-03-08 Thread Miguel Loureiro
Hello, to refresh a site I use this (META HTTP-EQUIV="Refresh" CONTENT="300" ), but, now I make some updates im my right page and I want to refresh other page( left page of frameset ).How can I do it? T.Y. Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] blank spaces???

2001-03-06 Thread Miguel Loureiro
Hello all, is there any solution when working with variables that have blank spaces, because when read the variavel to a select, it only appears the first word (e.g. having: "aaa bbb ccc", it only appears "aaa"). T.Y.All Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] javascript VS php

2001-03-01 Thread Miguel Loureiro
arr[selectedIndex] with for cicle). If not possible(and I think it isnt), there is any solution? TY all Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] second select how???

2001-02-28 Thread Miguel Loureiro
without submited ?? T.Y. Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] listing files and directories...

2001-02-20 Thread Miguel Loureiro
Hello all, To see all fields(directories and files) inside a directory I use the "dir" and "read", what I would like to know is, if there other way to do the same, others commands because now I have to problems, I want to make a sort of the list (by name or by date), and I have to use my

[PHP] uploading...

2001-02-14 Thread Miguel Loureiro
Hi, I have a problem when I'm making an upload of big images (see attach), even having,in first step, a function that checks the file size, but when images are bigger the message(attach) appears . Anyone have some problem ? How can I solv this one? T.Y. Best Regards Miguel Loureiro[EMAIL

[PHP] rename?

2001-02-13 Thread Miguel Loureiro
ectory first, I mean , Mkdir(second_d) ? but the command its RENAME... or there are other, better , ways to do what I want. Consider that the directory d have lots of things (files and directories...). T.Y Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] radiobutton

2001-02-08 Thread Miguel Loureiro
Hello, I have sometging like this: input type="Radio" name="radio1" value=? echo $opt1 ?"Opt1 how I know if some user choose some radiobutton??? I tried if($opt1) , but without success.... T.Y. Miguel Loureiro [EMAIL PROTECTED]

[PHP] function problem ...

2001-02-07 Thread Miguel Loureiro
ndays() in Unknown on line 5". Anyone kows what is my problem ??? T.Y. Miguel Loureiro [EMAIL PROTECTED]

[PHP] Is correct ??

2001-01-31 Thread Miguel Loureiro
Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] Saving Images...

2001-01-24 Thread Miguel Loureiro
Hi, could you tell me how to save image created ( with ImageCreate , and other stuff ..), there is any SaveImageAs... or something like that ? Do you know where can I find tutorials about creating, using thumb nails? Thanks your time... Miguel Loureiro [EMAIL PROTECTED] ENJOY LIFE...

[PHP] Recompile GD ??

2001-01-18 Thread Miguel Loureiro
How can I do it ??? I installed jpeg-6b, and I readed that before recompile PHP(with option : --with-jpeg-dir=/.../jpeg-6b), I must recompile gd, its really necessary ? If si, how recompile gd. Thanks Miguel Loureiro [EMAIL PROTECTED]

Fw: [PHP] Images ???

2001-01-17 Thread Miguel Loureiro
-Original Message- From: Ignacio Vazquez-Abrams [EMAIL PROTECTED] To: Miguel Loureiro [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, January 16, 2001 7:36 PM Subject: Re: [PHP] Images ??? On Tue, 16 Jan 2001, Miguel Loureiro wrote: Hello, I want to show

[PHP] Images ???

2001-01-16 Thread Miguel Loureiro
information(ex: the name of the user, for that I'm using sessions), so can I do it, is it possible ? Thanks Miguel Loureiro