Re: [PHP] how to make multiple website on one host

2008-02-03 Thread Jim Lucas
jeffry s wrote: i am wondering whether this can be done. i know it can. is it possible to make one website with the ability to host multiple website. it is something like website generator. eg: www.shopify.org let say for example i have a website www.example.org. i can point a domain name

[PHP] flash with PHP

2008-02-03 Thread Alain Roger
Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ?

[PHP] php competion

2008-02-03 Thread doc
come on people try you skills at http://www.rhwebhosting.com/comp/index.php

Re: [PHP] Jacco van Hooren

2008-02-03 Thread Jim Lucas
Nathan Rixham wrote: wish he'd turn that auto responder off.. *sigh* - he's now top of my contacts in gtalk.. That is his way of getting to the top of next weeks PostTrack Report from Dan:) Jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP5 and XSLTProcessor: disable validation

2008-02-03 Thread Siegfried Gipp
Hi, i'm currently learning php by implementing a blog system. This uses xsl for transformation to (x)html. It is working so far, but it is slow. As far as i can see the XSLTProcessor is doing a validation. Doing the same transformation with xsltproc (the command line tool for libxslt) takes

[PHP] Re: Server to client file transfer with authorization: file always corrupt

2008-02-03 Thread szalinski
On Sat, 02 Feb 2008 23:08:43 -, Nathan Rixham [EMAIL PROTECTED] wrote: szalinski wrote: Hi I am having trouble with a file transfer script, as you can see, I am trying trying to keep the code as simple as possible. But everytime I download a file with it, it is corrupt. For example,

Re: [PHP] php competion

2008-02-03 Thread [EMAIL PROTECTED]
doc wrote: come on people try you skills at http://www.rhwebhosting.com/comp/index.php Are these people joking ;o) This sounds more like hey, give us 4-5 great products for free, and we may award you ;o) I thought competitions usually give some more or less abstract tasks, where people

Re: [PHP] flash with PHP

2008-02-03 Thread [EMAIL PROTECTED]
Alain Roger wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already

Re: [PHP] php competion

2008-02-03 Thread Paul Scott
On Sun, 2008-02-03 at 20:10 +1100, doc wrote: come on people try you skills at http://www.rhwebhosting.com/comp/index.php Reworded as: Redesign our complete web presence and give us a couple of apps that we can flog to our clients, and we *may* give you a consolation prize. Yeah right.

Re: [PHP] Timeout while waiting for a server-client transfer to start (large files)

2008-02-03 Thread szalinski
Thanks I have already another post dealing with this issue. (check newsgroup for Server to client file transfer always corrupt). I had figured out the problem that was corrupting the file, it is the response headers that are being added to the file when it is downloaded, and i don't know

Re: [PHP] php competion

2008-02-03 Thread Robert Cummings
On Sun, 2008-02-03 at 18:15 +0200, Paul Scott wrote: On Sun, 2008-02-03 at 20:10 +1100, doc wrote: come on people try you skills at http://www.rhwebhosting.com/comp/index.php Reworded as: Redesign our complete web presence and give us a couple of apps that we can flog to our

[PHP] Resetting a session variable

2008-02-03 Thread Ron Piggott
What is the command to reset a session variable --- essentially deleting all of the values it contains? Ron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Resetting a session variable

2008-02-03 Thread Per Jessen
Ron Piggott wrote: What is the command to reset a session variable --- essentially deleting all of the values it contains? Ron I haven't checked, but how about unset() ? /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] flash with PHP

2008-02-03 Thread Casey
On Feb 3, 2008, at 12:23 AM, Alain Roger [EMAIL PROTECTED] wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works

Re: [PHP] Jacco van Hooren

2008-02-03 Thread Casey
On Feb 3, 2008 1:51 AM, Jim Lucas [EMAIL PROTECTED] wrote: Nathan Rixham wrote: wish he'd turn that auto responder off.. *sigh* - he's now top of my contacts in gtalk.. That is his way of getting to the top of next weeks PostTrack Report from Dan:) Jim -- PHP General Mailing

Re: [PHP] Resetting a session variable

