[PHP] Re: Documenting Code Question

2005-06-13 Thread Bogomil Shopov
Hi Cris,
I think object is necessary  for PHPDoc standart (or similar);) But a
detailed description of what object contains will be very helpfull.
Unfortunatly you should make it in a separate file.

-- 
Bogomil B. Shopov
http://purplerain.org



Reply ---

Chris Drozdowski wrote:
 I need some help regarding documenting code. Say you have a
 function/method that takes an object as a parameter and/or returns an
 object.
 
 When documenting, do you specify the specific class of the object when
 listing the datatype in the docblock @param and @return specs or do you
 simply specify object?
 
 
 Thanks,
 
 Chris Drozdowski
 [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Form to email with Special Characters

2005-01-06 Thread Bogomil Shopov
Hello Can you show me the script?
Please look first at mail functions on php.net/mail to see how to use
headers (and encodings too)

Best Regards
Bogomil Shopov
http://purplerain.org

Hugo Tavares wrote:
 Hello:
 
 I'm new (very new) to php.
 
 I'm making a simple srcipt wich sends and email from a form.
 
 My problem is tha special characters like  etc don't work.
 
 Can anyone help me?
 
 Thanks 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Saving Files

2005-01-05 Thread Bogomil Shopov
Hello
Yes you can do that. Please follow the steps:

header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename=downloaded.pdf');
readfile('original.pdf');

 Bogomil
http://purplerain.org


[EMAIL PROTECTED] wrote:
 Hi all.
 
 Note, this may be a bit off topic.
 
 With that said... I am wanting to save a file off my website to a certain 
 location on my computer. Is there a way to click on a button (or something) 
 and that invokes the download, which then saves to (for example) 
 C:\SomePlace\Directory\Pizza\sausage.txt?
 
 The whole process:
 1. User uploads from a specific location (that I already know)
 2. Modifies the file via the web
 3. Saves/downloads the file to that exact location as pulled from and 
 replaces the old file
 
 It seems as though this can be done but I have not found a way to do it, and 
 I have searched a lot. Any thoughts on how to?
 
 Thanks in advance,
 ~Philip

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: php terminal.

2004-12-21 Thread Bogomil Shopov
Hello
First try to ask what permissions you have on your server. After that if 
you have permissions you can using system() command to emulate some 
functionality.

Regards
Bogomil Shopov
http://purplerain.org
Adwin Wijaya wrote:
Hello all..
Since my webhosting didnt provide me with telnet access, I would like to
have a small software that created by php to do some bash function such 
as lynx, ls etc ?

thx a lot :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: strlen question

2004-07-23 Thread Mr. Bogomil Shopov
try isset()
Bogomil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: string filtering

2004-07-21 Thread Mr. Bogomil Shopov
Hello
http://bg2.php.net/manual/en/function.preg-match.php
Regards
Bogomil
http://spisanie.com/indexen.php - WebDevMagazine

C.F. Scheidecker Antunes wrote:
Hello all,
I need to filter some strings. They can only contain characters like 
a...z or A..Z and 0..9. Some strings have blank spaces, -,./?, 
characters that must be discarded. I wrote a function to check each and 
every character but I guess there must be something else more efficient.

Any suggestions?
Thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: is there any application ,

2004-06-21 Thread Mr. Bogomil Shopov
hello , yes there is a phpBlender application.Please look at
http://phpblender.com
All the Best
Bogomil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP Contest (rev2)

2004-06-21 Thread Mr. Bogomil Shopov
The Spisanie.com Magazine together with its enlisted partners is the 
organizers of the Balkan PHP programming/developing competition. The 
first stage had already been started and will reach completion on the 
15th of July 2004 with the following task:

Development of an encryption algorithm for communication.
- To be structured in two methods  name_encode and name_decode (see 
example);
- The possibility for the input of more than one parameter;
- The completed solutions are to be tested on versions from 4.2.x to 
4.3.6. (or the latest version of PHP4 available when the evaluation is 
to be performed);
- If your script is for a specific version  please let us know by 
writing it on the attached file as well as any other stuff youd like us 
to take into consideration;

There are no limitations for the algorithm type, encryption level and 
what is to be encrypted. Which means it is up to your creativity.

Prizes are:
- Zend Studio 3.5
- Maguma Workbench (more info?)
- NuSphere Editor (PHPEd)
- TemplateTamer (Developer edition)
- ionCube Cerberus Encoder
- ionCube Standalone PHP Encoder.
- Activestate Comodo IDE
and a lot of Beer ;))
More info at: http://php.spisanie.com/
Bogomil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Can I make make email accounts in vpopmail using PHP

