300 Topics

Member Avatar for
Member Avatar for Mike Askew

There has been a noticeable increase in people asking where to start C# recently. So I have been across a couple of forums and pulled together a list of some useful links and resources. # Web Tutorials # [Home and Learn Tutorial](http://www.homeandlearn.co.uk/csharp/csharp.html) [CodeProject Tutorial P1](http://www.codeproject.com/Articles/219869/Object-Oriented-Programming-in-Csharp-NET) [CodeProject Tutorial P2](http://www.codeproject.com/Articles/222295/Object-Oriented-Programming-in-Csharp-NET-Part-2) [CodeProject Tutorial …

Member Avatar for Shahzad111
17
3K
Member Avatar for Johannes C.

The [AI 'arms race'](https://www.ft.com/content/21eb5996-89a3-11e8-bf9e-8771d5404543) between China and the U.S. is heating up. Forget nuclear weapons, the real power now lies in microchips that can outsmart entire nations at any game and predict their next move. This arms race is part of a larger cold war backdrop, which includes massive investments …

4
1K
Member Avatar for Dani

If a page is noindexed, but includes a meta reference to an AMP version, is this a mixed signal? Is the AMP version checked to see if it’s noindexed as well? Are there situations where you would want to index the AMP version but not the desktop version? Is Google …

Member Avatar for Dani
0
138
Member Avatar for Dani

In 2022 (as opposed to a few years ago, when Google was really prioritizing AMP in the SERPs), does it make sense to use AMP pages for a content-based site, but *not* news-based site (e.g. Google News is not relevant) if you can achieve all good core web vitals metrics …

Member Avatar for odeskavita
2
95
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 …

2
279
Member Avatar for Dani

To AMP or not to AMP, that is the question. For those who have decided to implement AMP (Wordpress users, I'm looking at you!), have you noticed a difference since doing so? For those of you who have chosen not to, what are your reasons?

Member Avatar for Dani
1
2K
Member Avatar for Dani

Suppose you have a php script where a user is prompted to enter a number. You then do something with that number ... you increment it, perform some other math calculation on it, search the database for records with the ID # the user passed in as a query string, …

4
934
Member Avatar for Dani

AMP pages are clogging the Valid Pages coverage report, grouped as Indexed, Not Submitted In Sitemap. My AMP pages are linking to the AMP version of the URLs the desktop versions link to. Desktop links to desktop. AMP links to AMP. What this means is that sometimes the AMP version …

Member Avatar for Dani
1
307
Member Avatar for Dani

Googlebot is crawling my AMP pages more than they are crawling my desktop pages. I have the appropriate canonical from AMP to desktop and amphtml from desktop to AMP. The desktop version also has a self-referencing canonical. Only canonical pages are in the sitemap. This is a concern because less …

Member Avatar for daxclark52
1
236
Member Avatar for Eugene_15

I need to refresh my div tag (galleryadv) after ajax post submits to prepare for the next submit. But after submit successfully and refresh, my customized selection tag always changes to the default selection tag. would need some help to resolve my customized selection tag background color, it changes back …

Member Avatar for Dani
0
74
Member Avatar for Dani

Google search console flagged a couple of my AMP pages with the error: Error in required structured data element When I use the URL inspection tool, it says: Linked AMP version is valid with warnings Error in required structured data element But in the HTML section of the crawled page, …

Member Avatar for Dani
0
1K
Member Avatar for Dani

Is it appropriate to noindex AMP pages whose desktop canonicals are noindexed? Currently, my valid but low-quality pages are noindexed. They point to an amphtml version, and that AMP page is noindexed as well.

Member Avatar for bradvictor1
1
327
Member Avatar for Dani

Is there an advantage to submitting my AMP pages to my Google sitemap? I am using `<link rel="amphtml" ...` but I was wondering if submitting them lead to faster discovery? My AMP pages are starting to show up in Google Search Console Coverage for "Indexed, not submitted in sitemap" However, …

Member Avatar for Dani
0
421
Member Avatar for davy_yg

Hello, Any ever build web using AMP? What is it really? Is it similar like bootstrap? How to do it? Is it difficult or taking a long time to implement? Thanks in advance.

Member Avatar for Dani
1
905
Member Avatar for Princecrich

How can someone write a Php script that enable users upload image along with a short description in their member area to the database where admin can receive and treat it??? I will also like to know how history on upload can also be added after each upload to the …

Member Avatar for Dani
0
703
Member Avatar for Mr.M

Hi DW. I am able to purchase from my online store but I don't seem to be able to get the pass through data which whould be sent to my notify_url. Payfast is my payment gateway and now it does call my notify_url because two files are created after I …

0
570
Member Avatar for Steven_20

Hey, can you help me with convert the web.config to a .htacces file? <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="_seiten/index.html" /> <add value="seite.php" /> </files> </defaultDocument> </system.webServer> <system.webServer> <handlers> <clear /> <add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" /> <add name="PHP54_via_FastCGI" …

Member Avatar for Subraa_1
0
482
Member Avatar for Naheed_2

Hi, I have the following html code I have for a task manager. <%@ Page Title="" Language="C#" MasterPageFile="~/Site02.Master" AutoEventWireup="true" CodeBehind="Tasks.aspx.cs" Inherits="DMS.Tasks" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div class="row-fluid sortable"> <asp:Button runat="server" ID="btnAddTask" CssClass="btn btn-success btn-toolbar" Text="Create Task" OnClick="btnAddTask_Click" /> <asp:Button runat="server" …

0
294
Member Avatar for jeevsmyd

I'm getting the following error Syntax Error: Token '{' is an unexpected token at column 6 of the expression [rForm{{] starting at [{4}]. My form code is as follows <form name ="rForm{{$index}}" ng-submit="rForm{{$index}}.$valid && rCtrl.saveResource(api)" style="margin-top:0%" class="form-horizontal" role="form"> I'm using {{$index}} since I'm making multiple forms dynamically. The final html …

0
123
Member Avatar for jonsan32

I've been inspecting this and going crazy trying to figure it out, but I can't find what's going on with this menu of mine. The links and hover state are shifted lower and to the right on my site on this page: http://www.50allstars.com/2015/08/mega-menu.html But elsewhere (off my site) it works …

Member Avatar for jonsan32
0
496
Member Avatar for Trabelsi

Hi, I have a problem with some JavaScript code, i have three fields in my form scoreActuel, addedScore and NewScore, i used the onChange function because I want that every time the fields addedScore is updated , the field NewScore is updated as the sum of the values of the …

Member Avatar for Trabelsi
0
374
Member Avatar for phoenix254

I am trying to creating websocket with php and here is my connection that i used for create socket connection <?php if(!($sock = socket_create(AF_INET, SOCK_STREAM, 0))) { $errorcode = socket_last_error(); $errormsg = socket_strerror($errorcode); die("Couldn't create socket: [$errorcode] $errormsg \n"); } echo "Socket created \n"; //Connect socket to remote server if(!socket_connect($sock …

Member Avatar for jkon
0
539
Member Avatar for Deep Modi

Hello sir, I am trying to create the FOoter... My Work (Code): <html> <body> <div id='footerdiv' style="height:400px;background-color:#091d22"> <div id ="Socialbar" style="height:50px; background-color:#0c3239"> </div> <div id="ftNavBar"> <div class="ftNav" id="ft_summary"> <script type="text/javascript" src="http://ji.revolvermaps.com/2/1.js?i=8yc9f8z4elm&amp;s=350&amp;m=8&amp;v=true&amp;r=false&amp;b=000000&amp;n=false&amp;c=ff0000" async="async"></script> <div class="ftNav" id="xsoftware"><h1>Software-1</h1> <ul> <li><a href="">Advance Notepad</a></li> <li><a href="">X Content</a></li> <li><a href="">y Content</a></li> <li><a href="">z Content</a></li> </ul> </div> …

Member Avatar for Christel_1
0
147
Member Avatar for Simon_4

I am a bit new in XML and show elements/records on a website. So, here is my xml result. What and how is the easiest way to echo (in php) eg mp:title or <c:assets> <c:link rel="PT01" type="image/jpeg" href="http://ecx.images-amazon.com/images/I/41Qd6Z8OA8L.jpg"/> or price or so? any example would be nice... Cheers <c:searchResults xmlns:c="http://webstore.amazon.com/API" …

0
176
Member Avatar for ~s.o.s~

***Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this.*** **» Introduction to Java «** To start off, [Java](http://en.wikipedia.org/wiki/Java_(programming_language)) …

Member Avatar for ~s.o.s~
46
6K
Member Avatar for sam_pt

When I add the <!DOCTYPE html> to my page, white spaces appear below the images on the page. Why does this happen and how can I get rid of them? Thanks guys! Here's the code... <!DOCTYPE html> <html> <head> <title>CPU_21397_2014-Holiday-Card_HTML_eCard_Working</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <table width="764" border="1" cellspacing="0" cellpadding="0" …

Member Avatar for OtisGross
0
163
Member Avatar for jonsan32

I'm trying to use the script below to generate an agenda on my site to promote upcoming events. I purchased a script from [code canyon](http://codecanyon.net/item/google-ical-xml-event-list-calendar-for-php/full_screen_preview/2560605), but can't even get beyond the start of adding it to my site. Any direction would be great. Thanks. Here's the code: <!DOCTYPE html> <html> …

0
91
Member Avatar for logonchristy

[CODE]How to echo html code in php echo not for email... <?php echo '<a href="http://digg.com/submit?phase=2&amp;url='. $_POST["url"] .'&amp;title='.echo $_POST["title"].'" target="_blank"><img src="http://www.virtualdolphintherapy.com/images/digg.png" alt="Digg" width="64" height="63" border="0" /></a>'; ?> how can i make this code to disply in browser page...[/CODE]

Member Avatar for gptArun
1
1K
Member Avatar for waqar60655

I read a bit around here, but as I'm a newbie I couldn't configure what to change the description to on my own, can someone help me? I get this error: ` Warning: Illegal string offset 'members_seo_name' in F:\Server\xampp\htdocs\ipbwaqar\admin\sources\classes\output\publicOutput.php(3526) : eval()'d code on line 12` **publicOutput.php looks something like this:** …

Member Avatar for XSSalpa
0
2K
Member Avatar for davecoventry

I have a horizontal menu: "HOME" "DISCOVER" "STRATEGY MODEL" "PROFILE" "CONTACT US" ![9fa0ee7bb1a4cdc493624e869eba98bc](/attachments/large/2/9fa0ee7bb1a4cdc493624e869eba98bc.jpg "9fa0ee7bb1a4cdc493624e869eba98bc") The "DISCOVER" has a drop-down submen (in green for clarity). The HTML: <ul id="menutop"> <li class="root"> <a class="bullet" href="http://www.clivestacey.co.za/"> <span> HOME </span> </a> </li> <li class="root"> <a href="#" class="daddy"> DISCOVER </a> <ul class="menusub"> <li> <a class="sub_menu" …

Member Avatar for davecoventry
0
378
Member Avatar for seotheo

I have the following form that I need the fields to be mandatory before submission: form name="application" id="applicatipn" method="post" action="send_mail.php" > <h2 class="title">form</h2> <p class="sub-text">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX </p> <table width="620px"> <tr class="bg-grey"> <td> <h3 >Personal Details</h3> </td> </tr> </table> <table width="600px" class="bg-light-grey" style=" margin-left: 10px"> <tr> <td valign="top"> <label>Title</label> <br /> <input …

Member Avatar for veedeoo
0
344
Member Avatar for mbarandao

Hello, I need a little bit of assistance with parsing data from an html using xpath. Please indulge me for a moment as I attempt to explain my problem and subsequently my question: The html code from which I am parsing data is below. I would like to specifically parse …

Member Avatar for v1shwa
0
254
Member Avatar for PsychicTide

Hey guys, I'm trying to start a yes/no vote div which, when clicked, increments MySQL entry either way. I've seen several examples of how to do this type of thing online, but can't seem to grasp this process on my current layout. I'll show a little as possible to not …

Member Avatar for PsychicTide
0
375
Member Avatar for secretagentshiv

hi my name is james philip i have a probelm with css and html i need to print a form in a vertical way i have managed to rotate it in the webpage but that is not what i want to do i want it to remain horizontal on the …

Member Avatar for Alberto Bucur
0
1K
Member Avatar for davy_yg

This is my codes in my localhost: contactus.php <html> <head> <link href= "css/contact.css" rel="stylesheet" type="text/css" media="screen"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script> $("#inputID").ready(function(){ $("#inputID input").focus(function(){ $(this).css("background-color","#fbecc5"); }); $("#inputID input").blur(function(){ $(this).css("background-color","#f5f5f5"); }); $("#inputID textarea").focus(function(){ $(this).css("background-color","#fbecc5"); }); $("#inputID textarea").blur(function(){ $(this).css("background-color","#f5f5f5"); }); }); </script> </head> <?php include('includes/navigation.php'); ?> <body> <div id="titlebar"><div id="title"><h2 class="title">Contact Us</h2></title></div> <div id="stitle"> …

Member Avatar for davy_yg
0
174
Member Avatar for CarterLangley

I have got this code from an article on secure login systems. I know basically nothing about php so I would like to know if this is good code to use? Part 1 of 8: Configure Your Server 1. 1 Install a Web Server, PHP and MySQL on your server. …

Member Avatar for kidmizere
0
3K
Member Avatar for marifard

Hi, Hope you are ok. I made a website to recieve donations in from other people. It is possible to check if this coding hereunder are working or not? Thanks for your help. Donation page: <?php require "config.php"; require "dbconnection/connection.php"; // Determining the URL of the page: $url = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER["REQUEST_URI"]); …

Member Avatar for marifard
0
615
Member Avatar for devianleong

![9ef0bea126bf57cd5cc267400d2ed75c](/attachments/large/3/9ef0bea126bf57cd5cc267400d2ed75c.png "9ef0bea126bf57cd5cc267400d2ed75c") Please look at attachment picture. This is my html <nav class="subnav"> <ul class="nav-pills categorymenu"> <li><a href="#">Fashion &amp; Accessory</a> <div> <ul class="arrow"> <li class="category"><a href="category.php?id=Women">Women</a></li> <li><a href="category.php?id=5">Women's Dresses</a></li> <li><a href="category.php?id=7">Women's Jeans</a></li> <li><a href="category.php?id=8">Women's Tops</a></li> <li><a href="category.php?id=9">Women's Coats &amp; Jackets</a></li> <li><a href="category.php?id=10">Women's Pants & Shorts</a></li> <li><a href="category.php?id=11">Women's Skirts</a></li> <li><a href="category.php?id=12">Women's …

Member Avatar for devianleong
0
132
Member Avatar for sourabhgkr

here is the code for menu. (document).ready(function(){ $("#main-nav li a.main-link").hover(function(){ $("#main-nav li a.main-link").removeClass("active"); $(this).addClass("active"); $("#sub-link-bar").animate({ height: "40px" }); $(".sub-links").hide(); $(this).siblings(".sub-links").fadeIn(); }); $("#main-nav").mouseleave(function(){ $("#main-nav li a.main-link").removeClass("active"); $(".sub-links").fadeOut(); $("#sub-link-bar").animate({ height: "10px" }); }); }); HTML code <div id="sub-link-bar"> </div> <div id="wrap"> <div class="roundfg"> <ul id="main-nav"> <li><a class="main-link" href="#">Home</a> <ul class="sub-links"> <li><a class="main-link" …

Member Avatar for PcPro12
0
2K
Member Avatar for karen.frias0316

Hi all! I have a gallery page which displays images from my server (newset first). now, I need those images to be displayed in a modal popup when users click on it. My problem is that the popup shows only the first image even when you click at others still …

0
113
Member Avatar for fheppell

When I open a page the page loads for a very long time and no errors appear in the logs. I've run it through a syntax checker which told me there was one more opening parenthasis than expected, but didn't give me a line number, so I have no idea …

Member Avatar for iamthwee
0
317
Member Avatar for davy_yg

Hello, I am trying make this contact form works. I wonder why <carticle2> & <carticle3> does not works. Right after I insert the php code: <?php require_once('recaptchalib.php'); .... ?> I wonder why? And how to make the code belows works? Please help. contactus.php <html> <head> <link href= "css/contact.css" rel="stylesheet" type="text/css" …

Member Avatar for davy_yg
0
409
Member Avatar for devianleong

Hi, This is my php code for category UL and LI recursive. Now is working fine but the output is not what I expected. Here is the HTML output of the code I provided: <ul><li> <a href="#">Electronic Gadgets </a><span class="subDropdown plus"></span><ul><li> <a href="#">Pant</a></li><li> <a href="#">Aircond</a></li><li> <a href="#">Shoe</a></li><li> <a href="#">test</a></li><li> <a …

Member Avatar for diafol
0
1K
Member Avatar for hindu times

Hi there, I am currently helping out a company with an eCommerce site in Magento Community Edition, but I'm struggling with embedding a Mailchimp email subscribe form into a page. When I click Subscribe, literally nothing happens. The form is definitely validating, because I'm seeing error messages pop up when …

Member Avatar for gon1387
0
467
Member Avatar for Eagle.Avik

hi i am new to php and mysql, i am experimenting with a script for saving data to mysql database. and fetch the data on other page, i managed to get both of them without any trouble. But Here is the one problem. I added a additional input function to …

Member Avatar for Eagle.Avik
0
437
Member Avatar for davy_yg

Hallo All, How to add google maps on certain address with php / html script ? How to find the script ? This is what I have so far that I would like to change the address: <div class="row"> <iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Skybee+One+Building,+JL.+Kebon+Sirih+Raya,+Kavling+63,+Central+Jakarta,+DKI+Jakarta,+10340,+Indonesia&amp;aq=&amp;sll=-6.180705,106.831355&amp;sspn=0.028245,0.045447&amp;ie=UTF8&amp;hq=Skybee+One+Building,+JL.+Kebon+Sirih+Raya,+Kavling+63,+Central&amp;hnear=Jakarta+Pusat,+Jakarta+Capital+Region+10340,+Indonesia&amp;ll=-6.183313,106.82726&amp;spn=0.014122,0.022724&amp;t=m&amp;z=14&amp;iwloc=A&amp;cid=16520793013655425908&amp;output=embed"></iframe> </div> Thanks.

Member Avatar for davidkroj
0
148
Member Avatar for ppstyle

Hi, I am making a richtextbox to html convertor, I have added features like bold italic underline left align right align center align etc. I found a code to convert richtextbox to html but i am not sure how to use that function. Public Shared Function FromRtf(ByVal rtf As RichTextBox) …

Member Avatar for ppstyle
0
322
Member Avatar for GlenRogers

Hello. I have a div "content" that for some reason is positioned ok in ie and chrome etc but in firefox has no positioning! It just goes to the side of the page in firefox! here is the html for it. <div id="content"> <div class="nav"> <div id='cssmenu'> <ul> <li><a class="current" …

Member Avatar for GlenRogers
0
212
Member Avatar for patk570

Hey guys, below is my code, I am working on trying to PASS Variables to a popup window. I have it to where it show the embed window(which is blank) link, the title(which is blank) and instuctions(which is blank), but I cannot get it to pass the variables of what …

Member Avatar for LastMitch
0
3K
Member Avatar for HunainHafeez

i tried reverse engineering option in Mysql workbend 5.1, 1stly i imprted DB's script and then created it, Its done :) but when i try to create ERD via Reverse Engineering option , then it doesn't show relations ships btw tbl, it only brings table to front ! why ? …

Member Avatar for LastMitch
0
368

The End.