View Single Post
Old 11-02-2023, 03:01 AM  
mopek1
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: Canada
Posts: 3,066
Need some php Help

After switching my site to https one of my php scripts stopped working.

My host's Apache error logs confirmed it was due to an SSL issue.

The script allows surfers to post some text and has a captcha before hitting submit. The captcha image is where I believe the problem lies:

______________________________
<? $code = makeCode(); ?>
<img src="include/code.php?code=<?=$code?>">
______________________________

The script calls on an image somewhere in the include folder, in a file called code.php [header("Content-type: image/png");].

I believe that somehow this image is still being served over http, even though I've checked every link in that script and on those pages with a fine toothed comb.

Of anyone has any knowledge of php or can point me to someone or some business that can help I;d appreciate it.

Thanks
mopek1 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote