php-general Digest 20 Nov 2005 00:58:55 -0000 Issue 3804

2005-11-19 Thread php-general-digest-help
php-general Digest 20 Nov 2005 00:58:55 - Issue 3804 Topics (messages 226125 through 226138): Compile a stored code with php 226125 by: Khorosh Irani 226128 by: Roman Ivanov POST headers empty when using SSLProxyEngine 226126 by: floeff.arcor.de Re: echo

[PHP] echo

2005-11-19 Thread Alex Alfonso
Can you please tell me how to make a space in php. I know that br is a new line and p is a new paragraph. But I just can't figure out what an earth a space is. Eg ?php echo Television viewers who turned to; echo I need a space here; echo $_POST['word1']; ? Can you please tell me what a space is.

Re: [PHP] echo

2005-11-19 Thread Raz
Try nbsp; On 19/11/05, Alex Alfonso [EMAIL PROTECTED] wrote: Can you please tell me how to make a space in php. I know that br is a new line and p is a new paragraph. But I just can't figure out what an earth a space is. Eg ?php echo Television viewers who turned to; echo I need a space

Re: [PHP] echo

2005-11-19 Thread Raz
Or On 19/11/05, Raz [EMAIL PROTECTED] wrote: Try nbsp; On 19/11/05, Alex Alfonso [EMAIL PROTECTED] wrote: Can you please tell me how to make a space in php. I know that br is a new line and p is a new paragraph. But I just can't figure out what an earth a space is. Eg ?php echo

Re: [PHP] echo

2005-11-19 Thread Robert Cummings
On Sat, 2005-11-19 at 03:35, Raz wrote: Or Oh no, don't interpolate your space... that's just plain wasteful of cycles. *lol* Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com |

Re: [PHP] echo

2005-11-19 Thread Raz
Jeez! You'd hate to work on a project with me then! All those cycles I'd waste! Har har ;) On 19/11/05, Robert Cummings [EMAIL PROTECTED] wrote: On Sat, 2005-11-19 at 03:35, Raz wrote: Or Oh no, don't interpolate your space... that's just plain wasteful of cycles. *lol* Rob. --

[PHP] Re: DomDocument::GetElementById - a workaround with external DTD

2005-11-19 Thread Erik Franzén
I did a typo in the threads post. The dtd is: !ELEMENT Document ANY !ELEMENT CMAES_Model_DbSection ANY !ATTLIST CMAES_Model_DbSection S_iSectionId ID #IMPLIED but it gives the warning when DomDocument::validate() is called: Warning: Syntax of value for attribute S_iSectionId of

[PHP] Re: DomDocument::GetElementById - a workaround with external DTD

2005-11-19 Thread Rob
Erik Franzén wrote: I did a typo in the threads post. The dtd is: !ELEMENT Document ANY !ELEMENT CMAES_Model_DbSection ANY !ATTLIST CMAES_Model_DbSection S_iSectionId ID #IMPLIED but it gives the warning when DomDocument::validate() is called: Warning: Syntax of value for attribute

[PHP] Compile a stored code with php

2005-11-19 Thread Khorosh Irani
Hello How I can compile a php code that is stored in a database when the programm is running? Thanks

[PHP] POST headers empty when using SSLProxyEngine

2005-11-19 Thread floeff
Hello, inside a SSL host, I use the SSLProxyEngine to connect encrypted to another server: SSLProxyEngine on ProxyPass /server2 https://server.intranet/mysite ProxyPassReverse /server2 https://server.intranet/mysite There lies a PHP script for file uploads. When I connect to

Re: [PHP] echo

2005-11-19 Thread Chris Shiflett
Alex Alfonso wrote: Can you please tell me how to make a space in php. I know that br is a new line and p is a new paragraph. But I just can't figure out what an earth a space is. Eg ?php echo Television viewers who turned to; echo I need a space here; echo $_POST['word1']; ? Can you please

[PHP] Re: Compile a stored code with php

2005-11-19 Thread Roman Ivanov
Khorosh Irani wrote: Hello How I can compile a php code that is stored in a database when the programm is running? Thanks eval -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] echo

2005-11-19 Thread Robert Cummings
On Sat, 2005-11-19 at 03:55, Raz wrote: Jeez! You'd hate to work on a project with me then! All those cycles I'd waste! Har har ;) I don't think it really matters these days anyways :) I imagine the compile caches optimize strings... but I could be wrong. Cheers, Rob. --

Re: [PHP] echo

2005-11-19 Thread Anas Mughal
Try this: ?php echo Television viewers who turned to . $_POST['word1']; ? -- Anas Mughal On 11/19/05, Alex Alfonso [EMAIL PROTECTED] wrote: Can you please tell me how to make a space in php. I know that br is a new line and p is a new paragraph. But I just can't figure out what an

[PHP] Re: DomDocument::GetElementById - a workaround with external DTD

