Re: [PHP] servers in php

2004-03-15 Thread DvDmanDT
.. You have never used PHP on win32, have you? -- // DvDmanDT MSN: dvdmandt?hotmail.com Mail: dvdmandt?telia.com Norbert Pfeiffer [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Hi Comex, forget Win-PHP, it only scarcely to 60% of the functions are supported. Everything which

Re: [PHP] Re: DOM XML and php

2004-03-15 Thread Lucian COZMA
But of course you can. Check out the manual: http://ro.php.net/manual/en/function.domxml-open-mem.php and the code sample I've sent you in the thread, Regards, Lucian Tassos T [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I agree but I cannot find a way to transform xlm data

php-general Digest 15 Mar 2004 08:48:16 -0000 Issue 2647

2004-03-15 Thread php-general-digest-help
php-general Digest 15 Mar 2004 08:48:16 - Issue 2647 Topics (messages 180396 through 180415): Re: Mail 180396 by: Jason Davidson 180397 by: Will User denided function 180398 by: nblanco XML architecture question 180399 by: Jabro 180402 by: Ray

[PHP] concatenating 2 resultsets

2004-03-15 Thread Angelo Zanetti
Hi all, is it possible to concatenate two resultsets, to form a big resultset. both resultsets will return the same columns. eg query 1 returns NAME| ADDRESS| EMAIL query 2 returns NAME| ADDRESS| EMAIL but they have different data however the column count is the same (in fact they are the

Re: [PHP] concatenating 2 resultsets

2004-03-15 Thread Marek Kilimajer
Angelo Zanetti wrote: Hi all, is it possible to concatenate two resultsets, to form a big resultset. What database are you using? both resultsets will return the same columns. eg query 1 returns NAME| ADDRESS| EMAIL query 2 returns NAME| ADDRESS| EMAIL but they have different data however

Re: [PHP] building a statically linked php cli

2004-03-15 Thread Thorsten Müller
Am Freitag, 12. März 2004 16:58 schrieb Hugh Beaumont: Hi List, What I want is a binary that has all the libs built into it (I realize this will result in a larger binary and memory footprint). Any advice? try make LDFLAGS=-all-static -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] concatenating 2 resultsets [SOLVED]

2004-03-15 Thread Angelo Zanetti
solved guys -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 12:30 PM To: [EMAIL PROTECTED] Subject: [PHP] concatenating 2 resultsets Hi all, is it possible to concatenate two resultsets, to form a big resultset. both resultsets will return

[PHP] help with storing multiple values in session variables.

2004-03-15 Thread Vimala S.P.
Hi, I have php configured to use sessions. I have a web-database application and have the following problem with sessions I fetch values from database and these values get passed across forms either with POST for submit opion OR GET with href. Now i have problem

[PHP] PHP ftp web client

2004-03-15 Thread Mario Ohnewald
Hello! Can someone recommend me a good/stable PHP-FTP Web client? I wasnt quite happy with the google search results :P Thanks a lot! Mario -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] use of @ operator to suppress errors

2004-03-15 Thread Ben Joyce
hi. i'm using error_reporting(0) and set_error_handler(MyErrorHandler) to manage my errors but I'm getting situations where a NOTICE error is thrown. For example if I refer to $_GET['this'] when there is no 'this' querystring key then i get the error. I've tried using @$_GET['this'] but it

[PHP] virtual() include path problems

2004-03-15 Thread Scott Taylor
I've been trying to use virtual to include a .shtml file that is outside of my current directory (one level up). I've tried the following: a) virtual(../header.shtml); b) virtual($_SERVER['DOCUMENT_ROOT'] . /header.shtml); c)

Re: [PHP] use of @ operator to suppress errors

2004-03-15 Thread Richard Davey
Hello Ben, Monday, March 15, 2004, 11:43:24 AM, you wrote: BJ For example if I refer to $_GET['this'] when there is no 'this' querystring BJ key then i get the error. BJ I've tried using @$_GET['this'] but it makes no difference. BJ Is this normal? Yes because @ suppresses the errors on