2004-06-18 Thread Mr. Bogomil Shopov
Can I make make email accounts in vpopmail using PHP.
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Can I make make email accounts in vpopmail using PHP

2004-06-18 Thread Mr. Bogomil Shopov
Thanks Smarty ;)))
I would like to know How I can make user email accounts using vpopmail, 
but Not using PECL extension.

Regards
Bogomil
Jay Blanchard wrote:
[snip]
Can I make make email accounts in vpopmail using PHP.
Thank you
[/snip]
Yes.
You're welcome
http://catb.org/~esr/faqs/smart-questions.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP and MySQL problem, please help

2003-11-18 Thread Mr. Bogomil Shopov
hi folks,
A query  in mysql become with STATE set to STATISTICS and all queries 
after this query are LOCKED.
What is the decision please.

Best Regards
Bogomil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP Conf 2004 Sofia, Bulgaria

2003-11-07 Thread Mr. Bogomil Shopov
The first Web Technology conference in Bulgaria will be held in March 
2004 at the city of Sofia. Within its framework, the first PHP 
conference will be held. The purpose of this meeting is to discuss the 
new tendencies in this direction and to popularize the Internet 
technologies in the spheres of business, education, services and to 
support the technological progress of Bulgaria. The range of subjects 
includes technologies like PHP, ASP, PERL, Escapade, Business systems 
through Web, education through the Internet, and others.

Registration and information here: 
http://webdevmagazine.co.uk/conf/index_n.php

Regards
Bogomil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: COM and PHP.ini

2003-11-07 Thread Mr. Bogomil Shopov
see this page
http://purplerain.org/article.php
ensure that are you using all necessary settings
Regards
Bogomil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP and XML help needed

2003-09-11 Thread Mr. Bogomil Shopov
Hi folks
How I can put some php code in a XSL template.
I have a function that returns a value and I want this value to be entered
in a  img tag in XSL template?

Thanks
Bogomil

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] ActivePHP help

2003-07-22 Thread Mr Bogomil Shopov
I have compiled php4activescript.dll and a register it with regsvr32 and
then when i try the sample code , didnt work, please!


Bogomil



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: XML + XSL

2002-12-17 Thread Bogomil Shopov
xsl:script language=javascript
![CDATA[
pos = 0;
function getpos(spos){
epos = spos + 4;
pos = pos + 1;
if(pos = spos  pos = epos){
return true;
}else{
return false;
}
}
]]
/xsl:script






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PDF Lib

2002-12-16 Thread Bogomil Shopov
hi folks
Is there any way to include in PDF file .gif file with more than 8 colors?

Error:Warning: Internal PDFlib warning: Color depth other than 8 bit not
supported
in GIF file


regards
Bogomil



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PDF Lib

2002-12-16 Thread Bogomil Shopov
yes thats right but what that error mean:
Error:Warning: Internal PDFlib warning: Color depth other than 8 bit not
supported
in GIF file

regards
Bogomil



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: PDF Lib

2002-12-16 Thread Bogomil Shopov
thanks a lot



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PDF Lib problem with Gif files

2002-12-13 Thread Bogomil Shopov
Fatal error: PDFlib error: Bad image number -1 in PDF_place_image

Anyone to have any idea

Best regards
Bogomil Shopov






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: PDF Lib problem with Gif files (2)

2002-12-13 Thread Bogomil Shopov
Warning: Internal PDFlib warning: Color depth other than 8 bit not supported
in GIF file



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php