Re: [PHP] PHP4: calling method on returned object

2006-03-30 Thread Petar Nedyalkov
n PHP4 to allow me to concisely call a method > on a return object? eg. ($this->Location->GetMap())->GetUrl() .. which > doens't work. Try curly brackets. > > Thanks for any help, > > Karl Glennon -- Cyberly yours, Petar Nedyalkov Devoted Orbitel F

Re: [PHP] Re: object oriented syntax in php

2006-03-28 Thread Petar Nedyalkov
ing(7) "209.139" ["avg"]=> > > string(7) "211.979" ["max"]=> string(5) "2.840" } ["_transmitted"]=> > > string(1) "2" ["_received"]=> string(1) "2" ["_loss"]=> int(0) } >

Re: [PHP] Apache/PHP/MySQL/OpenSSL upgrade question

2006-03-24 Thread Petar Nedyalkov
ill never be ready for me." > ~ Me -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpEjF4LL3ytQ.pgp Description: PGP signature

Re: [PHP] Run a php script as a separate thread/process

2005-10-11 Thread Petar Nedyalkov
PHP Version 4.3.11. > > Thank you very much for your help.. > > Cheers, > Tommy -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpeIeTeZxuzR.pgp Description: PGP signature

Re: [PHP] How to automate php with crontab?

2005-10-03 Thread Petar Nedyalkov
rontab-howto.htm > > thanks alot > > rasim -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpaxq4409eJm.pgp Description: PGP signature

Re: [PHP] Project ZNF: Struts-like MVC framework

2005-06-07 Thread Petar Nedyalkov
the developer's guide. > The project has been developed by me and Graziano Liberati, we're searching > for comments, feedback, bug signaling and best of all new developers. Any > kind of contribution will be appreciated, if you find the project > interesting join us! Cool, keep

Re: [PHP] counting ocuring words in a string

2005-05-17 Thread Petar Nedyalkov
t. In this example: 3 http://www.php.net/manual/en/function.substr-count.php Try this. > > I am a bit lost on this one. Thank you for any help. > > Merlin -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpvE9fqC9aji.pgp Description: PGP signature

Re: [PHP] regex question

2005-05-17 Thread Petar Nedyalkov
rk; there are 4 matches. > > Thanks -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpWSAkSaWAeD.pgp Description: PGP signature

Re: [PHP] Add to array problem

2005-05-16 Thread Petar Nedyalkov
27;t assign the result of the array_push() function to $items. That's the reason for flushing the array. try: if (array_push($items, $_POST['whatever'])) { // something } > > I'm missing something easy. > > thx -- Cyberly yours, Petar Nedyalkov Devoted Or

[PHP] Fwd: Re: [PHP-DEV] Function proposal

2005-05-16 Thread Petar Nedyalkov
ue).Â; > if($return) return $retval; > print($retval); > } I think the Reflection API is enough and works great for me. Such a basic debugging is not the issue when speaking of serious projects with a large OO tree. Just an opinion. > oklet the shooting begin :) --

Fwd: Re: [PHP] lib ssh2 functions

2005-05-16 Thread Petar Nedyalkov
he web for info about similar problems and no results. > Please, anyone can help me with this problem because i have been > spending three days with this. > > Thanks in advance for your answers. > > -- > Saludos / Regards > Oscar -- Cyberly yours, Petar Nedyalkov Devoted Orbitel

Fwd: Re: [PHP] [php] Chrooting php...

2005-05-16 Thread Petar Nedyalkov
interface by > PHP)... Is their any point to jailing it in this case? > > td -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpy9c0AP0Y8b.pgp Description: PGP signature

Re: [PHP] mod_rewirte loses POST data

2005-05-16 Thread Petar Nedyalkov
should preserver > this data, but apparently it doesn't. Could anyone help me? Try this. RewriteCond METHOD POST RewriteRule (.*) http://www.yoursite.com$1 [P,L] > > Im using: > Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7b PHP/4.3.11 Server at > host.mydomain.com

