Re: [PHP] lost return value during a static call

2011-09-16 Thread Johan Lidström
On 15 September 2011 15:57, Robert Williams rewilli...@thesba.com wrote: On Sep 15, 2011, at 6:03, chamila gayan cgcham...@gmail.com wrote: when it goes through 2 static methods, at some point it stops returning value to the calling method. (please see comments in-line). The getArray()

Re: [PHP] Re: htmlentities

2011-09-14 Thread Johan Lidström
On 13 September 2011 23:01, Shawn McKenzie nos...@mckenzies.net wrote: On 09/13/2011 01:38 PM, Ron Piggott wrote: Is there a way to only change accented characters and not HTML (Example: p /p a href =”” /a ) The syntax echo htmlentities(

Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Johan Lidström
On 13 September 2011 21:56, Brad Huskins brad.husk...@gmail.com wrote: Hello all you php coders out there, I'm doing an Open Source text editor (just a hobby) that's designed for PHP developers and is accessible through the web. This has been stewing for a while, and has gotten to the point

[PHP] Re: [PHP-DB] Re: [PHP] Passing variables to a PHP script on clicking a hyperlink

2007-08-24 Thread Johan de Wit
or tick box will work as well Johan Suamya Srivastava [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thank you all for the help. I did not want to use dropdown box..that was the very reason i was wondering if I can pass the variables through a hyperlink. I used $_GET and it worked fine

[PHP] Re: [PHP-DB] Re: [PHP] Passing variables to a PHP script on clicking a hyperlink

2007-08-24 Thread Johan de Wit
Hi I have sessions working like a charm, i use it for my user login vars and so on, here is the settings i used. register_globals = Off session.use_cookies = 1 and switch on session.trans_sid if you know that not all your users will have cookies turned on This worked for me Johan Suamya

[PHP] Re: date format from a database date field

2007-05-23 Thread Johan Holst Nielsen
? Currently the command I have is print $row['open']; Well the easiest thing is to let MySQL do the work use following SELECT SELECT DATE_FORMAT(your_date_field,'%m-%d-%Y') as date_field FROM yourtable That should do the work... -- Johan Holst Nielsen Freelance PHP Developer - http://phpgeek.dk

[PHP] Re: ftp root dir?

2007-05-22 Thread Johan Holst Nielsen
server. It can be whereever on the server. It depends on the configuration of the FTP server ;) -- Johan Holst Nielsen Freelance PHP Developer - http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Data Mining/Data Scraping

2007-05-20 Thread Johan Holst Nielsen
with that :) www.php.net/curl -- Johan Holst Nielsen Freelance PHP Developer - http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ide help needed

2007-04-03 Thread Johan Martin
On 4/3/07, clive [EMAIL PROTECTED] wrote: Does anyone knows any IDE for PHP like VisualStudio.net? Second the use of eclipse. Look at easyeclipse.org - they have all the necessary plug-ins and add-ons in easy an easy to install package. Packages available for Linux, Mac and Windows.

Re: [PHP] Mac PHP MySQL

2006-11-02 Thread Johan Martin
and mysql support. Johan Martin Catenare LLC 534 Pacific Ave San Francisco, CA. 94133 Phone: (415) 834-9802 Fax: (415) 294-4495 http://www.catenare.com AOL: catenarellc Yahoo: martin_johan GTalk: [EMAIL PROTECTED] FreeWorldDialup :716798 - http://www.freeworlddialup.com/ Gizmo Project: 747-627

Re: [PHP] OOP slow -- am I an idiot?

2006-10-10 Thread Johan Martin
a programming problem just like yours. Johan Martin Catenare LLC 534 Pacific Ave San Francisco, CA. 94133 http://www.catenare.com http://www.linkedin.com/in/catenare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New install platform

