52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for OmniX

I have tried to research this and im always running into old articles. What I have come across are (possibly more): md5, sha1, hash, crypt and mcrypt Now I have used md5/sha1 before and have 32/40 character long strings the others I dont know too much about but in short, …

Web Development encryption php
Member Avatar for Stefano Mtangoo
2
2K
Member Avatar for veledrom

Hi, I want to authenticate user if he/she successfully logged in before or not, in every pages. Obviously on top of the pages I have to call a function or another page to run that function to carry out checks but, I really don't know what kind of code I …

Web Development php session
Member Avatar for Stefano Mtangoo
2
118
Member Avatar for cwarn23

Please post a list of ideas for tutorials that can be written for the php section. Please bear in mind the tutorials are to be kept relatively small so don't ask for something that may take pages upon pages of text to explain. Thanks.

Web Development php
Member Avatar for diafol
2
131
Member Avatar for ryan_vietnow

hey guys,does anyone here know some tutorial on how to upload video files?tutorial in Adobe is quite confusing.Thanks..

Web Development adobe php video
Member Avatar for mina gharache
2
166
Member Avatar for jeffcogswell

I've been using jQuery for a few years now, and the more I use it, the more I like and appreciate it. It seems like I'm always finding new ways to use it, and usually those new techniques result in me writing less code and ultimately being more productive. On …

Member Avatar for twiss
2
584
Member Avatar for jeffcogswell

Last week, I took a look at Node.js, a powerful server-side implementation of JavaScript. But one thing I found lacking was the way to easily create a web server. Essentially, Node is an implementation of CommonJS, which adds operating systems features to JavaScript. But Node is not a web application …

2
890
Member Avatar for cliffcrosland

We are a group of Stanford students hoping to build a tool that measures third-party plug-in performance. A mocked-up prototype of the tool can be found at [url]http://www.stanford.edu/~cliftonc/cgi-bin/[/url] It's becoming more and more popular for publishers of prominent sites, such as Mashable and many media sites, to include third party …

Web Development javascript
Member Avatar for Roy Murphy
2
153
Member Avatar for eovogt

Hey Guys! Wondering if maybe someone can help me out! I'm trying to do something with API and i dont know why my code isnt working basically i want the function to grab the user's ID# and then find them in the database. Now the only way that I can …

Web Development api php
Member Avatar for eovogt
2
121
Member Avatar for digital-ether

The above classes provide an interface for reading the PHP session data. PHP alone only gives you access to the current users session. This class allows you to read all session files, and thus allow you to read session data across different users. This may be useful if you want …

Web Development php session
Member Avatar for digital-ether
2
1K
Member Avatar for newsguy

According to the 2009 Web Application Security Report from NTA Monitor, 90% of all web applications have at least one medium risk vulnerability and 27% have at least one high risk vulnerability. Apparently the most common vulnerabilities are those which involve SQL injection, cross-site scripting and cross-request forgery. One data …

Web Development asp.net cybersecurity
Member Avatar for ashumiloff
2
614
Member Avatar for pooja_shah

I have a images in my local pc. That is located in "D:\projects\abc\systemimages\123.jpg" Now i upload image in my template from above location.So it should be shown in my thank u template but when i sent mail with thank you template to another person he/she can't see this images. Bubbly …

Web Development asp.net image
Member Avatar for rohand
2
83
Member Avatar for Airshow

[B]INTRODUCTION[/B] Have you ever wanted to pass data from one web page to another when server-side scripting is unavailable, and without setting a cookie? Ever wanted an efficient way to build url query strings? Well now you can. [B]SOLUTION[/B] It is maybe little realised is that data can be successfully …

Member Avatar for jadhav vijay
2
1K
Member Avatar for bimalnayak

Hi , I want to convert numbers into words. Can anyone please help me to do that or how can i implement it in PHP codes pls tell me that.

Web Development php
Member Avatar for manzarr
2
370
Member Avatar for Anujay

Hi, I created one Dropdown menu like --Jump To--- . a)google b)Daniweb When i click on the Jump To menu it displys two or more options like google or daniweb like above. When i click on the google it must call to hyper link and displays google website and daniweb …

Web Development javascript
Member Avatar for toydiaz
2
174
Member Avatar for peter_budo

In my current project we need to provide drag&drop functionality of items from left to right and vice-versa and on click of the button send array of item IDs to server. Main problem was that we couldn't get array across to server and online examples that we found did not …

Web Development javascript javascript-jquery
2
908
Member Avatar for cwarn23

