Hi, Can someone explain to me where the html file is, in a php image hosting script I have got? Iv'e basically got the same problem in wordpress, where I can't access the html file. Is it in my phpadmin on my host? Is there a way to write in the html file to make changes, is this something that can/should be done? Or does everything need to be changed in the php files? Cheers
It is PHP - there are no HTML files. PhpMyAdmin is for databases only. I can't really help you without seeing the script, but the theme will be in a .php file.
It's like this one. 5images.com/ that's not my site just an example I've been changing the css file that is in the folder, but I want understand how I can visually see the design changes. I want to add flash video, but it's hard for me to see where to put it.
To view a PHP file you must uplod the file to a web server, or run it on localhost apche etc etc. the HTML will be somewhere in the .php file, though things will be stored in variables and functions - so you will get confused. You should really learn basic PHP before you start playing around with those things. BP
Well, all scripts are different, so if you want specific help with yours, you would have to tell us at least which script you're using. There might be a "templates" or "themes" folder with the HTML files. Have a look. If you still don't find anything, give us more info about your script.
sorry, I posted the same "live" script site above. 5images.com As I'm new it won't let me have it as a live link. I think I'm going to outsource it as it is too hard for me. I know how to get to the php files and css files and change them, but I don't know how to change it enough for it to work the way I want it. It's the multihost script from http://www.mihalism.com/index.php?
sorry, I posted the same "live" script site above. 5images.com As I'm new it won't let me have it as a live link. I think I'm going to outsource it as it is too hard for me. I know how to get to the php files and css files and change them, but I don't know how to change it enough for it to work the way I want it. It's the multihost script from http://www.mihalism.com/index.php? Do people outsource programming on here?
Nico is right. They can hide the html just about anywhere. If you want to do this by yourself the best way is to open a copy of the index.php in notepad2 or other text editor and look at the sturcture search for some of the phrases that show on the rendered pages. If the html is reproduced using the echo command this will find it. Most likely it is not being done that way. More than likely it is being included from another file. Now you search for include( This will allow you to find all the files that are included in the current page. Then you just open each of those files until you find the one that is producing the content. This may or may not be the proper place to add whatever it was you wanted to add. At least you will understand how the page is built.
Hi thanks for feedback. Yep I'm able to locate the different php files like header.php and footer.php and also the css files and reedit them. The problem is that visually I can't see how it's working (unless I upload resaved php and css files) and when I change the css, I think it's going to do such and such, but it doesn't do what I want it to do That's why I think I need a php gun, who will do it much quicker than me - lol!
I just looked at the script in question. To edit the front page, it's in index.php and the main part of the body is easily located by the word Welcome. Can do what you want from there, just stay out of the <?php ?> sections and the HTML won't screw up too much.