2006-06-25 Thread Johan Martin
php/apache/mysql packages for Windows, Mac OS X and Linux. Johan Martin Catenare LLC 534 Pacific Ave San Francisco, CA. 94133 Mailing Address: 268 Bush Street #2826 San Francisco, Ca. 94104 Phone: (415) 834-9802 Fax: (415) 294-4495 http://www.catenare.com AOL: catenarellc Yahoo

Re: [PHP] CMS for Auto Parts

2006-04-24 Thread Johan Martin
front-end and use PHP for the back- end. Also, now has the option for either DHTML or Flash on the client side. Johan Martin Catenare LLC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with mysql_query and INSERT INTO

2006-02-05 Thread Johan Martin
/manual/en/function.mysql-insert-id.php This will give you the record id of the last record inserted (or created). Johan Martin Catenare LLC 534 Pacific Ave San Francisco, CA. 94133 Phone: (415) 834-9802 Fax: (415) 294-4495 http://www.catenare.com AOL: catenarellc Yahoo: martin_johan MSN

[PHP] Problem with Javascript:...submit()

2005-10-13 Thread Johan Grobler
while ($row = mysql_fetch_array($sql_result)) { echoForm name=\.$row['LITERATURE_title'].\ action=\searchlit.php\ method=\post\ font face=\arial\ size=\2\ a href=\javascript:.$row['LITERATURE_title']..submit();\ .$row['LITERATURE_title']. - .$row['res_fname']. .$row['res_lname']./a ...

[PHP] code generation

2005-08-04 Thread Johan Grobler
is there a way to limit the time a website is available in php?, if you want to have a database driven website but you would only like it to be active for 6 months for instance, i'm doing a project at univirsity and this is part of the specs, but i cant think of a good way how to do it...

Re: [PHP] code generation

2005-08-04 Thread Johan Grobler
: Johan Grobler [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, August 03, 2005 11:04 PM Subject: [PHP] code generation is there a way to limit the time a website is available in php?, if you want to have a database driven website but you would only like it to be active for 6

[PHP] str_replace weird output

2005-06-02 Thread Johan . Barbier
I missing something ? Thanks a lot :-) Johan

[PHP] PHP Netobjects Fusion problem

2005-03-26 Thread Johan van Zyl
Johan van Zyl JVZ Systems CC/realcorp.net Customised Software http://www.jvz.co.za [EMAIL PROTECTED] 021 851 7205 082 875 4238 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.1 - Release Date: 2005/03/23 -- PHP General

[PHP] newbie question ; calling php script with parrameters from html

2005-02-02 Thread Sagaert Johan
can i use this kind of construction in my html code ? a href=test.php?selection=highSelect high/a if yes , how do i retrieve the passed string in the php code Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail() problem

2004-11-24 Thread Johan van Zyl
Johan van Zyl JVZ Systems CC Box 3469 Somerset West 7129 [EMAIL PROTECTED] http://www.jvz.co.za +27 (0)82 875 4238 +27 (0)21 851 7205 Fax 088 021 852 2387 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.799

[PHP] RE: [firebird-php] auto increment last insert

2004-11-24 Thread Johan van Zyl
Hi Thx Helen for another non-hostile, and as usual, very informative response! We newbie's are having a though time, well at least in THIS forum! At least I am! You (me) apparently have to RTFM or FOg And thx to all the other POSITIVE responses I have had! It is REALLY appreciated. It is not easy

[PHP] PHP Affiliate Login

2004-11-20 Thread Johan van Zyl
in firebird that will generate a password and e-mail it back to them. They can now login with this password and must be able to change their password. Thx Johan van Zyl JVZ Systems CC Box 3469 Somerset West 7129 [EMAIL PROTECTED] http://www.jvz.co.za +27 (0)82 875 4238 +27

[PHP] Problem with _one_ CE chars - GD library

2004-06-10 Thread Johan Holst Nielsen
hope someone can help me :) With best regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problem with _one_ CE chars - GD library

