[PHP-DB] Hi all, how the sript to view like...

2003-11-30 Thread Hadi
I have my database page look like this: [1][2] [3] [4] [5] [6] the problem is when I have my database growing it will be not nice to look at because the number will keep growing, how to make it like this : 1234 Thanks for the help

[PHP-DB] eregi sentence

2003-11-30 Thread Nikos Gatsis
Hello list. Can somebody tell me what is wrong with the following? $body=eregi_replace(a href=\(.+)\([^]*)(.+)/a, a href=\\\1\ target=\_blank\ class=\down_txt\strong\\3/strong/a, $body); where $body is comming from a MySQL BLOB with text. All I want to do is to replace the a href=blabla

RE: [PHP-DB] Downloading PHP source from a PHP filename, possible?

2003-11-30 Thread Bronislav Klucka
Only just to say: There is no way how to grab PHP source code from remote computer!!! 1/ As I said: communicating with another computer is always using some protocol (HTTP,HTTPS,FTP,GOPHER,SMTP) And using http protocol always pass the code through php parser before it's sended to you. Always,

[PHP-DB] Dynamic Website Question!

2003-11-30 Thread JeRRy
Hi, I want to have a PHP website that feeds information off a mysql database. But generally changes occour and instead of asking users to refresh the page to get the updates is there a way to provide the updates without them needing to refresh the page? E.G. For like shooping Carts, Chat rooms,

Re: [PHP-DB] Downloading PHP source from a PHP filename, possible?

2003-11-30 Thread Neil Smth
The only real way to do this is to set up a web service on domain 2 which responds to page requests by pulling the source directly as a file, without interpreting it as PHP code. The function to use here is readfile(/path/to/my/php/scripts/on/webserver.php); You might also want to set a header

Re: [PHP-DB] eregi sentence

2003-11-30 Thread Ivan Fomichev
Hello Nikos, Sunday, November 30, 2003, 10:29:19 AM, you wrote: NG Can somebody tell me what is wrong with the following? NG $body=eregi_replace(a href=\(.+)\([^]*)(.+)/a, a href=\\\1\ NG target=\_blank\ class=\down_txt\strong\\3/strong/a, $body); 1) /.+/ is too greedy. You should use something