Re: [PHP] domxml problem

2005-05-16 Thread Petar Nedyalkov
; == > > gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC > > Key Info: http://gfx-design.com/keys > > Linux Registered User #339825 at http://counter.li.org -- Cyberly yours, Petar Nedyalkov Devoted

Re: [PHP] SQL Date guru in the house?

2005-05-11 Thread Petar Nedyalkov
gt; field? Yes there's a way ;-) But you've mixed the month and day in the query. The standart textual format is MM/DD/ :-) SELECT * FROM blah WHERE mm BETWEEN 11 AND 11 AND dd BETWEEN 4 AND 5 AND BETWEEN 2005 AND 2005 > My apologies as this is australian date format and t

Re: [PHP] Session cookies in firefox

2005-05-11 Thread Petar Nedyalkov
teria). Solution 2: Patch the Firefox browser since it's OSS :-) > > Thanks! -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpmE1f9KIK8T.pgp Description: PGP signature

Re: [PHP] Strange characters

2005-05-11 Thread Petar Nedyalkov
> minimize them besides writing some kind of character scrubber? If you check the UTF8 character set table at (http://www.unicode.org/charts/) you will see that the section for Basic Latin answers your question. > > > > Thanks, > > Carl -- Cyberly yours, Petar Nedyalkov Dev

Re: [PHP] how to know whether web server of a remote machine is running or not

2005-05-10 Thread Petar Nedyalkov
ng it do something else. Check the remote server's waiting port - if it's opened the server is working, if it's not the server is not working. > > is there any method to know whether the other webserver is running or not. > > your help will be appreciated. > > >

Re: [PHP] Password encryption and password retrieval

2005-05-10 Thread Petar Nedyalkov
life partner online > Go to: http://yahoo.shaadi.com/india-matrimony -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpkngZA6f5uq.pgp Description: PGP signature

Re: [PHP] text with $

2005-05-09 Thread Petar Nedyalkov
r' > Centro de Telematica | DBA, Programador, Administrador > Universidad Nacional > del Litoral > - -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP

Re: [PHP] sort by date

2005-05-06 Thread Petar Nedyalkov
LECT event_id,name,date,time,place,type,info FROM test_table > WHERE (group = '$group') AND (type = 'Game' OR type = 'training') > ORDER BY date ASC > > I dont know how? > > Thanks a lot > -Will -- Cyberly yours, Petar Nedyalkov Devoted Orbitel

Re: [PHP] sort by date

2005-05-06 Thread Petar Nedyalkov
have the > date information to be stored as a date in the DB? Will it work or is the > output going to be sorted randomly? All RDBMS have date formatting functions. Use them. > > Thanks > -Will -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: h

Re: [PHP] form variables

2005-05-05 Thread Petar Nedyalkov
On Thursday 05 May 2005 17:46, Anasta wrote: > Can anyone tell me how a submit button can be used to send set a variable > so there is only a button --no textfield. Use hidden input fields. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key

Re: [PHP] regex

2005-05-05 Thread Petar Nedyalkov
d compare it to $image dynamically. Try this regex: /^img=(\d+)$/ > > thanks for any help. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpWwTYi6BflP.pgp Description: PGP signature

Re: [PHP] control-M

2005-05-05 Thread Petar Nedyalkov
os2unix - use it. > > Point me to the elixir of knowledge and let me bath in the fortitude of > a master regex expression to rid me once and for all of the dreaded > ^M!!! > > Thank you, and good night! > > "That's why I won't do 2 shows! I won't do it!&qu

Re: [PHP] to pass session from one websever to another webserver

2005-05-04 Thread Petar Nedyalkov
D) and use a single session data storage location. Solution 3: Set a unique domain for both webservers when passing sessions via cookies and use a single session data storage location. > > > with best wishes > balwant -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID:

Re: [PHP] Downloads stop short

