RE: [PHP] How to generate MD5 passwords

2005-07-29 Thread Martin B. Nielsen
Are you maybe looking for something like this: The above will output: 098f6bcd4621d373cade4e832627b4f6 as MD5 hash value. For more info, http://se2.php.net/manual/en/function.md5.php Best regards, Martin -Original Message- From: Michelle Konzack [mailto:[EMAIL PROTECTED] Sent: 30

[PHP] Best way how to STORE DATA

2005-06-09 Thread Martin Zvarik
Hi, what's the best way how to store a small amount of data, like list of categories or sections of a website. CVS (comma delimited text) x Database (MySQL, or other) x XML ? Which method is the fastest? Anyone has any personal experiences? Thank you in advance for replies. Martin Zvarik

Re: [PHP] Beautiful HTML Invoice -> Prints like crap! I need somesuggestions!

2005-06-08 Thread Chris Martin
t; > > > > > Make it a pdf? > Is a simple CSS print stylesheet out of the question? If the site is marked up properly, this should be trivial, and would be much easier/more efficient. IMO the only image that should be on a printed invoice, is the logo (if any). -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: .INC files

2005-06-01 Thread Martin Zvarik
Sorry I didnt know the post delay is that LONG... On 5/31/05, Jason Barnett <[EMAIL PROTECTED]> wrote: > > Martin Zvarik wrote: > > Hi, > > I saw files like "file.inc.php" and "file.inc" > > > > What is the *.inc suffix good for ?

[PHP] TEST

2005-05-31 Thread Martin Zvarik
test dammit, doesnt work

[PHP] [Files suffix] .inc.php files

2005-05-31 Thread Martin Zvarik
Hi, I saw files like "file.inc.php" and "file.inc" What is the *.inc suffix good for ? Thank you for replies. Martin

[PHP] .INC files

2005-05-31 Thread Martin Zvarik
Hi, I saw files like "file.inc.php" and "file.inc" What is the *.inc suffix good for ? Thank you for replies. Martin

[PHP] .INC files

2005-05-31 Thread Martin Zvarik
Hi, I saw files like "file.inc.php" and "file.inc" What is the *.inc suffix good for ? Thank you for replies. Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Strange comparison behaviour

2005-05-21 Thread Martin Zvarik
String "info" is converted to integer, which is 0... a) if("info" == "0") b) if("info" === 0) c) if("info" == (string)0) Or use strcmp() Cya... Read a book "PHP for beginners" -Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED] Sent: Friday, May 13, 2005 5:13 AM To

RE: [PHP] ZEND Certification

2005-05-21 Thread Martin Zvarik
. I have looked at yellow pages, seems like you're not there either, Rory Browne... If many people here have taken it, can someone please answer my questions above? Thank you! Martin -Original Message- From: Rory Browne [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 1:31 PM

[PHP] ZEND Certification

2005-05-20 Thread Martin Zvarik
Hi, anyone has taken ZEND PHP Certification Exam??? Please can you give me some information about it? Thank you, Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .htaccess

2005-04-19 Thread Martin Mandl
and try php_value instead of php flag: php_value session.cookie_lifetime 14400 Martin Mandl wrote: 4 hours = 60 * 60 * 4 = 14400 Mario de Frutos Dieguez wrote: pete M escribió: I'm trying to figure out out to put a directive in .htaccess to make the session timeout in 4 hours .. tried php

Re: [PHP] .htaccess

2005-04-19 Thread Martin Mandl
4 hours = 60 * 60 * 4 = 14400 Mario de Frutos Dieguez wrote: pete M escribió: I'm trying to figure out out to put a directive in .htaccess to make the session timeout in 4 hours .. tried php_flag session.cookie_lifetime 240 and a few others can someone help ! tia Try ini_set("session.gc_maxlifeti

Re: [PHP] php output fills apache buffer for clients with slow internet

2005-04-19 Thread Martin Mandl
TCP send buffer could even result in an increased number of tropped TCP packages ... Thanks (I was not aware of that directive) Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php output fills apache buffer for clients with slow internet connections