Re: [PHP] help with storing multiple values in session variables.

2004-03-15 Thread Richard Davey
Hello Vimala, Monday, March 15, 2004, 11:55:47 AM, you wrote: VSP Is there any way of passing unicode strings properly with href and get? I'm 99% sure you can pass unicode strings by simply URL Encoding them (see urlencode) before appending to the query string. Try it and see? -- Best

Re: [PHP] PHP ftp web client

2004-03-15 Thread Richard Davey
Hello Mario, Monday, March 15, 2004, 11:40:45 AM, you wrote: MO Can someone recommend me a good/stable PHP-FTP Web client? MO I wasnt quite happy with the google search results :P Search hotscripts.com or Freshmeat.net -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html

Re: [PHP] use of @ operator to suppress errors

2004-03-15 Thread Tom Meinlschmidt
Yes, it's normal. You've to check if is that variable set if (isset($_GET['this'])) and than you didn't get any NOTICE about that undefined variable. condition if ($_GET['this']) is not sufficient to check whether is variable set or not. /tom On Mon, 15 Mar 2004 11:43:24 - Ben Joyce

RE: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Dave Starling
I think you could also do something like this: class MyClass { function MyClass { $this-var1=1; $this-var2=2; } function GetVar($var) { return $this-{$var}; } } $test = new MyClass(); echo $test-GetVar('var1').'br /'; echo $test-GetVar('var2').'br

Re: [PHP] use of @ operator to suppress errors

2004-03-15 Thread Stuart
Ben Joyce wrote: i'm using error_reporting(0) and set_error_handler(MyErrorHandler) to manage my errors but I'm getting situations where a NOTICE error is thrown. For example if I refer to $_GET['this'] when there is no 'this' querystring key then i get the error. I've tried using @$_GET['this']

Re: [PHP] use of @ operator to suppress errors

2004-03-15 Thread Ben Joyce
Richard, Tom, and Stuart... thanks for your responses much appreciated. I shall now go and fiddle. Cheers, Ben - Original Message - From: Tom Meinlschmidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 15, 2004 12:01 PM Subject: Re: [PHP] use of @ operator to suppress

[PHP] ODBC, PHP and Pervasive

2004-03-15 Thread William Nettmann
G'day! I am trying to access data in a Pervasive database which is of quite an old version, not sure which, but using the Pervasive Software ODBC-32 driver, version 2.04.02.10, which comes with the application I am trying to share data with, Pastel Partner 5. I am running PHP 4.3 on Windows 2000

RE: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Marco Schuler
Hi! Am Mo, 2004-03-15 um 13.02 schrieb Dave Starling: I think you could also do something like this: class MyClass { function MyClass { $this-var1=1; $this-var2=2; } function GetVar($var) { return $this-{$var}; } } $test = new

Re: [PHP] use of @ operator to suppress errors

2004-03-15 Thread Ben Joyce
Hmm. I'm confused. This page... http://uk.php.net/manual/en/language.operators.errorcontrol.php ...says that you can prepend the @ operator to a variable. So with @$_GET['this'] it should suppress the NOTICE error if 'this' doesn't exist. I've done some testing: Test #1