2004-06-10 Thread Johan Holst Nielsen
Johan Holst Nielsen wrote: Any one tried such problems? Any solution for that? And is it the font, the encoding file - or something else that are wrong? Okay, I found the solution :) I was the encoding file that was wrong... The /dbar should be replaced with /dcroat Now everything works

[PHP] Re: Getting Server time

2004-06-10 Thread Johan Holst Nielsen
Alex Hogan wrote: When I'm using the time() function am I getting the time on the server? If not how can I get the time from the server regardless of whether or not its in the same time zone as the client. Use the gmdate() function. http://php.net/manual/en/function.gmdate.php -- Johan Holst

[PHP] Re: installing php4 in windows 2000

2004-05-31 Thread Johan Holst Nielsen
if the DocumentRoot is right in your httpd.conf - it should be the same as the location where phpinfo.php is located. -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: including an html file!!

2004-05-30 Thread Johan Holst Nielsen
('htmfile.html'); ? Check the documentation http://php.net/include - include returns 1 - thats why it is printed out when you do echo :) -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: including an html file!!

2004-05-30 Thread Johan Holst Nielsen
: includeFile.php ?php $foo = Test with return; return $foo; ? ?php $bar = include(includeFile.php); echo $bar; //Output Test with return ? -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Data reading and writing for a chat

2004-05-30 Thread Johan Holst Nielsen
- or use a database :) -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Associative array question

2004-05-30 Thread Johan Holst Nielsen
of age. Is there a way to do this? No sure what you mean... but it is possible this way: ?php foreach($myFriendsAges as $name=$age) { echo My friend .$name. is .$age. years of age.br\n; } ? -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- PHP General Mailing List (http

[PHP] Re: Query Query

2004-05-30 Thread Johan Holst Nielsen
='$mod_dataset'; What does mysql_error() says? Tried to print out the query and execute it directly in the mysql prompt or phpmyadmin? What happens then? -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] CVS web front end

2004-05-29 Thread Johan Holst Nielsen
Lists wrote: tortoise is nice http://www.tortoisecvs.org/ As far as I can see, it have nothing to do with an web frontend? -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CVS web front end

2004-05-29 Thread Johan Holst Nielsen
browser... Anyway - thanks for the link to tcvs :D I have downloaded it and I like it :D -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache crashes on windows XP / PHP MySQL

2004-02-14 Thread Johan Kok
Johan Kok -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sort locale problem

2003-06-14 Thread Johan Grönvall
++) { echo $list[$i]; } Any ideas? Running Apache/2.0.43 PHP/4.2.3 Linux 2.4.18 /Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mailing with SMTP server requiring authentication

2003-02-02 Thread Johan Köhne
Is it possible and if so, how to send emails through SMTP servers that require authentication (logging in)? Thanks in advance

Re: [PHP] method chaining

2002-11-11 Thread Johan Ohlin
If I have understood correctly what you want to do then this will do fine... $foo-${$foo-get(bar)}-getBaz(); / Johan - Original Message - From: Terry McBride [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 11, 2002 4:53 PM Subject: [PHP] method chaining Hello, I have

[PHP] Re: Using '/' instead of '?' in url querystring

2002-10-07 Thread Johan Holst Nielsen
mod_rewrite to apache... http://httpd.apache.org/docs/mod/mod_rewrite.html Else try http://www.phpbuilder.com/columns/tim2526.php3 Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Find DPI ing image?

2002-09-12 Thread Johan Holst Nielsen
Hi people... Anyone know a class or a solution so I can find the DPI (dot per inch) of an image? getImageSize do not help me? Any other solutions? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie needs help

2002-07-24 Thread Johan Holst Nielsen
. mysql_select_db() But do NOT use mysql_db_query... Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to Detect File in a Specifc Directory on Window Env?

2002-07-19 Thread Johan Holst Nielsen
, $file)) The ereg line should look like this :) Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to Detect File in a Specifc Directory on Window Env?

