Ya, i know it will be done with regular expressions, but how?
I dont know how to format that kind of expression
>>
[snip]
It would then be completely jacked up. Not only would it do the wrong
img,
but the tag in general would be screwed be cause of the bold tag. So
what
can I do?
[/snip]
Skip th
Lets say im trying to replace every occurance of 'hello' with 'hi'.
heres a sample page
hello there!
This would simply change to
hi there!
but what if it had an img?
hello there!
It would then be,
hi there!
It would then be completely jacked up. Not only would it do the wrong
Cant you edit the httpd.conf?
I know there might be plenty of reasons why not to...but im just checking.
=)
Server mydom1.com
Alias mydom.com
"Anthony" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the links, I'm going through them now
> as far as the location thin
First,
I need the code to replace the link in a string, like
with
ereg_replace("''", "''",
$old);
That was the closest i got, but (.*) makes it take the first BASE HREF, and
the last ">, which sucks.
Can anyone help?
Second,
I hate asking for help on Regexps...I would like a tutorial online t
I have recently made a server on FreeBSD. I've run into 2 problems.
1. I cant get PHP to compile with mysql
2. I can use mysql in PHP, but if i use phpMyAdmin, with user/pass...I
ALWAYS get No databases. If i do user/no pass, it works.
wth?
--
PHP General Mailing List (http://www.php.net/)
Is there any string function to put backslashes on any characters that are
used in regular expressions? IE ()[];.^*$ etc.
Thank you,
Taylor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
() 's, and /'s, and .'s, mess it all
up. And suggestion on what to do? any function to convert all of the
special regexp characters ()[];.^*$ etc to work correctly?
Thank You,
Taylor York
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
help me
grasp what its all about.
Thank you,
Taylor York
DreamStar Group
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to change some information in the header...lets say that User
Agent for example...but it just wont change.
putenv() will change the User Agent..but nothing else will
user agent: ";
echo getenv("HTTP_USER_AGENT");
?>
Suggestions?
--
PHP General Mailing List (http://www.php.net/)
T
And sorry but no, I can't just delete one of the functions...these scripts
are used in many other places by themselves without the other..so script A
has to be able to have this function on its own page, and so does script B
on its own page.
"Taylor York" <[EMAIL PROTECTED]
I would suggest posting the vars to a page, which will open up a new
javascript window, then .write("") the values into the javascript window
from the main page.
OpenWindow = window.open("", "newWindow", "height=400,
width=300,toolbar=yes,scrollbars=yes,menubar=yes");
OpenWindow.document.write("
I am having a problem with two scripts that use the same function name.
The two functions do the exact same thing...but when the include files are
called, the second file recieves a redeclare error.
Suggestions?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
Just dump the data and structure to an SQL file, choose save as file, then
run all the code in the file on the next server.
Taylor York
"Phil Schwarzmann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The lazy and worthless a-ho
t parse or execute any of the php. Any suggestions?
Thanks
Taylor York
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
14 matches
Mail list logo