Re: [PHP] getting info.. help!

2001-03-05 Thread Henrik Hansen
n.ltrim.php or maybe http://www.php.net/manual/en/function.trim.php -- Henrik Hansen -- 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]

Re: [PHP] Regular Expression Help

2001-03-05 Thread Henrik Hansen
Don't know if it's the most optimal way but it works :) -- Henrik Hansen -- 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]

Re: [PHP] get current events from mysql query by date?

2001-03-05 Thread Henrik Hansen
think) $strselect = "SELECT EventName FROM table WHERE EventStartDate UNIX_TIMESTAMP() LIMIT 5"; if EventStartDate is not a timestamp what is it then? hope it helps -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Get text between a href= /a

2001-03-05 Thread Henrik Hansen
a href =\"\"GET TEXT HERE/a"; $string = strip_tags($string); -- Henrik Hansen -- 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]

Re: [PHP] sending SMS messages via PHP

2001-03-07 Thread Henrik Hansen
I can easily send standard email messages via PHP. Does anyone know how to send SMS messages? Send them as an email too, most tele companies have the possibility for that option (atleast here in denmark) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] new php release?

2001-03-07 Thread Henrik Hansen
? Or if the above odbc functions are working in the CVS tree? take a look at www.php4win.de fro bleeding edge versions of the php dist (also including many more precompiled modules) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] exec as another user

2001-03-07 Thread Henrik Hansen
-- Henrik Hansen -- 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]

Re: [PHP] new php release?

2001-03-07 Thread Henrik Hansen
Thanks for the URL Henrik, but I'm finding a linux dist :) My odbc functions are used on a linux box to access DB2/AIX :) sorry, well for linux do this: compile compile compile :) -- Henrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] exec as another user

2001-03-07 Thread Henrik Hansen
And be careful what you put a +s on, so it can't be exploited -- Henrik Hansen - Original Message - From: "Jon Snell" [EMAIL PROTECTED] To: "php general" [EMAIL PROTECTED] Sent: Thursday, March 08, 2001 12:44 AM Subject: RE: [PHP] exec as another user It would b

Re: [PHP] RE: sending SMS messages via PHP

2001-03-08 Thread Henrik Hansen
, and the response document is so simple in structure that you could probably get by without an xml parser to interpret it. Does it cost anything? Do you need to be registered? Are there similar services? -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] date (urgent!)

2001-03-11 Thread Henrik Hansen
Hi! I have 2 dates... $start = "20010101"; $end = "20010312"; What is the easiest way of finding out how many days are between? I Would suggest you check put the followinf article from phpbuilder: http://www.phpbuilder.com/columns/akent20000610.php3 -- Henrik Hans

Re: [PHP] new line in forms?

2001-03-11 Thread Henrik Hansen
b? $string = nl2br( $string ); nl2br() don't replace the newlines with a br they insert a br before the newline, therefor you need something like: $string = str_replace("\n", "br", $string); -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Seeking for files ending with '.txt' ..

2001-03-13 Thread Henrik Hansen
eg("[.]([a-z]{2,3})$", $file, $extention); if($extention == ".txt") echo "yehaa file ends with .txt"; else echo "darn no .txt"; } } or something like that -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Upload user account

2001-03-13 Thread Henrik Hansen
erver user the owner of the dir. -- Henrik Hansen -- 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]

Re: [PHP] replacing a line in a file

2001-03-13 Thread Henrik Hansen
maybe this? while($line = fgets($fp, 1024)) { $line = str_replace("replace_this", "with_this", $line); $content .= $line; } fwrite($fp, $content); -- Henrik Hansen - Original Message - From: "enthalpy" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP] Combining Perl and PHP

2001-03-18 Thread Henrik Hansen
"Matthew Hanna" [EMAIL PROTECTED] wrote: Has anyone heard of calling Perl libraries from PHP? I have seen it done with Java classes but it would be great if there was a way to do it with Perl. The only thing i can think of is virtual() and exec(), take a look at those. -- Hen

Re: [PHP] TraceRoute