2005-05-04 Thread Petar Nedyalkov
somewhere? > > > ++ > Mike Yrabedra > [EMAIL PROTECTED] > Your Mac Intelligence Resource > ++ > W: http://www.macagent.com/ -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbi

Re: [PHP] age function

2005-05-04 Thread Petar Nedyalkov
virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005 -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpt5iv88Xopj.pgp Description: PGP signature

Re: [PHP] SOLVEDphp Full Page Calendar not date picker

2005-04-29 Thread Petar Nedyalkov
rty calender which is exactly what > >I need but Im not using smarty for this particular project. > > > >thanks in advance. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B14

Re: [PHP] passing a variable through 2 required files embedded in Javascript

2005-04-29 Thread Petar Nedyalkov
uot;PHP_SELF"], that variable reports the name of #4. It gets a > little tricky because #3 is called from within a JavaScript tag. > > Got any suggestions? Pass the JavaScript to the client using a new header: Content-Type: application/x-javascript > > Mark Cain -- Cyberl

Re: [PHP] User Logout system advice needed...

2005-04-27 Thread Petar Nedyalkov
Any other things I might be missing here? > > Thanks a Lot > -Will -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpjRjJhikW4q.pgp Description: PGP signature

Re: [PHP] Product details not being displayed, based on passed id

2005-04-27 Thread Petar Nedyalkov
printf("Product Price: %s\n", $myrow["product_price"]); > > } else { > > // show employee list > >$result = mysql_query("SELECT * FROM Products",$db); > > if ($myrow = mysql_fetch_array($result)) { > > // display li

Re: [PHP] component template questions

2005-04-26 Thread Petar Nedyalkov
you apply a different template, construct the object using it, etc. Just being abstract enough - don't hardcode such templates in the classes. Automatic management of the templates will be easy using a RDBMS. > Or is there a better way? > > Thanks for your input on this, > Evert

Re: [PHP] Dates problem

2005-04-26 Thread Petar Nedyalkov
english :P > > -- > Mario de Frutos Dieguez > > División de Ingeniería del Software > y Comunicaciones > > CARTIF -Parque Tecnológico Boecillo -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.as

Re: [PHP] step by step learning

2005-04-26 Thread Petar Nedyalkov
SQL, PHP) oriented books on the market. > > I already know and understand html -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpKimLdelkny.pgp Description: PGP signature

Re: [PHP] Parse error: parse error, unexpected T_ELSE