2005-04-19 Thread Martin Mandl
do else? Any hints are welcome, cheers Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Header issues

2005-04-05 Thread Martin . C . Austin
Perhaps you can do some juggling to make this work, passing the query to the server, then using a client side language to transmit those results to the appropriate frame. Sounds like a big headache to me though. Martin Austin John Nichel <[EMAIL PROTECTED]> 04/05/2005 11

Re: [PHP] functions vs classes

2005-04-04 Thread Martin . C . Austin
I know I sure appreciate reading any discussions on OOP issues, as they are something I just cannot seem to grasp. Thanks! Martin Austin Brent Baisley <[EMAIL PROTECTED]> 04/04/2005 08:44 AM To: DuSTiN KRySaK <[EMAIL PROTECTED]> cc: PHP Subjec

Re: [PHP] Include file

2005-03-30 Thread Martin . C . Austin
ase server you are using, than with PHP? I assume database since you are querying something. Just curious. And Jay: I'm using Lotus Notes R6, not much I can do about top quoting. Martin Austin xfedex <[EMAIL PROTECTED]> 03/30/2005 06:27 PM Please respond to xfedex To:

RE: Re[6]: [PHP] asking comment

2005-03-30 Thread Martin . C . Austin
I agree with this solution, though it only effects the OP if he is using a login system of sorts. Martin Austin "Mikey" <[EMAIL PROTECTED]> 03/30/2005 12:39 PM Please respond to frak To: cc: Subject:RE: Re[6]: [PHP] asking comme

Re: [PHP] How to format every secound row in a database result

2005-03-30 Thread Martin . C . Austin
ly wrong in this approach, but it has always worked for me. :o) Martin Austin Miles Thompson <[EMAIL PROTECTED]> 03/30/2005 10:18 AM To: php-general@lists.php.net cc: Subject:Re: [PHP] How to format every secound row in a database result Maintain

Re: [PHP] Parsing... the hell of PHP

2005-03-30 Thread Martin . C . Austin
text here" You can place variables into a string, but if you are using a function to work on that variable, you must concatenate it. "" . htmlentities($url) . ""; (needs concatenation) "$url"; (no function used, no concatenation necessary) Good luck! Martin A

Re: [PHP] Parsing... the hell of PHP

2005-03-30 Thread Martin . C . Austin
$url = ".HtmlEntities($url)."\">"."; It appears the parse error is at the end of your opening link tag, so PHP doesn't know what >.HtmlEntities($url) means. I'm at work so I can't test it, but that appears the culprit to me. $url = "" .

[PHP] Error Generated but no error?

2005-03-30 Thread Geoff Martin
I have a page that receives data from a form. Using $_POST['foo'], I am able to use this data in the page but I continually receive an error notice (PHP Notice: Undefined index: foo in /Library/WebServer/Documents/.. etc). This happens to all three indices that are passed by this form, yet t

[PHP] Remove duplicate values in an array

2005-03-29 Thread Alexandru Martin
How can I remove duplicate values from an array ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading all headers sent

2005-03-29 Thread martin
ype:$_SERVER[CONTENT_TYPE]"; // text/xml MARTIN www.movil.be Richard Lynch wrote: Search php.net for "RAW HTTP" Maybe. On Fri, March 18, 2005 3:28 am, martin said: Thanks for the answer, what I'm trying to achieve is a php proxy that receives any GET/POST request with correspoding head

[PHP] redirection, same host, two domains

2005-03-25 Thread Alexandru Martin
and if they type mysite.com to display the page. I'm guessing it should be something like this : if ( refferer = mysite.domain.com ) { redirect to mysite.com } else { my html code } P.S: I need this because I don't want google to think it's a duplicate site. Thank you, Alexandru

Re: [PHP] NetFlix Drag and Drop Row Ordering

2005-03-24 Thread Martin . C . Austin
I don't see anything special about my Netflix queue. Am I missing something there? And I have no idea what "Flex" is referring to, so I'll check that out if anyone lets me know where. :o) Martin Austin Burhan Khalid <[EMAIL PROTECTED]> 03/24/2005 12:27 A