2001-03-18 Thread Henrik Hansen
"Mick" [EMAIL PROTECTED] wrote: Hi, Anyone able to tell me where i can get a traceroute php script from? http://www.google.com/search?q=php+traceroute+scripthl=dalr= -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] TraceRoute

2001-03-18 Thread Henrik Hansen
"Kath" [EMAIL PROTECTED] wrote: I tried emailing him 5 times with this, but I could never get through :| I even found the script for him and tried to send it to him :| - Kath heh i got an error too, lets just hope he read the group :) -- Henrik Hansen -- PHP Gener

Re: [PHP] Can I run a php3 file?

2001-03-20 Thread Henrik Hansen
-- Henrik Hansen -- 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]

Re: [PHP] mysql backup

2001-03-22 Thread Henrik Hansen
u username databasename /path/to/file then you have a comple dump of your database and database structure. -- Henrik Hansen -- 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 adminis

Re: [PHP] General question :)

2001-03-26 Thread Henrik Hansen
seperating different similar functionality in them, I think it's also a good idea to have all functions in one file, makes them easy to find. But alot of small php files can also work, I would reccommend you try some different solutions out and find your own style. -- Henrik Hansen -- PHP General Ma

Re: [PHP] General question :)

2001-03-26 Thread Henrik Hansen
some small files with it, depends on what the big files do, Classes and common functions can be grouped together. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

Re: [PHP] password

2001-03-27 Thread Henrik Hansen
"Marisol Daz E." [EMAIL PROTECTED] wrote: 1. (*) text/plain Hi I need the code, for protecting the dir by password. take a look at htaccess files -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: Change column in mysgl

2002-01-15 Thread Henrik Hansen
[EMAIL PROTECTED] (Jan grafström) wrote: Hi! Can I change this column adress VARCHAR(25) to adress VARCHAR(40) afterwards. yes look here: http://www.mysql.com/doc/A/L/ALTER_TABLE.html -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: wincvs?

2002-02-01 Thread Henrik Hansen
, but i get the error, whats wrong ??? the login part is not a part of the CVSROOT, the correct one is :pserver:[EMAIL PROTECTED]:/repository -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Re: Homesite

2002-02-19 Thread Henrik Hansen
[EMAIL PROTECTED] (Jeroen Timmers) wrote: There was a plugin for homesite to work with PHP, can somebody help me please? What do you mean work with? standard it has syntax highlighting etc. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Return values?

2002-02-25 Thread Henrik Hansen
[EMAIL PROTECTED] (Daniel alsén) wrote: Hi, how do i display return values from functions? Ie i want to see whether mail() returns TRUE or FALSE. echo mail(...); shows the return value, then you can do: if (mail(...)) { //sent ok } else { //not sent } -- Henrik Hansen -- PHP

[PHP] Re: SOAP status

2002-02-25 Thread Henrik Hansen
project, maybe ask on pear-general? -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: grab a file from location and save it to server

2002-02-25 Thread Henrik Hansen
[EMAIL PROTECTED] (Mike Krisher) wrote: Is there a way with PHP to grab a file from an external server (http://www.domain.com/image.jpg) and save/upload it onto my local server? use fopen() -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: excluding files

2002-02-28 Thread Henrik Hansen
, but filename.html would not? look at the strstr() function, that can check if pv is there and not like pcomethingv, then you prolly need a regexp for that. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: File Copy

2002-03-01 Thread Henrik Hansen
). -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDF creation with PDF-LIB samples?

2002-03-01 Thread Henrik Hansen
html (using a system() call). I got problems when creating multiple pages with pc4p, but a fix should (or is it fixed) be on the way. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Deleting a Record

2002-03-06 Thread Henrik Hansen
1 = $value But I don't know how to write the state for a second field. Can some one tell, but one field seem to give too much choose and would make it to easy to delete the wrong record. DELETE FROM table WHERE field = 1 AND field2 = 2 -- Henrik Hansen -- PHP General Mailing List (http

[PHP] Re: Changing an XML-file

2002-03-09 Thread Henrik Hansen
[EMAIL PROTECTED] (Léon Hoeneveld) wrote: I want to use XML-files not just for reading but also for writing. In fact I want to update values in an XML-file as if they were database tables. Does anyone have an example or link for that? Look at the domxml functions for php. -- Henrik

[PHP] Re: Deleteing folders containing files...

2002-03-15 Thread Henrik Hansen
[EMAIL PROTECTED] (Philip Jeffs) wrote: Hi, Does anyone know of an 'easy' way to delete folders that contain files and sub-folders? system(rm -rf folder); else you need to delete all the folders contents and then the foler itself reccursivly. -- Henrik Hansen -- PHP General Mailing

[PHP] Re: search engine friendly urls

2002-03-21 Thread Henrik Hansen
://www.blabla.com/dynamicpage.cfm/205 were 205 would be a record number and would be conventionally represented as http://www.blabla.com/dynamicpage.cfm?id=205 http://www.promotionbase.com/article/485 -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: php IDE for linux

2002-06-04 Thread Henrik Hansen
[EMAIL PROTECTED] (J Smith) wrote: Quanta is for KDE, too, not GTK. you are right I was thinking about glimmer :) but kate,quanta for kde then :) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: parse text