Re: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Tom Meinlschmidt
I mean using get_object_vars() is much better. and in the example I've seen there: you HAVE TO define all the variables you're using in a class scope. eg class myClass { var $var1; var $var2 = array(); function myClass($var) { $vars =get_object_vars($this); if (isset($vars[$var]))

Re: [PHP] use of @ operator to suppress errors

2004-03-15 Thread Ben Joyce
Many Thanks Nikolay. It seems then that if I'm to avoid the NOTICE errors then isset() should be used as suggested earlier. Not the greatest solution but a working one. Thanks to all. Ben - Original Message - From: Nikolay Bachiyski [EMAIL PROTECTED] To: Ben Joyce [EMAIL PROTECTED]

[PHP] catching URL#target params

2004-03-15 Thread David T-G
Hi, all -- I know that I can easily see http://URL?param=value and even http://URL?value but I haven't found any way to capture http://URL#target as one would use to jump to a certain location in a plain HTML file. When I try this in a PHP file and run phpinfo, I see nothing that

Re: [PHP] catching URL#target params

2004-03-15 Thread Tom Meinlschmidt
Hi, it could be done only by parsing $_SERVER['QUERY_STRING'] variable ... eg $querystring = $_SERVER['QUERY_STRING']; eregi(#([a-z0-9_.-]*), $querystring, $arg); $hashtarget = $arg[1]; /tom On Mon, 15 Mar 2004 08:52:43 -0500 David T-G [EMAIL PROTECTED] wrote: Hi, all -- I know that I

Re: [PHP] catching URL#target params

2004-03-15 Thread Chris Hayes
but I haven't found any way to capture http://URL#target as one would use to jump to a certain location in a plain HTML file. When I try this in a PHP file and run phpinfo, I see nothing that includes that target. Is there a var that will work for me? usually this part of the URL is

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
Tom, et al -- ...and then Tom Meinlschmidt said... % % Hi, Hi! % % it could be done only by parsing $_SERVER['QUERY_STRING'] variable ... Well, that's what I thought of first, but I got nothing. To wit: bash-2.05a$ lynx -dump wftst.web-folio.net/help.php#foo | egrep -i 'foo|query'

Re: [PHP] catching URL#target params

2004-03-15 Thread Tom Meinlschmidt
BACK BACK BACK. I'm a stupid fool ... #something is NOT send to the server, so it's unable to track it ... sorry /tom request was a.php?aasdf=1234a#greetz and from apache log someip - - [15/Mar/2004:15:01:37 +0100] GET /~znouza/a.php?aasdf=1234a HTTP/1.1 200 3325 On Mon, 15 Mar 2004 15:00:04

Re: [PHP] catching URL#target params

2004-03-15 Thread Chris Hayes
At 15:00 15-3-04, Tom wrote: it could be done only by parsing $_SERVER['QUERY_STRING'] variable ... nay, the hash value is not there -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
Chris, et al -- ...and then Chris Hayes said... % % but I haven't found any way to capture % % http://URL#target ... % Is there a var that will work for me? % % usually this part of the URL is handled by the browser and I have not find % a way to get at this with PHP. Ahhh... Bummer! %

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
Tom, et al -- ...and then Tom Meinlschmidt said... % % BACK BACK BACK. I'm a stupid fool ... No you aren't, or that means I'm one for thinking the same thing. Hmmm... That doesnt' lend a lot of weight to your side :-) % % #something is NOT send to the server, so it's unable to track it ...

Re: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Marco Schuler
Hi Am Mo, 2004-03-15 um 14.10 schrieb Tom Meinlschmidt: I mean using get_object_vars() is much better. and in the example I've seen there: you HAVE TO define all the variables you're using in a class scope. eg class myClass { var $var1; var $var2 = array(); function

Re: [PHP] catching URL#target params

2004-03-15 Thread Tom Meinlschmidt
is possible to catch it by javascript, but I have no clue how to use with normal hrefs (not forms) try script alert(document.location); /script and you'll get entrire request with #target part too. /tom -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Tom Meinlschmidt
thank, sure. function name should be myClassGetVar() :) /tom On Mon, 15 Mar 2004 14:49:55 +0100 Marco Schuler [EMAIL PROTECTED] wrote: Hi Am Mo, 2004-03-15 um 14.10 schrieb Tom Meinlschmidt: I mean using get_object_vars() is much better. and in the example I've seen there: you

RE: [PHP] catching URL#target params

2004-03-15 Thread Will
David, The only thing I can think of is using Javascript to set a cookie with the variable from window.location.href and then using PHP to pick up the value. Rather crude but it might work. Will -Original Message- From: David T-G [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 14:08 To:

[PHP] I have a problem In Mail Function

2004-03-15 Thread Ali Ashrafzadeh
Hi In a web application I need to send mail for each members whith a different content . mail message must be in HTML Format and 1256 code page I call mail() functoin in a simple loop to send multiple mail message with differrent content. now I want know that is any body know better method to

[PHP] Printing landscape

2004-03-15 Thread Lou Apolonia
Is there a function/parameter that tells the printer to print in landscape? I believe I've searched through the Printer Functions and haven't encountered such a thing. Any help is appreciated. L -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Problem with mkdir() under windows.

2004-03-15 Thread Brian J. Celenza
I'm having a problem using the mkdir() function under windows when the directory containts a special character. For instance, the directory Someone's Files, a forward slash is added before the 's and the directory returns an error. Is there a way around this? Thank you Brian -- PHP General

[PHP] List of all defined constants

2004-03-15 Thread Marco Schuler
Hi How can I get a list of all constants defined with define()? -- Grüsse Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] stripping content and parsing returned pages?

2004-03-15 Thread Dustin Wish
I have been looking everywhere for any tips or tutorials on, posting to separate websites and parsing the return values for input into a mysql db. I understand the parsing or stripping of html content from a page, but not how to post to a form on a different site and once the values are

[PHP] categorizing and array mapping

2004-03-15 Thread David T-G
Hi, all -- So I have this help script which will have a whopping bunch of help entries in it and I'm thinking about categorizing. Of course, I could just leave everything in one big array and then use the targets, which will become the array keys, directly. But I think I'd like to categorize

Re: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Marco Schuler
Am Mo, 2004-03-15 um 15.21 schrieb Tom Meinlschmidt: thank, sure. function name should be myClassGetVar() :) NoP! -- Regards Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] catching URL#target params

