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 #180237 is a reply to message #180223] Sat, 02 February 2013 11:11 Go to previous messageGo to previous message
sferreira1979 is currently offline  sferreira1979
Messages: 3
Registered: January 2013
Karma:
Junior Member
Quinta-feira, 31 de Janeiro de 2013 20:09:40 UTC, Jerry Stuckle escreveu:
> 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
>
> ==================

hi!? thanks :)
i have correct the img attribute but i'm still having the problem... captcha.php runs correctly in browser, the problems seems to be in registar_mail.php...
in debug mode the file captcha.php is not calling by the programe and i don't know why...
others sugestions?
thanks for your time
[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: Fri Sep 20 05:48:27 GMT 2024

Total time taken to generate the page: 0.04356 seconds