Why my site dosent support css


#1

hellow guys i made a site but my site only comes with blac/white information and when i click on for example contact button
it contains me to blanked pages and can not read file (i included page by php )


#2

Make sure your file name is correct.
File names are case sensitive :slight_smile:


#3

its like contact.php and index.php


#4

What is your website please?


#6

https://malapropos-remedy.000webhostapp.com/ this is my site !!


#7

This css file does not exist
https://malapropos-remedy.000webhostapp.com/support/style.css


#9

thank u so much and i have one more thing to ask does this site supports html codes ?
for example something liek this <?php

         $errors=[];
         $missing [];
         if (isset($_post['send'])){
             $to ='amirmhzali@gmail.com';
             $subject ='Feedback From my site';
         }
         ?>

#10

Yes, 000webhost supports HTML, CSS, JS(client side) and PHP


#11

well my contact sitw works until i enter html and css codes
but as soon as i enter php codes i get error like
site can not handle this request


#12

Can you post your php code?

Additionally add following to your .htaccess file

php_value display_errors 1


#15

i got one more problem when i leave boxes blank it wont msg that pls fill blank boxes !
this is for peace of contact.php

Contact Us !

``` <?php if ($missing || $errors) {?>

Please Fix The Iteam(s) indicated.

<?php } ?> Name:

Email:

and this is for processmail.php <?php foreach ($_POST as $key => $value) {
$temp = is_array($value) ? $value : trim($value);

if (empty($temp) && in_array($key, $required)) {
    $missing[] = $key;

    ${$key} = '';
} elseif (in_array($key, $expected)) {
    
    ${$key} = $temp;
}

}
if u help me with this i will be greatful ![quote=“Amiralimhz, post:15, topic:88355, full:true”]
i got one more problem when i leave boxes blank it wont msg that pls fill blank boxes !
this is for peace of contact.php

Contact Us !

<?php if ($missing || $errors) {?>

Please Fix The Iteam(s) indicated.

<?php } ?> Name:

Email:

and this is for processmail.php <?php foreach ($_POST as $key => $value) {
$temp = is_array($value) ? $value : trim($value);

if (empty($temp) && in_array($key, $required)) {
    $missing[] = $key;

    ${$key} = '';
} elseif (in_array($key, $expected)) {
    
    ${$key} = $temp;
}

}

if u help me with this i will be greatful !