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

2011-09-16 Thread Johan Lidström
On 15 September 2011 15:57, Robert Williams wrote: > > On Sep 15, 2011, at 6:03, "chamila gayan" 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() method and the 'else' portion o

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 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 where I can use it

Re: [PHP] Re: htmlentities

2011-09-14 Thread Johan Lidström
On 13 September 2011 23:01, Shawn McKenzie wrote: > On 09/13/2011 01:38 PM, Ron Piggott wrote: > > > > Is there a way to only change accented characters and not HTML (Example: > ) > > > > The syntax > > > > echo htmlentities( > stripslashes(mysql_result($whats_new_result,0,"message")) ) . "\r

[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 "&q

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

2007-08-24 Thread Johan de Wit
buttons 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

[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

[PHP] Re: ftp root dir?

2007-05-22 Thread Johan Holst Nielsen
ical) the root of the ftp 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
p you 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. Incl

Re: [PHP] Mac PHP & MySQL

2006-11-02 Thread Johan Martin
resql 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: 74

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

2006-10-10 Thread Johan Martin
out for a while so it may be in the sale section already. The collection class in chapter 5 discusses 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
al Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php You may want to look into openlaszlo. http://www.openlaszlo.org/ You can use it to provide the Internet 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-12 Thread Johan Grobler
while ($row = mysql_fetch_array($sql_result)) { echo" ".$row['LITERATURE_title']." - ".$row['res_fname']." ".$row['res_lname']." ... Everything works as long as $row['LITERATURE_title'] is one word, see this variable contains the names of books, and if the books name is "Heaven" for instance it

Re: [PHP] code generation

2005-08-04 Thread Johan Grobler
les exit; } // show the site... > Andrew Darrow > Kronos1 Productions > www.pudlz.com > > > - Original Message - > From: "Johan Grobler" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, August 03, 2005 11:04 PM > Subject: [PHP] code generation > >

[PHP] code generation

2005-08-03 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... --

[PHP] str_replace weird output

2005-06-02 Thread Johan . Barbier
hing ? Thanks a lot :-) Johan

[PHP] PHP Netobjects Fusion problem

2005-03-26 Thread Johan van Zyl
Connected to: 10.0.0.3:employee.fdb First Name Last Name Fatal error: Call to undefined function: ibase_fetch_assoc() in /home/e-smith/files/ibays/Primary/html/html/untitled17.php on line 209 How do I slove this? Thx Johan van Zyl JVZ Systems CC/realcorp.net Custom

[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 ? Select high 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] 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 FO And thx to all the other POSITIVE responses I have had! It is REALLY appreciated. It is not easy b

[PHP] mail() problem

2004-11-24 Thread Johan van Zyl
ll baffled. 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 (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).

[PHP] PHP & Affiliate & Login

2004-11-20 Thread Johan van Zyl
a SP 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

[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

[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 :) Is

[PHP] Problem with _one_ CE chars - GD library

2004-06-10 Thread Johan Holst Nielsen
ley :D) I 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: installing php4 in windows 2000

2004-05-31 Thread Johan Holst Nielsen
Check 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: Query Query

2004-05-30 Thread Johan Holst Nielsen
ffice_phone='$office', fax_phone='$fax', email='$email' WHERE company_name='$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

[PHP] Re: Associative array question

2004-05-30 Thread Johan Holst Nielsen
ing like: My friend Bill is 35 years of age. Is there a way to do this? No sure what you mean... but it is possible this way: $age) { echo "My friend ".$name." is ".$age." years of age.\n"; } ?> -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- P

[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: including an html file!!

2004-05-30 Thread Johan Holst Nielsen
: includeFile.php -- 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
l :) just 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

Re: [PHP] CVS web front end

2004-05-29 Thread Johan Holst Nielsen
ink 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

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