2002-06-19 Thread Henrik Hansen
(9) caracter from left ( 0ABCD --the caracter must i read ) so anybody can help me use substr(); -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: how to get names of files...

2002-06-25 Thread Henrik Hansen
a na.jpg then I want then it should be $second .. if you know what I mean) use some if's to find out in the readdir loop. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Date function

2002-04-19 Thread Henrik Hansen
). VALUES($CustID,date()); try this: $SQL = INSERT INTO orders (Customer_Id, Order_Date). VALUES($CustID,' . date(m-d-Y) . '); -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Displaying dates

2002-04-25 Thread Henrik Hansen
))); next month: date(j-M-Y H:i, mktime(0,0,0,date(m)+1, date(d), date(Y))); -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: tutorial on global variables

2002-04-27 Thread Henrik Hansen
I'm supposed to be doing this. Or there is a new way that is preferred. you can do it that way, but if you want to avoid calling global all the time you might consider this approach: $GLOBALS[foo] = 123; function something() { echo $GLOBALS[foo]; } -- Henrik Hansen -- PHP General Mailing

[PHP] Re: reg-ex again

2002-04-29 Thread Henrik Hansen
' m having problems with the correct regex what about something simple as: $str = /db/skod.gif; if (strpos($str, /) == 0) { echo Slash first; } else { echo Slash not first; } -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Looking for an easier regex check...

2002-04-29 Thread Henrik Hansen
. Is there is simpler way to ensure this rather than checking to see if any of the characters I don't want are in there? well to correct the parse error you prolly want to escape these chars: (){} to \(\)\{\} maybe others, cant see any though. -- Henrik Hansen -- PHP General Mailing List

[PHP] Re: Stupid question

2002-05-02 Thread Henrik Hansen
[EMAIL PROTECTED] (Liam Mackenzie) wrote: I have a script that outputs this: 0.023884057998657 What's the command to make it shrink down to this: 0.023 round() -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Zend - Studio, Encoder, Optimiser...

2002-05-06 Thread Henrik Hansen
the Encoder work? for this part I can say it works very well, you just encode your code with the command line encoder, upload it to wherever and it runs (if the zend optimizer is running) and the code is very unreadable. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net

[PHP] Re: pdf_get_info

2002-05-27 Thread Henrik Hansen
[EMAIL PROTECTED] (Dietmar Thamm) wrote: hi, is there still an equivalent function to pdf_set_info() - pdf_get_info(); or another possibility to get the title, subject and author information out of an exsiting .pdf-file? pdflib dont support getting information AFAIK. -- Henrik

[PHP] Re: pdf_get_info

2002-05-27 Thread Henrik Hansen
Dietmar Thamm [EMAIL PROTECTED] wrote: hmmhh, in the PDFlib feature-list there is written ...process existing PDF documents with the PDF import library PDI... any ideas what this pdi thing is about?? yeah it's not about getting pdf information :( -- Henrik Hansen -- PHP General

[PHP] Re: php IDE for linux

