[PHP] Extract a string from a string

2002-01-02 Thread qartis
uld show up as a highlighted HI, becuase it only uses $hi as the highlighted word, not the original string. I'm fairly sure that I could do this with ereg functions, but I've spent too long looking and now it just about makes me sick just looking at it. Pleeease, can anybody hel

[PHP] Re: Extract a string from a string

2002-01-03 Thread qartis
Thank you very much! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: To you know-it-all's out there...

2002-01-06 Thread qartis
Your code works perfectly as a .php file -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] WAP

2002-01-17 Thread qartis
An easier way to do this is (in wap.php): \n"); echo("http://www.wapforum.org/DTD/wml_1.1.xml\";>\n\n"); ?> And then continue with tags. This will be parsed by php but will also have correct headers for WAP browsers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Speed test: mysql query vs. file_exists()

2002-01-24 Thread qartis
I'm running a logs system where log entries are .log files with filenames like 03012002.log for January 3rd, 2002. You can view when logs have been posted with a calendar, which will make the particular day a link if that day's log file exists. I'm thinking of storing the log entries in a mysql da

Re: [PHP] using a text file for variables in a form?

2002-01-26 Thread qartis
The HTML would be having problems because PHP would compile this: -- "; ?> -- as: -- '; ?> -- "Alexis N. Mueller" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dan, > > Thanks for replying so fast.. I tried it out right away. > > The script part of it didn

[PHP] Re: Any Ideas

2002-01-26 Thread qartis
I'm guessing something along the lines of: -- $string=str_replace("!","",$string); $string=str_replace("@","",$string); $string=str_replace("#","",$string); $string=str_replace("$","",$string); $string=str_replace("%","",$string); $string=str_replace("^","",$string); -- etc. "Philip J. Newman"

Re: [PHP] File uploading like hotmail

2002-01-28 Thread qartis
I think you might be looking for HTML form element. "Duky Yuen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I want to make something like when you are attaching something to an > email in hotmail. I want to make something that searches your own > computer

[PHP] Re: Need Urgent Help!!

2002-01-31 Thread qartis
Make flash send the form's variables to email.php. Contents of email.php: This script will also tell your flash file whether the mail was successfully sent or not, by outputting sent as 'true' or 'false'. "Scott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

[PHP] Making your include files invisible (header() in if loop)

2002-01-31 Thread qartis
I wanted to hide the existance of my include files by making them 'invisible': give a 404 error when requested. This worked, but the files that were including were obviously 404ing too. So I decided to use $PHP_SELF and check whether the script's PHP_SELF was it's filename, which would mean that i

[PHP] Re: setcookie problem: Cannot add header information - headers already sent by

2002-03-13 Thread qartis
I don't think you can have an empty line (even in the php) before cookies are set "Frank Ramsay" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Cookies have to be set before the block begins. > > -fjr > > Bob wrote: > > > here is the example:

[PHP] Re: Making a simple borderless pop up window with a "Close" button

2002-03-20 Thread qartis
If you want a popup window that lacks a border entirely, check out chromeless windows at www.microbians.com "Denis L. Menezes" <[EMAIL PROTECTED]> wrote in message 000f01c1cf3f$5321d520$c900a8c0@d8d0l7">news:000f01c1cf3f$5321d520$c900a8c0@d8d0l7... > Hello friends. > > I am making a database we