52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for FarrisFahad

I want to post Pins using Pinterest API. I have tried to generate code using ChatGPT but it returns an error. Here is my code so far ... <?php $clientId = "xxx"; // Replace with your App ID $clientSecret = "xxx"; // Replace with your App Secret $redirectUri = "xxx"; …

Web Development api json php
Member Avatar for geekinformatic
2
60
Member Avatar for Chris Hüneke

Never published this before, so this is a DaniWeb.com Exclusive :) If your WP-Site has a lot of K-Links, you should consider using this script. It definetly works. For now... ## **Negative SEO** through spamming Backlinks can be a huge problem for the visibility of a webpage. ## You can …

Web Development apache seo wordpress
Member Avatar for Dani
2
984
Member Avatar for KamalDeepPareek

How can lazy loading improve web portal performance by reducing initial load times and optimizing resource usage? What are the best techniques to implement lazy loading in images, components, and data fetching using JavaScript frameworks like React, Vue, and Angular? How does lazy loading impact SEO and user experience?

Web Development javascript seo web-browser
Member Avatar for gediminas.bukauskas.7
2
566
Member Avatar for riahc3

Hello Havent been here in a while but might as well give it a shot. I have several Apache Tomcat instances running on a Windows Server on different ports. They are all HTTP. The idea would be to (on the same server) install a IIS and use it a content …

Web Development apache windows-server
Member Avatar for blud
2
48
Member Avatar for Reverend Jim