2004-03-15 Thread Seba
I think that the only way to catch it is to rewrite the URL. 1)Write pages with appropriates links. Somethink like href='www.yoursite.com/anchor_target/index.php' 2)Create e rewrite rule in the htacces file. 3)Catch the target value from the php page parsing the rewritten URL

Re: [PHP] Printing landscape

2004-03-15 Thread David T-G
Lou -- ...and then Lou Apolonia said... % % Is there a function/parameter that tells the printer to print in % landscape? I believe I've searched through the Printer Functions and % haven't encountered such a thing. In general, no. Since PHP runs on the server, it has nothing to do with your

Re: [PHP] I have a problem In Mail Function

2004-03-15 Thread Nitin Mehta
this is the safest method, according to me at least. second thing is: yahoo will tackle it as a spam if it has many recepients in to or cc or bcc Hope it helps Nitin - Original Message - From: Ali Ashrafzadeh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 15, 2004 7:07 PM

Re: [PHP] List of all defined constants

2004-03-15 Thread Filip de Waard
On Mar 15, 2004, at 3:23 PM, Marco Schuler wrote: Hi How can I get a list of all constants defined with define()? Marco, Like the manual (http://nl2.php.net/constants) says: Use get_defined_constants() to get a list of all defined constants. Regards, Filip de Waard -- PHP General Mailing

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
Sebastiano, et al -- ...and then Seba said... % % I think that the only way to catch it is to rewrite the URL. % % 1)Write pages with appropriates links. Somethink like % href='www.yoursite.com/anchor_target/index.php' Hmmm... Do you mean that I should write the calling page this way? I

Re: [PHP] stripping content and parsing returned pages?

2004-03-15 Thread Richard Davey
Hello Dustin, Monday, March 15, 2004, 2:45:06 PM, you wrote: DW I need to post to a login script, then once the page is processed, I will DW parsed the returned page for the data after logined. any help please? One word for you: snoopy Oh and one URL too: http://snoopy.sourceforge.com It will

Re: [PHP] help with storing multiple values in session variables.

2004-03-15 Thread David T-G
Vimala -- ...and then Vimala S.P. said... % % Hi, Hi! % ... % Is there any way of passing unicode strings properly with href and get? If Richard's suggestion of urlencode doesn't work (though I expect it to), you could also try base64_encode() to form your HREFs and then base64_decode what

Re: [PHP] List of all defined constants