[PHP] Listing directory, return none if only one file

2005-03-24 Thread Alexandru Martin
I have a script that lists the files in a directory, but when i have only ONE file , it won't display it ( here is the code : http://www.pastebin.com/262050 ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading all headers sent

2005-03-18 Thread martin
RLOPT_HTTPHEADER, $header); $data = curl_exec($ch); Best regards, MARTIN Jesper Goos wrote: The $SERVER variable is an array, so try this: "; print_r($_SERVER); echo ""; ?> regards Jesper martin wrote: Hi, I wanted to know if there is some way to expose the full headers sent to a p

[PHP] Reading all headers sent

2005-03-18 Thread martin
o a page ? Best regards, MARTIN -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] mysqli connection problem

2005-02-08 Thread Martin Norland
l you what the default for your system is, but there are php functions to get configuration options, if you don't have it in any obvious places. Cheers, -- - Martin Norland, Database / Web Developer, International Outreach x3257 The opinion(s) contained within this email do not necessarily represent

[PHP] Re: [PHP-DB] mysqli connection problem

2005-02-07 Thread Martin Norland
sqli.default_socket to the same as the mysql.default_socket. I can't tell you what the default for your system is, but there are php functions to get configuration options, if you don't have it in any obvious places. Cheers, -- - Martin Norland, Database / Web Developer, Internatio

Re: [PHP] Is it Possible?

2005-02-04 Thread Martin Holm
Sagar C Nannapaneni wrote: I'm calling a php script with tag for ex: http://localhost/test.php?img=asfd";> and the test.php is as follows... test.php --- Theres no problem with this..its working fine. But i want to return some text(or Html)

[PHP] Image Resolution

2005-01-26 Thread Martin Magnusson
A6 (15,2x10,9 cm). Is it possible to change resolution like this? Thanks // Martin M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Image Resolution

2005-01-26 Thread Martin Magnusson
A6 (15,2x10,9 cm). Is it possible to change resolution like this? Thanks // Martin M

RE: [PHP] convert hidden form to get url

2004-12-20 Thread Martin Reeves
Sorry for not been clear. The snippet of html is code I am getting dynamically using curl from another website. I want to then convert that html code into a url like http://www.somewebsite.co.uk/Availability?NUM_OF_ADTS=1&CABIN=E&B1_DAY=27. Best Regards Martin -Original Message--

[PHP] convert hidden form to get url

2004-12-20 Thread Martin Reeves
.cgi"; method="POST" name="flightsForm" id="flightsForm"> Thanks Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Martin Holm
ry. http://www.php.net/manual/en/function.imagecreatefromgif.php -> *Note: * GIF support was removed from the GD library in Version 1.6, and added back in Version 2.0.28. This function is not available between these versions. Regards, Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML button as hyperlink

2004-11-18 Thread Martin Holm
://new.url.com/whatever.html";> // Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using Google's API with PHP

2004-10-30 Thread Chris Martin
t: http://www.devshed.com/c/a/PHP/Using-The-Google-Web-APIs-With-PHP/ -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dose this tool exist

2004-10-09 Thread Martin Rozmus
Am Sa, den 09.10.2004 schrieb Dave Carrera um 8:46: > Hi List, > > Is there a GUI tool that can help make relationships between MySQL tables ? > Look at: http://www.fabforce.net/dbdesigner4/ -- Martin Rozmus <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.ne

Re: [PHP] splitting string into array