2002-06-04 Thread Henrik Hansen
[EMAIL PROTECTED] (Pedro Jorge Dias Cardoso) wrote: please tell me a good PHP editor for linux, wich one you prefer. or a package for PHP in Xemacs. I saw recently that phpedit comes out on linux now thats a good editor (it costs). Else try Kate for KDE and Quanta for GTK. -- Henrik

Re: [PHP] Re: Search all in mysql

2001-09-30 Thread Henrik Hansen
a % on something's place select blah from table where field like '%%%' and no check on input is needed (AKAIK). -- Henrik Hansen -- 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

[PHP] Re: PHPEd

2001-09-30 Thread Henrik Hansen
/message client/email use) in 1.75. Have issues like this been resolved? get the latest free preview from phped.com version 2.96.1 is MUCH better than 1.75 and it's still free. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Re: Running a script with Crontab

2001-09-30 Thread Henrik Hansen
anyone enlight me on this http://alt-php-faq.org/#id81 -- Henrik Hansen -- 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]

Re: [PHP] Re: PHPEd

2001-09-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Kath) wrote: I'm looking to support the company though and my boss said he would buy software for us. I would say it's much more stable than the version you have been working with, so should be worth the money. -- Henrik Hansen -- PHP General Mailing List (http

[PHP] Re: Dated/Timed actions

2001-10-02 Thread Henrik Hansen
to a users. use a cronjob http://alt-php-faq.org/#id81 -- Henrik Hansen -- 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]

Re: [PHP] Re: Dated/Timed actions

2001-10-02 Thread Henrik Hansen
think you have at perms either. maybe set a job up on your local computer? -- Henrik Hansen -- 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]

Re: [PHP] Re: Dated/Timed actions

2001-10-02 Thread Henrik Hansen
times the script... so... is there a good script as efective as a cron job? cron is the superior when you need to do things like that. It's not effective to have a script running all the time checking for jobs. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net

[PHP] Re: Detecting user logout.

2001-10-02 Thread Henrik Hansen
(better?) to do it. -- Henrik Hansen -- 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: Newlines in files

2001-10-03 Thread Henrik Hansen
newline only on console and in file etc. if you print it in a browser use nl2br(); -- Henrik Hansen -- 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

[PHP] Re: popup window under php

2001-10-04 Thread Henrik Hansen
without the user clicking on anything. you need to put tha javascript in script tags and just echo it all in the if block. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Re: random numbers help

2001-10-05 Thread Henrik Hansen
each time the page is refreshed. RTFM, you need to seed before you call mt_rand as stated on the man page. -- Henrik Hansen -- 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

[PHP] Re: IRC Channel

2001-10-20 Thread Henrik Hansen
[EMAIL PROTECTED] (Chip Landwehr) wrote: Is there a PHP IRC channel? #php on most networks -- Henrik Hansen -- 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

[PHP] Re: bug in str_replace() ?

2001-10-21 Thread Henrik Hansen
if str_replace() does replacements on input, but not on the soon-to-be output it is working on. Is this to be expected, or would it be ok to modify the functionality of str_replace()? you should put it in a loop or something to get what you want. -- Henrik Hansen -- PHP General Mailing List (http

[PHP] Re: MySQL4

2001-10-26 Thread Henrik Hansen
[EMAIL PROTECTED] (Leon Mergen) wrote: Hello, Just curious, before I get into the heat, but did anyone who already has installed MySQL 4 had any problems compiling PHP? read somewhere that as long as you use the built in mysql lib and not mysql4 it should work. -- Henrik Hansen

[PHP] Re: free php web hosting

2001-10-26 Thread Henrik Hansen
[EMAIL PROTECTED] (Kamran H. Hassan) wrote: Hi, can any body know about free php mysql free web hosting service provder ? http://alt-php-faq.org/links.html - under hosting -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: help measuring time for img creating...

2001-10-28 Thread Henrik Hansen
/en/function.microtime.php -- Henrik Hansen -- 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: header(Location:);

2001-10-30 Thread Henrik Hansen
one or another script without changing URL to the client. use include as you say or html frames. -- Henrik Hansen -- 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

[PHP] Re: Weekly reporting. How to?

2001-11-01 Thread Henrik Hansen
(). But...is it also possible to grab the html output of a .php file already used in the application (some report) and e-mail it to someone? yeah fopen can open files over http also allowing you to get the output of a script and put it in a string. -- Henrik Hansen -- PHP General Mailing

[PHP] Re: PDF Generator

2001-11-02 Thread Henrik Hansen
/pc4p/ -- Henrik Hansen -- 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: Redirect use back after execution

2001-11-02 Thread Henrik Hansen
(Location: $theUrl); where $theUrl is the url the user came from. -- Henrik Hansen -- 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: creating PDF file using PHP

2001-11-02 Thread Henrik Hansen
it in php.ini as all other extentions. -- Henrik Hansen -- 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() w/ mailing lists

2001-11-12 Thread Henrik Hansen
that info). -- Henrik Hansen -- 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]

Re: [PHP] Re: mail() w/ mailing lists

2001-11-12 Thread Henrik Hansen
testing. -- Henrik Hansen -- 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: Any easy way of finding yesterday...?

2001-11-13 Thread Henrik Hansen
[EMAIL PROTECTED] (Harry Lau) wrote: It is easy to use the function getDate() to obtain the date of today. But instead of writing plenty of conditions, is there any easy way to get the date of yesterday? echo date(m-d-Y, mktime(0,0,0,date(n), date(d)-1, date(Y))); -- Henrik Hansen

[PHP] Re: Newsgroup?

2001-11-15 Thread Henrik Hansen
-- Reply via email to [EMAIL PROTECTED], and it works fine. hmm i can post fine on the server, I dont sent to the maillist. I read your message using the newsgroup, so it would seem to be working for me... :-) me too -- Henrik Hansen -- PHP General Mailing List (http://www.php.net

[PHP] Re: Loading a dll

2001-11-16 Thread Henrik Hansen
[EMAIL PROTECTED] (Daniel Berwig) wrote: Does anyone know if it is possible to load a dll at runtime that is not in the extensions_dir configured in the php.ini? And if it is possible, how can I do it? if anything dl() does it. -- Henrik Hansen -- PHP General Mailing List (http

[PHP] Re: Loading a dll

2001-11-16 Thread Henrik Hansen
[EMAIL PROTECTED] (Daniel Berwig) wrote: The problem is that the php tries to load the dll from the extension_dir. Is there a way to make it load from anywhere else? try to supply a path in dl(). -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Re: Name of file?

2001-11-20 Thread Henrik Hansen
guessed it, heynow.php. use $PHP_SELF ? -- Henrik Hansen -- 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: File download results question

2001-11-20 Thread Henrik Hansen
[EMAIL PROTECTED] (Joe Van Meer) wrote: I figured it out... strip_tags() function did the trick . use strip_tags with caution because it removes some valid text ex: something something will be something after using strip_tags on the text. -- Henrik Hansen -- PHP General Mailing

[PHP] Re: File download results question

2001-11-20 Thread Henrik Hansen
[EMAIL PROTECTED] (Joe Van Meer) wrote: Is there another way to do this...I'd like to be able to display html code on my php pages (code examples) cant you use str_replace() or something? -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: resizing images.

2001-11-29 Thread Henrik Hansen
line tool such as imagemagick. -- Henrik Hansen -- 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]

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Dan McCullough) wrote: I think you need an SMS server to broadcast the data. Am I correct? you can also send sms with the mail function, but a gsm modem is by far the best, so for a stabile service either rent a sms service or get somekind of a gsm modem. AFAIK -- Henrik

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Dan McCullough) wrote: Heres a code snippet: Sorry for leading astray. // load the swsms module dl( ../swsms.so ); never heard of a sms module in php, where can you get this? -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Dan McCullough) wrote: somewhere in here ... I'm not familiar with the actual object, but if you have success withit I would like to hear how you are doing with it. http://www.simplewire.com/developers/code/ ahh yeah now i remember seing it :) -- Henrik Hansen

Re: [PHP] Generating PDF...

