39,323 Topics
| |
I have problem with this htaccess in STATIC URL RewriteEngine On RewriteRule ^readlex/(.*)$/?$ readlex.php?slug=$1 [NC,L] **DINAMIC URL** work fine only with defined CONSTANT: Example <a href="<?php echo BASE_URL.READ_LEX ?>Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex/Le-mura-di-Lucca **STATIC URL** not work (??) <a href="localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca ***Unfortunately I can't insert the php CONSTANTS in … | |
Hello webmasters, I am currently building a template that I am going to sell on different websites like Codester and CodeGrape. I want to build a business directory. Here is what I have come up with ... 1. users can register and add listings. 2. admin can create categories for … | |
What was wrong with good ole using SMTP? Has anyone here successfully used an XOAuth library for PHP? Specifically, I'm looking to connect to my Office 365 mailbox. | |
I, very hackily, create an object of type stdClass as so: $arr = array( 'foo' => 'bar', 'baz' => 'bat' ); $obj = json_decode(json_encode($arr)); How can I now quickly add a third property to $obj without PHP getting angry? | |
Hi, can you recommend a cool site that will help with transportation of things? | |
hai. i would like to know is there have any video that can teach how to import image from database image folder to pdf using fpdf php. i already read some post here regarding to that issue by im not very clear and blur. actually i am very new in … | |
I am trying to create my first successful API request. I want to post on my twitter account. I have created the developer account and generated consumer key and secret as well as access token and secret. I have also obtained the bearer token. I want to post on Twitter … | |
For people who used both and build websites with both, which one is better? Why? | |
What we are going to be covering in this tutorial This tutorial will show you how you can set up a PHP contact form on your web site which will send an SMS message, in this case we will make the contact form send you the information passed by the … | |
Today, blockchain has become an essential part of multiple industries, including real estate, media, manufacturing, tourism, healthcare, and Cyber security. There is no such fixed price for blockchain app development, but on average, the cost to hire a blockchain developer will be around **$5000** to **$30,000**, depending on the project … | |
Trying to call imagemagick using this code. The errors are with the appcontroller, myadoptscontroller, and index. I have been talking to someone who also uses the Mysidia Adoptables code and they provided me their code to edit, I edited their code but it is throwing these errors and I’m not … | |
Hi, it is possible change this URL with .htaccess? **From** https://www.example.it/news.php?slug=aaaa-bbb-ccccc **To** ( seo-friendly without ‘news’ ): https://www.example.it/ aaaa-bbb-ccccc | |
hai i need php code for simply drop and drop to create website coding ...pls help me ... | |
Hey Daniweb fam! A bit of backstory about me... I've built dozens of websites and online ventures, both for myself and clients. One thing that's always kept me up at night? The dread of being hacked—losing data, money, and peace of mind. So, I assembled a squad of top-notch devs … | |
I have a script that delivers an empty gif file when an attempt is made to download an image ("Save image as..."). Here is a link to my page. Try to save either of the first two images from the screen (not screenshots). I have been told that this is … | |
I have a web page that loads images with a modal, and at the same time is meant to inhibit image piracy by delivering a transparent overlay when a user attempts to make a screen copy of the image. I have two php lines of image scripts which work OK … | |
Hey guys, so I've been trying to create a website that allows users to update and delete records through the database I've set up in SQLyog. In my update confirmation file I've added location theme description to be updated and changed for all users. but for some reason its unable … | |
Hello, I do not understand why the simplehtmldom is failing. This is the code: <?php ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(E_ALL); //--- include_once('simplehtmldom_1_9_1/simple_html_dom.php'); //--- $url = "https://victoriousseo.com/sitemap_index.xml"; $html = new simple_html_dom(); $html->load_file($url); //-- foreach($html->find("a") as $link) { echo $link->href."< br />"; } ?> I got the simplehtmldom.php on the same directory as the … | |
I am trying to implement multi authentication in `laravel5.2`. I am following [this article](http://saravanan.tomrain.com/multiauth-in-laravel-5-0/) My **Auth.php** <?php return [ 'multi' => array( 'user' => array( 'driver' => 'eloquent', 'model' => 'App\User', 'table' => 'users', ), 'admin' => array( 'driver' => 'database', 'model' => 'App\Admin', 'table' => 'tbl_admin_user', ) ), 'password' … | |
Hi, I am a non computing graduate. Have basic HTML knowledge gather using freecodecamp. I am transitting from marketing industry to IT (programming) industry. I have enrolled in a masters in UK which will start in just one month. But I am not sure If i will be able to … | |
I am integrating [Speakatoo](https://www.speakatoo.com/) API in my project its giving me cookies error, Please any one can help me. | |
In HTMl from I have a Input field type month. When I select a month and click on search button then total days of selected month show in HTMl table with backend data. This table contain salary. I want the salary is calculate with Total days. I write a script. … | |
Hi guyz, Why IoT is the future of mobile app development? Form your perspective | |
In the dynamic and ever-evolving landscape of cryptocurrency, where virtual fortunes are created and exchanged in the blink of an eye, the significance of security cannot be overstated. As the digital realm intertwines with the financial world, the need to protect digital wealth from potential threats and vulnerabilities becomes an … | |
Hi, After searching for many days I was not able to find any good PHP JSON Schema Generator, most of them seems to have only the ability to validate schema with a JSON payload. I just found this [php-json-schema-generator](https://github.com/evaisse/php-json-schema-generator) today but it seems to be not maintained often, it does … | |
Hi guyz, What is the main purpose of alpha and beta testing? From your own personal experience. Why is Beta Testing is very much important in mobile app development? | |
Hi guyz, Zero Party Data Collection in Ecommerce Is it emerging now? Please share your thoughts about how its going on? | |
Hi guyz, What are the APIs you guys using to build an SEO softwares? | |
<!DOCTYPE html> <html> <head> <title>Exercise V3.0</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="w3.css"> </head> <body> <div class="container"> <div class="header"> <ul> <li ><i class="fa fa-home" id="me"></i></li> <li><i class="fa fa-trash" ></i></li> <li ><i class="fa fa-close" id="he"></i></li> </ul> </div> <div class="title"> <span>Completed 15 of 67 Exercises:</span> </div> <div class="nav"> <ul> … | |
I have the following code: <?php session_start(); // Starting Session include_once('config.php'); $error=''; // Variable To Store Error Message if (isset($_POST['submit'])) { if (empty($_POST['user']) || empty($_POST['pass'])) { $error = "Please complete both fields"; }else{ // Define $username and $password $user=$_POST['user']; $pass=md5($_POST['pass']); // To protect MySQL injection for Security purpose $user = … |
The End.