[PHP] file upload via email

2004-04-22 Thread Yury B .
Hi, I believe there is possibility to upload html and other types of files to the site location via email. Using Cron I can make script to retreave POP3 email messages with sertain content/attachments which would be translated to the form of files and site update can be done this way. The

Re: [PHP] image upload

2003-10-06 Thread Yury B .
); imagecopyresampled($thumb,$img,0,0,0,0,$nw,$nh,$w,$h); // imagecopyresampled($large,$img2,0,0,0,0,$rw,$rh,$w,$h); imagejpeg($thumb,$thname,95); // imagejpeg($large,$rname,95); imagedestroy($img2); ? On 6 Oct 2003 at 8:09, Jason Wong wrote: On Monday 06 October 2003 00:32, Yury B. wrote

Re: [PHP] image upload

2003-10-06 Thread Yury B .
); imagecopyresampled($thumb,$img,0,0,0,0,$nw,$nh,$w,$h); // imagecopyresampled($large,$img2,0,0,0,0,$rw,$rh,$w,$h); imagejpeg($thumb,$thname,95); // imagejpeg($large,$rname,95); imagedestroy($img2); ? On 6 Oct 2003 at 8:09, Jason Wong wrote: On Monday 06 October 2003 00:32, Yury B. wrote: Hi I

[PHP] image upload

2003-10-05 Thread Yury B .
Hi I need to upload two resized images out from one jpg image. I use following code to do it: ?php $nw=100; //The Width Of The Thumbnails //$rn=400 $ipath = ./pics; //Path To Place Where Images Are Uploaded. $tpath = ./thumbs;//Path To Place Where Thumbnails Are Uploaded function LoadJpeg

[PHP] Redirect URL

2003-09-22 Thread Yury B .
Hi I have form in file register.php. The action of this form is the same - register.php the form validation script is included in this file like include(mail.php) In mail.php there is two sections - one is working if user didn't complete form properly another if everything okay. So, I need

[PHP] COUNT(*)

2003-08-01 Thread Yury B .
Hi I used to use old fashioned mysql quieries but moderm mysql apparently became more flexible so. I want to understand how to use some of the new features like COUNT(*) Let's say I have $result=SELECT COUNT(*) FROM pet; $sql=mysql_query($result); while ($row=mysql_fetch_array($sql)){

[PHP] Re: textarea rich replacement?

2003-07-16 Thread Yury B .
I know that you can set up HTMLArea and others for your needs. You can take away all functions that you don't need or hide them. All this triks you can find in manual Yury On 15 Jul 2003 at 16:21, Justin French wrote: Hi all, I've looked at both editize(.com) and HTMLArea, both of which

[PHP]inheritance

2003-06-30 Thread Yury B .
Hi I'm with PHP for 4 years now but have feeling that my code doesn't have much order. I only started to use functions, it helped me a lot but I believe if I would learn to wirk with classes that would be what I need. The question: I have class A, class B, and class C now class C extends B

[PHP] Re: GD library update

2003-06-21 Thread Yury B .
Thank you the problem is solved, I just downloaded php_gd2.dll from gd site and inabled it in php.ini Now everything is working as it should. Yury On 19 Jun 2003 at 17:24, Andrei BEJENARU wrote: Yury B . [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I need to use

[PHP] GD library update

2003-06-19 Thread Yury B .
Hi, I need to use function imagecreatetruecolor() in my script but it doesn't work on my local apache+php+mysql on XP server. It works fine on the real server though but i need to play with it around. What do I need to do to get it work? from docs I understand I need gd 2.0.1 or higher, well