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

2002-06-25 Thread Henrik Hansen
be "a.gif", IF > there's also 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: parse text

2002-06-19 Thread Henrik Hansen
an be use fread > 2. i want read 5 from nine (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: 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: 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. --

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

[PHP] Re: pdf_get_info

2002-05-27 Thread Henrik Hansen
information AFAIK. -- 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
timiser noticable? > > How well does 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

[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

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

2002-04-29 Thread Henrik Hansen
t I only want the characters A-Za-z0-9_ in $string. 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, can

[PHP] Re: reg-ex again

2002-04-29 Thread Henrik Hansen
> without so that > I can add a server path ! > but as usual I' 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";

[PHP] Re: tutorial on global variables

2002-04-27 Thread Henrik Hansen
in functions and I understand that this is not the way 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

[PHP] Re: Displaying dates

2002-04-25 Thread Henrik Hansen
1, date("d"), date("Y"))); 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: Date function

2002-04-19 Thread Henrik Hansen
quot;INSERT INTO orders (Customer_Id, Order_Date)". > "VALUES($CustID,date())"; > > try this: $SQL = "INSERT INTO orders (Customer_Id, Order_Date)". "VALUES($CustID,'" . date("m-d-Y") . "&#x

[PHP] Re: search engine friendly urls

2002-03-21 Thread Henrik Hansen
ld do something like this: > > http://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 L

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

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

[PHP] Re: Deleting a Record

2002-03-06 Thread Henrik Hansen
. > > DELETE FROM $table WHERE field 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 fi

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

2002-03-01 Thread Henrik Hansen
pdflib. Easy to use and pretty > powerful. also give HTMLDOC a go, it creates pdf's from plain 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: File Copy

2002-03-01 Thread Henrik Hansen
;); fwrite($fp, $buffer); fclose($fp); untested but it should work (TM). -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: excluding files

2002-02-28 Thread Henrik Hansen
clude files that contained > pv. > > Thus filenamepv.html would be excluded, 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: 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

[PHP] Re: SOAP status

2002-02-25 Thread Henrik Hansen
I think something is cooking in the PEAR 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: 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 Han

