Re: [PHP] Re: Question of Charset

2004-03-07 Thread edwardspl
Dear Ligaya Turmelle, For example After enter chinese words ( example ) though program ( Web ) to MS-SQL, then search the data from the DB... But the result of the records is not chinese words ( char ) ! Thank for your help ! Edward. Ligaya Turmelle wrote: I don't understand what you are

[PHP] Re: Question about CGI binary

2004-02-26 Thread Chris
I am aware of safe mode but, are you saying that when PHP is installed as a CGI binary safe mode is on by default? Chris André cerqueira [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://www.php.net/set_time_limit [snip]

[PHP] Re: Question about CGI binary

2004-02-26 Thread André Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 actually i thought you said your scripts were running in a remote host which you cant change php.ini and assuming that, i said that most servers setup php in safe mode i believe php.ini is the same for php as module and cgi-bin dont know if that

[PHP] Re: Question about CGI binary

2004-02-25 Thread André Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://www.php.net/set_time_limit [snip] Warning set_time_limit() has NO EFFECT when PHP is running in safe mode. There is NO workaround other than turning off safe mode or changing the time limit in the php.ini. [/snip] most servers do that

[PHP] Re: Question about php forwarding to javascript

2004-02-14 Thread Ammar Ibrahim
I'm not sure i completely understand what you need but you could write dynamic Javascript using PHP e.g; $myString = 'hey dude, help me'; script language = ... ?php if( strstr('help me') ) include('jsfunction.inc'); ? /script The code i wrote is really dumb, but

[PHP] Re: question PHP - HTML

2004-01-26 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you View Source in IE, you'll see it printed in the expected way. The browser, though, will not show it as you expect it. This is because the browser needs a br tag for a newline and will not read a \n as a br. So, use br instead of \n. Viviane Hu

[PHP] Re: question PHP - HTML

2004-01-26 Thread Matt Matijevich
snip If you View Source in IE, you'll see it printed in the expected way. The browser, though, will not show it as you expect it. This is because the browser needs a br tag for a newline and will not read a \n as a br. So, use br instead of \n. /snip you could also wrap the text in pre tags.

[PHP] Re: Question about an array

2004-01-03 Thread Matt Grimm
If you're going to build your array that way, then you need to loop through $sometext[0], not $sometext. You're creating an array in the first element of the $sometext array, so $sometext element zero is an array containing your exploded words. Instead, try: $sometext = explode( , your long

[PHP] Re: question on which day is the first day of the week

2003-12-11 Thread Pavel Jartsev
??? wrote: ... How can readjust the date function to make each week start with Sunday, instead of Monday? thank you http://www.php.net/manual/en/function.strftime.php Look at conversion specifiers like %U and %W. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: question about mysqli

2003-09-07 Thread Catalin Trifu
http://de.php.net/mysqli Cheers, Catalin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am using PHP 5 on Windows. I have downloaded the lastest from snaps. When I try to use the mysqli functions, I get the error message: undefined function mysqli_connect() I assume this

Re: [PHP] Re: question about mysqli

2003-09-07 Thread janet
Catalin, Could you please be a little more specific about where on the manual page you found the answers to my questions. I don't seem to be smart enough to find them myself. If I was, I wouldn't have had to post the questions to the list. Thanks, Janet In a message dated 9/7/2003 1:13:53 PM

[PHP] Re: Question on syntax...

2003-08-20 Thread Ney André de Mello Zunino
Jonathan Villa wrote: I've seen this a few times in some code examples... XXX::XXX What do the 2 colons signify? http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php -- Ney André de Mello Zunino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Question on class syntax

2003-08-10 Thread Greg Beaver
Hi Luis, http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php Basically, if this is global code, you are calling the method cleanup of class htmlcleaner as if it were simply a function. Within a class, the $this variable is set, and calling htmlcleaner::cleanup() will work as if

[PHP] Re: question: installing PHP with mysql isn't working?

2003-04-02 Thread Ryan Vennell
you can try just straight --with-mysql without the = and it may be in the default path... Don[EMAIL PROTECTED] 04/02/03 03:18PM Hi, Trying to install PHP with the ability to interact with MySQL. In my configuration, I've included the option: --with-mysql=shared,/usr There are no compile

[PHP] Re: Question

2003-03-10 Thread Dan Phiffer
Perhaps something like: ?php if ($record_count % 4 == 0) { echo /td\ntd; } ? HTH, -Dan Clint Tredway [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a display of images that every fourth image I want to start a new column. In ColdFusion I would use the MOD operator like

RE: [PHP] Re: Question

2003-03-10 Thread Clint Tredway
thanks, I knew it was simple.. just can't think today! -Original Message- From: Dan Phiffer [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 2:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Question Perhaps something like: ?php if ($record_count % 4 == 0) { echo /td\ntd

[PHP] Re: question about smarty

2003-03-04 Thread David Eisenhart
You just put the smarty files on the server like you would load up your php files. Note that a common gotcha is when safe mode is enabled on the server - smarty will not ,by default, run in this case; the resolution is simple and is explained in the smarty manual. David Eisenhart Sunfire

[PHP] Re: Question about replacing \r\n with br

2003-02-23 Thread John Taylor-Johnston
I think this is what you want? http://www.php.net/manual/en/function.nl2br.php John Al wrote: I can't find a way to replace \r\n codes with br in a text file. I'm reading a text file that was prepared with windows notepad The hex code shows OD OA for CR/LF as I expect. I'd like to replace

[PHP] Re: Question about str_replace()

2003-02-23 Thread Al
That's what's blowing my mind. It is so simple it should work. The php/apache [Zend] on my virtual host just seems to ignore the the brackets. Hans Prins wrote: Assuming that you do want to replace [p] with br, the code you posted worked for me. The following printed: leadingtextbrtrailingtext

[PHP] Re: Question about str_replace()

2003-02-22 Thread Hans Prins
Assuming that you do want to replace [p] with br, the code you posted worked for me. The following printed: leadingtextbrtrailingtext to the screen ?php $find = array(' ','WOD', '', chr(146), '[p]'); $replace = array(amp; ,Wamp;OD, 'amp;', ', 'br'); $text = leadingtext[p]trailingtext; $words

[PHP] Re: question about quote and double-quoted strings

2003-02-08 Thread Justin Garrett
http://www.php.net/manual/en/language.types.string.php Just the way ' and are defined. understands more escape sequences then '. Justin Garrett Duncan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, i am just adding some mail() functions to my script

[PHP] Re: Question on PHP

2003-02-06 Thread Goetz Lohmann
Karthikeyan.Balasubramanian schrieb: Hi, I would like put this question directly to Rasmus creator of this wonderful server side scripting language. Is there a possibility with the future release of PHP to add extension in a easier manner. For every feature client wants there is a

[PHP] Re: Question about using session and logging out

2003-01-17 Thread Bobby Patel
I believe there something (a meta tag?) called meta-refresh or just refresh. But I believe you have to set the refresh interval. and if you set the interval to small it might eat your server's resources. OR I just thought of this, sometimes when you get to a page (usually with forms?) it says

Fw: [PHP] Re: Question about using session and logging out

2003-01-17 Thread Kevin Stone
Subject: [PHP] Re: Question about using session and logging out I believe there something (a meta tag?) called meta-refresh or just refresh. But I believe you have to set the refresh interval. and if you set the interval to small it might eat your server's resources. OR I just thought

Re: [PHP] Re: Question about using session and logging out

2003-01-17 Thread Stanislav Skrypnik
Subject: [PHP] Re: Question about using session and logging out I believe there something (a meta tag?) called meta-refresh or just refresh. But I believe you have to set the refresh interval. and if you set the interval to small it might eat your server's resources. OR I just

RE: [PHP] Re: Question about using session and logging out

2003-01-17 Thread Vladislav Kulchitski
example. Vlad -Original Message- From: Stanislav Skrypnik [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 7:30 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Question about using session and logging out Hi Kevin, I don't well understand this part: if active session

Re: [PHP] Re: Question about using session and logging out

2003-01-17 Thread Stanislav Skrypnik
Skrypnik [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 7:30 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Question about using session and logging out Hi Kevin, I don't well understand this part: if active session { // validate privs for this page Can you give small example? TIA, Sta

[PHP] Re: Question about $_GET

2003-01-15 Thread gamin
Frank, With so many various suggestions coming your way, i'll add my 2 cents. I have gone through all this mess. Read the information from the manual about strings constants arrays (why $some_array[id], $some_array[id] are wrong, but would work sometimes) [unless u have intentionally defined

[PHP] Re: question about taking post to session

2002-09-21 Thread Leon Mergen
Randy Johnson [EMAIL PROTECTED] wrote in message 000901c2613d$e9223e30$c100a8c0@rjmarket">news:000901c2613d$e9223e30$c100a8c0@rjmarket... how could i take all the variables in $_POST[] and move them to $_SESSION[]? If I understand correct, you will want something like this: ? $var =

[PHP] Re: Question about character acces, [] vs {}

2002-09-06 Thread nicos
Where did you seen that it is depreciated? -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Robert Cummings [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Some time ago i wrote some code where I used the now deprecated form

Re: [PHP] Re: Question about character acces, [] vs {}

2002-09-06 Thread Robert Cummings
[EMAIL PROTECTED] wrote: Where did you seen that it is depreciated? http://www.php.net/manual/en/language.types.string.php [block quote begins] String access by character Characters within strings may be accessed by specifying the zero-based offset of the desired character after the

[PHP] Re: Question about sending varibles to script

2002-08-30 Thread Richard Lynch
I have following question. How can i send to a script varible, but not from HTML form but via URL. (I'm talkin about something like http://www.domain.com/script.php?id=1 http://www.domain.com/script.php?id=1 in earlyier version o php). ?php echo $_GET['id']; ? -- Like Music?

[PHP] Re: Question about sessions: how to force expiry

2002-08-22 Thread Peter Bottenberg
Hi, Place these headers in the top of your php file just below the ?PHP and your problem should be gone. header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); header(Cache-Control: no-cache, must-revalidate); header(Pragma: no-cache); Greetings Peter Donpro [EMAIL PROTECTED] schreef in

[PHP] Re: question about references

2002-08-02 Thread lallous
yes, true! try this patch: if (strcmp($name-firstName, homer) == 0) { echo changing homer to margebr; $name-firstName = marge; $names[key($names)]-firstName = marge; good luck, Elias Jesse Vitrone [EMAIL PROTECTED] wrote in message

[PHP] Re: Question about sessions

2002-08-02 Thread Lord Loh.
From the php docs(XC. Session handling functions) == ?php session_register (count); $count++; ? Hello visitor, you have seen this page ?php echo $count; ? times.p; ?php # the ?=SID? is necessary to preserve the session id # in the case that the user has

[PHP] Re: Question on File Move / Delete and Create Directory

2002-07-31 Thread Brian McGarvie
http://www.php.net/manual/en/function.mkdir.php and the other 'filesystem' commands all work in windows... Jack [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear all I had setup a web server in windows NT 4.0 (IIS Server), there is some question i want to

[PHP] Re: Question on File Move / Delete and Create Directory

2002-07-31 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Dear all I had setup a web server in windows NT 4.0 (IIS Server), there is some question i want to ask bask on the file management! 1. Is there any function in php that can create a folder/Directory in a specific path? 2. Is there

[PHP] Re: Question about using if elseif ...

2002-07-24 Thread Fargo Lee
Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Question to 'DIR'

2002-07-23 Thread David Robley
In article 000801c231e3$414d08e0$7897fea9@N4N8U9, [EMAIL PROTECTED] says... It´s a silly question, but how can I create a directory on web? Using PHP? mkdir() is the function - but beware that the user your web server runs as may not have permissions to create directories in some places.

[PHP] Re: Question about using if elseif ...

2002-07-18 Thread Pete James
Is there any problem with leaving out the last else and just ending it with an elseif such as ... if($a == '1'){ echo '1'; } elseif ($a == '2'){ echo '2'; } Nothing syntactically, but surely you wouldn't want a rogue '3' or '0' to fall through the cracks... that wouldn't be very good,

[PHP] Re: Question 1

2002-07-14 Thread David Robley
In article E00ACB0129A4C748B02A744610798CE50652CE@headoffice- fs.techex.net.au, [EMAIL PROTECTED] says... I am looking at importing data from rdtool into a mysql backend And not sure how to go about it... I was wondering if anyone has tried this or know of some information that may help.

RE: [PHP] Re: Question 1

2002-07-14 Thread David Robley
PROTECTED]] Sent: Monday, July 15, 2002 2:27 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Question 1 In article E00ACB0129A4C748B02A744610798CE50652CE@headoffice- fs.techex.net.au, [EMAIL PROTECTED] says... I am looking at importing data from rdtool into a mysql backend And not sure how

RE: [PHP] Re: Question 1

2002-07-14 Thread David Robley
it,... -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 2:49 PM To: Chris Kay; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Question 1 On 15 Jul 2002 at 14:27, Chris Kay wrote: I wish it was that eazy

[PHP] Re: Question about PHP

2002-07-11 Thread Richard Lynch
Hi, I am not sure if it is a right email address to ask question, if it is not plz disregard this email :) if it is this is my Q: I am reading a book about php, in its security section, it says it is more secure, as well as more efficient when installing PHP, to install PHP as a SAPI module

[PHP] Re: Question about string replace -PHP

2002-05-14 Thread Josh Valerie McCormack
I didn't ask the question about this, but I have a related issue. I'm trying to do a replace, and am using str_replace, but the outcome is not what I expected. Here's my code: ? $fp = fopen(new_data.csv, r); $text = fopen(text.txt, r); $merged = fopen(merged_text.html, w); $filecontents

Re: [PHP] Re: Question about string replace -PHP

2002-05-14 Thread Jason Wong
On Wednesday 15 May 2002 05:20, Josh Valerie McCormack wrote: I didn't ask the question about this, but I have a related issue. I'm trying to do a replace, and am using str_replace, but the outcome is not what I expected. Here's my code: ? $fp = fopen(new_data.csv, r); $text =

[PHP] Re: question about objects and references

2002-05-13 Thread Michael Virnstein
Sascha Mantscheff [EMAIL PROTECTED] schrieb im Newsbeitrag 02051311162204.02523@pico">news:02051311162204.02523@pico... When I pass an object as a parameter to a function as $this, this is an object reference (according to the docs). it depends on the function. if you call it by value, not

[PHP] Re: question about objects and references

2002-05-13 Thread Michael Virnstein
here's an example of what i said: ?php class obj { Var $a = 1; function byVal() { byVal($this); } function byRef() { byRef($this); } } function byVal($obj) { echo $obj-a += 1; } function byRef($obj) { echo $obj-a += 1; }

[PHP] Re: Question about string replace -PHP

2002-05-13 Thread Bram van Leur
Replacing a constant string by another constant string works easily with str_replace (http://www.php.net/str_replace). More advanced replacements (with dynamic parts for example) can be replace using Regular expressions (look that up in the Manual, it's quite complex). Could give an example

[PHP] Re: Question for you guys on best tools for a job

2002-04-29 Thread Javier
Why don't you use javascript to refresh the page from time to time. Michael Champagne wrote: I'm not even sure this is possible without doing a client side java applet of some sort. We are considering porting a standard client/server application to the web which updates itself dynamically

[PHP] Re: Question for you guys on best tools for a job

2002-04-29 Thread Hugh Bothwell
Michael Champagne [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm not even sure this is possible without doing a client side java applet of some sort. You might be able to munge something using a hidden frame and Javascript polling, but it would be an

Re: [PHP] Re: Question for you guys on best tools for a job

2002-04-29 Thread Michael Champagne
Too hokey. We're talking about maybe 60 values on the page that will be changing and it should look real time. I think Flash might be a potential solution, I'm just not too familiar with it. Having the page refresh occasionally is out of the question for how many things will be changing on the

Re: [PHP] Re: Question for you guys on best tools for a job

2002-04-29 Thread Kirk Babb
Michael, Flash is a great way to do this. I have two years in Flash but am new to PHP/MySQL - one of the things you will appreciate is the ease of using actionscript on the flash side to communicate with your PHP script. And I know not everybody will like this part, but you can put all the

[PHP] Re: Question and PHP DOMXML and Apache

2002-04-23 Thread Christian Stocker
In [EMAIL PROTECTED], Sebastian A. wrote: Have the new DOM XML functions been included in the latest version of PHP (4.2) when I try to use one of the new functions, such as domxml_open_file() I get an error message saying I am calling and undefined function. Has anyone successfully used

[PHP] Re: Question on eval()

2002-03-27 Thread Julio Nobrega Trabalhando
Maybe parse_str() will do the trick? I am using it in a close situation, I store: a=1b=1 And $a has value 1, $b has value 2. But I guess to work in your case you would need to stripslashes(); and str_replace(';', '', $string) before the parse_str(); -- Julio Nobrega. Um dia eu

[PHP] Re: Question about fopen()

2002-03-04 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi, Does fopen() work similar to open in CGI ? ?? CGI ?? Some new language? If the file doesn't exist will it create it? Depends on the parameters you feed to fopen for 'mode'; w, w+, a and a+ will attempt to create the file if

[PHP] Re: question

2002-02-20 Thread Jim Winstead
Matthew Berwald [EMAIL PROTECTED] wrote: Do you know of any method/package out there that I could install on my linux machine that will all me to print data to a printer? Thanks for the help. $lp = popen(lpr, w); fwrite($lp, stuff to print); pclose($lp); this uses the unix-standard 'lpr'

[PHP] Re: Question about using --with for postgres or mysql

2001-12-21 Thread Philip Hallstrom
It won't affect your database. Adding --with-pgsql just tells php to compile PostgreSQL support and tells it where to find the postgresql libraries. It won't touch your database at all. On Fri, 21 Dec 2001 [EMAIL PROTECTED] wrote: Hello, just wondering if I compile or have to recompile php

[PHP] Re: Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Garth Dahlstrom
My 2 cents... I think exit should be fixed as you describe... And I think die should behave as it does in perl which is to print out whatever it is passed. -Garth --- Jani Taskinen - Question: Should exit() print out the integer exit-status? - Wed, 19 Dec 2001 01:38:39 +0200 (EET)

[PHP] Re: Question: Should exit() print out the integer exit-status?

2001-12-18 Thread Yasuo Ohgaki
Jani Taskinen wrote: background information: http://bugs.php.net/bug.php?edit=1id=11008 http://bugs.php.net/bug.php?edit=1id=14574 exit() function is broken. Fixing the broken behaviour is the only real solution, IMO. Since some people prefer to keep current behavior (for a while?)

[PHP] Re: Question

2001-12-18 Thread Fred
Don't recall seeing them here, but many of us have read their book if that is of any help. Fred Phillip B. Bruce [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, By any chance that Luke Welling or Laura Thomson is on this list? --

[PHP] Re: Question for you MySQL gurus...

2001-12-16 Thread Deron
Let me add that I do currently use PHPMyAdmin. As cool as it is I juts want to see what others are using to make sure I am not missing out on anything! Deron www.metalages.com Deron [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a huge project I am in

[PHP] Re: Question for you MySQL gurus...

2001-12-16 Thread David
have you tried MySQL Front? it\'s a really nice win32 client, check it out from: http://www.anse.de/mysqlfront/ screenshot: http://www.anse.de/mysqlfront/images/mysqlfront.gif I have a huge project I am in the midst of developing (something similar to www.allmusicguide.com except exclusively

[PHP] Re: Question about bizarre behavior with PHP as default document in Netscape Suitespot

2001-09-13 Thread Richard Lynch
I dunno nothing about Netscape Suitespot, but it sounds like you're not getting the web-server to load index.php by default. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a

[PHP] Re: Question about how to handle something....

2001-09-12 Thread Richard Lynch
You can use just the one table with a parent for each sub-category: alter table category add parent int(11); idparentname 1NULLfruit 21apple 31banana 41coconut Now, suppose you need the sub-categories of the record with ID #1 (IE, all the

[PHP] Re: Question on the list() function

2001-09-10 Thread _lallous
I don't think this is correct! You can't do this: list($a, $b) = variable! which is the case in: list($key, list($tag, $data)) = each($array) you can use: list($key, $value) = each($array) D [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am a newbie and

[PHP] Re: Question on the list() function

2001-09-10 Thread D
Hmm.. I dont think I agree with you on that. First the code works perfect, second its just using two list() rather then one, otherwise its exactly the same thing as you say would work, which is what makes me think its a two dimensional array. Ken _lallous wrote in message [EMAIL PROTECTED]...

[PHP] Re: Question.

2001-09-06 Thread _lallous
how you mean it/be more specific? while (list(, $value) = each($array)) { echo value = $value\n; } Johan Vikerskog [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].. . I have done this before but my memory fails me. I am trying to just loop threw ny array and

RE: [PHP] Re: Question.

2001-09-06 Thread Johan Vikerskog (EMP)
-Original Message- From: _lallous [mailto:[EMAIL PROTECTED]] Sent: den 6 september 2001 12:44 To: [EMAIL PROTECTED] Subject: [PHP] Re: Question. how you mean it/be more specific? while (list(, $value) = each($array)) { echo value = $value\n; } Johan Vikerskog [EMAIL PROTECTED] wrote

Re: [PHP] Re: Question.

2001-09-06 Thread Daniel Masur
k. Help?!? //Johan the senile -Original Message- From: _lallous [mailto:[EMAIL PROTECTED]] Sent: den 6 september 2001 12:44 To: [EMAIL PROTECTED] Subject: [PHP] Re: Question. how you mean it/be more specific? while (list(, $value) = each($array)) { echo value = $value\n;

RE: [PHP] Re: Question.

2001-09-06 Thread Jon Haworth
So echo a br as well. echo $os. br; //this will do the trick Cheers Jon -Original Message- From: Johan Vikerskog (EMP) [mailto:[EMAIL PROTECTED]] Sent: 06 September 2001 12:24 To: '_lallous'; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Question. ok i have this: ?php include

[PHP] Re: Question about running php as root

2001-09-06 Thread Richard Lynch
Why do you need the DSO to run as root?... If it's just to do a specific task, it may be easier to write a shell script (or PHP script, or Perl script) and suid it so that nobody can do that one specific task that requires root access. -- WARNING [EMAIL PROTECTED] address is an endangered

[PHP] Re: Question about mail()

2001-09-05 Thread Robert Lindgren
Php uses sendmail, atleast on Unix systems. Alex Shi wrote: Hi, I have a question regarding to mail() function: Does mail() function use sendmail, or just use a mail program of php? If it uses a mail program other than sendmail, how can configure it to work correctly? Alex --

[PHP] Re: Question about mail()

2001-09-05 Thread Richard Lynch
It uses sendmail by default. You can change that in php.ini to anything you want. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time:

[PHP] Re: Question about PHP and images

2001-08-15 Thread Schrotty
Let's i.e. a Bannerexchange, the users just put an img-tag on there site and the image appears. I wnat to know how this is possible. I tried already something like this: $im = imagecreatefromgif(news.jpg); imagegif = (); Schrotty [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL

[PHP] Re: Question about PHP and images

2001-08-15 Thread Schrotty
My problem is solved!!! Schrotty [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I wanted to call a PHP-Skript through a img-Tag and PHP sends a image back. How can I do that? Schrotty.* I'm German, so please be patient with my English. -- PHP

Re: [PHP] Re: Question about PHP and images

2001-08-15 Thread Kunal Jhunjhunwala
How did you solve it? Kunal - Original Message - From: Schrotty [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 11:18 PM Subject: [PHP] Re: Question about PHP and images My problem is solved!!! Schrotty [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL

[PHP] Re: Question about strlen I think

2001-07-16 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Dennis Kaandorp) wrote: Ah. I see why you're having trouble: documentation of the 'F' modifier has apparently be excised from the manual since the preg_replace_callback() has replaced it in PHP 4.0.5. If you've got 4.0.5, use the new function

[PHP] Re: Question about strlen I think

2001-07-15 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Dennis Kaandorp) wrote: Is there a way to replace the spaces between the paths? This is what I mean: /uploads//by/ /dennis/ must become /uploads/4sp/by/3spdennis/ See http://php.net/preg-replace. You can use the e or f modifier to

[PHP] Re: Question about strlen I think

2001-07-15 Thread Dennis Kaandorp
Thank you very much! Cc Zona [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Dennis Kaandorp) wrote: Is there a way to replace the spaces between the paths? This is what I mean: /uploads//by/

[PHP] Re: Question about strlen I think

2001-07-15 Thread Dennis Kaandorp
argh.. it was to complicated for me :( Can you help me with this? $ftpdata['path'] = preg_replace($ftpdata['path']); Thnx Cc Zona [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Dennis Kaandorp) wrote: Is

[PHP] Re: Question

2001-07-12 Thread elias
see eregi() James W Greene [EMAIL PROTECTED] wrote in message 032f01c109fd$53ad0b70$0cfb94d0@calcutta">news:032f01c109fd$53ad0b70$0cfb94d0@calcutta... Hi All, I have an e-mail message stored in the var $message How can I grep for say the From lines and such in $message using PHP. I

<    1   2   3