Questions tagged [html]

210 questions
0
votes
0 answers

php returns error code 127 persistently from exec/shell_exec python script even though script file is found in php by ls-al

I'm using a CentOS x86-64 Linux server, trying to run a python script from a php script called by an html-script. This is a well-covered topic on the internet, however nothing of the instructions and ideas work. I need this command chain later on to…
Anthony
  • 1
  • 1
0
votes
1 answer

Image displaying in a browser but not in a HTML compiler

My image is displaying correctly in a browser, but when i use the image link inside an HTML compiler, its showing a broken image symbol. Image link : http://winterminer.com/glogo.png fail I m using…
Ragav
  • 98
  • 6
0
votes
1 answer

how to parse some mails from html code

I want to build a little bash script to detect some mails in a HTML-code. currently, I am not sure how can I build the right regex to auto-detect emails from HTML. I tried this regex with curl: egrep -o "\S*@.*\.\S*" But this includes all…
cyno
  • 3
  • 1
0
votes
1 answer

CentOS: convert HTML `
` tags to bash `\n\r` on the fly?

this is a tough question to pose and i'm not entirely sure this is the right place for it, but my question is this: how can i convert
tags to \n\r characters on the fly when running a PHP script from bash? why? because usually the script runs…
WhiteRau
  • 107
  • 7
0
votes
1 answer

Api request that return virtualHosts list name or ip

Is there a way for send a request to apache web server and it be returned list of all virtualHosts, name or ip address? Can be done it with some api? I Know that executing apache2ctl -S I get info on virtualhost VirtualHost configuration: *:80 is a…
0
votes
0 answers

Weekly automated check to see if a script is still present in a homepage

I work with several hotels that installed a script (unique for each) in their website to add some tools offered by my company. Sometimes they change their home page or their booking engine without realizing that the script must be installed again,…
0
votes
0 answers

Loading site within a site

I have a question because I'm not sure how to approach this and don't know if my thinking is correct. I have a Linux Server (CentOS/RHEL 7). On that server I have an application - r-shiny. It creates its own "web server" for displaying graphs. It…
Moorti
  • 3
  • 1
0
votes
0 answers

How do I block site redirects from injections ads?

I have a site where I have various advertisements from a few advertiser , and from time to time my site is redirected how many other porn sites etc ... I installed anti adblock script because I gain from ads! On my site are not installed link or…
0
votes
1 answer

Nginx handle multiple htmls in different for different locations in same server

I want to deploy my react app's in nginx under the same server, serving different html's for different locations, I have tried below configuration but it din't work for me server { listen 8080; # root /usr/share/nginx/build-bms; # Add…
-1
votes
1 answer

Why html output aborts before the php code execution?

I have a file named x.php in /var/www/html that looks like -_-

Table

John Goofy
  • 129
  • 5
-1
votes
1 answer

Relative URL is relative to wrong absolute URL on web

Background I am building a website. The files are: /index.php /pic.jpg /dir/index.php /dir/pic.jpg As we know, people can visit my site's dir/index.php page using different URLs: 1. site.com/dir 2. site.com/dir/ 3. site.com/dir/index.php I have…
Bob Johnson
  • 101
  • 1
-1
votes
1 answer

MRTG - HTML buttons to index page

My goal is to include HTML buttons in the Index page in order to classify my MRTG page in different subcategories. Right now what I have done is to make 6 empty graphs with a .png created by myself and it works fine. The only problem is that now I…
Javier Suárez
  • 149
  • 1
  • 10
-1
votes
1 answer

HTML POST method downloads the corresponding php

I am making an authentication form on HTML and trying to link it up with PHP. The HTML code is Authorized logged in
harshvardhan
  • 109
  • 1
  • 2
-1
votes
1 answer

how to open a static html file from an ip using file://?

i need to open a static html file from ip 192.168.##.##. my problem is, i cant access the file using file://192.168.##.##/folder/names/ACT2-1.html i need to open it using file:// not http:// to run the ActiveX in IE.
-1
votes
2 answers

Help with setting up a local server!

I am new to web development and will gladly take any advice. I am designing a webpage which which utilizes a MySQL database. I am hosting the webpage on a LAMP server; I am using Ubuntu. Right now, I can only open my webpage on my server itself. I…
user845454
1 2 3
13
14