Hello!
I am having a problem when people copy and paste text inside a TEXTAREA in a form that
contains double quotes ' " ' .
The first file is a simple form. The second one is a php script that treats the data
from the user and stores in a MySQL table. Onyone has any ideas? I need to use
jav
Hey Folks!
I have the following situation:
I store in a MySQL table part of the HTML code that is used to mount
dinamically the pages of a web site. The file looks something like this:
Before I enter any data in the database I put HTML comments like this: before and after any text that appea
Hey Folks!
I have the following situation:
I store in a MySQL table part of the HTML code that is used to mount
dinamically the pages of a web site. The file looks something like this:
Before I enter any data in the database I put HTML comments like this: before and after any text that appea
Hey Folks!
I am bringing from the database HTML source like this:
We are committed to our employee’s well being and professional
development
I would like to make this:
We are committed to our employee’s well being and professional
development
So, before the end HTML comment I would
This is a nice idea but would not be more efficient if I substitute the
entire block like this:
this is what I have in the database:
ANY TEXT
this is what I want:
ANY TEXT
what youl be a REGEX to substitute that block for this one above?
Thank you,
Rom
> Then, you get your complete text
> Either way, it should be easy enough to change that code I gave you
> to do that?
I know what you mean, but I have more than 200 rows already with these surrounding my texts and to modify manually would take ours... I
didn't think in that before...
How would be a REGEX to recognize the tag a
Hey people!
What is wrong with this code?
$buffer = split("([0-9] -->)",$pagedata);
$x = count ($buffer);
echo $x;
for ($i=0;$i<$x;$i++) {
ereg("([0-9] -->)", $buffer[$i], $text);
ereg_replace (" -->","", $text[1]);
echo $text[1];
}
Since $pagedata has 8 appearences of the REGEX I a
I think that is what you are looking for...
http://px.sklar.com/
anyway in php.net they have a bunch of them in the links section.
Have fun!
Rom
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 15, 2001 1:23 AM
Subject: [PHP] I once saw a sit
I have a big string. How can I do to find some text inside and modify that
text? I was thinking about ereg_replace(). But it is capable to handle big
chuncks of text? If yes, it will notbe too heavy for theserver? Any other
ideas?
Thank you,
Rom
--
PHP General Mailing List (http://www.php.net
Another good way to do that is to load the file in the database.
The cities are a constant, and you can have them loaded in the database by a
script that check if they exist, if not create a new row with the new city;
if exist you update the data only...
Because if each time that a user goes to a
you could use nl2br command on the string that holds the data...
check this for further info...
http://www.php.net/nl2br
Have fun,
Rom
- Original Message -
From: david klein <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 11:12 AM
Subject: [PHP] How to handl
in the buttom href put this: javascript:history.go(-1)
works great to me... on click doesn't work very well o netscape in this
cases...
I expect that thisis what you want!
Rom
- Original Message -
From: Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
To: Todd H MacPherson <[EMAIL PROTECTED]>
Why don't you do a function with an ereg inside?
I don't think that exist a command like that...
Rom
- Original Message -
From: Elliot L. Tobin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: [PHP] regexps
Is there a way to call one regexp
I just posted this in php-win - this script installs everything
automatically...
My guess is that Mr.Mortemarquete is doing something wrong, because he has
IIS AND APACHE in the same server...
I found this link and think that is useful:
http://www.firepages.com.au/phpdev.htm
Have fun,
Rom
-
you need to seed the rand with srand() before the rand() command...
cheers,
Rom
- Original Message -
From: Joel Dossey <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 1:39 PM
Subject: [PHP] Netscape rand() not random
Hello,
I have been toying with php for
I didn't know that - very intersting! thank you Egon, this reaaly
helps...
Rom
- Original Message -
From: Egon Schmid (@work) <[EMAIL PROTECTED]>
To: Karl J. Stubsjoen <[EMAIL PROTECTED]>
Cc: PHP Mailing List <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 1:51 PM
Subject: Re: [
I think that these are your answer:
Memory use explanation in MYSQL DB:
http://www.mysql.com/doc/m/y/myisamchk_memory.html
Memory used by MYSQL DB:
http://www.mysql.com/doc/M/e/Memory_use.html
MYSQL DB Status:
http://www.mysql.com/doc/S/H/SHOW_STATUS.html
Problems with HARD DISKS and MYSQL DB:
amount of disk space
usage on my server and I need to determine how much space they are using in
the database.
Any ideas on how to do this in PHP???
Please email me directly with a response. Thank you
----- Original Message -----
From: Romulo Roberto Pereira <[EMAIL PROTECTED]
what you can do also is using a HTTP header to redirect the user
automatically to the index.php:
the head of index.html could look like this:
Untitled Document
By this way you don;t need to change anything on apache...
Rom
- Original Message -
From: S Bey <[EMAIL PROTECTED]>
To: <
do this INSIDE the head tags:
this create the famous effect of when you mouse over appears the underline
you can also set colors by: color: #XX, like the following:
- SSL (PAGE 2 SERVER 2)
SERVER 1: Apache and PHP
SERVER 2: Novell with Netscape
PAGE 1: PHP script page
PAGE 2: PHP script page
Wi
Hello!
I am constructing an intranet site. The site is all secure, I mean, all the
pages are under a directory that needs a password to get in. These are
facts:
A) The user information is on a LDAP;
B) The user should entry the pair login/password only once;
C) Any access to the site without log
Hello!
Anyone had tried to submit the contents (I mean the source code) of an
IFRAME, so it can be available for PHP?
Thank you,
Rom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
Hello!
The following give me: unterminated string constant (this is a javascript
error)
when I execute the following:
while ($row = mysql_fetch_array ($data_query_action)) {
$data_data = $row["data_data"];
}
echo "\n var
ndata=\"".addslashes($data_data)."\";\nPutCode (ndata);
Parse error: parse error in
/local/Web/sites/phpweb/include/shared-manual.inc on line 265
Fatal error: Call to undefined function: sendmanualheaders() in
/local/Web/sites/phpweb/manual/en/getting-started.php on line 3
HELPPP!!
:)
Rom
--
PHP General Mailing List (http://www.php.net/)
T
Hello,
I am curious about creating a script that would bring me results of a search
organized not by the actual name of the domain but the lenght of each part
of a domain.
This is an example:
Domains that finish in .com/.net/.org with the lenght of one character:
a.com
a.net
a.org
b.com
b.net
67 matches
Mail list logo