[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
Hi! I'm trying to sort an array with strings containing swedish characters. However, the sort order is wrong. The following code produces "abäåö" while it should be "abåäö". $list = array("ö", "ä", "a","å","b"); setlocale("LC_ALL","se_SE.ISO8859-1"); usort($list, 'strcoll'); for($i=0;$ihttp://w

[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, 20

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

2002-10-07 Thread Johan Holst Nielsen
exe'. Does anyone know what could cause this error and why the > url isn't working?? Try 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
h f.ex. 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
Johan Holst Nielsen wrote: >> > //DATEFORMAT MMDD >> if($dir=@opendir("/yourdirwithpdf")) { >> echo "Found following files:" >> while(($file=readdir($dir))!==false) { >> if(ereg("^[a-z

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

2002-07-19 Thread Johan Holst Nielsen
x27;; > } > } > } > ?> UPS if(ereg("^[a-zA-Z0-9]+\.$INPUTDATE\.pdf", $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
But i don't know which php function will perform this task (Check filename > from Right to Left). > > If you have any other suggestion, pls help me! I think I would do something like this: '.$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
escape-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-11 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? > > > > if(isset($_POST["submit_back"]

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

2002-07-11 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? " method="post"> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

[PHP] Re: Newbie Logical opertaor question

2002-07-11 Thread Johan Holst Nielsen
$CheckArr = array("a", "b", "c"); if($var1 == 1 && in_array($CheckArr, $var2)) { . } Regards, 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
please show us the source, 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

Re: [PHP] Re: cookie ?

2002-07-10 Thread Johan Holst Nielsen
his case, it could be one of the errors? :) 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
register_globals = off! 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
ettings? Do your denied websites to set cookies? mvh 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: 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 ed

[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] > [E

[PHP] Problem : track_vars stopped working.

2002-05-22 Thread Johan Ekström
7;t think they would have 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: 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 ed

[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 ed

[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] 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] Re: array question--help

2002-04-28 Thread Johan Holst Nielsen
le to natsort the > values and display in the selection form box. Well lets try 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/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-04-26 Thread Johan Holst Nielsen
t;); Oh, sorry... I have just tried so many ways... 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
uery!! And this works fine! The mainpage tries to get the sessions. session_start(); echo "Email:".$HTTP_SESSION_VARS["accountemail"]."".$HTTP_SESSION_VARS["accountsession"]; But i just get a "Email:" without any content? Please help me

[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
27;10'); >html-code... I want this to be repeated 10 times. >end(); > Try instead: 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 sol

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 d

[PHP] Generating PDF...

2001-12-11 Thread Johan Holst Nielsen
nd me 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

[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: 1W

[PHP] Re: Image problem

2001-12-07 Thread Johan
by make a file with follow content: :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: 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/

[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

[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 unsubscr

Re: [PHP] problem with ImageCreateJPEG ...

2001-12-04 Thread Johan Holst Nielsen
; > ImageLine($im,110,110,280,110,$rd); > ImageJPEG($im,"a.jpg"); >?> > > > > > > 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... regar

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.

[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

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. > > >Greeting

[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] 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

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

2001-11-30 Thread Johan Holst Nielsen
om it self? I haven't tried 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,

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

2001-11-30 Thread Johan Holst Nielsen
hmm, youre right. You can use this header maybe "FROM: Do Not Reply " 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 SM

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

2001-11-30 Thread Johan Holst Nielsen
FROM address as [EMAIL PROTECTED] > You can't. The mail specification 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 un

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] 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-

Re: [PHP] words in a string

2001-11-17 Thread Johan Holst Nielsen
> i want php to do an IF, when he founds a special word in a string (ex: > text_-_write_-_text ) .. i m not able to manage it .. Could you use this example? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

[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 PROT

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

2001-11-15 Thread Johan Holst Nielsen
Dont know if you misunderstand you? 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: Fatal error: Call to undefined function: imagecreate()

2001-11-15 Thread Johan Holst Nielsen
end the output 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: how can I get the post content in php

2001-11-15 Thread Johan Holst Nielsen
ere do you want to do with the XML? Cant you just make a echo() in a xml document? please explain? ... ... ... ... ... 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 l

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

2001-11-15 Thread Johan Holst Nielsen
ies to give a little 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 PROTE

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-14 Thread Johan Holst Nielsen
if($i == 0) { $post_query .= $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/) T

[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=1&b=2 to bbb.php > > I want use php to read the string a=1&b=2 not $a and $b I not sure I understand you, but are you looking for $HTTP_SERVER_VARS['QUERY_STRING'] ?? R

[PHP] Re: I suck at regular expressions!

2001-11-14 Thread Johan Holst Nielsen
e return "(No Title)"; > } Try: function getTitle($filename) { $fp = fopen($filename, "r"); $filecontent = fread($fp, filesize($filename)); if(eregi("(.+)", $content, $title_arr)) { return addslashes(htmlspecialchars(trim(strip_tags(

[PHP] Re: PHP + apache .htaccess

2001-11-14 Thread Johan Holst Nielsen
0) { header("Content-type: you choose"); header("Content-length: filesize('/home/filename')"); header("Content-Disposotion: inline; filename=filename.tar.gz"); readfile("/home/filename"); } else { echo "you are not allowed t

[PHP] Re: PHP + apache .htaccess

2001-11-14 Thread Johan Holst Nielsen
me each ?? If you want 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

[PHP] Re: mail() function

2001-11-14 Thread Johan Holst Nielsen
but try making it like this: $mailheaders = "FROM: Do Not Reply \nREPLY-TO: "; 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
ter(), and make 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: Controlling length of table data

2001-11-14 Thread Johan Holst Nielsen
words and then I'd have to build some > logic 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] "Database tags" ala Lasso

2001-10-29 Thread Sverre Johan Tøvik
Hi, For the futurists around here: Is there any chance that php will include "database tags" ala Lasso? For those who don't know what I mean, here's an axample (not quite correct Lasso code, but it should get the point across): [db select="somedb"] [db query="sql"] [record]

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,

  1   2   >