FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » script php with <img scr...../>
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: script php with <img scr...../> [message #180223 is a reply to message #180221] Thu, 31 January 2013 20:09 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 1/31/2013 1:11 PM, sferreira1979(at)gmail(dot)com wrote:
> Hi,
>
> i'm a portuguese's student and i'm trying to learn php by myself (with books and php.net) but i'm experiencing a problem on one of my test:
> i have two files: registar_mail.php and captcha.php
> captcha.php display an image witch should appear on my file registar_mail.php using
> <img src="captcha.php"/> but the image doesn't appear :(
> i have been looking for a solution in forums but i don't find anything witch works with me... i'm working with netbeans and xampp
>
<snip code>
>
> could someone help me to understand what is the problem???
>
> thanks :)
>

You have a typo in your html:

<img scr='captcha.php' alt="imagem ausente"/>
^^^

Should be "src"

A good way to determine whether the problem is in your html or the
captcha code is to try to load the image in your browser, i.e.,

http://www.example.com/captcha.php

If the image displays, the problem is *probably* in your html (there's
always that bug... :) ). If the image doesn't show, you *probably* have
a problem in your captcha php file.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: compatibility between php 5.3.21 and 5.3.15 for pgsql
Next Topic: change a string where have number after a word
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 10:05:18 GMT 2024

Total time taken to generate the page: 0.04462 seconds