2004-03-15 Thread Marco Schuler
Hi Am Mo, 2004-03-15 um 15.52 schrieb Filip de Waard: On Mar 15, 2004, at 3:23 PM, Marco Schuler wrote: Hi How can I get a list of all constants defined with define()? Marco, Like the manual (http://nl2.php.net/constants) says: Use get_defined_constants() to get a list of all

Re: [PHP] Problem with mkdir() under windows.

2004-03-15 Thread Richard Davey
Hello Brian, Monday, March 15, 2004, 2:42:14 PM, you wrote: BJC I'm having a problem using the mkdir() function under windows when the BJC directory containts a special character. For instance, the directory BJC Someone's Files, a forward slash is added before the 's and the directory BJC

RE: [PHP] use of @ operator to suppress errors

2004-03-15 Thread Ford, Mike [LSS]
On 15 March 2004 12:12, Stuart wrote: Ben Joyce wrote: On the contrary, the @ prefix suppresses all errors for the block of code it precedes where a block is a function or variable. Essentially it sets error_reporting to 0 while it evaluates that block. In fact, to be completely accurate,

Re: [PHP] help with storing multiple values in session variables.

2004-03-15 Thread Nitin Mehta
Arer you using session_destroy(), where your script ends... if it's not the case, try using cookies to destroy sessio after a period of time. Hope that helps.. Nitin - Original Message - From: Vimala S.P. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 15, 2004 5:25 PM

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
Chris, et al -- ...and then David T-G said... % % ...and then Chris Hayes said... % % ... % % maybe via a javascript detour? % % Can't do that since I'm trying to write code that can handle the old % style call from some page that hasn't been updated, which means that I % don't control it.

Re: [PHP] catching URL#target params

2004-03-15 Thread Seba
Il lun, 2004-03-15 alle 15:55, David T-G ha scritto: Sebastiano, et al -- ...and then Seba said... % % I think that the only way to catch it is to rewrite the URL. % % 1)Write pages with appropriates links. Somethink like % href='www.yoursite.com/anchor_target/index.php' Hmmm... Do

Re: [PHP] Printing landscape

2004-03-15 Thread Marek Kilimajer
Lou Apolonia wrote: Is there a function/parameter that tells the printer to print in landscape? I believe I've searched through the Printer Functions and haven't encountered such a thing. Any help is appreciated. L Do you mean how is the output printed on the client machine? Then use css:

Re: [PHP] help with storing multiple values in session variables.

2004-03-15 Thread Chris Shiflett
--- Vimala S.P. [EMAIL PROTECTED] wrote: Is there any way of passing unicode strings properly with href and get? You can pass anything as a URL variable if you URL encode it. That's what URL encoding is for: http://www.php.net/url_encode Hope that helps. Chris = Chris Shiflett -

Re: [PHP] categorizing and array mapping

2004-03-15 Thread Firman Wandayandi
Hi David, Are you mean, complete categori tree? I would be take this step: 1). Determine category level. 2). Loop for count of level. 2.1). Collect all category in level number. 2.2). If is root category save this. 2.3). If isn't root category, loop inside data and find subcategory

Re: [PHP] Printing landscape

2004-03-15 Thread Firman Wandayandi
Hi Lou, Printer function to do that is printer_set_option() http://www.php.net/manual/en/function.printer-set-option.php The code might be like this: --- begin code --- $handle = printer_open(); printer_set_option($handle, PRINTER_ORIENTATION,

[PHP] Re: An extension to CREATE zips??

2004-03-15 Thread Rafael Cotta
I already made something like this on Linux using the exec function and zip command. You'll need to find a command line zip utility for Windows. But be very careful on using data sent by the user for exec'ing. Regards, Rafael http://cifradasweb.net/ Brian J. Celenza [EMAIL PROTECTED] wrote in

Re: [PHP] List of all defined constants

2004-03-15 Thread Firman Wandayandi
Hi Marco, You can use get_defined_constans(void) -- begin code -- print_r(get_defined_constants()); -- end code -- Good Luck, Firman - Original Message - From: Marco Schuler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 15, 2004 9:23 PM Subject: [PHP] List of all

[PHP] Regex help

2004-03-15 Thread Ryan A
Hi, I know this is pretty easy to do but I am horrorable at working with regular expressions and was wondering if anybody might take a min to help please. I will have a variable: $the_extention which will have a value like:98797-234234--2c-something-2c How do I take out the part which will

RE: [PHP] Regex help

2004-03-15 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Monday, March 15, 2004 9:07 AM said: I know this is pretty easy to do but I am horrorable at working with regular expressions and was wondering if anybody might take a min to help please. in that case you should get the regex coach (easy to find via

Re: [PHP] Regex help

2004-03-15 Thread Jason Wong
On Tuesday 16 March 2004 01:06, Ryan A wrote: I know this is pretty easy to do but I am horrorable at working with regular expressions and was wondering if anybody might take a min to help please. I will have a variable: $the_extention which will have a value like:

Re: [PHP] Regex help

2004-03-15 Thread Michal Migurski
I will have a variable: $the_extention which will have a value like: 98797-234234--2c-something-2c How do I take out the part which will always start with --2c and will always end with -2c You could use preg_replaces, like so: $result = preg_replace('/--2c.+-c/', '', $the_extention);

Re: [PHP] Regex help

2004-03-15 Thread Eric Gorr
At 6:06 PM +0100 3/15/04, Ryan A wrote: I know this is pretty easy to do but I am horrorable at working with regular expressions and was wondering if anybody might take a min to help please. I will have a variable: $the_extention which will have a value like:98797-234234--2c-something-2c How

RE: [PHP] Regex help

2004-03-15 Thread Ryan A
Hey, Thanks guys. I did search on google first for a tutorial, problem is with something as widely used as regular expressions there are LOTS of results...I felt it would be better to ask if anyone has a favourite.. ie: if you learnt it off the web and not via the manual. The last time I had

[PHP] failed to open stream: No such file or directory in

2004-03-15 Thread Mike Mapsnac
Hello I know that problem is related how I include library file (lib_main.php). I just don't understand what I do wrong: lib_main.php is located at /var/www/html/lib/lib_main.php When I include in the index.phplocated at /var/www/html/ I do the following include ('lib/lib_main.php'); // this

Re: [PHP] failed to open stream: No such file or directory in

2004-03-15 Thread Richard Davey
Hello Mike, Monday, March 15, 2004, 5:43:14 PM, you wrote: MM But When I try to declare the library in /var/ww/html/account/ MM include('lib/account/lib_main.php'); lib_main.php = /var/www/html/lib/lib_main.php index.php= /var/www/html You are including files RELATIVE to the location of

Re: [PHP] Regex help

2004-03-15 Thread trlists
On 15 Mar 2004 Eric Gorr wrote: which will have a value like:98797-234234--2c-something-2c How do I take out the part which will always start with --2c and will always end with -2c I'd be interested in the answer to this question as well. Seems like it should be easy. It is easy.

Re: [PHP] failed to open stream: No such file or directory in

2004-03-15 Thread Mike Mapsnac
thanks for explanation Is it possible in php.ini declare $basedir(for libraries)? From: Richard Davey [EMAIL PROTECTED] Reply-To: Richard Davey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] failed to open stream: No such file or directory in Date: Mon, 15 Mar 2004 17:55:13 +

Re: [PHP] failed to open stream: No such file or directory in

2004-03-15 Thread Seba
Il lun, 2004-03-15 alle 18:43, Mike Mapsnac ha scritto: Hello I know that problem is related how I include library file (lib_main.php). I just don't understand what I do wrong: lib_main.php is located at /var/www/html/lib/lib_main.php When I include in the index.phplocated at

Re[2]: [PHP] failed to open stream: No such file or directory in

2004-03-15 Thread Richard Davey
Hello Mike, Monday, March 15, 2004, 6:15:04 PM, you wrote: MM Is it possible in php.ini declare $basedir(for libraries)? Not exactly, but you can add a path to the include path list which should have the same end result. -- Best regards, Richard Davey

[PHP] I have a problem In Mail Function

2004-03-15 Thread PHP
Hi In a web application I need to send mail for each members whith a different content . mail message must be in HTML Format and 1256 code page I call mail() functoin in a simple loop to send multiple mail message with differrent content. now I want know that is any body know better method

