Search found 8 matches

by GroovyinAz
Wed Oct 23, 2002 5:29 am
Forum: PHP - Code
Topic: How do I implement this idea...
Replies: 2
Views: 924

Yes...

or you could use this: <?php $domain = strstr($txtEmail,"@"); if ($domain != "") { $domain = substr($domain,1,strlen($domain)); if (gethostbyname($domain)==$domain) { $badfields .= "(EMAIL) That domain is invalid.<BR>"; } } else { $badfields = $badf...
by GroovyinAz
Mon Oct 14, 2002 4:27 pm
Forum: PHP - Code
Topic: HELP nocache but still allow back button
Replies: 5
Views: 1700

I've tested this for u

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Cont...
by GroovyinAz
Mon Oct 14, 2002 4:13 pm
Forum: PHP - Code
Topic: PHP Function calls java and gets an answer :)
Replies: 0
Views: 1055

PHP Function calls java and gets an answer :)

<?php /** * function callJava() * * @param $functionName * @param $params * @return * * Author: Seth Webster * Date : Mon, Oct 14, '02 * Rev : 1 * * This is a quick and dirty way to call a javascript function * and get it's return value in php. Of course, there is no way * to pass the value ...
by GroovyinAz
Thu Oct 03, 2002 9:37 am
Forum: PHP - Code
Topic: Dynamic Images (GD) - Some loading, Some not....
Replies: 8
Views: 1682

JPEG vs PNG

Im using: header("Content: image/jpeg"); ImageJPEG($image_resource,80); Instead of: header("Content: image/png"); ImagePNG($image_resource); And the quality is good enough for me at that level. The banding and such is too bad at much lower quality. I still have been unable to fig...
by GroovyinAz
Thu Oct 03, 2002 9:21 am
Forum: PHP - Code
Topic: Shopping Cart
Replies: 16
Views: 2248

Cookies and CC#s

Off Topic Slightly: IE comes out of the box "resistant" to cookies. The n00b that gets that warning for the first time may not understand enabling cookies or selectively allowing 1st party cookies and not 3rd party cookies. And, since research shows that IE is the most commonly used browse...
by GroovyinAz
Thu Oct 03, 2002 8:29 am
Forum: PHP - Code
Topic: Dynamic Images (GD) - Some loading, Some not....
Replies: 8
Views: 1682

lol...

Thanks y'all... I think I've got her figured out. Thanks a mil for the time ;)
by GroovyinAz
Wed Oct 02, 2002 8:41 pm
Forum: PHP - Code
Topic: Dynamic Images (GD) - Some loading, Some not....
Replies: 8
Views: 1682

K, now I've at least figured out that this is only happening with PNG. If I use Jpeg output, there's no problem. What is wrong?
by GroovyinAz
Tue Oct 01, 2002 6:26 pm
Forum: PHP - Code
Topic: Dynamic Images (GD) - Some loading, Some not....
Replies: 8
Views: 1682

Dynamic Images (GD) - Some loading, Some not....

I am creating on the fly images with PHP and GD. I am using the following code to do this. When the calling page is loaded, some of the images do not display. They are replaced with the broken image placeholder. However, if I right click the image and select Show Image it is displayed. (Internet Exp...