Recently I have installed php 5.3 on a pc and just like many posts on this forum have been saying the latest version of php does not guarantee 100% backwards compatibility. Especially for some oop parameters where the symbol "&" needs to be used before the variable at specific points …

Web Development cms oop php
Member Avatar for Atli
2
156
Member Avatar for Graphix

This script can be used for star ratings on for example forum or music sites. The scriptinformation is included within the script. ~G

Web Development javascript
2
423
Member Avatar for Stefano Mtangoo

When you add a page in CMS (Like Wordpress' admin) what does it actually do? Add predefined table? Or what? Thanks!

Web Development cms php wordpress
Member Avatar for Atli
2
100
Member Avatar for vidya_m

can anyone suggest some websites which has code snippets for creating shopping carts using jsp, servlets and javabeans. I am seriously looking for a career in J2EE. pls help Thanks

Web Development career java java-jsp
Member Avatar for aniseed
2
384
Member Avatar for Mazon

Hello! To those who may be interested, my name is Matt. =o] Now, lets cut down to brass tacks. Yes, I agree nickle tacks are much more colorful in the world of style, however I perfer brass. A while ago, (long while =oX) I began working on a browser-based PHP …

Web Development mysql perl php
Member Avatar for Da_fLaRe
2
263
Member Avatar for Dani

Here's a quick bit of code to upload a file in PHP.

Web Development file-system php
Member Avatar for Dani
1
37
Member Avatar for Dani

In my increasingly futile attempt to remain using the now-defunct CodeIgniter 3 framework, I came across something that I figure might be worth sharing in case anyone else is maintaining older PHP codebases and suddenly things start breaking after a PHP upgrade. With PHP 8.2, there’s a new warning that’s …

Web Development php
Member Avatar for Dani
1
60
Member Avatar for Montasser_1

I try to remove the last character from a string with Japanese text and emojis using this code: <?php $text = "私の名前はダバーです👩‍🚀"; $new_text = substr($text, 0, strlen($text) - 1); echo $new_text; The output breaks the characters and shows garbage. How do I fix this?

Web Development php
Member Avatar for Montasser_1
1
54
Member Avatar for Marcus_8

Hi everyone, I'm getting a 401 Unauthorized error when trying to call the Management API from my web app. I've already checked my token, headers, and API endpoint, but nothing seems to work. However, I’m still confused and can’t figure out where exactly I’m going wrong. I feel like the …

Web Development api
Member Avatar for Dani
1
55
Member Avatar for lennyli

I have tried to read https://www.daniweb.com/programming/web-development/threads/386380/cannot-run-exe-files-in-asp-net-application but still lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish to achieve the following: Have a webpage with a button, when pressed, it will launch a webpage that runs a …

Member Avatar for Dani
1
184
Member Avatar for Dani

As you may know, yuo can customize the error pages in Cloudflare, such as for a WAF block, etc. For some reason, since the switchover to the new error pages dashboard, the custom font I always use isn't working. I can see that it converted https://cdn.daniweb.com/font.woff into inline base64 for …

Member Avatar for Dani
1
98
Member Avatar for lojoxi

Hi Everyone, Web development can be both exciting and challenging, but having the right tools makes all the difference. If you're starting out or looking to improve your workflow, consider using popular frameworks like React or Vue for streamlined front-end development. On the back end, Node.js and Django are solid …

Member Avatar for JackRyan248
1
251
Member Avatar for Dani

Just as the topic title suggests, any jQuery 4 beta users out there who could let me know what it's like? The wait for v4 gold release is killing me. Also, please don't make fun of me for being a jQuery user. DaniWeb has been built on jQuery for decades. …

Web Development javascript-jquery
Member Avatar for Dani
1
349
Member Avatar for Krisha03

Hello There, I am looking for MUI React-based admin template in the TypeScript version for my project. Can you guys suggest some React Admin templates that are comprehensive and easy to use? I really appreciate any help you can provide.!

Web Development javascript typescript
Member Avatar for Pelorus_1
1
248
Member Avatar for Dani