2008-02-03 Thread Casey
On Feb 3, 2008 10:25 AM, Per Jessen [EMAIL PROTECTED] wrote: Ron Piggott wrote: What is the command to reset a session variable --- essentially deleting all of the values it contains? Ron I haven't checked, but how about unset() ? /Per Jessen, Zürich -- PHP General Mailing List

Re: [PHP] flash with PHP

2008-02-03 Thread Alain Roger
this is right under actionscript 2.0... i'm working under actionscript 3.0 :-) On Feb 3, 2008 7:28 PM, Casey [EMAIL PROTECTED] wrote: On Feb 3, 2008, at 12:23 AM, Alain Roger [EMAIL PROTECTED] wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My

RE: [PHP] Resetting a session variable

2008-02-03 Thread Bastien Koert
unset($_SESSION['var_name']); bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sun, 3 Feb 2008 13:14:47 -0500 Subject: [PHP] Resetting a session variable What is the command to reset a session variable --- essentially

Re: [PHP] Resetting a session variable

2008-02-03 Thread Feris Thia C.
Resetting all session variables or one of those session vars ? If you need to reset all then use *session_destroy() *function. Hope it helps.. Regards, Feris http://top-10.bigspacehosting.com On Feb 4, 2008 1:14 AM, Ron Piggott [EMAIL PROTECTED] wrote: What is the command to reset a session

Re: [PHP] flash with PHP

2008-02-03 Thread Casey
On Feb 3, 2008 10:44 AM, Alain Roger [EMAIL PROTECTED] wrote: this is right under actionscript 2.0... i'm working under actionscript 3.0 :-) On Feb 3, 2008 7:28 PM, Casey [EMAIL PROTECTED] wrote: On Feb 3, 2008, at 12:23 AM, Alain Roger [EMAIL PROTECTED] wrote: Hi, i would

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread Feris Thia C.
Yes you can. Just mirror the additional domains and in your PHP app check the $_SERVER[HTTP_HOST] variable. Hope this helps ! Regards, Feris http://top-10.bigspacehosting.com On Feb 3, 2008 2:20 PM, jeffry s [EMAIL PROTECTED] wrote: i am wondering whether this can be done. i know it can.

Re: [PHP] Resetting a session variable

2008-02-03 Thread Richard Heyes
unset($_SESSION); or $_SESSION = array(); This reset all of the session variables. To reset only one, try this: ?php unset($_SESSION['key']); ? -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and Helpdesk software for £299 hosted for you - no installation, no

Re: [PHP] how dod you get to do multiple mysql queries concurrently?

2008-02-03 Thread Jochem Maas
Paul Scott schreef: Did anyone actually get this mail? it came through :-) More concrete example? What would you like to see? the column spec. what kind of geomtery column is it? and are you using it as a primary key? or some else ... if so what kind of stuff are you storing in there?

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread jeffry s
On Feb 4, 2008 3:33 AM, Feris Thia C. [EMAIL PROTECTED] wrote: Yes you can. Just mirror the additional domains and in your PHP app check the $_SERVER[HTTP_HOST] variable. Hope this helps ! Regards, Feris http://top-10.bigspacehosting.com On Feb 3, 2008 2:20 PM, jeffry s [EMAIL

[PHP] about preg_replace, please help !

2008-02-03 Thread LKSunny
? $txt = eof a a a eof; //i just want replace start to first \r\n\r\n //how can i do ? //i want out put /* */ print preg_replace(What's is this ?, , $txt); //Thank You !! ? -- PHP General Mailing List

Re: [PHP] Resetting a session variable

2008-02-03 Thread chetan rane
Hi there are 2 functions session_unset('Key'); session_destroy(); please find them in the manual. i think they are the 2 used for setting and usetting the session. On Feb 4, 2008 1:14 AM, Feris Thia C. [EMAIL PROTECTED] wrote: Resetting all session variables or one of those session vars ?

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread Richard Lynch
On Sun, February 3, 2008 1:20 am, jeffry s wrote: i am wondering whether this can be done. i know it can. is it possible to make one website with the ability to host multiple website. it is something like website generator. eg: www.shopify.org let say for example i have a website

Re: [PHP] using the mail() command