2001-12-11 Thread Henrik Hansen
(projects/pc4p) which is a good api for making pdf's, uses php's pdflib functions. -- Henrik Hansen -- 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

[PHP] Re: php binary

2001-12-11 Thread Henrik Hansen
. -- Henrik Hansen -- 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: Text Database class

2001-07-30 Thread Henrik Hansen
text file. I dont, but you can get free mysql databases here, freesql.org -- Henrik Hansen -- 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

[PHP] Re: Text Database class

2001-07-30 Thread Henrik Hansen
/ref.domxml.php and http://www.php.net/manual/en/ref.xml.php -- Henrik Hansen -- 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: Need for dox...

2001-07-30 Thread Henrik Hansen
://www.phpbuilder.com/columns/mattias2312.php3 http://www.phpbuilder.com/columns/ying2602.php3 -- Henrik Hansen -- 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

[PHP] Re: Call to a member function on a non-object error!

2001-07-30 Thread Henrik Hansen
upgraded to PHP4. Line 304 contains this: $MyCart-Display($Orderno); have you initialized you object before using it? like: $MyCart = new MyCart; -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Re: Text Database class

2001-07-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Elias) wrote: http://www.php.net/manual/en/ref.dba.php wasn't what I really wanted, Any other ideas to use text databases? xml, csv files, what do you need excatly and how advanced? -- Henrik Hansen -- PHP General Mailing List (http://www.php.net

[PHP] Re: Pear

2001-07-31 Thread Henrik Hansen
sites. Any good readings that you know of? http://www.onlamp.com/pub/a/php/2001/05/24/pear.html http://www.onlamp.com/pub/a/php/2001/07/19/pear.html -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Re: Pear

2001-07-31 Thread Henrik Hansen
[EMAIL PROTECTED] (Henrik Hansen) wrote: [EMAIL PROTECTED] (Mindhunter) wrote: Hi, Is it worth the while to read up on PEAR? I have seen much of it but I I would say it is, but have in my that it's under development don't know much about it. I am not a complete newbie

[PHP] Re: PHP EDITOR 4 WINDOWS?

2001-08-01 Thread Henrik Hansen
[EMAIL PROTECTED] (Kyle Smith) wrote: Does it really exist? If so could someone post some URLs for me? http://alt-php-faq.org/links.html - look under editors, there are maybe more... -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: FAQ

2001-08-01 Thread Henrik Hansen
to find faqs? :) http://alt-php-faq.org/ http://www.php.net/manual/en/faq.php http://php.faqts.com -- Henrik Hansen -- 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

[PHP] Re: Web site counter

2001-08-01 Thread Henrik Hansen
[EMAIL PROTECTED] (Kyle Smith) wrote: Is it possible to make a website counter with a PHP script and a text document? If so can somebody email me a script (unlikely) or send me to a page with a script (yay) check hotscripts.com -- Henrik Hansen -- PHP General Mailing List (http

[PHP] Re: crypted source

2001-08-06 Thread Henrik Hansen
, ...) to the php source code on the server machine? that is something like a crypting mechanism or a seminterpreter module for php in order to hide the source code inside the server ? http://apc.communityconnect.com -- Henrik Hansen -- PHP General Mailing List (http://www.php.net

[PHP] Re: PHP Editor

2001-08-08 Thread Henrik Hansen
-- Henrik Hansen -- 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: code to see files in directories

2001-08-08 Thread Henrik Hansen
); } getDirContents(/test/); -- Henrik Hansen -- 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: post problems

2001-08-09 Thread Henrik Hansen
is not passed to the page, as I do not always want to pass the data to it, how can i test for the occurence of var and respond to it from within the called page? maybe you need to globalize your var on the page where it's posted to? if (isset($var)) { echo var is set; } -- Henrik Hansen -- PHP

[PHP] Re: ICMP Ping

2001-08-13 Thread Henrik Hansen
[EMAIL PROTECTED] (James Crowley) wrote: Hi, Is there any way to send an ICMP ping (or packet) from PHP? (without using exec(ping)!!) use sockets -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

  1   2   >