2005-04-26 Thread Petar Nedyalkov
t;> 43 echo "Sorry, no data is available for that request"; > >> 44 > >> 45 } > >> > >>-- > >>PHP General Mailing List (http://www.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > > > >-

Re: [PHP] array from folder

2005-04-26 Thread Petar Nedyalkov
f Oregon > 541.346-0605 "urn:schemas-microsoft-com:office:office" /> > > "You can't wait for inspiration. You have to go after it with a club." > -Jack London -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpt8SCtn0CaL.pgp Description: PGP signature

Re: [PHP] Help outputting an array?

2005-04-25 Thread Petar Nedyalkov
check each member of the array with the function 'is_array' (http://www.php.net/is_array) to see if it's been a XML parameter or XML child element. > > What incredibly easy way to do this am I just missing? Thanks! :) -- Cyberly yours, Petar Nedyalkov

Re: [PHP] Having a problem

2005-04-25 Thread Petar Nedyalkov
e using a PHP code . > > Can any help me ? > If there any code possible please e-mail that to me at [EMAIL PROTECTED] Check if the user you're using to connect to the MySQL database has DELETE permissions over the database or table you want to manipulate. > > Thank you... --

Re: [PHP] Php defense

2005-04-22 Thread Petar Nedyalkov
tion in error, please notify us by reply > e-mail and immediately and permanently delete this message and any > attachments. Thank you." > > ******* >*** > ==

Re: [PHP] Post shorter code

2005-04-21 Thread Petar Nedyalkov
; > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.10.1 - Release Date: 4/20/2005 -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgphHhBMekHeB.pgp Description: PGP signature

Re: [PHP] Post shorter code

2005-04-21 Thread Petar Nedyalkov
bout It's just up to Netiquette ;-) > > :-) > > Cheers, > Ryan > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 4/18/2005 -- Cyberly yours, Petar Nedyalkov Devoted Orb

Re: [PHP] Classe Variable

2005-04-21 Thread Petar Nedyalkov
On Wednesday 20 April 2005 21:04, Jochem Maas wrote: > Petar Nedyalkov wrote: > > On Wednesday 20 April 2005 13:29, marc serra wrote: > >>Hi, > >>i got a problem to write automaticaly varibles in classes. > >> > >>i got a simple object name test li

Re: [PHP] delete session cookie?

2005-04-20 Thread Petar Nedyalkov
On Wednesday 20 April 2005 14:51, William Stokes wrote: > Hello, > > Is it possible to delete a session cookie from browser? If so how? Just unset it. > > Thanks > -Will -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orb

Re: [PHP] Classe Variable

2005-04-20 Thread Petar Nedyalkov
I want that php > execute $test->id = 4; > > can someone help me plz, > > Marc. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpLpqGa7yl5J.pgp Description: PGP signature

Re: [PHP] Encoding help!

2005-04-20 Thread Petar Nedyalkov
the webserver you use? What is the content-type you return to the user through your php scripts? > > I need some help here! Thanks. :) :) :) -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7

Re: [PHP] dynamic class loaders

2005-04-19 Thread Petar Nedyalkov
lass definition. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgp2lkwjnq0m3.pgp Description: PGP signature

Re: [PHP] Thanks but problem again! Re: [PHP] PHP script problem (with MySQL)