2002-07-19 Thread Johan Holst Nielsen
Johan Holst Nielsen wrote: ?php //DATEFORMAT MMDD if($dir=@opendir(/yourdirwithpdf)) { echo Found following files: while(($file=readdir($dir))!==false) { if(ereg(^[a-zA-Z0-9]+\.$INPUTDATE\.pdf)) { echo 'a href='.$file.''.$file.'\n'; } } } ? UPS if(ereg

[PHP] Re: How to Detect File in a Specifc Directory on Window Env?

2002-07-19 Thread Johan Holst Nielsen
\.pdf)) { echo 'a href='.$file.''.$file.'\n'; } } } ? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql error or PHP

2002-07-15 Thread Johan Holst Nielsen
-string.php Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: 1 Form, 2 Submit-Buttons

2002-07-12 Thread Johan Holst Nielsen
Hello! I want to make a form (a wizard) which has 2 Submit-Buttons (Back Next). The buttons should be images. How can I make php see, which button has been pressed? ?php if(isset($_POST[submit_back])) { //go back } else { //go forward } ? form action=?=$_SERVER[PHP_SELF]?

[PHP] Re: 1 Form, 2 Submit-Buttons

2002-07-12 Thread Johan Holst Nielsen
Johan Holst Nielsen wrote: Hello! I want to make a form (a wizard) which has 2 Submit-Buttons (Back Next). The buttons should be images. How can I make php see, which button has been pressed? ?php if(isset($_POST[submit_back])) { //go back } else { //go forward

[PHP] Re: Newbie Logical opertaor question

2002-07-11 Thread Johan Holst Nielsen
)) { . } Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Apache2?

2002-07-10 Thread Johan Holst Nielsen
Hi, Anyone know how long the developers is from a finale release that support Apache 2? Please advice! Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cookie ?

2002-07-10 Thread Johan Holst Nielsen
cookies? mvh Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cookie ?

2002-07-10 Thread Johan Holst Nielsen
it's not the browser or what so ever, i installed php 4.2.1. with apache 1.3.24 on a Redhat 7.1 server. but becuas for some kind a reason it wont work :( any body got an idea ?? try to get the cookie witgh $_COOKIE[cookiename]; if you have register_globals = off! Regards, Johan

Re: [PHP] Re: cookie ?

2002-07-10 Thread Johan Holst Nielsen
? :) mvh Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cookie ( still not working )

2002-07-10 Thread Johan Holst Nielsen
, or a link to at phps file... And a link to a phpinfo() file? I cant help you without further information! Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem : track_vars stopped working.

2002-05-22 Thread Johan Ekstrm
forgotten this function in that file. Anyone got any idée's??? I kind of need that function to do multipages. johan ekström [EMAIL PROTECTED] http://www.dynamicduo.nu/

[PHP] Re: PHP 4.2.1 install

2002-05-22 Thread Johan Ekström
If you've installed php as a module, set it to 0 if as a cgi, 1 Ryan Conover [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What do I set cgi_redirect var in the php.ini if I install php 4.2.1 under win2k/iis5. Ryan Conover [EMAIL PROTECTED] [EMAIL

[PHP] Re: W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Johan Ekström
This is what you must do. Copy Part ^^ copy php4ts.dll to c:\winnt\system32\ copy php4sapi.dll to c:\winnt\system32\ if you want any extensions, copy them to to c:\winnt\system32\ configuration part ^^^ in php.ini ¨ edit doc_root like : c:/Inetpub/wwwroot

[PHP] Re: Installing PHP 4.2.1

2002-05-20 Thread Johan Ekström
This is what you must do. Copy Part ^^ copy php4ts.dll to c:\winnt\system32\ copy php4sapi.dll to c:\winnt\system32\ if you want any extensions, copy them to to c:\winnt\system32\ configuration part ^^^ in php.ini ¨ edit doc_root like : c:/Inetpub/wwwroot

[PHP] Re: Installing PHP 4.2.1

