39,321 Topics

Member Avatar for
Member Avatar for Dani

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.

Member Avatar for Dani
2
162
Member Avatar for Dani

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?

Member Avatar for Dani
1
83
Member Avatar for Dmytro_2

Hi, can you recommend a cool site that will help with transportation of things?

Member Avatar for Reverend Jim
-2
15
Member Avatar for thir

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 …

Member Avatar for gottaloveit
1
162
Member Avatar for FarrisFahad

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 …

Member Avatar for Dani
0
85
Member Avatar for FarrisFahad
Member Avatar for Dani
3
58
Member Avatar for daspi

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 …

Member Avatar for pritaeas
1
6K
Member Avatar for Paulmescal

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 …

Member Avatar for aliceblack78
2
150
Member Avatar for techtheclone

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 …

Member Avatar for jkon
0
59
Member Avatar for Adolfo_1

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

Member Avatar for jkon
0
205
Member Avatar for infoitmanoj
Member Avatar for amystivens
0
3K
Member Avatar for Julia K

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 …

Member Avatar for Dani
0
54
Member Avatar for facarroll

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 …

Member Avatar for Dani
1
341
Member Avatar for facarroll

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 …

Member Avatar for AndreRet
1
84
Member Avatar for Cameron_12

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 …

Member Avatar for AndreRet
3
165
Member Avatar for borobhaisab

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 …

Member Avatar for Dani
1
1K
Member Avatar for baig772

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' …

Member Avatar for tracyberge
0
618
Member Avatar for NAFISUL

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 …

Member Avatar for jkon
0
129
Member Avatar for John_385

I am integrating [Speakatoo](https://www.speakatoo.com/) API in my project its giving me cookies error, Please any one can help me.

Member Avatar for AndreRet
1
74
Member Avatar for abu taher

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. …

Member Avatar for Jane_11
2
222
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-2
299
Member Avatar for xamer

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 …

Member Avatar for AndreRet
0
65
Member Avatar for developer707

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 …

Member Avatar for AndreRet
0
157
Member Avatar for Mindmade

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?

Member Avatar for Gulshan_6
-2
48
Member Avatar for Mindmade

Hi guyz, Zero Party Data Collection in Ecommerce Is it emerging now? Please share your thoughts about how its going on?

Member Avatar for Reverend Jim
-3
31
Member Avatar for Mindmade
Member Avatar for Kirubel_2

<!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> …

1
98
Member Avatar for spud91

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 = …

Member Avatar for GESTIC
0
1K
Member Avatar for Mindmade
Member Avatar for dloj333

A hosting site I use was breached and a landing page form is hacked. The hack does not affect my other domains or their forms. I have reset .httaccess, swapped out the email address I use for the form, changed the PHPMAILER_master with the original, and put in a honeypot …

Member Avatar for john_111
0
171

The End.