2004-09-29 Thread Martin Holm
blackwater dev wrote: How can I take a string and create an array? Example, A12B05C45D34 I need to split this into chunks of three A12,B05,C45..etc? Thanks! | use str_split() if you dont have php5, you can use the following code: | if (!function_exists('str_split')) { function str_split ($s

[PHP] curl grabbing a website

2004-09-19 Thread Martin Justra
nutzer=aaa&passwort=bbb&ic=tracking";); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $test = curl_exec($ch); $teil = explode("", $test); echo $teil[0]; curl_close($ch); What did I do wrong ? Martin ?> -- PHP General Mailing List

Re: [PHP] PHP and extern link

2004-09-19 Thread Martin Justra
Hello Robert, yes that works. But the problem is that I don't want that the one who opens the site can see the whole link in the navigation line of the browser (where you type your adress in). In your solution I get the whole link Martin -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP and extern link

2004-09-19 Thread Martin Justra
ps://tto.deutschepost.de/nexttonline/jsp/direct_access.do?v_benutzer=xxx&v_passwort=xxx&v_ic=xxx&v_spr=deu): failed to open stream: No such file or directory in /var/www/catalog/blubb.php on line 2 It seems that fopen is not able to open it, because it is not redirected to a file..

[PHP] PHP and extern link

2004-09-18 Thread Martin Justra
I tried fopen() and anything like that but it didn't work. Any solution ? Thanks. Martin Justra -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Highest Key in an Array

2004-09-17 Thread Martin Holm
Daniel Schierbeck wrote: I've been looking at php.net, but i couldn't find what i'm searching for. I have a numeric array, and i'd like to get the highest key. E.g. $arr = array(3 => "foo", 7 => "bar", 43 => "foobar"); What i want is a function that, in this case, returns 43. Daniel Schierbeck

Re: [PHP] Splitting 12345 -> 1,2,3,4,5

2004-09-16 Thread Martin Holm
Michael Mao wrote: Thanks John. Found what I'm looking for: Function str_split() to make it php4 compatible you can use this function: | if (!function_exists('str_split')) { function str_split ($str, $size = 1) { $arr = array(); for ($i = 0 ; $i < strlen($str) ; $i += $size) { $

[PHP] Re: create and read array

2004-09-11 Thread Chris Martin
;]);\r\n"; } -- Seigo www.geocities.com/seigo_ua/ Just a note to help the learning process. Either mysql_fetch_assoc() and mysql_fetch_array() will return your result in an array, so you don't need to actually create one. -- Chris Martin Web Developer Open Source & Web Standards Ad

Re: [PHP] stdin buffering

2004-09-09 Thread Martin Holm
Greg Donald wrote: On Thu, 2004-09-09 at 15:25, Jim Grill wrote: exec("stty -icanon min 0 time 0"); Nice. I suspect 'phpSnake' will appear on freshmeat in a couple days. :) thats more or less what we are trying to do. =) pong as a start at least. doing it all over again, this time php-st

[PHP] stdin buffering

2004-09-09 Thread Martin Holm
n off buffering in the input stream but I can't find any way to do it. Been looking everywhere on php.net but can't find any hints. // Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Does any one else get this?

2004-09-04 Thread Chris Martin
ce I never confirmed them, they never made it. I don't want to be considered one of the spammers that I'd like to knock the F* out. -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: installing PHP on winXP

2004-09-04 Thread Chris Martin
dll) in the Apache root, or Apache/modules directory If all else fails you could uninstall and try the WAMP bundle. -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP IDE for OS X

2004-09-04 Thread Chris Martin
t said, you could give Quanta Plus or Bluefish a shot, both are great free linux apps. My personal favorite is Quanta Plus, it contains most of what you mentioned (even auto-completes your variables) On the non-free side, Dreamweaver MX has some decent PHP features, although it's a pricey so

[PHP] Re: PHP to replace javascript

2004-09-03 Thread Chris Martin
sizes that you're opening in a pop up, and you want each window to fit the image perfectly. You could then use PHP to get the size of the image, to then dynamically insert into the JavaScript. Congrats on RTFM!! It seems daunting at first, but as you learn more, it will become your friend.

[PHP] Re: uppercase sentences

2004-09-03 Thread Chris Martin
gs In particular, for all uppercase, you'll probably find 'strtolower()' helpful. And, as Jim mentioned, ucfirst() will capitalize the first letter. There's a bunch more that can help you control what they're sending you. (Isn't it amazing what people will enter in a f

Re: [PHP] PHP5 Gd Library error compiling

2004-08-23 Thread Martin Visser
Curt Zirzow wrote: * Thus wrote Martin Visser: PHP5, with GD on Linux (Slackware 10.0) ./configure goes just fine, but when I try 'make', there's an error. this is how I configured it: ./configure --prefix=/usr/local/php5 --with-zlib --with-pear=/usr/share/pear --with-mysql=/

[PHP] PHP5 Gd Library error compiling

2004-08-22 Thread Martin Visser
mooth' ext/gd/gd.lo(.text+0xf231): In function `zif_imageantialias': /usr/local/php5/ext/gd/gd.c:4216: undefined reference to `gdImageAntialias' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 I tried to compile PHP with only --with-gd (without --with-jpeg-dir etc) and

[PHP] Failing of imagecreatefromstring function

2004-08-16 Thread Martin Dupal
I've been using func "imagecreatefromstring" for creating JPEGs obtained from MySQL database. The function sometimes fails terminating script with no error message. Has somebody reached such problem? I don't want to save images to temp files. Linux 2.4.26, PHP 4.3.8, gd 2.0 or higher -- PHP Gen

[PHP] Re: annoying autoreplies

2004-08-07 Thread Chris Martin
ply either! At least they're not on PDXLUG!!! -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problem with class and tree-like struct

2004-08-07 Thread Martin Schneider
Ah, i forgott to pass the paramter as a reference... Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with class and tree-like struct

2004-08-07 Thread Martin Schneider
Hello! I made a class which should represent a tree-like structure (PHP 4.3.8). I made a root-nore and added 2 childs. The problem is that the childs are not added to the parent. Why? Martin class TreeItem { var $m_pParent; var $m_sName; var $m_arrChilds = array

[PHP] Re: FW: IMPORTANT: Please Verify Your Message

2004-08-07 Thread Chris Martin
Curt Zirzow wrote: * Thus wrote Ed Lazor: Gawd this stuff sucks. Nothing like a spammer posing as the list itself and farming email addresses from members. Its odd, i've yet to get one of those. Either the spammers dns doesn't resolve proper (cause my server rejects those) or if its due to the fac

[PHP] Re: [Q] How to setup Dreamweaver so that PHP scripts are executed?

2004-08-06 Thread Chris Martin
just go to http://localhost/your_script.php in your browser to test them out, no need to use the command line to pass to a browser. -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Re: Sessions Problem !!

2004-08-06 Thread Chris Martin
tes, but I could've just overlooked it. -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Sessions Problem !!

2004-08-06 Thread Chris Martin
min.php on line 1 This error tells you that the output was started at line 1 of your admin.php file. (maybe a blank line at the top of the script?) As Miles suggested: "You have to call session_start() before any output to the page, even a single space." -- Chris Martin Web Develop

[PHP] Re: Dreamweaver & PHP

2004-08-06 Thread Chris Martin
(although it generates some ridiculous code) Is there any GPL alternative for this kind of stuff? What kind of stuff? Editing PHP? Quanta, or Bluefish. -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/

[PHP] Re: php coding software

2004-08-02 Thread Chris Martin
, but you're wrong. Dreamweaver DOES have MySQL support and can connect to MySQL databases to help coding your scripts. Yes. PHP and MySQL is supported in DWMX, no extensions required. FTPEdit and HTMLKit are both free editors for Windows Quanta and Bluefish are excellent on GNU/Linux -- Chris

[PHP] Re: PHP5 Manual in PDF and for Pocket PCs

2004-07-31 Thread Chris Martin
http://www.easysw.com/htmldoc/ -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php & paypal

2004-07-27 Thread Chris Martin
: http://www.php.net/unsub.php Not in the URL. Read the PayPal docs, they post back a form to the return page. Most of what you're looking for will be there, otherwise there are a few custom fields you can use (for say an invoice number). -- Chris Martin Web Developer Open S

[PHP] Re: Creating a PHP5 RPM

2004-07-27 Thread Chris Martin
7;s" while searching google. http://user.cs.tu-berlin.de/~ccorn/software/rpm/build-rpm.html http://www3.sympatico.ca/sarrazip/dev/rpm-building-crash-course.html http://www-106.ibm.com/developerworks/library/l-rpm2/ -- Chris Martin Web Developer Open Source & Web Standards Advocate http

[PHP] Re: [Fwd: IMPORTANT: Please Verify Your Message]

2004-07-26 Thread Chris Martin
Justin Patrin wrote: On Mon, 26 Jul 2004 11:27:32 +0300, EE <[EMAIL PROTECTED]> wrote: What is this? I got this message few times from php.net... Well, that's weirdI've never seen that one. Apparently they're from an annoying spam service that someone on this list has subscribed to and not ac

[PHP] Re: exec works with some, but not all commands

2004-07-24 Thread Chris Martin
too. Also you might try system(), shell_exec(), or passthru() if you're trying to get output back. -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: using the mssql functions on a linux server

2004-07-24 Thread Chris Martin
, I have an English translation of this article available at: http://www.chriscodes.com/articles/Connecting_to_MSSQL_from_PHP_under_Linux/ -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: exec/system question..

2004-07-21 Thread Kevin Martin
Bruce wrote: hey... looking at initiating a perl app from inside a php web app. basically, the user will hit a button/start the app...the perl script will take awhile to complete, so i'd like to run the app and then continue on with the php process... so my question boils down to what's the best ap

[PHP] Re: Money format

2004-07-20 Thread Kevin Martin
Lukáš moravec - ptv servis wrote: Hi to all, is there any function wich can format a "double" or "string" into "money format".for example: 1526789,99 to 1.526.789,99 or something like that.? Regards Lukas Sure, see http://php.net/number_format . I love it when it's as easy as saying "RTFM" -- PHP

[PHP] How to handle cookies?

2004-07-09 Thread Martin Schneider
Hello! I want to use php to gather some informations on a website. You have to login to this website. In a brwoser, a cookie is set at login and identifies you. How can I handle this cookie when using php? Is there an easy way? It would be best just to use fopen("http://...";). Mar

[PHP] Running php scripts stored in mysql

2004-07-08 Thread Martin Bálint
Hello, is this possible? I have a script stored in mysql database. For simplicity let's say: is stored in db. Is it somehow possible to include this script to a running php process for execution? Some analogy to include(file); but for a mysql stored script? Thanks Martin -- PHP Ge

[PHP] Obtain NT Logon

2004-07-03 Thread Martin Wilmore
Hi all, I have a web form with a field for username, this is a corporate site so will be the users NT logon. Would it be possible using PHP to obtain this information directly from the client pc? Thank you in advance. Martin

[PHP] Re: Testing if cookies are enabled

2004-06-21 Thread Martin Schneider
accessed ON THE NEXT PAGE." But I have seen pages on which it seems they set und check if the cookie has been set ON THE SAME PAGE. So I want to know how they do that (perhaps with a 302-header or something like that?). Martin Aidan Lister schrieb: If you can't work it out, and have actua

[PHP] Check if cookies are enabled on one page

2004-06-21 Thread Martin Schneider
ow is it done? I seem not to be able to set and check a cookie on the same page (or am I wrong?) Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Testing if cookies are enabled

2004-06-21 Thread Martin Schneider
ext a cookie on the same page! How is it done? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Testing for cookie?

2004-06-21 Thread Martin Schneider
. So how is it done? I was not able to set and test a cookie on the same page. Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Possible to Google search the news.php.net past post with keywords???

2004-06-09 Thread Chris Martin
and many others) through Gmane. http://news.gmane.org/index.php?prefix=gmane.comp.php -- Chris Martin - Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Error Downloading files using FOpen

2004-06-05 Thread Chris Martin
ur script, but expect your files to be readable with applications such as notepad. You should use the 'b' in all other cases. Hope that helps. Sorry if I misunderstood your problem. -- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/ --

[PHP] Re: Problem with number_format

2004-05-25 Thread Martin Geisler
[EMAIL PROTECTED] (Curt Zirzow) writes: > * Thus wrote Martin Geisler ([EMAIL PROTECTED]): >> >> Caution >> >> When rounding on exact halves round() rounds down on evens and up >> on odds. [...] > > This is a documentation error. And is not on the

[PHP] Re: Simplistic PHP tutorial

2004-05-25 Thread Martin Geisler
tten a long time ago so it doesn't include the newer PHP4 stuff. -- Martin Geisler My GnuPG Key: 0xF7F6B57B PHP EXIF Library | PhpWeather | PhpShell http://pel.sf.net/| http://phpweather.net/ | http://gimpster.com/ Read/write EXIF da

[PHP] Re: Problem with number_format

2004-05-25 Thread Martin Geisler
e reason behind rounding half the values down and the other half up is to avoid the classical banking problem where if you always rounded down you would be stealing money from your customers, or if you always rounded up you would end up over time losing money. By averaging it out thr

[PHP] Re: DOM XML output whitespace

2004-05-24 Thread Martin Geisler
sk for: formatted output. -- Martin Geisler My GnuPG Key: 0xF7F6B57B PHP EXIF Library | PhpWeather | PhpShell http://pel.sf.net/| http://phpweather.net/ | http://gimpster.com/ Read/write EXIF data | Show current weather| A shell in a browser

Re: [PHP] sessions

2004-05-23 Thread Martin Geisler
tant foo...' message when I run it with PHP5: 'bar'); echo $array[foo] . "\n"; error_reporting(E_ALL); echo $array[foo] . "\n"; ?> -- Martin Geisler My GnuPG Key: 0xF7F6B57B PHP EXIF Library | PhpWeather |

[PHP] Re: Random Record Retrieval

2004-05-23 Thread Martin Geisler
/dev.mysql.com/doc/mysql/en/Mathematical_functions.html#IDX1363 for a description of RAND() in MySQL. -- Martin Geisler My GnuPG Key: 0xF7F6B57B PHP EXIF Library | PhpWeather | PhpShell http://pel.sf.net/| http://phpweather.net/ | http://gi

[PHP] Re: Newbie error with cookies and headers already declared

2004-05-22 Thread Martin Geisler
and 'time' is set. The session variables can be set and updated at any time because this only associates data with the session on the server side. -- Martin Geisler My GnuPG Key: 0xF7F6B57B PHP EXIF Library | PhpWeather

[PHP] Re: bg execution

2004-05-22 Thread Martin Geisler
[EMAIL PROTECTED] (Martin Helie) writes: > Hello, > > I need to start a php-based socket server that doesn't die if the client > closes their browser window. > > Is there another (maybe cleaner) method to accomplish this, other than > > exec('bash -c "exec

[PHP] bg execution

2004-05-22 Thread Martin Helie
Hello, I need to start a php-based socket server that doesn't die if the client closes their browser window. Is there another (maybe cleaner) method to accomplish this, other than exec('bash -c "exec nohup setsid php server.php > /dev/null 2>&1 &"'); ? Thanks -- PHP General Mailing List (htt

RE: [PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
so I have everything back to normal now, but was wondering if this is a bug in the 4.3.6 installation where it doesn't create the needed library files. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence [EMAIL PROTECTED] -Original Message- From: Aaron Gould

RE: [PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
Yes. I used --enable-module=so. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence 913.762.8667 913.221.8241 PCS [EMAIL PROTECTED] -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 1:21 PM To: [EMAIL PROTECTED] Subject

RE: [PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
file libphp4.so and I'm loading it in Apache (which I didn't have to change because it was there before). I did notice before the changes that when I executed httpd -l to list loaded modules, PHP was listed and it's not now. I didn't have mod_so loaded before, but I loaded it this

RE: [PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
OK. Here it is [Thu May 20 11:52:41 2004] [notice] child pid 19615 exit signal Segmentation fault (11) Stanley G. Martin System Administrator Sprint - EAS Business Intelligence [EMAIL PROTECTED] -Original Message- From: raditha dissanayake [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: [PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
I'm getting a segmentation fault in the Apache error log whenever I access a page the doesn't finish. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence [EMAIL PROTECTED] -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, Ma

[PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
s for building PHP and followed them, but that didn't help. Here is the configure line I used for PHP: ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs Now nothing works right. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence 913.762.8667 913.221

<    1   2   3   4   5   6   7   8   9   10   >