[PHP] tracking emails

2004-03-15 Thread Ryan A
Hi, Been searching for this topic on google, hotscripts and in the archives. I see that this has been discussed a bit in the archives so here goes: Problem: After sending the newsletter try to see how many people have actually opened the email. Solutions presented (from the archive): Ask for

RE: [PHP] I have a problem In Mail Function

2004-03-15 Thread Sam Masiello
This doesn't sound like it has anything to do with the mail function. It appears that your newsletter is getting caught by their spam filters. --Sam PHP wrote: Hi In a web application I need to send mail for each members whith a different content . mail message must be in HTML Format and

Re: [PHP] Regex help (SOLVED)

2004-03-15 Thread Ryan A
Hey Guys, Solved this, took your advise and avoided regex as its an overkill. Case you're interested: $th_var=98797-234234--2c-something-2c; $piece = explode(--2, $th_var); echo $piece[0]; (and if i want to use the second part... $piece[1] ) Thanks to everyone who gave me examples, links and

[PHP] PHP Certification

2004-03-15 Thread Sheeraz fazal
HI, I need information about the php certification, from www.expertrating.com . Does this site has good market reputation? Does www.php.net has some plans to introduce certification path? Comments welcome. Thanks, Sheri, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP Certification

2004-03-15 Thread Rasmus Lerdorf
On Mon, 15 Mar 2004, Sheeraz fazal wrote: I need information about the php certification, from www.expertrating.com . Does this site has good market reputation? Does www.php.net has some plans to introduce certification path? No plans from us, no. Running a certification program is a lot of

Re: [PHP] Regex help (SOLVED)

