[PHP] mandriva and gd problem

2007-09-11 Thread marc serra
Hi all, I have php 5 and gd install on a mandriva and i'm working with it since a long time. Now i want to use functions like imagepstext that require gd with t1lib enable. I work with a mandriva server so i use urpmi to install php extensions and other programs. I've successfully installed

[PHP] function with argument of type array

2005-07-28 Thread marc serra
Hi, i want to know if it is possible to create a function and declare that one of its arguments is array type. In fact i want to do something like this function test(String $litteral, array $foo){ . } I got an error when i do something like this. Can you help me please? Thx, Marc --

[PHP] Change Object Type

2005-04-25 Thread marc serra
hi, i'm looking for a solution to change the object's class. i got a class and a derived class like this: (just for example, completly stupid ^^) class Ex{ var a; var b; } class Ex2 extends Ex{ var c; } i want to create an object Ex and after change the object class to Ex2 to complete h

[PHP] Classe Variable

2005-04-20 Thread marc serra
Hi, i got a problem to write automaticaly varibles in classes. i got a simple object name test like this classes Test{ public $id; public $text; } i want to affect my value to my variable like this $test = new Test $champ = id; $valeur_champ = 4; $test->$champ = $valeur_champ; my exam

[PHP] uploading file

2005-04-13 Thread marc serra
Hi, i want to create a form to upload a file on a server. My problem is that i want to check the filesize before sending it because if the filesize is superior than 2 MB it failed and i don't want to wait for a long time for uploading a file that will fail. Can you please give me a solution to

[PHP] uploading files

2005-04-13 Thread marc serra
Hi, i want to create a form to upload a file on a server. My problem is that i want to check the filesize before sending it because if the filesize is superior than 2 MB it failed and i don't want to wait for a long time for uploading a file that will fail. Can you please give me a solution to

[PHP] Mail problem with PEAR

2005-04-12 Thread marc serra
Hi, i want to send an email with an attached file using PEAR classes. I succeed to do it with one recipients and more. I use an external SMTP to send it. My problem is that when i want to send an email with for example 4 recipients and 1 attached file, the mail is send 4 times to the SMTP serve

[PHP] RAD tool

2005-04-05 Thread marc serra
Hi, I'm designing intranet softwares with PHP. I want to know if it exists good RAD software to speed up developpement with a database. Like creating forms in relation with database in WYSIWYG mode. thanks for your answer, Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Mail with acknowledgement of delivery

2005-03-30 Thread marc serra
Hi, I got a problem with mail function. I want to know if it's possible to send a email in php and to get back an acknowledgement of delivery. My problem is that i want to know if my emails are delivered successfully to recipients. Can you please tell how to do this if there is a solution. than

[PHP] filling a pdf form.

2005-01-20 Thread marc serra
Hello, I got a problem with PDF. I got a PDF form that i want to put on a server to allow users to fill it. After this, i want to collect information entered by users and recreate a PDF file with all of them. It's important that's the original PDF file and the filled one had the same shape. Ca

[PHP] PEAR mail

2004-11-08 Thread marc serra
ody(stripslashes($html)); $body = $mime->get(); $hdrs = $mime->headers($hdrs); $mail =& Mail::factory('smtp',$params); $mail->send($recipients, $hdrs, $body); Can someone say me how to use pear package to send a mail to an adress and to send it in copy to

[PHP] uploading large files

2004-10-26 Thread marc serra
Hi, I'm designing a web site and i need to let users upload large files like 10M or more. I got some solution that are using common file transfert in PHP or using FTP transfert in PHP. The problem is that if someone upload a big file he will not have any indication about the upload status. Is t

[PHP] Send automatic emails

2004-03-29 Thread marc serra
Hi, I'm designing a bid system but at this time I got a problem to automatically send an email at the end of a bid. The only solution I'm thinking is to create a program that check every minute if a bid was finish and I would have prefer not to develop another program. If you have any soluti

[PHP] objects in session

2004-03-13 Thread marc serra
Hi, I got problem when i want to save object in session. I got my first page when I create my object and save it to session: Load($_Get['id']); $_SESSION['save'] = $test; ?> In my second page I want to retrieve my object When I do get_class($_SESSION['test']); I got

[PHP] Question on data loading

2004-03-08 Thread marc serra
Hi, I'm currently designing a website with a catalogue containing lots of products (more than 1000). To reduce response time to database, I want to know if there is a solution like loading all objects in memory for all users like a servlet could do in java and after giving to each people conne

[PHP] auto increment

2004-02-17 Thread marc serra
Hi, i use PEAR DB with a mysql database and i want to know if there is a solution to get last inserted id in a table. I see that I can use sequences but it doesn't work with mysql. Thanks, Marc.

[PHP] zip problem

2004-02-16 Thread marc serra
Hi, I want to know if it's possible to extract a zip file in PHP. I've read php documentation on ZZIPlib but i don't find any solution to extract file. Can you please help me to solve it. Thx in advance, Marc

[PHP] File input in form

2004-02-16 Thread marc serra
Hi, I'm designing a form with an file upload process. So I've wrote something like this: This work perfectly and now I got my file valid_form.php which receive the data: In that page I want to call a function to store file like this storeFile($fichier); ps :when I

[PHP] session problem

2004-02-04 Thread marc serra
When the header function is called I'm correctly redirected on the right page but all my session variables are destroyed. Can you please help me resolving this problem. I've tried directly entering the path for redirection like that: header("Location: index.php"); but

[PHP] Help on using PEAR DB

2003-12-16 Thread marc serra
Hi, I am Using PEAR DB and i got this error after I have upgraded php4 to php5. Fatal error: Only variables or references can be returned by reference in /var/www/php/lib/php/DB/common.php on line 766 Could anybody tell me what I can do to resolve that error. Regards, Marc.