First I want to say that my only interest in the technical details of web development are from an end user perspective. I usually go to [this site](https://www.theweathernetwork.com/ca) to get my weather forecasts. Their current display format is to present the forecasts horizontally but it will likely be changing soon …

Web Development html-css ui-ux
Member Avatar for quackyfist
2
234
Member Avatar for alexxx1

So i'd like to have a **text** saying [Location] which will be shown and changed based on the viewer's location/ip. I tried to follow this video here https://www.youtube.com/watch?v=1KiGKd2XXL4 but i didn't manage to make it to work. I registered on 2 websites to get an API key which i placed …

Web Development api javascript json
Member Avatar for toneewa
2
147
Member Avatar for FarrisFahad

I am having a problem understanding the following ... I am an okay web developer. I am not great. But I want to make money from my skills. Having said that, when I go to websites like Freelancer to search for a project to work on everyone is asking for …

Member Avatar for jkon
2
139
Member Avatar for pyeri

Greetings Folks! I had signed up on Daniweb many years ago but never bothered to seriously post until now. Only when the "social networks" of the world like Reddit and Quora and Twitter started disappointing me beyond the usual excruciating limits did I decide to explore some other programming forums …

Member Avatar for Dani
2
108
Member Avatar for Dani

DaniWeb is built on top of the Codeigniter 3.1.x PHP framework. Although I probably should have built it as a CI model, here is the database library that we are using. You can see it mainly serves as a wrapper for CodeIgniter's built-in database class. You can see we use …

Web Development php
Member Avatar for pyeri
2
320
Member Avatar for Read a Book

Hello everyone i want to disable the automatic swipe effect on my product page on this site https://kupisi.mk the lib is called lightgallery i am not able to find the line of code to turn it off for 2 days i need fresh pair of eyes !! :S i made …

Web Development html-css javascript
Member Avatar for Dani
2
361
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.

Web Development email php
Member Avatar for Dani
2
175
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 …

Web Development javascript php seo
Member Avatar for aliceblack78
2
174
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. …

Web Development html-css javascript php
Member Avatar for Jane_11
2
238
Member Avatar for jkon

I wanted to post something in Daniweb for a while but I didn't had anything new. Recently I decided to write a new implementation for websocket connections client side using Shared Web Workers. Shared Web Workers are supported today by most browsers for desktop but few for mobile devices , …

Member Avatar for jkon
2
465
Member Avatar for borobhaisab

Hiya, I need to know something. First I thought Sitemap Xml files will list all .html and .hml and .shtm and .shtml files. All pages of the website. But now I see, Sitemap xml files also list other xml files. Check this one out for what I mean: https://www.rocktherankings.com/sitemap_index.xml So …

Web Development html-css seo xml
Member Avatar for Dani
2
917
Member Avatar for Vandiun

I'm new to Codeigniter and hope to learn best practices as I go. I currently have a table generated by DB. HTML Table: <tr> <td> <a class="galName" href="#myModal" data-toggle="modal" > <?php echo $gal['name']; ?> </a> </td> <td> <?php echo $gal['clientName']; ?> </td> </tr> <?php endforeach; ?> The Modal: <div class="modal …

Web Development javascript-jquery php
Member Avatar for Dani
2
657
Member Avatar for Walter_17

I am new to programming and testing. I would like to know if there are any useful articles or resources where I can see how to test a web service. I need to use HttpClient to implement my own universal REST API client - TestHttpClient <T>, which will complete GET, …

Web Development api file-system
Member Avatar for Dani
2
305
Member Avatar for dimitrilc

## Introduction ## **AMQP** (*Advanced Message Queuing Protocol*) is a popular protocol used for communication between messaging middleware and clients. At the time of this writing, the latest version of the AMQP is 1.0, but we will focus on version **0-9-1** instead. 0-9-1 is the *default* version shipped with the …

2
314
Member Avatar for borobhaisab

Hello, You use raw_urlencode() on the file path. Does that mean you have to exclude the domain name part ? <?php echo '<a href="http://example.com/'. rawurlencode('Sales and Marketing'). '/search?'. 'query='.urlencode('Monthly Report'). '">Click Me</a>'; ?> Imagine the above is my link listed on one of my pages. Now, why is it necessary …

Web Development php
Member Avatar for Dani
2
314
Member Avatar for Chloe_6

**Reposting again due to coding problem, I have attached the files** I am having trouble getting my button to submit the words in the text box over to the table on another page. What can I do to fix this? Thanks

Web Development php
Member Avatar for Dani
2
333
Member Avatar for Dani

Sometimes we have a need to take a simple PHP array and represent it as an encoded string. One use case that we have for this at DaniWeb is when a new user signs up, and we ask them to click on a link that was sent to them via …

Web Development json php
Member Avatar for Dani
2
232
Member Avatar for Dani

Sometimes we want to know if the webpage was fetched over an SSL connection (e.g. the URL begins with https:// instead of http://). This way, if an end-user is accessing an insecure version of our site, we can redirect them to the secure version. The following PHP function called `no_ssl()` …

Web Development php
2
234
Member Avatar for Dani

A little while ago, I wrote a [tutorial](https://www.daniweb.com/programming/web-development/tutorials/537376/sanitize-php-user-input-strings) about how important it is to sanitize PHP user input strings. Not only is it important to sanitize user input being fed into a database query, but it's also important to sanitize user input being displayed to the end-user to generate valid …

Web Development html-amp html-css php web-browser
2
279
Member Avatar for larry29936

When user tries to download .iso, tar.gz, or .deb from my website php is opening the file instead of downloading it. I'm having a problem with a download script. It runs fine on my local apache server, but when I put it on the my webhost's apache server, it goes …

Web Development apache file-stream php
Member Avatar for Dani
2
80
Member Avatar for KirovEli
Member Avatar for Arun_47
2
320
Member Avatar for Ethan_17

Becoming a successful freelance PHP tester is not an easy task by any means. With an increasing focus on PHP development, the testers have to be equally adept with PHP to identify possible bugs and errors. As the competition among freelance testers is growing, you should fine-tune the below skills …

Web Development php
Member Avatar for LoanHensley
2
122
Member Avatar for dimitrilc

## Introduction ## This tutorial teaches you how to create a Spring Boot application that provides RESTful API Endpoints. These endpoints are best consumed by other applications or for integrating with a SPA (Single Page Application) frontend such as Angular. For the purpose of this tutorial, we will create a …

Web Development api java spring-framework
2
380
Member Avatar for darkbox

I created an html page with days of the week Mon Tue Wed Thu Fri Sat Sun The corresponding page is linked to each day I would need that when the page opens, the day is automatically highlighted based on the day of the week and that there is a …

Web Development html-css javascript php
Member Avatar for Biiim
2
377
Member Avatar for mekineer

I would like to start building a search database, by providing a portal for users to search a search engine, like Google. Is it possible for a visitor to the portal site, to present to Google their own IP address, instead of the portal site's IP address? Is it also …

Web Development asp asp.net javascript
Member Avatar for Web_14
2
329
Member Avatar for Dani

Do you still use reCAPTCHA or something homemade? For us, we use jQuery to inject a hidden form field upon form submission that sends a little time sensitive and cookie sensitive string that we validate on the server side. I’m always curious to know what everyone else is doing.

Web Development
Member Avatar for jkon
2
345
Member Avatar for NardCake

Hello! I needed a configuration file for a application I'm working on so I first used the built in ini functions in php but it wasn't easy to write the ini files. So I wrote myself a class here to parse a configuration file and write/edit configuration files. I plan …

Web Development file-system php
Member Avatar for Vitaly_1
2
963
Member Avatar for Motifaithed

Hi All, I'm currently working on a church attendance monitoring project, and this community had helped me a lot during my college days in building php base projects, now I'm here again to ask for help. The scenario is I want to track every individual who are present every sunday …

Web Development php
Member Avatar for rproffitt
2
408
Member Avatar for subhraakasuny

Hi Team, I have an excel which has multiple rows and each row can have multiple images associated with that , which are postioned on a specific cells of that particular row.I know while we are positioning a image on top of a cell, that is not associated with the …

Web Development image microsoft-office
Member Avatar for orichisonic
2
1K
Member Avatar for Varnisha Kalra

Now as the automated cms are coming in power for eg. wordpress. Is it leading to ending of web development career.?

Web Development html-css javascript php
Member Avatar for Biiim
2
2K
Member Avatar for Martinxbg

Now I am developing Wordpress websites and many of my clients are asking to create online calculators for their websites. Usually, it is required to create a calculator in the shortest possible time and therefore I decided that it was not advisable to create calculators from scratch and began to …

Web Development javascript wordpress
Member Avatar for Prahlad4145
2
1K
Member Avatar for patk570

Hey everyone, I got bored one day and created this little jem. There are no issues with it, but it may help somone out later on down the road if they have a simple project that needs to be completed. Everything is on one pages and includes elements …

Web Development html-css java php
Member Avatar for patk570
2
3K
Member Avatar for pritaeas

I am new to WP (trying to help my partner), and looking for an easy to use theme that kind of looks like what I have at pritaeas.net. Basically I want the homepage to feature images (text optional) pointing to a section on the website. I have been searching but …

Web Development ui-ux wordpress
Member Avatar for diafol
2
386
Member Avatar for EMP01616

help please.. guys this is just the only problem in my program i cant print my data from sql..i need my thesis to finish soon..help please.. heres my code <?php require('fpdf.php'); $fullname = ""; echo $contractno = $_REQUEST['contractno']; echo $sname = $_REQUEST['sname']; echo $fname = $_REQUEST['fname']; echo $mi = $_REQUEST['mi']; …

Web Development mysql pdf php
Member Avatar for cereal
2
7K
Member Avatar for Connie_3

I typically ask my questions over on StackOverflow, however this one I know would immediately get voted down as requiring someone to give their opinion, heaven forbid! I'm hoping the folks over here are a little more forgiving in this area. I am converting a really old ColdFusion app over …

Web Development api asp.net coldfusion javascript
Member Avatar for Connie_3
2
310
Member Avatar for jkon

I found myself starting to answer a question that I have answered many times , so I thought why not making a code snippet and just reference this. This is a short code snippet only to demonstrate how this thing work (with apache and rewrite engine on) , in real …

Web Development apache http-protocol php
Member Avatar for jkon
2
665
Member Avatar for Troy III

Will work on latest:Chrome Safari Firefox Opera and all versions of IE. *(client notifications are for demonstration purposes only, and subject to designer decisions and modifications ) Can be used for size and mime-type restrictions. When mime-type is not an issue, accepting any kind of image format can be done …

Web Development client-server image javascript
Member Avatar for Troy III
2
3K
Member Avatar for shubhamjain1

By this script you can remotely login into facebook account with your password and username and fetch/send data.

Web Development php social-media
Member Avatar for Tùng
2
8K
Member Avatar for pritaeas

In response to [this thread](https://www.daniweb.com/programming/web-development/threads/499762/jquery-for-dropdown-textbox) I've decided to paste the linked example as a code snippet (updated to html5/jQuery2).

Web Development javascript-jquery
Member Avatar for diafol
2
339
Member Avatar for jkon

Although objects collections have a place in the PHP world many years now , their use is now flourishing because more and more PHP programmers turn to OOP. This tutorial is a sequel of https://www.daniweb.com/programming/web-development/tutorials/500118/a-simple-data-layer-for-oop-php-applications (we will refer to it as “previous tutorial”) and https://www.daniweb.com/programming/web-development/tutorials/500118/a-simple-data-layer-for-oop-php-applications , in order to understand …

Member Avatar for jkon
2
852
Member Avatar for jkon

This is about “https://www.daniweb.com/web-development/php/tutorials/499320/common-issues-with-mysql-and-php” i created a new thread because that is a great tutorial and I believe that comments underneath it would troubled the reader. Hello Diafol , I believe that this tutorial should be linked in the “read first” section , but to be honest I don't believe …

Web Development cybersecurity mysql php
Member Avatar for diafol
2
693
Member Avatar for happygeek

Earlier this month, security outfit FireEye’s 'FireEye as a Service' researchers out in Singapore [discovered and reported](https://www.fireeye.com/blog/threat-research/2015/06/operation-clandestine-wolf-adobe-flash-zero-day.html) on a phishing campaign that was found to be exploiting a zero-day in Adobe Flash Player vulnerability (CVE-2015-3113). That campaign has been well and truly active for a while now, with attacking emails …

Web Development adobe cybersecurity flash
Member Avatar for diafol
2
517
Member Avatar for JorgeM

A while back, I was working on some web pages that required a tabbed menu at the top of the content. In addition, the requirement was that the page should not perform a post back when the user clicked on the individual tabs. It was very important to have a …

Web Development html-css javascript-jquery
2
282
Member Avatar for AleMonteiro

Hi all. This is somewhat the equivalent of .NET String.Format(String, Args); Usages: 'Hello {0}'.format('DaniWeb!'); String.format('{0} {1} {2}', 'Hi', 'Again', 'Good Fella'); String.format('Hello {prefix} {name}', { prefix: 'Sr.', name: 'HeyHeyHey'}); I know there's lots of String.formats out there(some simpler and some more complex), but this is the one i've been using …

Web Development javascript
2
400
Member Avatar for jkon

Hello , today I was developing a short url system and I created this class to help me encode / decode integer (id) to small string. That way for example “Ac” means 3674 . Because I believe that it may be helpful to others too I share it here. Notice …

Web Development php
Member Avatar for diafol
2
3K
Member Avatar for DennisP

The following snippet is a simple PHP Pagination Script which I wrote. As far as I know it works fine. It is meant to be used within a class, and I have wrapped in in a class in order to demonstrate it's usage. The example given below will return something …

Web Development php
Member Avatar for Wolf_2
2
3K

The End.