The Markdown editor that we use here at DaniWeb is called [CodeMirror](https://codemirror.net/) and we've been using it for forever. The other day, I noticed some bugs in the editor toolbar that we use, which is based on the [CodeMirror API](https://codemirror.net/docs/ref/). (The one that allows the buttons for bold, italic, etc.) …

Web Development api daniweb-api typescript
1
82
Member Avatar for gamestoenjoy

Hi, I created website that teaches users anything they need to know about Kodi, The site is still new but I add new content regularly, The site is based on WordPress but I changed the theme and the code of the site. I will be happy to hear what do …

Web Development wordpress
Member Avatar for jasper-king
1
361
Member Avatar for ianhaneybs

I need some help with getting checkbox values sent to email using phpmailer I have not done it before so unsure how to do it, the current code I have is below $postData = $_POST; $oneway = $_POST['oneway']; $return = $_POST['return']; $htmlContent = '<h2>Contact Form Details</h2> <p><b>One Way:</b> ' . …

Web Development email php
Member Avatar for Dani
1
55
Member Avatar for Vishurey

I am driving an html site from my network drive in my office that can be viewd on LAN. I need to put a blog kind of section on my site so people who visite this site can leave there comments on it and all can see thses comments. Can …

Web Development html-css javascript
Member Avatar for Dani
1
963
Member Avatar for jkon

Recently I started to rewrite the core of a web app in Java (not including the Admin part). I have discussed ideas with colleagues and friends and one thing that seemed to be an agreement was that it is time to stop keeping the same image in two formats jpg …

Web Development image web-browser
Member Avatar for jkon
1
207
Member Avatar for Mr.M

Hi DW. Does anyone know how can I clear a devtool network monitor log of a browser using javascript. I know the `console.clear()` only clear the console log not the network monitor tool logs.

Web Development javascript
Member Avatar for autowrecking
1
701
Member Avatar for Chole

This blog post will compare the two most popular cross-platform mobile app development frameworks, Flutter and React Native.The world of mobile app development is a complicated place with many competing frameworks. It can be hard to know which one to use, but this article will help you find out if …

Member Avatar for Sanket_17
1
218
Member Avatar for cored0mp

Hello Gang! I'm grateful once again for the advice to use MySQL over Postgres. It's been a pretty smooth experience so far. Unfortunately I had to migrate to a different host and have been getting an undefined variable error. Mysql is Running. I used the package manager to get python-mysql.connector …

Web Development mysql python
Member Avatar for cored0mp
1
194
Member Avatar for ComNaD

If you have a Form that gets user input, submits and adds to a MySQL db. You want to be alerted via email, and also send an email to the user thanking them. You decide PHPMailer is the safest way, but want to use PDO to avoid Injection hacks. What …

Web Development php
Member Avatar for pritaeas
1
458
Member Avatar for pyeri

Folks, We already know about CodeIgniter and its enormous capabilities as a PHP framework, this very site being a testament of it. But what about an even smaller micro-framework for PHP? Something along the lines of Flask or Bottle? Something you can use to develop things like REST API, prototyping …

Web Development api github php php-codeigniter
Member Avatar for Dani
1
123
Member Avatar for FarrisFahad

How can I include objects in each other using PHP OOP? I have 3 classes all classes make use of one another. I am trying to call them on `__construct` but it's creating an infinite calls to one another. How can I solve this?

Web Development php
Member Avatar for aishamushtaq
1
186
Member Avatar for Troy

This is a simple to use, self-contained website slideshow utility. Do you have a monitor or TV setup in your lobby where you'd like to present web content automatically? With this HTML/Javascript page, simply edit an array of pages or "slides". You define a title, duration, and URL for each …

Web Development javascript web-browser
Member Avatar for PROSYS_1
1
15K
Member Avatar for Adolfo_1

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 …

Web Development apache php
Member Avatar for Dani
1
204
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?

Web Development php
Member Avatar for Dani
1
136
Member Avatar for FarrisFahad

I have a memes site that users can earn from. I want to make the website easier to use and more fun. What should I do to make the website better? Website: PicturePunches

Web Development html-css javascript
Member Avatar for jofrachalya142
1
169
Member Avatar for jayashree10

I want to prevent cross-site scripting attacks in web applications I make. If someone could provide me with some suggestions and advice, it would be really helpful.

Web Development html-css javascript
Member Avatar for webhostingworld
1
87
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 …

Web Development image pdf php
Member Avatar for gottaloveit
1
220
Member Avatar for premdparmar

I'm facing an SSL-related issue in Firefox with the 'SSL_ERROR_NO_CYPHER_OVERLAP' error. It seems there's a problem with encryption algorithms between the browser and the server, hindering the establishment of a secure connection. Any guidance or solutions would be appreciated.

Member Avatar for Dani
1
171
Member Avatar for allan1234567890
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 …

Web Development api php web-server windows-api
Member Avatar for pritaeas
1
6K
Member Avatar for Smbom

Hi everyone, I'm kind of a newbie and I manage my site, but my site seems to have some issues, and it has so few pages indexed that lots of them are unindexed by Google. After searching for some similar experiences, I'm going to do on-page or technical SEO first. …

Web Development javascript seo wordpress
Member Avatar for sankut
1
359

The End.