2002-05-20 Thread Johan Ekström
This is what you must do. Copy Part ^^ copy php4ts.dll to c:\winnt\system32\ copy php4sapi.dll to c:\winnt\system32\ if you want any extensions, copy them to to c:\winnt\system32\ configuration part ^^^ in php.ini ¨ edit doc_root like : c:/Inetpub/wwwroot

[PHP] PHP parsing XML from Shoutcast

2002-05-19 Thread Johan Ekström
Anyone that has knowledge about this program, regarding it's XML output and php fetching that info and placing it on a php-page for user's to view? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Shoutcast

2002-05-19 Thread Johan Ekström
Anyone that has knowledge about this program, regarding it's XML output and php fetching that info and placing it on a php-page for user's to view? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: array question--help

2002-04-28 Thread Johan Holst Nielsen
($OutputArray); //Print out the array, to check the values! ? Please reply if this doesn't work? By the way... if you got further problems, please tell us which version of PHP you use. Regards, Johan Holst Nielsen www.weknowthewayout.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Won't save session ids?

2002-04-26 Thread Johan Holst Nielsen
... but this works! Thank you very much :o) Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Won't save session ids?

2002-04-25 Thread Johan Holst Nielsen
the sessions. session_start(); echo Email:.$HTTP_SESSION_VARS[accountemail].br.$HTTP_SESSION_VARS[accountsession]; But i just get a Email: without any content? Please help me? Someone know whats wrong? Best Regards, Johan Holst Nielsen -- PHP General Mailing List (http://www.php.net

[PHP] ftp_rawlist doesnt take directories with spaces?

2002-02-01 Thread Johan Köhne
it seems ftp_rawlist doesnt take directories with spaces for me. does anyone have any experience with this? johan kohne -- 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

Re: [PHP] Looping?

2001-12-14 Thread Johan Holst Nielsen
: function MakeLoop($loops, $htmlcode) { for($i=0; $i$loops; $i++) { echo $htmlcode; } } MakeLoop(10); Dont know if you can use this? Else, try to tell a bit more about what solution you want? /Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Generating PDF...

2001-12-11 Thread Johan Holst Nielsen
some links about how PDF works etc.. I prefer to work in PHP... but if Perl/C/C++ etc. is a better language to this, please post the link anyway. Hope someone can help me :o) Looking forward to hear from ya! :o) Regards, Johan -- PHP General Mailing List (http://www.php.net

Re: [PHP] Generating PDF...

2001-12-11 Thread Johan Holst Nielsen
ok, i need to include some images in the PDF. But I just make them in the right dpi then. What about fonts? No problem if the font is Postscript or? -Johan Rasmus Lerdorf wrote: dpi doesn't really apply to a PDF file unless your PDF file has embedded images in which case the dpi

[PHP] Re: HOW to download PHP files without the use of a FTP client

2001-12-07 Thread Johan
i hav e big problem i need to download some php files without the use of a FTP client or other . so if you know a solution to my problem please reply Do you have possibility to use the PHP FTP functions? Or do you not havr ftp access?? regards, Johan -- PHP General Mailing List (http

[PHP] Re: Remove carriage returns

2001-12-07 Thread Johan
Royw wrote: I have a memo type field in a form and I am looking for the PHP command to strip the carriage returns from the field before inserting into a database. addslashes(); htmlentities(); ?? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Re: Image problem

2001-12-07 Thread Johan
phpinfo(); ? :o) Regards, Johan -- 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, e-mail: [EMAIL PROTECTED]

[PHP] [ Re: [PHP] Re: Image problem]

2001-12-07 Thread Johan Holst Nielsen
Original Message From: - Fri Dec 07 14:52:01 2001 X-Mozilla-Status: 0001 X-Mozilla-Status2: Message-ID: [EMAIL PROTECTED] Date: Fri, 07 Dec 2001 14:51:56 +0100 From: Johan Holst Nielsen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Organization: 1WAY2PRINT A/S User

[PHP] Re: mail function

2001-12-05 Thread Johan
Is it possible to use php's mail function to send an html formated email (one of your pages or a newsletter, whatever...)? If so, how? yes... Make a header called etc. Content-type: text/html Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Statistic analyze for Apache log

2001-12-04 Thread Johan Holst Nielsen
Hi Anyone know a good PHP application that generate statistic from apachelog? Please send me an URL. Regards, Johan -- 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

Re: [PHP] Statistic analyze for Apache log

2001-12-04 Thread Johan Holst Nielsen
Yes, I have already seen it. But I would prefer a PHP written application. AWSTATS are written in Perl :o(. Do you know anything like this, in PHP? :o) Regards, Johan Manu Verhaegen wrote: You can use AWSTATS, it will working and it is very nice. Greetings, Manu - Original

[PHP] Re: php_xmldom.dll

2001-12-04 Thread Johan
Antwnhs T. wrote: I have a problem with this dll, the dll exists on my hd and php does not load it. I have win2k pro with iis5, has anyone any kind of solutions ? Do you remeber to include it in your php.ini file? Regards, Johan -- PHP General Mailing List (http://www.php.net

Re: [PHP] Statistic analyze for Apache log

2001-12-04 Thread Johan Holst Nielsen
If you find this out off list could you let me know as well. I can only find C++ and Perl scripts. Ok, thinking about programming if it don't exists. So I let you know when it's ready :o) Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] problem with ImageCreateJPEG ...