2005-11-19 Thread Erik Franzén
I totally missed that explanation on w3c. Thanxs, now it works /Erik Rob wrote: Erik Franzén wrote: I did a typo in the threads post. The dtd is: !ELEMENT Document ANY !ELEMENT CMAES_Model_DbSection ANY !ATTLIST CMAES_Model_DbSection S_iSectionId ID #IMPLIED but it gives the warning when

[PHP] Darwin Streaming Server and PHP

2005-11-19 Thread Graham Anderson
Has anyone used PHP to communicate with Darwin Streaming server ? if so, how can you get the number of connected users and other related info. Does not seem to be a lot of info on this out there anyone been down this road ? g -- PHP General Mailing List (http://www.php.net/) To

Re: AW: [PHP] how can I CALL a PHP script from different TEXT LINKS with differentPARAMETERS?

2005-11-19 Thread xkorakidis
Webmaster, thanks very much but I think it would be safer to do that by post, not by get. Furthermore, if I use indivudual files (searchProductInsertId.php, searchMemberInsertId.php...), I think it is easy: in each link of the menu I can type: a href=searchProductInsertId.phpSearch/a, a

Re: [PHP] how can I CALL a PHP script from different TEXT LINKS with differentPARAMETERS?

2005-11-19 Thread xkorakidis
Ahmed thanks for your comments, the situation is that before calling searchMember.php or searchProduct.php or other, I need to give to user an interface where a message like insert the Product/Member/Order Id, then when he inserts and presses find the appropriate searchSomething.php page is

[PHP] Re: problem in create new diretory..

2005-11-19 Thread James Benson
try 0777 instead of 777 http://php.net/chmod ganu ullu wrote: Hello all, I have created a new dir, with php code .. which is like that function mkDirE($dir,$dirmode=777) { if (!empty($dir)) { if (!file_exists(./microsite/.$dir)) { preg_match_all('/([^\/]*)\/?/i', $dir,$atmp); $base=;

[PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-19 Thread Łukasz Hejnak
Hello, First of all sorry for my english, trying my best :] The story is: I'm running a small webserver and to monitor the amount of people going trough my pages, I've made a simple counter (storing the data in a text file), no matter the details, the important thing is that it WORKED just

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-19 Thread Łukasz Hejnak
Hello again, some extra info on my case: the fwrite is completely fine, when fopen is in 'a' mode! Thus leading to a temporary workaround like this: $file = /wwwroot/file $countt = explode(., fread(fopen($file,r), filesize($file))); $count=$countt[1]; $count++; $handle=fopen($file,a);

[PHP] Re: echo

2005-11-19 Thread Oliver Grätz
Alex Alfonso schrieb: echo I need a space here; echo space; *g* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Server Client Architecture, best parctice

2005-11-19 Thread Philip Hallstrom
Reading this, a question arose me: is it possible to read a shared memory area with php, supposing than both programs are in the same machine? does php support ipc? that would be greatly useful. yes. http://us3.php.net/manual/en/ref.sem.php Mariano. James Benson wrote: Each has its

Re: AW: [PHP] how can I CALL a PHP script from different TEXT LINKS with differentPARAMETERS?

2005-11-19 Thread Jasper Bryant-Greene
xkorakidis wrote: Webmaster, thanks very much but I think it would be safer to do that by post, not by get. Furthermore, if I use indivudual files It is a fallacy to ever tell someone that POST is safer than GET. They both transmit data in plaintext and it should not be assumed that either

AW: AW: [PHP] how can I CALL a PHP script from different TEXT LINKSwith differentPARAMETERS?

2005-11-19 Thread Mirco Blitz
HI, I totaly agree to Jaspers answer. That’s why I use ONE jumpto script and GET. I usually encrypt the given Values I give over to the script and decrypt them on recive. That way nearly nobody can assume wich values are really given to the script. If you want to make it rocket safe, generate

AW: [PHP] how can I CALL a PHP script from different TEXT LINKS withdifferentPARAMETERS?

2005-11-19 Thread Mirco Blitz
HI, If I may say something to all you have posted. You are thinking to complex. Try to use as less files and solve most by making yourself functions or classes that do your work. I My experience, getting a step back in complexity and develp really thought over functions will easy work work

AW: [PHP] POST headers empty when using SSLProxyEngine

2005-11-19 Thread Mirco Blitz
Hi, I had a simmalar problem myself and didn't find a solutions. As far as I fond out the ssl_proxy module simply does not route POST. It just routes the link, wich means GET should work. My solutions would be that I bypass the proxy for file transfer. I you find another solutions I would be

Re: AW: AW: [PHP] how can I CALL a PHP script from different TEXT LINKSwith differentPARAMETERS?

2005-11-19 Thread xkorakidis
Thanks so much Mirco, but I would appritiate that very much if I had some examples. I'm not so keen in php, so some things seem to be complex for me. I downloaded OSCommerce but the script pages aren't so simple for beginning... So if you have something (code/url of examples) about this type of

[PHP] showing in pages selecting result?

2005-11-19 Thread xkorakidis
Hi, How can I present into pages the result of sql select? (e.g. pages of 10 records) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php