2008-02-03 Thread Richard Lynch
I would think you'd want all that MIME stuff in the headers... But I don't really know. If you want a quote in the HTML part, use qout; In the plain-text, I would assume \ would embed a quote... On Sat, February 2, 2008 6:26 pm, Ron Piggott wrote: When I use the mail($email, $subject,

Re: [PHP] about preg_replace, please help !

2008-02-03 Thread Casey
On Feb 3, 2008, at 5:00 PM, LKSunny [EMAIL PROTECTED] wrote: ? $txt = eof a a a eof; //i just want replace start to first \r\n\r\n //how can i do ? //i want out put /* */ print preg_replace(What's is this ?, ,

Re: [PHP] Redirecting STDERR to a file?

2008-02-03 Thread Richard Lynch
On Fri, February 1, 2008 10:58 pm, js wrote: Hi, I was trying to write a script in PHP that takes a program name as an argument and invoke it as a daemon. PHP provides fork(pcntl_fork), setsid(posix_setsid) and umask, so it was easy. However, I couldn't find a way to redirect STDERR a

Re: [PHP] php competion

2008-02-03 Thread Richard Lynch
On Sun, February 3, 2008 11:51 am, Robert Cummings wrote: On Sun, 2008-02-03 at 18:15 +0200, Paul Scott wrote: On Sun, 2008-02-03 at 20:10 +1100, doc wrote: come on people try you skills at http://www.rhwebhosting.com/comp/index.php Reworded as: Redesign our complete web presence

Re: [PHP] Location in php's source for ini-values

2008-02-03 Thread Richard Lynch
On Sat, February 2, 2008 5:09 am, ehl lhe wrote: hello, I'd like to know where PHP finally sets the php.ini-values in it's sourcecode, e.g. max_execution_time, open_basedir, etc... What I need is to set several static values which must not be editable using php.ini, .htaccess, ini_set,

Re: [PHP] Resetting a session variable

2008-02-03 Thread Paul Scott
On Sun, 2008-02-03 at 13:14 -0500, Ron Piggott wrote: What is the command to reset a session variable --- essentially deleting all of the values it contains? Ron Assign the session to an empty array() and then use session_destroy() All Email originating from UWC is covered by disclaimer

Re: [PHP] flash with PHP

2008-02-03 Thread clive
FlashKnowledge = 0; phpKnowledge = 1; I remember some time back finding a class for php and a class/unit/addon for flash that allowed communication between php file and flash files, just google for it Clive Alain Roger wrote: Hi, i would like to have a flash menu in my PHP website. this

Re: [PHP] about preg_replace, please help !

2008-02-03 Thread Casey
On Feb 3, 2008 9:04 PM, LKSunny [EMAIL PROTECTED] wrote: this i know. but i need use preg_replace. any body can help me, thank you very much !! Casey [EMAIL PROTECTED] ???:[EMAIL PROTECTED] On Feb 3, 2008, at 5:00 PM, LKSunny [EMAIL PROTECTED] wrote: ? $txt = eof

Re: [PHP] about preg_replace, please help !

2008-02-03 Thread LKSunny
this i know. but i need use preg_replace. any body can help me, thank you very much !! Casey [EMAIL PROTECTED] ???:[EMAIL PROTECTED] On Feb 3, 2008, at 5:00 PM, LKSunny [EMAIL PROTECTED] wrote: ? $txt = eof a a a eof;

Re: [PHP] about preg_replace, please help !

2008-02-03 Thread Paul Scott
On Sun, 2008-02-03 at 21:06 -0800, Casey wrote: Why do you need preg_replace? Else he fails a homework assignment? --Paul -- . | Chisimba PHP5 Framework - http://avoir.uwc.ac.za |

Re: [PHP] php competion

2008-02-03 Thread Robert Cummings
On Sun, 2008-02-03 at 20:48 -0600, Richard Lynch wrote: On Sun, February 3, 2008 11:51 am, Robert Cummings wrote: On Sun, 2008-02-03 at 18:15 +0200, Paul Scott wrote: On Sun, 2008-02-03 at 20:10 +1100, doc wrote: come on people try you skills at

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread jeffry s
can you tell me more about mod_rewrite? On Feb 4, 2008 10:52 AM, Richard Lynch [EMAIL PROTECTED] wrote: On Sun, February 3, 2008 1:20 am, jeffry s wrote: i am wondering whether this can be done. i know it can. is it possible to make one website with the ability to host multiple