2001-12-04 Thread Johan Holst Nielsen
=a.jpg /body /html Try to remove all html, and instead make a ImageJPEG($img); You should then only get the JPEG file? You set a header, and the browser doesn't understand the HTML... regards Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Johan Holst Nielsen
have to get a FROM header, but to make a solution you can make a FROM header like this: FROM: Do Not Reply [EMAIL PROTECTED] regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Johan Holst Nielsen
hmm, youre right. You can use this header maybe FROM: Do Not Reply nonexists@localhost The SMTP should be able to resolve localhost? Regards, Johan Jon Farmer wrote: Problem with that solution is some SMTP hosts will reject messages from domains that do not resolve to the sending SMTP

Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Johan Holst Nielsen
it, but I think it would work. By the way... the most of the SMTP doesn't check at the FROM header, but from the sender SMTP. So if you got a nonexisting e-mail it would accept it too, but it the sender host isn't valid it will reject it. Regards, Johan -- PHP General Mailing List (http

Re: [PHP] How to work with MySQL tables WITHOUT telnet, SSH orPhpMyAdmin

2001-11-30 Thread Sverre Johan Tøvik
At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote: Our web host does not support telnet or SSH for its clients and is not interested in working with PhpMyAdmin at the moment (I think I need their assistance if I want to use PhpMyAdmin, right?). Is this rather typical of web hosts? You do

Re: [PHP] Going blind?

2001-11-21 Thread Johan Holst Nielsen
$result=@mysql_query($qry,$connection); Try make a line after this: echo mysql_errno().: .mysql_error(); What is the output? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

SV: [PHP] Installing PHP with windows

2001-11-21 Thread Johan Nilsson
no you dont have to install linux, apache works really fine under windows read more at http://httpd.apache.org/docs/windows.html good luck /johan -Ursprungligt meddelande- Från: Rob Bennion [mailto:[EMAIL PROTECTED]] Skickat: Wednesday, November 21, 2001 13:05 Till: [EMAIL PROTECTED

Re: [PHP] words in a string

2001-11-17 Thread Johan Holst Nielsen
? echo $newstring; ? Could you use this example? Regards, Johan -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Re: Sending mail without using mail()

2001-11-16 Thread Johan Holst Nielsen
Ok, where can I find a tutorial about sending mail using fsockopen ? *** http://www.phpbuilder.com/columns/tim19990221.php3 Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] Re: I suck at regular expressions!

2001-11-15 Thread Johan Holst Nielsen
title; } This works for me? Regards, Johan -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Re: how can I get the post content in php

