Re: [PHP] Replacing text on page, but not in tags

2003-11-06 Thread Taylor York
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

[PHP] Replacing text on page, but not in tags

2003-11-06 Thread Taylor York
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

Re: [PHP] Please dirrect me -- headers ????

2003-07-14 Thread Taylor York
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

[PHP] regexp problem

2003-07-10 Thread Taylor York
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

[PHP] MySQL passwords dont work.

2003-03-18 Thread Taylor York
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/)

[PHP] any string function to...

2002-09-23 Thread Taylor York
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

[PHP] Reg Exp issue

2002-09-20 Thread Taylor York
() '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

[PHP] XML vs Everything Else

2002-09-03 Thread Taylor York
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

[PHP] header()

2002-07-09 Thread Taylor York
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

[PHP] Re: redeclaring functions

2002-06-26 Thread Taylor York
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]

[PHP] Re: Passing Form Values

2002-06-26 Thread Taylor York
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("

[PHP] redeclaring functions

2002-06-26 Thread Taylor York
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

[PHP] Re: phpmyadmin - moving data from one database to another

2002-06-18 Thread Taylor York
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

[PHP] PHP commands inside a MySQL Database

2002-05-30 Thread Taylor York
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