2005-04-19 Thread Petar Nedyalkov
On Wednesday 20 April 2005 06:07, Sugimoto wrote: (B> Thank you, Richard, (B> (B> I simply change this part (B> (select * from openart_table) into (B> (select substring(loc1, 1, 3) as THREE_LETTER_CODE, * from openart_table) (B> but Ive got this error, whats wrong with it? (B> (B> Warning:

Re: [PHP] Last visitors

2005-04-19 Thread Petar Nedyalkov
On Tuesday 19 April 2005 17:42, Tom Crimmins wrote: > On Tuesday, April 19, 2005 09:09, John Nichel wrote: > > Petar Nedyalkov wrote: > > > > > >> You can store only 10 records for each user by using the following > >> logic: > >

Re: [PHP] Last visitors

2005-04-19 Thread Petar Nedyalkov
On Tuesday 19 April 2005 17:08, John Nichel wrote: > Petar Nedyalkov wrote: > > > > You can store only 10 records for each user by using the following logic: > > > > mysql> show create table profile_log\G > > *** 1. row

Re: [PHP] explode a string

2005-04-19 Thread Petar Nedyalkov
something like: > >> > >>$id = 4 > >>$cat = gaming > >> > >>etc.. > >> > >>im just looking for the best/fastest way to do this. the string can grow > >>to > >>200 or so bytes, maybe more. > > > > 200 bytes is chump-change. > > > > It really doesn't matter how you do this, within reason. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpFE7VCEyn7m.pgp Description: PGP signature

Re: [PHP] Last visitors (SOLVED?)

2005-04-19 Thread Petar Nedyalkov
problem in my logic, please point > it out. > > Thanks, > Ryan > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 4/18/2005 -- Cyberly yours, Petar Nedyalkov Devot

Re: [PHP] Last visitors

2005-04-19 Thread Petar Nedyalkov
QL: $SQL = "UPDATE profile_log SET user_id=".$userId." WHERE profile_id=". $profileId." ORDER BY timestamp ASC LIMIT 1"; This way you: 1. automatically get the new timestamp 2. have no more than 10 records per user. > > Thanks, > Ryan > > > > >

Re: [PHP] Last visitors

2005-04-19 Thread Petar Nedyalkov
irus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 4/18/2005 -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpVS4cLnOE2t.pgp Description: PGP signature

Re: [PHP] Convert gif to jpg

2005-04-19 Thread Petar Nedyalkov
On Tuesday 19 April 2005 14:40, Roman Duriancik wrote: > Hello, > Is it possible to convert pictures in gif format to jpg format in php > script ? Yes, Check http://www.php.net/manual/en/ref.image.php > Thank you for yours responses. > Roman -- Cyberly yours, Petar Nedyalkov

Re: [PHP] upload automatic execute

2005-04-19 Thread Petar Nedyalkov
ew file been > upload and automaticly insert into mysql. Use cronjobs if you're using *nix-based OS. > > Txh > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -

Re: [PHP] PHP and Sessions

2005-04-18 Thread Petar Nedyalkov
the session is managed through cookies and they don't expire until the next load. You can: 1. Set the expiration time to time in the past using session_set_cookie_params(); 2. Stop the cookies and use GET method. > > > > Regards > > Reynier PÃrez Mira > > 3ero. In

Re: [PHP] explode a string

2005-04-18 Thread Petar Nedyalkov
> etc.. > > im just looking for the best/fastest way to do this. the string can grow to > 200 or so bytes, maybe more. > > should i list(), while(), explode it, or should i explode it and foreach > it? or..? while is faster than foreach. check the iterator section in SPL for detai

Re: [PHP] Two tables (Slightly 0T)

2005-04-16 Thread Petar Nedyalkov
wo tables. http://dev.mysql.com/doc/mysql/en/join.html BTW this is a question for the [MySQL General] list at [EMAIL PROTECTED] :-) > > Thanks, > Ryan > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus D

Re: [PHP] diffence between two numbers...

2005-04-15 Thread Petar Nedyalkov
t; etc... > > does that exist? > > function difference($a, $b) > { > return abs($a-$b); > } Yep, I was wrong. Nice remark. > > > > Chris. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP

Re: [PHP] diffence between two numbers...

2005-04-15 Thread Petar Nedyalkov
ot; function difference ($a, $b) { return (max($a, $b) - min($a, $b)); } > > etc... > does that exist? -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpoa9Fd8Ip9p.pgp Description: PGP signature

Re: [PHP] Levels of Site Protection

2005-04-15 Thread Petar Nedyalkov
direct them accordingly? > > Thanks in advance... > > -R. Van Tassel -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpsOUX3VypGx.pgp Description: PGP signature

Re: [PHP] Image and PHP

2005-04-14 Thread Petar Nedyalkov
ión de Ingeniería del Software > y Comunicaciones > > CARTIF -Parque Tecnológico Boecillo -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpX

Re: [PHP] Defined constant in mysql_query - Question.

2005-04-12 Thread Petar Nedyalkov
sql_query("SELECT * FROM data WHERE col = 'articles' ORDER BY subject".LANG); > > > Thanks a LOT, > Lab. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpk4pGJpKVjk.pgp Description: PGP signature

Re: [PHP] error handling

2005-04-12 Thread Petar Nedyalkov
apture(in php) the exception i raised > in postgres so that i know the record doesnt exist? Possible scenarios are: 1. Use string parsing to recognise the error message. 2. Upgrade to PHP 5, which is not that good if you need to change a lot of code afterwards. > > > thanx. --

Re: [PHP] image display

2005-04-12 Thread Petar Nedyalkov
. You can't use a single script since the images in a browser are loaded by separate http requests and the MIME type of the web page (text/html) is different from the MIME type of the image (image/jpeg, image/gif, image/png etc.). > > thanx. -- Cyberly yours, Petar Nedyalkov Devoted

Re: [PHP] php request entity body help

2005-02-21 Thread Petar Nedyalkov
> Please help! > Any help would be appreciated. Thanks in advance. > > Sincerely, > Kun -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgp4amLnBr0wb.pgp Description: PGP signature

Re: [PHP] Set up cron using PHP

2004-10-07 Thread Petar Nedyalkov
On Thursday 07 October 2004 16:27, M. Sokolewicz wrote: > Petar Nedyalkov wrote: > [snip] > > > Your way is better for cronjob use, mine is better if the user needs to > > deploy the script not only as a cronjob. > > [/snip] > I agree ;) > > [snip] > > &g

Re: [PHP] Set up cron using PHP

2004-10-07 Thread Petar Nedyalkov
On Thursday 07 October 2004 15:32, M. Sokolewicz wrote: > Petar Nedyalkov wrote: > > On Thursday 07 October 2004 13:17, Sheni R. Meledath wrote: > >>Hello: > >> > >> We need to set up a cron to send an automated email at regular > >>intervals

Re: [PHP] Set up cron using PHP

2004-10-07 Thread Petar Nedyalkov
://www.PressReleaseNetwork.com > * > > This message has been checked for all known viruses by McAfee. No liability > is accepted by virtue of checking this

Re: [PHP] Newsgroups Space

2004-10-07 Thread Petar Nedyalkov
you'll import ;-) -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) - Orbitel - the New Generation Telecom! See www.orbitel.bg. pgpJRgvIxfI19.pgp Description: signature

Re: [PHP] Is it possible??

2004-10-07 Thread Petar Nedyalkov
not equal you'll have to set it via javascript explicitly. > > I rreally wonder...i badly need the solution :( > > /sagar -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) - Orbitel - the New

Re: [PHP] AutoLogin

2004-10-07 Thread Petar Nedyalkov
gt; The website uses a JSP files with jsp session and also before > logging in..it asks for ssl authentication. Use cURL ;-) > > Ur help will b a great help to me... > > Regards, > /sagar -- Cyberly yours, Pe

Re: [PHP] mapping a directory to a script like a servlet

2004-10-05 Thread Petar Nedyalkov
t; I have done this kind of thing before with servlets and asp.net but can't > figure how to do it with Apache + PHP. I was looking at mod_rewrite but > then got scared! mod_rewrite is the easiest solution ;-) just don't get scared but read the man. > > Any help most welcome. &

Re: [PHP] regular expression help

2004-09-28 Thread Petar Nedyalkov
ing regular expressions. I have no idea what regular > expression I'd use for something like this. Any recommendations? > > Thanks, > > Ed -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) - Orbitel - the New Generation Telecom! See www.orbitel.bg. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] csv inssue

2004-09-24 Thread Petar Nedyalkov
gt; Pres. OSSRI > Pres. WTA Arkansas > ******** > "Do not go where the path may lead, go instead > where there is no path and leave a trail." > Ralph Waldo Emerson (1803-1882) > *** -- Cyberly you

Re: [PHP] Using '

2004-09-23 Thread Petar Nedyalkov
olved > > it?. > > Try: > > $html = " ... ... "; > > However my personal preference is the other way around: > > $html = ' ... ... '; Try using marquees > > HTH > > Graham -- Cyberly yours, Petar Nedyalkov Devoted Or

Re: [PHP] Newbie array problem

2004-09-23 Thread Petar Nedyalkov
On Thursday 23 September 2004 13:16, Phpu wrote: > If i have an array > $array = array(1, 2, 3, 4, 5, 6, 7) > How can i display the array element sepparated by (;) like this > $display = 1;2;3;4;5;6;7 > $display = implode(';', $array); > > Thanks -- Cyberly

Re: [PHP] implode errors if array empty

2004-09-22 Thread Petar Nedyalkov
array. > > however, if the array is empty (the user didnt select anything in the > form), the implode function errors out. > > can anyone think of a way round this? > > many thanks, > > luke m. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) ---