2004-03-15 Thread Michal Migurski
Thanks to everyone who gave me examples, links and suggested alternatives like explode(), but personally I thought explode too was a regex..:-(. explode() is not, split() is. - michal migurski- contact info and pgp key: sf/ca

[PHP] Pear Package...

2004-03-15 Thread Scott Fletcher
Hi! I saw the Pear packages that are originally stored in /usr/local/lib/php/. This occur when I compile PHP. Problem is they are different from the ones I downloaded from the pears.php.net website. So, I enclosed those files into the website's directory, along with all other website

[PHP] Re: tracking emails

2004-03-15 Thread Rob Adams
Ryan A [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Problem: After sending the newsletter try to see how many people have actually opened the email. Send as html and call a script via a img tag passing the member id (Problem: html messages is usually off) HTML is the only

Re: [PHP] PHP Certification

2004-03-15 Thread Ryan A
Give a good graphics guy some $$ and he'll make you one of the best certificates that your $$ can buy...that does not mean that you can actually program in the language thats written on the certificate... When I was learning computers I studied COBOL, Hated it and cant remember crap about it

Re: [PHP] Pear Package...

2004-03-15 Thread Evan Nemerson
On Monday 15 March 2004 02:15 pm, Scott Fletcher wrote: Hi! hi I saw the Pear packages that are originally stored in /usr/local/lib/php/. This occur when I compile PHP. Problem is they are different from the ones I downloaded from the pears.php.net website. So, I enclosed those

[PHP] Re: Pear Package...

2004-03-15 Thread Greg Beaver
Hi Scott, What you need is to set the include_path http://www.php.net/manual/en/configuration.directives.php#ini.include-path Greg -- phpDocumentor http://www.phpdoc.org Scott Fletcher wrote: Hi! I saw the Pear packages that are originally stored in /usr/local/lib/php/. This occur

Re: [PHP] Re: tracking emails

2004-03-15 Thread Ryan A
On 3/15/2004 11:19:13 PM, Rob Adams ([EMAIL PROTECTED]) wrote: Ryan A [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Problem: After sending the newsletter try to see how many people have actually opened the email. Send as html and call a script via a img tag passing the

Re: [PHP] Pear Package...

2004-03-15 Thread Scott Fletcher
Aw! Never knew what the php's include_path is for... So, that fixed the problem by just setting it to the website directory. Thanks, FletchSOD Evan Nemerson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Monday 15 March 2004 02:15 pm, Scott Fletcher wrote: Hi! hi I

[PHP] Re: Pear Package...

2004-03-15 Thread Scott Fletcher
Aw! Never knew what the php's include_path is for when I saw it in the php.ini some times ago... So, that fixed the problem by just setting it to the website directory. Thanks, FletchSOD Greg Beaver [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Scott, What you need is to set

Re: [PHP] PHP Certification

2004-03-15 Thread Richard Davey
Hello Sheeraz, Monday, March 15, 2004, 4:05:42 PM, you wrote: Sf I need information about the php certification, from www.expertrating.com . Sf Does this site has good market reputation? Sf Does www.php.net has some plans to introduce certification path? Unless they are internationally and

Re: [PHP] Re: tracking emails

2004-03-15 Thread Rob Adams
Ryan A [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yep, am going with html but am having a few problemsyahoo and hotmail totally screw up the email and I dont get any confirmation :-(, after going into view- source I see that the IMG src address is being over written by

[PHP] current url function

2004-03-15 Thread Luis Mirabal
hey! i am working in an open source development, and have done a function that gives me the current url, but i need it to work always, everywhere, in every server with all browsers, could you tell me if you think it will or if you have any suggestions? here is the code: /* Returns the

[PHP] dbg extension...

2004-03-15 Thread Luis Mirabal
hey guys, i have a question on dbg extension, i want to get debug details using the functions from php, ie. dbg_get_profiler_results, but they return nothing... i am developing on windows using apache and php 4.3, any suggestions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] current url function

2004-03-15 Thread Marek Kilimajer
Luis Mirabal wrote: hey! i am working in an open source development, and have done a function that gives me the current url, but i need it to work always, everywhere, in every server with all browsers, could you tell me if you think it will or if you have any suggestions? here is the code: /*

Re: [PHP] current url function

2004-03-15 Thread Luis Mirabal
i checked http://sk2.php.net/manual/en/features.http-auth.php, but it doesnt shows how to see if i passed user:pass in the url. i try http://user:[EMAIL PROTECTED]/ and dumped globals, and there is nothing... any ideas? Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL

Re[2]: [PHP] current url function

2004-03-15 Thread Richard Davey
Hello Luis, Tuesday, March 16, 2004, 1:41:49 AM, you wrote: LM i checked LM http://sk2.php.net/manual/en/features.http-auth.php, but it doesnt LM shows how to see if i passed user:pass in the url. i try LM http://user:[EMAIL PROTECTED]/ and dumped globals, and there is nothing... any LM ideas?

[PHP] e - comerce website

2004-03-15 Thread if02005
Hai.. I have a homework from my scholl. We must make a simple website of e - comerce use php. I just still confuse to use the session in this work. And I must make a different page for a administrator that have a full access and a just user. But I still don't know how to make it. There is an

[PHP] Re: Problem with mkdir() under windows.

2004-03-15 Thread Luis Mirabal
mmmh... i think your problem isn't in mkdir, it is in evil MAGIC QUOTES! (they are on by default) if you are getting the name of the directory from GET, POST or COOKIE, check the get_magic_quotes_gpc(), else check get_magic_quotes_runtime(), if the problem is in get_magic_quotes_runtime(), you

Re: [PHP] Printing landscape

2004-03-15 Thread Luis Mirabal
actually, you can control your printer, look: http://www.php.net/manual/en/function.printer-set-option.php you have to do: $handle = printer_open(); printer_set_option ($handle, PRINTER_ORIENTATION , PRINTER_ORIENTATION_LANDSCAPE); printer_close($handle); you've got many interesting options

[PHP] Efficieny: Include vs Array vs Function

2004-03-15 Thread Rob Paxon
Pardon me if this subject has been discussed, but a search of the archive didn't bring up much of anything. Bear with me while I dish out some details. My question concerns the efficiency of using multiple file includes versus storing segments of data in one include as arrays or functions.

[PHP] Re: windows 2003 server configuration

2004-03-15 Thread Nadim Attari
http://dedntfaq.hostingsupport.com/iis6_php_install.txt regards, nadim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >