Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,306 members, 7,808,037 topics. Date: Thursday, 25 April 2024 at 05:07 AM

PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! (967 Views)

Google Adsense Now Bans Specific Blog Pages Instead Of Sites - 2017 New Policy / Why Do Most Nigerians Use Instead Of The Alternatives? / How Can I Make My Blog Appear On Top Google Search (2) (3) (4)

(1) (Reply) (Go Down)

PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! by bigv(m): 8:06pm On Feb 06, 2015
Hello php programmers, especially those who code with Dreamweaver CS5.
I created a pix upload platform.
However, while trying to display the pix on my browser using the

<img src= "<?php......>" />

tag, it would show me character symbols instead of the actual pix.
Pls kindly post an authentic solution.
Thanks in advance.
Re: PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! by Nobody: 9:37pm On Feb 06, 2015
first of all,the image tag is <img src=> not scr
Re: PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! by helloBae: 10:03pm On Feb 06, 2015
secondly check your url ..... if it's on your localhost... you url should be localhost/path/to/file not file:///user/path/to/file


developer affordables .... www.hugageek.com
Re: PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! by onyengbu: 10:34pm On Feb 06, 2015
bigv:
Hello php programmers, especially those who code with Dreamweaver CS5.
I created a pix upload platform.
However, while trying to display the pix on my browser using the

<img scr= "<?php......>" />

tag, it would show me character symbols instead of the actual pix.
Pls kindly post an authentic solution.
Thanks in advance.
What kind of character symbol? Can we see it?
Re: PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! by bigv(m): 7:38am On Feb 07, 2015
Yeah sorry that was a typo error. Thanks
Jregz:
first of all,the image tag is <img src=> not scr
Re: PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! by bigv(m): 7:41am On Feb 07, 2015
Oh great, I'd check it out and let you know if it works. Thanks
helloBae:
secondly check your url ..... if it's on your localhost... you url should be localhost/path/to/file not file:///user/path/to/file


developer affordables .... www.hugageek.com
Re: PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! by bigv(m): 7:47am On Feb 07, 2015
The kinda bunch of symbols of question marks and the likes you get when you have encoding issues. I'd work on sending a snapshot tho.
onyengbu:

What kind of character symbol? Can we see it?
Re: PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! by DualCore1: 9:56am On Feb 07, 2015
Post your codes.
Re: PHP: Character And Symbols Appear Instead Of The Uploaded Pic On The Browser! by Nobody: 12:34pm On Feb 07, 2015
I just tire for Nigerians, same thing that happened here https://www.nairaland.com/2123070/please-login-page

can you post this kinda thing on SO without your codes,no one is interested in using code snippets that ain't working ,True!!!!

(1) (Reply)

How T2tech Got A Domain Name From Godaddy At $0.99 / Please Help Out! Advice From Experienced Web Designers Needed / Can I Receive Adsense Earnings Wit First Bank Naira Savings

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.