Search found 35 matches

by jslick
Thu Aug 12, 2004 12:07 am
Forum: PHP - Code
Topic: Server Side automatic execution of send mail
Replies: 2
Views: 351

I didn't know it was possible. I don't think you can do it with PHP. But, then again, I'm definately not an expert at PHP.
by jslick
Wed Aug 11, 2004 11:16 pm
Forum: PHP - Code
Topic: Mailing form
Replies: 7
Views: 809

feyd wrote:[php_man]strlen[/php_man]() if it's a string..
Thanks again, feyd.
by jslick
Wed Aug 11, 2004 11:06 pm
Forum: Databases
Topic: [SOLVED] query problem again..
Replies: 13
Views: 512

I think it's fine.
by jslick
Wed Aug 11, 2004 11:05 pm
Forum: PHP - Code
Topic: Mailing form
Replies: 7
Views: 809

Thanks, I got it working.

Really, really stupid question: How do you count how many bytes are in a variable?

(I wrote this in the same thread because it is related to the same script)
by jslick
Wed Aug 11, 2004 10:15 pm
Forum: PHP - Code
Topic: Mailing form
Replies: 7
Views: 809

Mailing form

I have been using the same contact form for quite a while now. But I can't figure out to use HTML with it. So, I guess my question would be how do you mail an HTML email using PHP?
by jslick
Wed Aug 04, 2004 1:40 pm
Forum: Miscellaneous
Topic: PHP in .html extention
Replies: 8
Views: 2481

okay, I don't think I'll do it then.
by jslick
Wed Aug 04, 2004 1:34 pm
Forum: Miscellaneous
Topic: PHP in .html extention
Replies: 8
Views: 2481

But doesn't let me edit, just add a new one, and the .php extention already exists. Do I just add another one? Will it overwright the other one? Kind of confused.
by jslick
Wed Aug 04, 2004 1:18 pm
Forum: Miscellaneous
Topic: PHP in .html extention
Replies: 8
Views: 2481

feyd wrote:Correct, that is not me. Purely coincidence.. I guess we both like Dune a bit :)

it can be done through cpanel, in the extension types manager...
Mime types???
by jslick
Wed Aug 04, 2004 12:15 pm
Forum: Miscellaneous
Topic: PHP in .html extention
Replies: 8
Views: 2481

This: http://www.javascriptkit.com/howto/htaccess.shtml Tutorial written and contributed by Feyd, moderator of the JK Forum. Please see tutorial footnote for additional/bio info on author. Are you not that feyd? You mean shell access? I dont' have shell access. Is there not a way to do it with .htac...
by jslick
Wed Aug 04, 2004 10:08 am
Forum: Miscellaneous
Topic: PHP in .html extention
Replies: 8
Views: 2481

PHP in .html extention

I found this article by feyd: http://www.javascriptkit.com/howto/htaccess4.shtml
It describes how to enable SSI through .htaccess and how to enable it with .html, too. How could I do that with PHP? So, how could I make it so I can have PHP in .html extentions?
by jslick
Tue Aug 03, 2004 9:41 pm
Forum: Miscellaneous
Topic: [SOLVED] Custom error pages with .htaccess
Replies: 1
Views: 880

Never mind, I got it to work from help of a different forum.
by jslick
Tue Aug 03, 2004 9:33 pm
Forum: Miscellaneous
Topic: [SOLVED] Custom error pages with .htaccess
Replies: 1
Views: 880

Custom error pages with .htaccess

I learned this from feyd's .htaccess tutorial: http://www.javascriptkit.com/howto/htaccess.shtml I am making custom error pages. I have error.php. This is my .htaccess file: Code: ErrorDocument 404 /error.php?e=404 ErrorDocument 401 /error.php?e=401 ErrorDocument 403 /error.php?e=403 ErrorDocument 5...
by jslick
Tue Aug 03, 2004 9:04 pm
Forum: Databases
Topic: [SOLVED] Reversing results.
Replies: 9
Views: 995

steedvlx wrote:I did it the other way around. i.e. found a use for MySQL first and needed to learn how to 'talk' to it. :)

Thank God for this forum and others like it. If it weren't for these guys, I would still be at the 'Hello World' stage.
haha. Why would you learn SQL first?
by jslick
Tue Aug 03, 2004 2:07 pm
Forum: PHP - Code
Topic: Clearing cookies
Replies: 3
Views: 433

thanks feyd, I found the auto-increment thing.
by jslick
Tue Aug 03, 2004 12:59 pm
Forum: Databases
Topic: [SOLVED] Reversing results.
Replies: 9
Views: 995

welcome :) I did have it $query="SELECT * FROM news_posts" ."ORDER BY id DESC"; but I got a sytax error because it didn't recognize any space between news_posts and ORDER so I just put it on one line. I'm sort of a "noob" myself (at SQL). I am getting the hang of it now...