Quantcast
Channel: Active questions tagged php - Webmasters Stack Exchange
Browsing all 43 articles
Browse latest View live

Where to find my website's source code?

My company ordered a website and we were given all usernames and passwords but I can't find the PHP source files and this is my first website assignment. I have no prior exposure to web technologies...

View Article



How can you generate a sysid with PHP? [closed]

I worked with ServiceNow for many years. They have a very interesting database.Every record in the entire database has a field called the said. This number combined with a table name makes that record...

View Article

Rewrite Ampache music server URL/DocumentRoot with .htaccess

I have ampache music server installed under example.com/ampache/public.What should I write in example.com/.htaccess file tochange the appearance ofexample.com/ampache/public intoexample.com/music In...

View Article

Reverse proxy pass websocket request with PHP in apache

I have a websocket server that I need to protect behind a PHP session and currently I'm unable because I can't make PHP to reverse proxy to the websocket server. Let's go to the details.I have a NGINX...

View Article

htaccess: differentiate between directory and directory with query parameters

I have a little PHP framework like this:?page=page-name?page=page-name%slug=slug-name (in the case of plural list pages)I'm trying to pretty her up./exercises → ?page=exercises/exercises/exercise-slug...

View Article


Is it possible to entirely disable the ability to set error_reporting?

I'm wondering if at the server level I can disable the ability for scripts to override error_reporting and ini_set('display_errors',1);Edit: I know how to disable errors using .htaccess and on a script...

View Article

Contact Form Emails not displaying on IOS devices [closed]

I'm having an issue that appears to be localized to IOS devices, those, particularly that use the default mail client.Emails are sent to these clients automatically through their website contact...

View Article

Plesk Obsidian (18.0.48) - 413 Request Entity Too Large (nginx)

Hello recently I set up a server using Ubuntu 22.04.1 LTS and Plesk Obsidian 18.0.48. However I encountered a problem when uploading files around 1GB of size.The website I am running is a...

View Article


Problem with Apache rewrite with wildcard domains

I have a PHP app on Apache2 that is supposed to treat subdomains on the code level.My goal is to redirect any wildcard subdomain to the main domain's index.php. I do not use .htaccess.I searched Stack...

View Article


Php header 301 redirect still let google to index content but now from newly...

I've redirect my oldsite.tld site via PHP header like this.<?php $url_sufix = "blabla";header("Location: http://www.newsite.tld/".$url_sufix, true, 301);exit;After 3 mo I still can find fresh...

View Article

Google not indexing pages using php variables [duplicate]

For example google isnt indexing this page.https://yorkes.live/beach.php?location=flahertyshowever does index;https://yorkes.live/privacy-policy-yorkes.pdfI have a sitemap.xml up and working.This...

View Article

mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result,...

I updating a old volunteer website from Joomla 2.5 to Joomla 4 (PHP 5.4 to PHP 8.1) and mysql to mysqli. A few parts of the website were created by hand with php. So far by searching I have been able...

View Article

How to install PECL/XMLRPCi from within Plesk 18.0.49

Being a newbee with Plesk, I'm trying to install PECL extension XMLRPCi from within Plesk 18.0.49, but I get this error message:Failed to download pecl/XMLRPCi within preferred state "stable", latest...

View Article


Matching cyrillic characters that look like latin characters?

I would like to identify Cyrillic characters that look like Latin characters and have a list I can refer to.How would I go about that using PHP and regular expressions?

View Article

Installing PHP extensions in Plesk Obsidian - idiots guide required

I'm trying to upload files from my server to an another server via SFTP.I'm running Plesk Obsidian 18.0.31 Update #3 - ‪CentOS 6.10 (Final)‬From what I understand I need to install some extensions to...

View Article


Image may be NSFW.
Clik here to view.

How to submit shortened URLs to Google so that they are included in the index

I am working on a project to create a URL shortener. I have successfully gotten it to create short URLs, but I would like to submit them to Google. When I submit a short URL via Google Webmaster Tools,...

View Article

PHP/MySQL shopping cart recommendation [duplicate]

Possible Duplicate:Which Ecommerce Script Should I Use?I need a shopping cart for PHP/MySQL. What I need is very simple. I have a template already set up with the 15 items that we want to sell. We...

View Article


Automatic reauthenticate at oauth2 endpoint

I am currently (ab)using an oauth2 endpoint of an API to enable users of the API to log in to my site (using response_type=code). I do not save refresh tokens or even access_token as that oauth2...

View Article

CRM + Invoicing/Billing + Ticketing for a small web design company

I am currently using ActiveCollab but it lacks the typical CRM features. I can't even keep notes about a customer saved in one place.What I am looking for is a simple but efficient CRM application that...

View Article

NginX redirect to PHP file if image does not exist on file server

This is what I am trying to do. I am not familiar with Nginx enough to create custom rewrite rules like you can with Apache. It would be greatly appreciated if someone could help me with the Nginx...

View Article
Browsing all 43 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>