2001-11-15 Thread Johan Holst Nielsen
summary what I think you mean. 1. A page make a post request with XML data to a PHP file. 2. The PHP file get the post request, and get the XML data. 3. An then what? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Re: how can I get the post content in php

2001-11-15 Thread Johan Holst Nielsen
with the XML? Cant you just make a echo() in a xml document? please explain? ?xml version='1.0'? ... ... ?php echo $xmldatavar; ? ... ... ... Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Re: Fatal error: Call to undefined function: imagecreate()

2001-11-15 Thread Johan Holst Nielsen
in the GD lib section. Regards, Johan -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Re: JPG Images from database to filename.jpg

2001-11-15 Thread Johan Holst Nielsen
: image/jpeg); $row = mysql_fetch_row($result); echo $row[0]; } else { //No image with that id! } mysql_close($connection); ? HTML file where the image is: html body img src=phpfile.php?id=23 border=0 alt= /body /html Dont know if you misunderstand you? Regards, Johan -- PHP General

[PHP] Re: Controlling length of table data

2001-11-14 Thread Johan Holst Nielsen
to test the length? Use wordwrap() ? Regards, Johan -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Re: Session help

2001-11-14 Thread Johan Holst Nielsen
session_register() again with the new values. Think it will help you :o) Regards, Johan -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Re: mail() function

2001-11-14 Thread Johan Holst Nielsen
@localhost\nREPLY-TO: DoNotReply@localhost; regards, Johan -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Re: PHP + apache .htaccess

2001-11-14 Thread Johan Holst Nielsen
to use .htaccess can you make some links like this, to the customers who is logged in: http://username:[EMAIL PROTECTED]/secretfolder/ Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Re: PHP + apache .htaccess

2001-11-14 Thread Johan Holst Nielsen
-Disposotion: inline; filename=filename.tar.gz); readfile(/home/filename); } else { echo you are not allowed to download this file!: } ? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Re: I suck at regular expressions!

2001-11-14 Thread Johan Holst Nielsen
); $filecontent = fread($fp, filesize($filename)); if(eregi(title(.+)/title, $content, $title_arr)) { return addslashes(htmlspecialchars(trim(strip_tags($title_arr[1]; } else { return (No Title); } } Regards, Johan -- PHP General Mailing List (http://www.php.net

[PHP] Re: how can I get the post content in php

2001-11-14 Thread Johan Holst Nielsen
I mean post content string not a lot of variables etc: aaa.html post a=1b=2 to bbb.php I want use php to read the string a=1b=2 not $a and $b I not sure I understand you, but are you looking for $HTTP_SERVER_VARS['QUERY_STRING'] ?? Regards, Johan -- PHP General Mailing List (http

[PHP] Re: how can I get the post content in php

2001-11-14 Thread Johan Holst Nielsen
.= $keys_arr[$i].=.$HTTP_POST_VARS[$keys_arr[$i]]; } else { $post_query .= .$keys_arr[$i].=.$HTTP_POST_VARS[$keys_arr[$i]]; } } Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Database tags ala Lasso

2001-10-29 Thread Sverre Johan Tøvik
heart's delight, cuz the db tags stays put. Regards, Sverre Johan Toevik -- disclaimer I speak for myself only! /disclaimer to be yourself, in a world that tries, night and day, to make you just like everybody else - is to fight the greatest battle there ever is to fight, and never stop fighting

RE: [PHP] Timestamp math and format

2001-10-19 Thread Alfredeen Johan K
Thanks, That was just what I needed, ie: SELECT DATE_FORMAT(DATE_SUB(insert_date, INTERVAL 2 HOUR), '%b %e (%r)') Johan On 17-Oct-2001 Alfredeen Johan K wrote: I store a timestamp in a database of when a record was inserted. When I pull it out, I format it like this SELECT DATE_FORMAT

  1   2   >