[PHP] Re: recusive functions

2002-07-13 Thread Jome
ead more on http://php.net/exit -Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Animated GIFs

2002-07-14 Thread Jome
combine, to create animated gifs. ImageMagick can be found on this URL: http://www.imagemagick.org/ -Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Date() Problem

2002-07-27 Thread Jome
means that you can not run such a timestamp as the above. I recommend that you have a look at http://www.mysql.com/doc/D/a/Date_and_time_functions.html which describes the built-in functions for date-handling in MySQL. A function to look at could be DATE_FORMAT(). Regards, Jome -- PHP General

[PHP] Re: Date() Problem

2002-07-27 Thread Jome
`resources` WHERE `id` = $id Regards, Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Public Scripts in a commercial product

2002-07-29 Thread Jome
) if you can use it in your commercial product. -Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Encrypting Passwords - Is it really necessary??

2002-07-29 Thread Jome
max one new password per day. Another way could be to add an additional detail, like postal code or something which is easy for user to determine but (probably) not for other people. My $0.02 -Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Auto Increment Problems....

2002-07-29 Thread Jome
search through the rows and see where there's a hole. -Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: OT - javascript question..

2002-07-29 Thread Jome
if you want to find javascript-gurus. -Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP4 and MS Excel?

2002-07-30 Thread Jome
Google is your friend. -Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: e-mail to mysql database?

2002-08-12 Thread Jome
].','.$data[3].')); ? Read more on php.net/explode, there's also plenty of other string functions there that may help. Regards, Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Can i send post variable thur header?

2002-08-20 Thread Jome
. Check out the URL below. http://www.faqts.com/knowledge_base/view.phtml/aid/12039/fid/51 -Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: turn register_globals on

2002-09-08 Thread Jome
Hello I am working on a PHP server which has register_globals off. In my script is there anyway to turn it on, just for my script? ini_set(register_globals, 1); at the top of your script. Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: turn register_globals on

2002-09-08 Thread Jome
So, is this allowable to set in user scripts? Or is the dosumentation correct in saying it cannot? My bad, you (and the documentation) are correct. :-) Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Count in PHP

2002-09-09 Thread Jome
table like this: ? echo mysql_result(mysql_query(SELECT COUNT(*) FROM table),0,0); ? The two zeros at the end means that mysql_result is to fetch the first row, the first column of the result. (Also, it'll be much faster than mysql_num_rows(mysql_query(SELECT * FROM table)) Jome -- PHP

[PHP] Re: Text from web form

2002-09-11 Thread Jome
message. I don't see the what the person filled out. But I see Name: ane Message: Any ideas? Could this be an register_globals issue? Read on http://www.php.net/manual/en/language.variables.predefined.php#language.vari ables.superglobals - it may resolve your problem. Jome -- PHP General

[PHP] Re: Image resolution and php

2002-09-18 Thread Jome
://www.php.net/manual/en/function.getimagesize.php I'm sligthly confused about what you're looking for, but the above URL *could* be something. Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sending alots of mail

2001-08-16 Thread Jome
execution time if you're using a bad mailserver but it can be solved by simply extending the max execution time in php.ini or in just the specific script. Best regards, Jome - Original Message - From: Jimmy Bäckström [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 16

Re: [PHP] Script Execution Time

2001-07-19 Thread Jome
) = explode( ,microtime()); return ((float)$usec + (float)$sec); } $time_start = getmicrotime(); /code ..and this at the end: code $time_end = getmicrotime(); $time = $time_end - $time_start; $foo = round ($time, 2); echo Execution took $foo seconds.; /code Hope this helps. Best regards, Jome

[PHP] Sessions and linking

2001-07-19 Thread Jome
theinbox.php?PHPSESSID=thesessionid - it won't work tho. I use session_start() in theinbox.php Anyone who has any idea about what I'm doing wrong? Should I define the session id for session_start or something? Best regards, Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] mail with html

2001-07-23 Thread Jome
the content so email readers like Microsoft Outlook can read the mail. Best regards, Jome - Original Message - From: Adrian D'Costa [EMAIL PROTECTED] To: php general list [EMAIL PROTECTED] Sent: Monday, July 23, 2001 12:08 PM Subject: [PHP] mail with html Hi, I know this subject had

[PHP] Speeding up MySQL querys

2001-07-23 Thread Jome
setting INDEX but it didn't work out since I'm using BLOB-fields. Is there any other way than using INDEX? Thanks, Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

Re: [PHP] IMAP and Attachments

2001-07-24 Thread Jome
you use the same kind of thing, I guess it slightly more advanced and you have to do some decoding of the message. Best regards, Jome (looking for php-jobs, coding for $15/hour) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] counting words.

2003-04-06 Thread Jome
)); $count = count($words); I believe substr_count() is faster than that method. http://www.php.net/manual/en/function.substr-count.php Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Newsgroup Server?

2003-03-04 Thread Jome
Clete Rivers Blackwell 2 wrote: Is there a newsgroup server for this mailing list? news.php.net -- Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Difference between

2003-03-08 Thread Jome
James Taylor wrote: Where can I read more about this? I'm not sure that I understand why 4 4 == 4. http://se.php.net/manual/en/language.operators.bitwise.php Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [RegExp] extracting anchors

2003-03-12 Thread Jome
a tags containing href before doing the preg_match_all()-call, something like this below should do it I think. $src = preg_replace('/a[^]*?href=[^]*?/is', '', $src); Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP newbie ... function with several returns ?

2003-03-15 Thread Jome
by reference while PHP defaults to pass by value. Read more at: http://www.php.net/manual/en/language.references.pass.php Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: image wrapper - graphs

2002-09-30 Thread Jome
Does anyone know of image creation libraries that will generate graphs? http://www.aditus.nu/jpgraph/ Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: stuck n00b

2002-10-01 Thread Jome
?php echo $HTTP_SERVER_VARS['userName']; ? Make it $_POST['userName'] (or $HTTP_POST_VARS['userName'], but that's deprecated). Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Math problem (222)

2002-10-02 Thread Jome
].$newI[1]; $num6 = $newI[2].$newI[1].$newI[0]; $sum = $num1 + $num2 + $num3 + $num4 + $num5 + $num6; $answer = $sum / $digits; if ($answer != 222) { echo $i. does not fit in the scheme.; } } ? Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: sending post without a form

2002-10-05 Thread Jome
Did the individual trying to send post(ed) data without the use of a form succeed? I tried doing this before and didn't have any luck with it... And I eventually gave up. Check out Rasmus' solution: http://www.php-faq.com/postToHost.html Jome -- PHP General Mailing List (http

[PHP] Re: IP addresses

2002-10-28 Thread Jome
I've been away for a while but I'm back and have a question about IP addresses. How do I retrieve / capture a users IP? I need to have it to process electronic payments. $_SERVER['REMOTE_ADDR'] Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Minutes to hours/days/monthes/years?

2002-11-17 Thread Jome
to the same problem, available at http://www.phpcoded.com/?DO=viewCodeID=88 I do believe that my solution is more efficent, considering that I use modulus. Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Expert Paid Help Needed

2002-11-19 Thread Jome
there that would be willing to help? If so, please send me privately the following: I think you would help yourself some by specifying what kind of work this is. Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regexp appears to be faulty!?

2004-02-24 Thread Jome
Henry Grech-Cini [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Thanks for that Mike, I was getting lost. Is there anyway to say Any characters excluding the sequence /fieldset so I could do something like /fieldset([^]*)(.* whilst not \/fieldset)\/fieldset/i Or