[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

[PHP] Re: wincvs?

2002-02-01 Thread Henrik Hansen
box the password "phpfi" as seen on the php.net > site, 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 unsubscri

[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

[PHP] Re: php binary

2001-12-11 Thread Henrik Hansen
cgi support AFAIK. -- 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] Generating PDF...

2001-12-11 Thread Henrik Hansen
while! also check out pc4p (sf,net(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 co

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

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

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
modem. AFAIK -- 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: resizing images.

2001-11-29 Thread Henrik Hansen
[EMAIL PROTECTED] (Faeton) wrote: > Hello Henrik, > > That should be oK 4 my server, but how about my home apache+php on > win? Any solution? no problem just grab the php dist from php.net it has an gd extension with it. If you want gif support also look for a build at php4win.de

[PHP] Re: resizing images.

2001-11-29 Thread Henrik Hansen
a command 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]

[PHP] Re: PDF print page creation...

2001-11-27 Thread Henrik Hansen
4. Or would it be better to get a HTML to PDF converter (do such things exist > and do they do a good job?) take a look at : http://sf.net/projects/pc4p which is some pdf creation classes, can create tables pdf's with images, text and like. it's cool. -- Henrik Hansen --

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

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

[PHP] Re: Name of file?

2001-11-20 Thread Henrik Hansen
led "heynow.php" it > should return, you 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: 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,

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

[PHP] Re: Newsgroup?

2001-11-15 Thread Henrik Hansen
> > You can't *POST* through the newsgroup -- 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

[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(&qu

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

2001-11-12 Thread Henrik Hansen
re features also, with this one you can use both mail() or SMTP so you can do a little speed 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: mail() w/ mailing lists

2001-11-12 Thread Henrik Hansen
sysadmins want to give 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]

[PHP] Re: Redirect use back after execution

2001-11-02 Thread Henrik Hansen
dont use referers etc. then just use a header("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
nd enable 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: PDF Generator

2001-11-02 Thread Henrik Hansen
self. http://sourceforge.net/projects/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: Weekly reporting. How to?

2001-11-01 Thread Henrik Hansen
in a string and pass the string to > mail(). > > 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 sc

[PHP] Re: header("Location:);

2001-10-30 Thread Henrik Hansen
re theres a > way to say php parser to run 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

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

2001-10-28 Thread Henrik Hansen
ou can use microtime(); look at http://www.php.net/manual/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: 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

[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. -- H

[PHP] Re: bug in str_replace() ?

2001-10-21 Thread Henrik Hansen
> Actual output: > "hello world" > > Of course, this is what happens 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

[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

[PHP] Re: random numbers help

2001-10-05 Thread Henrik Hansen
other value of the random number 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 PR

[PHP] Re: popup window under php

2001-10-04 Thread Henrik Hansen
[EMAIL PROTECTED] (Tim Sawyer) wrote: > I want to open a popup window under php control. So lets say I have an > if statement which if true opens the window. > > if ($something) { > JavaScript:window.open("test.php",blah...); >} > > Guess I'm saying that I want to call a Javascript f

[PHP] Re: Newlines in files

2001-10-03 Thread Henrik Hansen
t it!? > But it doesn't!!! after printing where? in a browser \n does NOT mean 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

[PHP] Re: Detecting user logout.

2001-10-02 Thread Henrik Hansen
of uncertainty. I still think there are many other ways (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]

Re: [PHP] Re: Dated/Timed actions

2001-10-02 Thread Henrik Hansen
e 2 simultaneos visits at 0:00am or mayor, the php will > execute 2 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 checki

Re: [PHP] Re: Dated/Timed actions

2001-10-02 Thread Henrik Hansen
Try at instead. if you dont have cron access I dont 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 contac

[PHP] Re: Dated/Timed actions

2001-10-02 Thread Henrik Hansen
> happy birthday message 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: 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

[PHP] Re: Running a script with Crontab

2001-09-30 Thread Henrik Hansen
run this script. > > Can 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]

[PHP] Re: PHPEd

2001-09-30 Thread Henrik Hansen
> bit of very minor web browser/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 uns

Re: [PHP] Re: Search "all" in mysql

2001-09-30 Thread Henrik Hansen
ted you just insert 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-ma

[PHP] Re: large external script to include in many pages

2001-08-13 Thread Henrik Hansen
[EMAIL PROTECTED] (Web Manager) wrote: > Hello, > > I am testing a new DHTML code for navigation menus. I plan to use it > throughout my web pages made with PHP. The script is about 600 lines > long! > > Beside making a : > > define (script1, "" . > "" . > "" . > ""); > > and c

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

[PHP] Re: post problems

2001-08-09 Thread Henrik Hansen
this is generating a warning if var 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 (isse

[PHP] Re: code to see files in directories

2001-08-08 Thread Henrik Hansen
; $file != "..") { getDirContents ($slashdir . $file . "/"); } else if ($file != "." && $file != "..") { echo $file . ""; } } closedir($dh); } 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: PHP Editor

2001-08-08 Thread Henrik Hansen
t-php-faq.org/links.html -- 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: count()?

2001-08-06 Thread Henrik Hansen
[EMAIL PROTECTED] (Jeremy Morano) wrote: > Hi, I was woundering how to read and find the # of records in my table... > Do I use count()??? yes select count(*) from table -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

[PHP] Re: crypted source

2001-08-06 Thread Henrik Hansen
low the access (read, write, ...) > 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 -- PH

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

[PHP] Re: FAQ

2001-08-01 Thread Henrik Hansen
make a faq on how 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 li

[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: [EM

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

[PHP] Re: Pear

2001-07-31 Thread Henrik Hansen
developed quite a few DB driven 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 ad

[PHP] Re: Can't write to file via php, just via ftp...Can anyone help?

2001-07-30 Thread Henrik Hansen
if there is a solution for > this? I mean, others have to write to the server too, so there must be a way > to do it... (btw, it's a linux or unix server where the pages are on). > Thanks for your thoughts. contact the system administrator and tell him to set the right permission

[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 (htt

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

2001-07-30 Thread Henrik Hansen
ince my webserver 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 PROTE

[PHP] Re: Need for dox...

2001-07-30 Thread Henrik Hansen
5.php3 http://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 th

[PHP] Re: Text Database class

2001-07-30 Thread Henrik Hansen
ual/en/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: Text Database class

2001-07-30 Thread Henrik Hansen
values and data is stored in a raw 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

Re: [PHP] Big difference?

2001-07-25 Thread Henrik Hansen
[EMAIL PROTECTED] (Johannes Schill) wrote: > Hello Kyle, > > The difference between echo and print is that print returns a boolean value, > so you can check if "blah blah" was successfully printed. hmm isen't it always succesfull printed or did I miss something?

[PHP] Re: Big difference?

2001-07-25 Thread Henrik Hansen
e but can take more paremeters, look at their manual pages for more information. -- 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: Supressing warnings on "max file size exceeded"

2001-07-25 Thread Henrik Hansen
s? > is the file very large? then you might have to set: ; Maximum allowed size for uploaded files. upload_max_filesize = 2M to some more (in your php.ini). -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: phpinfo - mysql - windows

2001-07-25 Thread Henrik Hansen
version of the bundeld mysql client. To upgrade this recompile php and specify a mysql source 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,

[PHP] Re: php newbie - browser email address

2001-07-24 Thread Henrik Hansen
their ip address to keep track of visits? -- 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: declaring variables in PHP???

2001-07-24 Thread Henrik Hansen
e you a warning when variables aren't defined, but it still does not NEED to be defined. > 2. are there source code checking tools that could help me locate > problems like described above? dont know. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: Check for exist function

2001-07-23 Thread Henrik Hansen
[EMAIL PROTECTED] (Rosen) wrote: > Hi, > How can I check, thath some function is declared and to do not declare it > second time ( with "require" ) ? http://dk.php.net/manual/en/function.function-exists.php -- Henrik Hansen -- PHP General Mailing List (http://www.php.n

[PHP] Re: mail with html

2001-07-23 Thread Henrik Hansen
me > where I can study some scripts or tutorials. > if I were you i would read the manual page for the mail function, there is examples of sending html mails and not. http://php.net/manual/en/function.mail.php -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Re: number generat {Luhn algorithm}

2001-07-23 Thread Henrik Hansen
39.php and many more -- 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: limit items per page

2001-07-23 Thread Henrik Hansen
[EMAIL PROTECTED] (James Holloway) wrote: > Hi Steph, > > as the name suggests, use LIMIT ;) AFAIK it's mysql specific (at least it does not work with mssql) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] date HELP !!!!!

2001-07-23 Thread Henrik Hansen
k that the current date is the end of month >> >> Thanks in Advance >> >> >> -- >> 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: wordwrap()

2001-07-17 Thread Henrik Hansen
[EMAIL PROTECTED] (Rehuel Lobato De Mesquita) wrote: > Hey Ty, > > I had the same problem. I read somewhere that you can use "\r\n" instead. \r it's windows that uses \r\n so if you run your scripts on a windows machine it might be a good idea to split on them

[PHP] Re: wordwrap()

2001-07-17 Thread Henrik Hansen
"; > ?> you should use $newtext = wordwrap( $text, 8, "", 1); instead of $newtext = wordwrap( $text, 8, "\n", 1); because \n is not visiable printed in a browser but is -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

Re: [PHP] PHP irc chatrooms

2001-07-12 Thread Henrik Hansen
[EMAIL PROTECTED] (Sam Masiello) wrote: > Try #php :) Lots of people hanging out in there all the time. > It seems that #php on efnet is more interesting than others :) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

[PHP] Re: Detection of no cookies?

2001-07-12 Thread Henrik Hansen
like if (setcookie(...)) { "the user has cookies"; } else { echo "No cookies"; exit; } -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Alternative to phpMyAdmin

2001-07-12 Thread Henrik Hansen
[EMAIL PROTECTED] (Steve Brett) wrote: > mysql front is by far my favourite > > available from mysql download section. or mysqlfront.de -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP] Re: Rename a File?

2001-07-11 Thread Henrik Hansen
[EMAIL PROTECTED] (Randy Johnson) wrote: > How do I rename a file on Linux in PHP? > you mean using a php function? php.net/rename -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Re: http referer

2001-07-11 Thread Henrik Hansen
[EMAIL PROTECTED] (Soeren Nielsen) wrote: >> I though every browser supported it, do you have an example on one >> that does not? > > I Opera the user can choose to disable the use of referer ohh I did not know that, maybe be because I never tried it :) now i know :)

  1   2   >